【正文】
不能打開的黑盒子,在完全不考慮程序內(nèi)部結(jié)構(gòu)和內(nèi)部特性的情況下,測(cè)試者對(duì)程序接口進(jìn)行測(cè)試,它只檢查程序功能是否按照需求規(guī)格說(shuō)明書的規(guī)定正常使用,程序是否能適當(dāng)?shù)亟邮蛰斎霐?shù)據(jù)而產(chǎn)生正確的輸出信息,并且保持外部信息 (如數(shù)據(jù)庫(kù)或文件 )的完整性。所以應(yīng)該與軟件的研制人員以及最終會(huì)員一起,有針對(duì)性地研究實(shí)際操作環(huán)境并加以描 述,形成合理的測(cè)試用例集。 37 5 系統(tǒng) 調(diào)試與實(shí)施 系統(tǒng)測(cè)試原理及測(cè)試原則 在完成某一功能模塊后,都要進(jìn)行一下系統(tǒng)測(cè)試。 charges = price * hour。) /script)。// 停車時(shí)長(zhǎng)(小時(shí)) float price = 0。(請(qǐng)妥善保管編號(hào),憑此編號(hào)出場(chǎng)) /td /tr tr td align=right停車開始時(shí)間: /td td align=center style=fontsize: medium。${}/td td天 /td /tr /table /body 用戶 功能 模塊的實(shí)現(xiàn) 臨時(shí)用戶登錄后會(huì)看見個(gè)人信息,如圖 : 33 圖 臨時(shí)用戶個(gè)人信息 頁(yè)面 主要代碼如下: title臨時(shí)用戶頁(yè)面 /title script type=text/javascript var v = ${}。這是您初次登陸 !39。)。 } (newpassword)。 return ()。 } int i = ().getId()。) /script)。 alert(39。239。font size=39。 color=313196系統(tǒng)管理 /font/a/H1)。 color=5454c6車輛進(jìn)出記錄一覽及查詢 /font/a/p)。content39。 } if (().getId() == 1) { (H1 class=39。JavaScript39。 return listinOutHistory。 return login。 ( 4)車輛進(jìn)出:臨時(shí)用戶進(jìn)入系統(tǒng)后就自動(dòng)進(jìn)入到進(jìn)場(chǎng)登記模式,點(diǎn)擊離開輸入編號(hào),點(diǎn)擊計(jì)算會(huì)自動(dòng)計(jì)算停車費(fèi)用。 。所以設(shè)計(jì)和實(shí)現(xiàn)每一個(gè) 網(wǎng)頁(yè)也是非常重要的工作。 名稱 數(shù)據(jù)類型 長(zhǎng)度 備注 role_id int 11 主鍵 role_name varchar 45 角色 id (6) info_state 狀態(tài)表 狀態(tài)表 主要存儲(chǔ) 主鍵 、狀態(tài)名稱 信息。 設(shè)計(jì)原則如下: ( 1)進(jìn)行規(guī)范化設(shè)計(jì),盡可能地減少數(shù)據(jù)冗余和重復(fù)。根據(jù)網(wǎng)站系統(tǒng)的分析,數(shù)據(jù)庫(kù)是整個(gè)網(wǎng)站的核心。不斷的調(diào)查與研究 用戶 需求,了解 停車收費(fèi) 運(yùn)作流程等系統(tǒng)需求,使設(shè)計(jì)概念模型的基礎(chǔ)。 ( 3) 個(gè)人信息 : 臨時(shí)用戶登錄后可以看見臨時(shí)車位號(hào)、編號(hào)、停車開始時(shí)間、停車時(shí)長(zhǎng)、停車費(fèi)用等信息 。 ( 2) 修改密碼 : 用戶 登錄后可以修改自己的登錄密碼。 功能模塊設(shè)計(jì) 層次模塊結(jié)構(gòu)是將系統(tǒng)劃分為若干子系統(tǒng) , 子系統(tǒng)下再劃分為若干的模塊 。 ( 2)靈活性:要 保持系統(tǒng)的長(zhǎng)久生命力,要求系統(tǒng)具 有很強(qiáng)的環(huán)境適應(yīng)性,為此,系統(tǒng)應(yīng)具有較好的開放性和結(jié)構(gòu)的可變性。 ,擴(kuò)展性良好。 ⑤ 注銷登錄。利用 JSP 技術(shù)可以建立先進(jìn)、安全和跨平臺(tái)的動(dòng)態(tài)網(wǎng)站。它只是接收請(qǐng)求并決定調(diào)用哪個(gè)模型構(gòu)件去處理請(qǐng)求,然后再確定用哪個(gè)視圖來(lái)顯示返回的數(shù)據(jù)。模型-視圖-控制器模式是一個(gè)有用的工具箱,它有很多好處,但也有一些缺點(diǎn)。查詢語(yǔ)言允許復(fù)雜的連接 (join)查詢,但是所有的參考完整必須由程序員強(qiáng)制保證。 MySQL軟件采用了雙授權(quán)政策(本詞條“授權(quán)政策”),它分為社區(qū)版和商業(yè)版,由于其體積小、速度快、總體擁有成本低,尤其是開放源碼這一特點(diǎn),一般中小型網(wǎng)站的開發(fā)都選擇 MySQL 作為網(wǎng)站數(shù)據(jù)庫(kù)。 ( 3)對(duì)軟件產(chǎn)業(yè)和工業(yè)企業(yè)都產(chǎn)生了深遠(yuǎn)的影響,軟件從以開發(fā)為中心轉(zhuǎn)到了以服務(wù)為中心。這樣 Java 程序可以只編譯一次,就可以在各種系統(tǒng)中運(yùn)行。針對(duì)于這種情況,我認(rèn)為很有必要開發(fā)一套針對(duì)于 小區(qū) 本身 停車收費(fèi) 管理的系統(tǒng) 。 小區(qū)停車收費(fèi)系統(tǒng) 和分析 系統(tǒng)的開發(fā)目的是使的 停車收費(fèi) 管理和統(tǒng)計(jì)分析做到信息化、準(zhǔn)確化、科學(xué)化的管理。 關(guān)鍵詞 : 停車收費(fèi) 管理 ; 信息化 ; JSP II Abstract The rapid development of puter technology, people see the bright prospect of an information era. The application of puter work has gradually perated into all areas of society, the work has bee an important channel for people to obtain, release and transfer information, promote the development of all walks of life. Especially in the aspect of office automation is achieved great parking. An important part of work office as the most significant feature of modernization has bee the management work. For example, small parking fees this work is more plex, more parking spaces, parking time is very trivial, prone to error, so it is necessary to develop a set of residential parking fees system. With the continuous improvement of living standards, the car entered the growing home, bring travel convenience to people, but more and more cars did not agree with the management is not enough, only the vehicle park together can achieve standardized management, this to the parking fee is involved. But parking management if handled using the traditional manual mode before, will undoubtedly make the staff to increase workload, error and easy to busy, a waste of time. The development of this system is to analysis and design in this plex situation, a good solution to the standardized management of parking charges, such as automatic calculation, charging parking time calculation, the real implementation of the fast, accurate, practical paperless management. Based on the current domestic and foreign advanced website based on MVC three layer structure, the design and implementation, system based on WEB, using the popular B/S architecture, residential parking fees system mainly means the development based on JSP technology. Divided into multistage role management system: including system administrators, residential fixed users and temporary user several permissions, and discusses in detail the steps of system design thought and the realization method to study lays the foundation for the following. And the system update and maintenance are very simple. Truly promote the informationization process of the whole residential parking management. III Keywords: Parking fee management, Promotion of information technology, JSP IV 目錄 1 緒 論 ........................................................................................................................... 5 系統(tǒng)開發(fā)背景 ..................................................................................................... 5 系統(tǒng)開發(fā)意義 ................................................................................................... 5 2 可行性及技術(shù)簡(jiǎn)介 ........................................................................................................ 7 java技術(shù)簡(jiǎn)介 .................................................................................................... 7 mysql簡(jiǎn)介 ......................................................................................................... 8 MVC簡(jiǎn)介 ............................................................................................................ 8 可行性分析 .................................................................................................... 10 技術(shù)可行性 ................................................................................................... 10 經(jīng)濟(jì)可行性 ................................................................................................. 10 時(shí)間可行性 ................................................................................................. 11 操作可行性 ................................................................................................. 11 系統(tǒng)實(shí)現(xiàn)目標(biāo) ................................................................................................. 11 系統(tǒng)運(yùn)行環(huán)境 ............................................