完整版系統(tǒng)出錯(cuò)處理設(shè)計(jì)_第1頁(yè)
完整版系統(tǒng)出錯(cuò)處理設(shè)計(jì)_第2頁(yè)
完整版系統(tǒng)出錯(cuò)處理設(shè)計(jì)_第3頁(yè)
完整版系統(tǒng)出錯(cuò)處理設(shè)計(jì)_第4頁(yè)
免費(fèi)預(yù)覽已結(jié)束,剩余1頁(yè)可下載查看

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、7 系統(tǒng)出錯(cuò)處理設(shè)計(jì) System error handling design (撰寫人:楊林森 3112101126 Yanglinsen 2102-011-0300)7.1 出錯(cuò)信息 Error message在軟件的開發(fā)過程中,需要對(duì)軟件中存在的漏洞立即進(jìn)行處理,即使一個(gè)很 小的漏洞,也會(huì)造成整個(gè)軟件開發(fā)系統(tǒng)的垃圾資源無限增多, 最終可能會(huì)導(dǎo)致系 統(tǒng)的癱瘓。因此在系統(tǒng)設(shè)計(jì)中,對(duì)擬開發(fā)系統(tǒng)要注意數(shù)據(jù)的約束性。為了進(jìn)行數(shù) 據(jù)統(tǒng)一收集和規(guī)范數(shù)據(jù)統(tǒng)一格式方面管理者的處理, 針對(duì)存在的安全隱患,本項(xiàng) 目組進(jìn)行了統(tǒng)一約束規(guī)范。同時(shí),項(xiàng)目組也應(yīng)該解決 Web服務(wù)器端的信息安全問 題,這樣才能更好的運(yùn)用

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錯(cuò)誤名稱

5、Error1.用戶名和密碼出錯(cuò)User name and password error提不輸入不止確,檢查信息是否止確,并返回。Prompted to enter is not correct, check the information is correct, and return.2 .驗(yàn)證碼輸入錯(cuò)誤Verification code input errors3 .帳號(hào)注冊(cè)為空或者已存在The account register is empty or already exists登錄失敗,請(qǐng)重新輸入。Login failed, please re-enter.如空提示錯(cuò)誤,返回;存在此用戶

6、,提示存在,返 回。Error such as an empty return; exist for this user, indicate the presence of return.4 .注冊(cè)密碼低于6位Registration password is less than 65 .年齡大于100或小于0Age greater than 100 or less than 06 .聯(lián)系方式具有的格式輸入錯(cuò)誤Contact the format of the input error7 .編號(hào)輸入不為整數(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.商品庫(kù)存數(shù)量輸入是小數(shù)Product inventory quantity input is a decimal10 .信息ID輸入為空Information ID input is empty11 .信息類型大于50個(gè)字符The type of information is greater than 50 characters12 .新密碼與確認(rèn)新密他不同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. 提示,編號(hào)取值范圍錯(cuò)誤,應(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.提示出錯(cuò)信息,返回重新輸入。With an error message and return to re-enter. 提示字?jǐn)?shù)超出規(guī)定,重新輸入。Prompt words out of the provisions re-enter.提不新密他與確認(rèn)新密他不同!Prompt

10、ed a new password and confirm the new password!提示失敗信息,并建議檢查錯(cuò)誤信息類型Prompt failure, and recommended to check the error message type14.手機(jī)號(hào)碼輸入不是11位數(shù)字Phone number input is not 11 digits提示您輸入的手機(jī)號(hào)碼有誤,應(yīng)該為11位數(shù)字。Prompts you to enter the phone number is wrong, should be 11 digits.7.1輸入錯(cuò)誤及解決方7.1 input errors and

11、 solutions7.2 Web服務(wù)器錯(cuò)誤處理設(shè)計(jì)7.2 the Web server error handling designError輸出OutputRemedy1.不合法的Url請(qǐng)求提示錯(cuò)誤,返回登錄界面Struts的請(qǐng)求錯(cuò)誤控制Url request legalError, return to the login screenStruts request error-control2.程序出錯(cuò)拋出異常輸入Log日志中的錯(cuò)誤信息判斷錯(cuò)誤信息,返回登錄界面Error, an exception isEnter the error message inAn error of judgme

