



下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、7 系統(tǒng)出錯處理設(shè)計 System error handling design (撰寫人:楊林森 3112101126 Yanglinsen 2102-011-0300)7.1 出錯信息 Error message在軟件的開發(fā)過程中,需要對軟件中存在的漏洞立即進行處理,即使一個很 小的漏洞,也會造成整個軟件開發(fā)系統(tǒng)的垃圾資源無限增多, 最終可能會導(dǎo)致系 統(tǒng)的癱瘓。因此在系統(tǒng)設(shè)計中,對擬開發(fā)系統(tǒng)要注意數(shù)據(jù)的約束性。為了進行數(shù) 據(jù)統(tǒng)一收集和規(guī)范數(shù)據(jù)統(tǒng)一格式方面管理者的處理, 針對存在的安全隱患,本項 目組進行了統(tǒng)一約束規(guī)范。同時,項目組也應(yīng)該解決 Web服務(wù)器端的信息安全問 題,這樣才能更好的運用
2、管理系統(tǒng), 從而減少系統(tǒng)的維修次數(shù),確保系統(tǒng)的安全 使用。In the software development process, the need for software vulnerabilities that exist in immediate treatment, even a small flaw will cause garbage resources of the entire software development system and the infinite increase, may eventually lead to paralysis of the syste
3、m. Therefore, system design, system development should pay attention to the proposed binding data. In order to deal with a unified data collection and standardized data formats unified manager for security risks, the project team conducted a unified constraint specification. Meanwhile, the project t
4、eam should also solve the problem of information security Web server, so as to make better use of management systems, thereby reducing the number of system maintenance, to ensure the safe use of the system.lErrorError in data typesLogic errorInternal system errorExternal device error解決方法Solution錯誤名稱
5、Error1.用戶名和密碼出錯User name and password error提不輸入不止確,檢查信息是否止確,并返回。Prompted to enter is not correct, check the information is correct, and return.2 .驗證碼輸入錯誤Verification code input errors3 .帳號注冊為空或者已存在The account register is empty or already exists登錄失敗,請重新輸入。Login failed, please re-enter.如空提示錯誤,返回;存在此用戶
6、,提示存在,返 回。Error such as an empty return; exist for this user, indicate the presence of return.4 .注冊密碼低于6位Registration password is less than 65 .年齡大于100或小于0Age greater than 100 or less than 06 .聯(lián)系方式具有的格式輸入錯誤Contact the format of the input error7 .編號輸入不為整數(shù)或小于0Number is not entered as an integer or les
7、s than 08 .標(biāo)題為空,或標(biāo)題大于規(guī)定字?jǐn)?shù)The title is empty, or title greater than the specified number of words 9.商品庫存數(shù)量輸入是小數(shù)Product inventory quantity input is a decimal10 .信息ID輸入為空Information ID input is empty11 .信息類型大于50個字符The type of information is greater than 50 characters12 .新密碼與確認新密他不同New password and conf
8、irm the new password13 .提交信息失敗Submit information failed提示低于6位信息,并重新輸入。Prompted less than 6, and re-enter. 提示信息:年齡應(yīng)該在 0與100之間。The message: Age should be between 0 and 100.提示不是其所擁有的格式,重新輸入。Prompt is not its own format, re-enter. 提示,編號取值范圍錯誤,應(yīng)該為正整數(shù)。Tip No. range error, it should be a positive integer.提
9、小標(biāo)題小能為空且應(yīng)該小于X子,重新輸入。Prompt title can not be empty and should be less than X characters, re-enter.提示,數(shù)量應(yīng)該為整數(shù),清除并重新輸入。Tip number is an integer, remove and re-enter.提示出錯信息,返回重新輸入。With an error message and return to re-enter. 提示字?jǐn)?shù)超出規(guī)定,重新輸入。Prompt words out of the provisions re-enter.提不新密他與確認新密他不同!Prompt
10、ed a new password and confirm the new password!提示失敗信息,并建議檢查錯誤信息類型Prompt failure, and recommended to check the error message type14.手機號碼輸入不是11位數(shù)字Phone number input is not 11 digits提示您輸入的手機號碼有誤,應(yīng)該為11位數(shù)字。Prompts you to enter the phone number is wrong, should be 11 digits.7.1輸入錯誤及解決方7.1 input errors and
11、 solutions7.2 Web服務(wù)器錯誤處理設(shè)計7.2 the Web server error handling designError輸出OutputRemedy1.不合法的Url請求提示錯誤,返回登錄界面Struts的請求錯誤控制Url request legalError, return to the login screenStruts request error-control2.程序出錯拋出異常輸入Log日志中的錯誤信息判斷錯誤信息,返回登錄界面Error, an exception isEnter the error message inAn error of judgme
12、nt, andthrownthe Logreturn to the login screen3.數(shù)據(jù)訪問量的過大返回請求失敗信息針對需求,重新選擇服務(wù)器Amount of data access overReturns request failure informationRe-select the server for the needs4.登陸調(diào)用web服務(wù)器方法登錄頁囿,要求用戶套錄Struts 攔截所有請求,判斷Log in to call the web serverLogon page requires users用戶是否登陸,必須登錄才能methodto log進行其他操作。St
13、ruts to intercept all requeststo determinewhether the user login, you must belogged in toperform other operations.7.2 補救措施 Remedial measures所有的系統(tǒng),不管采用哪種開發(fā)方式,都不可避免的存在弱點。所以不但在 信息管理系統(tǒng)這一級而且在計算中心這一級(如果適用,也包括遠程設(shè)備)都要審核并提出設(shè)計到安全性的問題。通過識別系統(tǒng)的弱點來減少侵犯安全性的危險, 以及采取必要的預(yù)防措施來提高安全水平,這是用戶和信息服務(wù)管理部門可做得到的。All systems, reg
14、ardless of which way the use of development are inevitable weaknesses. Therefore, not only in the information management system at this level and be designed to review and propose security issues in computing center at this level (if applicable, including remote device). By identifying weaknessesin
15、the system to reduce the risk of security violations, and to take the necessary precautionary measures to improve the safety level, which is the user and the information services department can do it.1)后備技術(shù) Back-up technology由于現(xiàn)代計算機科學(xué)技術(shù)的快速發(fā)展,以往的數(shù)據(jù)備份已經(jīng)不能滿足用戶和 管理者對現(xiàn)有系統(tǒng)的要求,現(xiàn)在的技術(shù)一般是進行系統(tǒng)數(shù)據(jù)庫的實時備份和備份 服務(wù)器。當(dāng)
16、數(shù)據(jù)庫癱瘓時,通過快速進行系統(tǒng)庫的切換,這樣可以有效的減少數(shù) 據(jù)的丟失。當(dāng)用戶量大時,也可以使用備用服務(wù)器,兩個服務(wù)器進行同步數(shù)據(jù)存 儲,如果一臺服務(wù)器出錯時,可以轉(zhuǎn)換到另一臺進行相同的操作,讓用戶不需要因癱瘓而面臨網(wǎng)頁打不開、數(shù)據(jù)丟失等相關(guān)問題。Due to the rapid development of modern computer science and technology, previous data backup and managers have been unable to meet the user requirements of the existing system,
17、 and now the technology is generally carried out in real-time backup system database and backup servers. When the databaseis paralyzed by rapidly switching system libraries, which can effectively reduce the loss of data. When the user capacity, you can use the backup server, two servers synchronize
18、data storage, if a server error, can be converted to another the same operation, so that the user does not open the page because of paralysis of face , data loss and other related issues.2)降效技術(shù) Drop-efficient technology通常情況下系統(tǒng)的管理員都不是專業(yè)的計算機人員,對計算機專業(yè)的知識了 解相對較少。在面對系統(tǒng)癱瘓等錯誤時,都不知道如何去解決問題。如今,隨著 計算機科學(xué)技術(shù)的飛速發(fā)
19、展,為了讓系統(tǒng)用戶能夠自行解決運行過程中遇到的問 題,大多采取小型服務(wù)器作為后備技術(shù)。這項技術(shù)在現(xiàn)有的開發(fā)系統(tǒng)中使用很廣 泛,當(dāng)然備用的服務(wù)器從價格上考慮,可能不如主服務(wù)器,也可能會降低工作效率,但是從數(shù)據(jù)的完整性和安全出發(fā),可以讓維修人員有更多時間進行系統(tǒng)的維 護。Normally the system administrator is not a professional computer staff, relatively little computer expertise to understand. In the face of system failures and other e
20、rrors, do not know how to solve the problem. Nowadays, with the rapid development of computer science and technology, in order to allow system users to solve problems encountered during the operation on their own, mostly taken small server as a backup technology. The technology used in the existing
21、development systems is extensive, of course, the backup server from the price considerations, may not be as the primary server, it may decrease work efficiency, but starting from the integrity and security of data, allowing maintenance personnel more time for system maintenance.3)恢復(fù)及再啟動技術(shù)Recovery an
22、d re-start technology由于采取的是低端服務(wù)器,同時進行數(shù)據(jù)庫的實時備份。這樣在系統(tǒng)維護好 完成后,可以很快的進行數(shù)據(jù)同步,同時也可以很快的進行系統(tǒng)的運行。To adopt a low-end server, while the real-time backup of the database. So that system maintenance is completed, you can quickly synchronize data, but also can be quickly carried out the operation of the system.7.3 系統(tǒng)維護設(shè)計 System maintenance design信息管理系統(tǒng)不同于其他系統(tǒng),它并不是一勞永逸的最終系統(tǒng)。在它的運行 過程中,還有大量運行管理、系統(tǒng)維護、系統(tǒng)設(shè)置等工作要做。交付使用的信息 管理系統(tǒng)跟工業(yè)產(chǎn)品不同,工業(yè)產(chǎn)品可以先生產(chǎn)一個樣品,經(jīng)過試驗、改進再正式投入批量生產(chǎn),而信息管理系統(tǒng)它需要在用戶使用過程中不斷完善。系統(tǒng)維護 包括程序的維護、數(shù)據(jù)文件的維護、代碼的維護等,而且系統(tǒng)的修改,往往會造 成系統(tǒng)程序、文件、代碼的修改。因此,系統(tǒng)
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 三位數(shù)除以一位數(shù)水平測驗口算題大全附答案
- 熱衰竭知識推廣
- 小兒斜視的健康宣教
- 小兒驚厥的護理
- 股動脈槍擊音的健康宣教
- 食管惡性腫瘤的健康宣教
- 2024屆泰安市重點中學(xué)中考五模數(shù)學(xué)試題含解析
- 2025柯城區(qū)石室鄉(xiāng)黃泥頭村茶山租賃合同
- 2025辦公室家具配置優(yōu)化合同
- 2025建設(shè)合同書(簡化版)
- (完整版)形式發(fā)票模版(國際件通用)
- 天貓超級品牌日推廣方案課件
- 青島版圓的認識PPT課件.ppt
- 最新軍事英語基本詞匯和表達(英漢對照)
- 張騫出使西域課本劇
- 人教版初中階段語文古詩詞理解性背誦默寫匯編
- 內(nèi)蒙古高中畢業(yè)生學(xué)籍表畢業(yè)生登記表學(xué)年評語表成績單身體健康檢查表完整版高中檔案文件
- 重力式橋臺計算程序表格
- (完整word版)清表施工方案
- 污水池防腐施工方案改
- 公務(wù)用車派車單、車輛維修保養(yǎng)申請單(修訂版)
評論
0/150
提交評論