【正文】
描述:考生登錄系統(tǒng)進(jìn)行打字測(cè)試或考試輸入:考生的學(xué)號(hào)、密碼過程:判斷是否為合法的考生輸出:系統(tǒng)主界面名稱: 在線打字練習(xí)或考試描述:進(jìn)行系統(tǒng)選擇練習(xí)或考試兩種方式華東交通大學(xué)畢業(yè)設(shè)計(jì)6輸入: 選擇一種方式過程:進(jìn)入主系統(tǒng)界面選擇一種方式,選擇英文或者中文輸出: 進(jìn)入系統(tǒng)進(jìn)行打字或者考試名字:管理員通過 EXCEL 錄入考生基本信息和組別管理描述:管理員進(jìn)入后臺(tái)后導(dǎo)入學(xué)生信息并進(jìn)行班級(jí)管理輸入: 導(dǎo)入各班級(jí)學(xué)生信息過程: 將需要添加錄入的學(xué)生信息加入數(shù)據(jù)庫(kù)中輸出: 系統(tǒng)新的信息表頁(yè)面輸出: 查詢得到的信息頁(yè)面描述:對(duì)系統(tǒng)中的英文和中文進(jìn)行錄入及管理 輸入: 導(dǎo)入中文和英文進(jìn)入系統(tǒng),同時(shí)對(duì)文章進(jìn)行管理過程:文章錄入及修改 輸出: 系統(tǒng)新的信息表頁(yè)面輸出: 查詢得到的信息頁(yè)面數(shù)據(jù)存儲(chǔ)如表 33 所示表 33 數(shù)據(jù)存儲(chǔ)名字: 數(shù)據(jù)庫(kù)信息別名:無描述:存儲(chǔ)了數(shù)據(jù)庫(kù)的基本信息數(shù)據(jù)組成:數(shù)據(jù)庫(kù)信息=管理員信息+ 中文文章信息+ 英文文章信息+班級(jí)信息+主表信息位置:數(shù)據(jù)庫(kù)輸出: 查詢得到的信息頁(yè)面華東交通大學(xué)畢業(yè)設(shè)計(jì)吳 常 華:基于 B/S 模式在線打字系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)4 總體設(shè)計(jì) 開發(fā)環(huán)境介紹ZEND Studio 是一套完整的開發(fā)工具集,用于開發(fā)、生成 PHP 應(yīng)用程序、XML Web Services、桌面應(yīng)用程序和移動(dòng)應(yīng)用程序。因此,選擇 PHP 與 MYSQL 是十分有效的。華東交通大學(xué)畢業(yè)設(shè)計(jì)吳 常 華:基于 B/S 模式在線打字系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)3 需求分析 可行性需求分析 經(jīng)濟(jì)可行性由于開發(fā)此系統(tǒng)所需的硬件(計(jì)算機(jī)及相關(guān)硬件)和軟件環(huán)境(PHP+MYSQL ),市場(chǎng)上都容易購(gòu)買到或從相關(guān)網(wǎng)站下載免費(fèi)的,系統(tǒng)成本主要集中在本管理系統(tǒng)的開發(fā)與維護(hù)上,對(duì)用戶不造成過重的經(jīng)濟(jì)負(fù)擔(dān)。它的任務(wù)是接受頁(yè)面層的請(qǐng)求,首先需要執(zhí)行相應(yīng)的擴(kuò)展應(yīng)用程序與數(shù)據(jù)庫(kù)進(jìn)行連接,通過 MYSQL 等方式樣向數(shù)據(jù)庫(kù)服務(wù)器提出數(shù)據(jù)處里申請(qǐng),數(shù)據(jù)庫(kù)服務(wù)器將數(shù)據(jù)處理的結(jié)果提交給 WEB 服務(wù)器,再由 WEB 服務(wù)器傳送回用戶端。這使得在多次訪問速度有了不錯(cuò)的提升。b/s 結(jié)構(gòu)相對(duì)于傳統(tǒng)的 c/s 結(jié)構(gòu),其優(yōu)勢(shì)之一是不用開發(fā)和過多考慮用戶端的問題,一切都交由瀏覽器來處理,只需考慮服務(wù)器端的應(yīng)用和功能,大大減少了 WEB 應(yīng)用程序的開發(fā)難度。例如,先以 Linux 架的網(wǎng)站,在系統(tǒng)負(fù)荷過高時(shí),可以快速地將整個(gè)系統(tǒng)移到 SUN 工作站上,不用重新編譯 CGI 程序。它包括支持開發(fā)的引擎(INNORDB)、標(biāo)準(zhǔn)的 SQL 語(yǔ)言、擴(kuò)展的特性(如復(fù)制、OLAP、分析)等功能。管理員能夠?qū)ψ约旱拿艽a進(jìn)行修改;系統(tǒng)參數(shù)設(shè)置可以進(jìn)行打字系統(tǒng)名字的更新、考試功能開通與關(guān)閉、考試時(shí)間長(zhǎng)短設(shè)置、防作弊開關(guān)、考生能否自己清空本次考試成績(jī)等功能。 系統(tǒng)總體功能模塊設(shè)計(jì)對(duì)于開發(fā)系統(tǒng)來說,前期的總體設(shè)計(jì)規(guī)劃是必要的,也是必須的,因?yàn)樗鼘⒂绊懙秸麄€(gè)網(wǎng)站質(zhì)量的好壞和設(shè)計(jì)實(shí)現(xiàn)的進(jìn)度,所以,在開發(fā)本系統(tǒng)時(shí),必須先對(duì)其進(jìn)行總體的設(shè)計(jì)規(guī)劃,而使后面的工作能朝著預(yù)定的方向發(fā)展。良好的數(shù)據(jù)結(jié)構(gòu)設(shè)計(jì)不僅可以減少數(shù)據(jù)冗余、提高查詢效率,而且還可以降低應(yīng)用程序的編寫難度,提高工作效率。if(middle==0) {$(submittest).disabled = false。count++。$(typelen).value = typetoall。 //正確的個(gè)數(shù)為 resultStr+=font color=blue+strChar1+/font。 }else{ var percent = parseInt(success*100/len)+%。 } if (()amp。//十六進(jìn)制轉(zhuǎn)換為十進(jìn)制 if ($val 0x7f) $ret .= chr($val)。$icount($return[Sheet1])。]。chcrate39。華東交通大學(xué)畢業(yè)設(shè)計(jì)327 參考文獻(xiàn)[1]Oracle Corporation Reference Manual [DB/OL] [2] 李大友,陳明.實(shí)用軟件工程基礎(chǔ)[M].北京:清華大學(xué)出版社,2022 年 8 月,3045.[3] 王軍.軟件工程技術(shù)與事例[M].北京:高等教育出版社,2022 年 3 月,2030.[4] McArthur Kevin. Pro PHP: Patterns, Frameworks, Testing and More [M]. United States of America: APRESS, 2022[5] The PHP Group. PHP Manual [DB/OL]. 20221026.[6] 仲進(jìn)平,+MYSQL 網(wǎng)絡(luò)開發(fā)技術(shù)程序設(shè)計(jì)[M].北京:人民郵電出版社,2022[7] PHP+MYSQL 的三層結(jié)構(gòu)動(dòng)態(tài) web 數(shù)據(jù)庫(kù)應(yīng)用系統(tǒng)的研究和開發(fā)[J].貴州工業(yè)大學(xué)學(xué)報(bào),2022,30(2):38410附錄 A 外文翻譯原文部分PHP language technology platform features and advantages1, crossplatform features: PHP language can run on Linux, FreeBSD, Solaris Unix, AIX, Darwin, Windows and other operating systems, the monly used LAMP refers to Linux, Apache, MYSQL, PHP / Perl / Python. 2, database support: PHP supports a variety of mainstream and nonmainstream databases such as:, DBA, dBase, Informix, IMYSQL, Microsoft SQL Server, Solid, Sybase, ODBC, oracle, oracle 8,and so on. 3, Security: Encryption support, PHP4 to achieve a plete encryption, the encryption function is a plete crypt library, and hash functions to support PHP . Blowfish, MD5, and SHA1 is also using some of the encryption algorithm. Using the PHP language running Linux, FreeBSD, Solaris Unix operating system, without installation of any antivirus software and patches, safe and reliable4 Scalability: Expansion of the API modules: PHP module for the expansion of the API interface module provides a PHP extension, API than the old version was significantly faster. PHP module already and most of the most popular interface is converted to use the extended interface?! 】缮炜s性。CGI 程序的伸縮性不很理想,因?yàn)樗鼮槊恳粋€(gè)正在運(yùn)行的 CGI 程序開一個(gè)獨(dú)立進(jìn)程。 memory area, PHP to more efficient use of memory, resulting in less consumption of memory footprint, which is mainly due to the realization of reference counting technique. 6, portability: PHP to write out the Web backend CGI program can be easily ported to different operating systems. For example, the first Linuxaircraft sites in the system load is too high, you can quickly move the entire system on a SUN workstation, without repiling the CGI program. Face of the rapid development of the Inter, this is the best choice for longterm planning. 7, Features prehensive. PHP include graphics, coding and decoding, pression file handling, XML parsing, support for HTTP authentication, Cookie, POP3, SNMP and so on. PHP can connect, including Oracle, MSAccess, MYSQL, including most of the database. From the object type of design, structural features, database processing, work interface applications, security coding mechanism, PHP, covering almost all the functions of all sites. 吳 常 華:基于 B/S 模式在線打字系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)8, scalability. Traditional web interaction is achieved through the CGI. CGI program is not very good scalability, because it is run for each CGI program to open a separate process. The solution is often used to write CGI programs to the language interpreter piled into web server, PHP can be installed in this. PHP can be embedded with a higher scalability. 9. To play the advantages of PHP language, Linux + Apache + MYSQL + PHP. Known as the golden bination. 10, China39。 ?/td td?php echo $rows[39。mysql_select_db($dbbase)。$jcount($return[Sheet1][$i])。0x3f))。(==121)){ //屏蔽 shift+F10 alert(禁止 shift+F10 刷新網(wǎng)頁(yè)!)。 //return array[0]。 }else{ fail+=。 var len = (,)。 }else{ var percent = parseInt(typeLaterLen*100/len)。 //當(dāng)?shù)竭_(dá) 100%時(shí)停止時(shí)間的增長(zhǎng)}}2. 處理文章顯示窗口和文章完成度代碼:function aaa(obj){ var stringlen = //獲得全文的長(zhǎng)度 var len = 。根據(jù)需求分析畫出 ER 圖。網(wǎng)站總體功能有用戶登錄模塊、在線測(cè)試模塊、在線考試模塊、后臺(tái)管理模塊、成績(jī)導(dǎo)入導(dǎo)出模塊、學(xué)生信息導(dǎo)入導(dǎo)出模塊、文章管理模塊。查詢組別時(shí),可以查看所有考生的成績(jī)及對(duì)其進(jìn)行管理。MYSQL 的新特點(diǎn):(1) 平臺(tái)化MYSQL 能夠在瀏覽中進(jìn)行管理,同時(shí)也支持命令行功能。畢竟,在一個(gè)對(duì)系統(tǒng)反映速度要求極嚴(yán)格的系統(tǒng)而言,恐怕只有 NSAPI 界面寫的 CGI 程序才能符合要求了。頁(yè)面顯示層 服務(wù)器端數(shù)據(jù)處理層發(fā)送數(shù)據(jù)請(qǐng)求發(fā)送服務(wù)請(qǐng)求返回處理服務(wù)返回?cái)?shù)據(jù)到頁(yè)面圖 21 b/s 模式三層分層模型第一層頁(yè)面顯示層,靜態(tài)頁(yè)面層為用戶接口部分,是用戶與系統(tǒng)之間交互信息的界面它的主要功能是檢查用戶輸入的數(shù)據(jù),顯示系統(tǒng)輸出的數(shù)據(jù)。(2) 基于 ASP 和腳本語(yǔ)言,將動(dòng)態(tài)網(wǎng)頁(yè)和數(shù)據(jù)庫(kù)結(jié)合,通過應(yīng)用程序來處理,這是目前較為流行的做法。它包括了應(yīng)用中全部的業(yè)務(wù)處理程序。告訴 Apache 服務(wù)器,擴(kuò)展名 php3 是一個(gè)