12、nt, andthrownthe Logreturn to the login screen3.數(shù)據(jù)訪問量的過大返回請(qǐng)求失敗信息針對(duì)需求,重新選擇服務(wù)器Amount of data access overReturns request failure informationRe-select the server for the needs4.登陸調(diào)用web服務(wù)器方法登錄頁(yè)囿,要求用戶套錄Struts 攔截所有請(qǐng)求,判斷Log in to call the web serverLogon page requires users用戶是否登陸,必須登錄才能methodto log進(jìn)行其他操作。St

13、ruts to intercept all requeststo determinewhether the user login, you must belogged in toperform other operations.7.2 補(bǔ)救措施 Remedial measures所有的系統(tǒng),不管采用哪種開發(fā)方式,都不可避免的存在弱點(diǎn)。所以不但在 信息管理系統(tǒng)這一級(jí)而且在計(jì)算中心這一級(jí)(如果適用,也包括遠(yuǎn)程設(shè)備)都要審核并提出設(shè)計(jì)到安全性的問題。通過識(shí)別系統(tǒng)的弱點(diǎn)來減少侵犯安全性的危險(xiǎn), 以及采取必要的預(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)代計(jì)算機(jī)科學(xué)技術(shù)的快速發(fā)展,以往的數(shù)據(jù)備份已經(jīng)不能滿足用戶和 管理者對(duì)現(xiàn)有系統(tǒng)的要求,現(xiàn)在的技術(shù)一般是進(jìn)行系統(tǒng)數(shù)據(jù)庫(kù)的實(shí)時(shí)備份和備份 服務(wù)器。當(dāng)

16、數(shù)據(jù)庫(kù)癱瘓時(shí),通過快速進(jìn)行系統(tǒng)庫(kù)的切換,這樣可以有效的減少數(shù) 據(jù)的丟失。當(dāng)用戶量大時(shí),也可以使用備用服務(wù)器,兩個(gè)服務(wù)器進(jìn)行同步數(shù)據(jù)存 儲(chǔ),如果一臺(tái)服務(wù)器出錯(cuò)時(shí),可以轉(zhuǎn)換到另一臺(tái)進(jìn)行相同的操作,讓用戶不需要因癱瘓而面臨網(wǎng)頁(yè)打不開、數(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è)的計(jì)算機(jī)人員,對(duì)計(jì)算機(jī)專業(yè)的知識(shí)了 解相對(duì)較少。在面對(duì)系統(tǒng)癱瘓等錯(cuò)誤時(shí),都不知道如何去解決問題。如今,隨著 計(jì)算機(jī)科學(xué)技術(shù)的飛速發(fā)

19、展,為了讓系統(tǒng)用戶能夠自行解決運(yùn)行過程中遇到的問 題,大多采取小型服務(wù)器作為后備技術(shù)。這項(xiàng)技術(shù)在現(xiàn)有的開發(fā)系統(tǒng)中使用很廣 泛,當(dāng)然備用的服務(wù)器從價(jià)格上考慮,可能不如主服務(wù)器,也可能會(huì)降低工作效率,但是從數(shù)據(jù)的完整性和安全出發(fā),可以讓維修人員有更多時(shí)間進(jìn)行系統(tǒng)的維 護(hù)。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ù)及再啟動(dòng)技術(shù)Recovery an

22、d re-start technology由于采取的是低端服務(wù)器,同時(shí)進(jìn)行數(shù)據(jù)庫(kù)的實(shí)時(shí)備份。這樣在系統(tǒng)維護(hù)好 完成后,可以很快的進(jìn)行數(shù)據(jù)同步,同時(shí)也可以很快的進(jìn)行系統(tǒng)的運(yùn)行。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)維護(hù)設(shè)計(jì) System maintenance design信息管理系統(tǒng)不同于其他系統(tǒng),它并不是一勞永逸的最終系統(tǒng)。在它的運(yùn)行 過程中,還有大量運(yùn)行管理、系統(tǒng)維護(hù)、系統(tǒng)設(shè)置等工作要做。交付使用的信息 管理系統(tǒng)跟工業(yè)產(chǎn)品不同,工業(yè)產(chǎn)品可以先生產(chǎn)一個(gè)樣品,經(jīng)過試驗(yàn)、改進(jìn)再正式投入批量生產(chǎn),而信息管理系統(tǒng)它需要在用戶使用過程中不斷完善。系統(tǒng)維護(hù) 包括程序的維護(hù)、數(shù)據(jù)文件的維護(hù)、代碼的維護(hù)等,而且系統(tǒng)的修改,往往會(huì)造 成系統(tǒng)程序、文件、代碼的修改。因此,系統(tǒng)

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論