系統(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è)
系統(tǒng)出錯(cuò)處理設(shè)計(jì)_第5頁(yè)
已閱讀5頁(yè),還剩5頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

付費(fèi)下載

下載本文檔

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

文檔簡(jiǎn)介

7 系統(tǒng)出錯(cuò)處理設(shè)計(jì) Systemerrorhandlingdesign (撰寫(xiě)人:楊林森 3112101126Yanglinsen2102-011-0300 )7.1 出錯(cuò)信息 Errormessage在軟件的開(kāi)發(fā)過(guò)程中, 需要對(duì)軟件中存在的漏洞立即進(jìn)行處理, 即使一個(gè)很小的漏洞,也會(huì)造成整個(gè)軟件開(kāi)發(fā)系統(tǒng)的垃圾資源無(wú)限增多, 最終可能會(huì)導(dǎo)致系統(tǒng)的癱瘓。因此在系統(tǒng)設(shè)計(jì)中, 對(duì)擬開(kāi)發(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ù)器端的信息安全問(wèn)題,這樣才能更好的運(yùn)用管理系統(tǒng), 從而減少系統(tǒng)的維修次數(shù), 確保系統(tǒng)的安全使用。Inthesoftwaredevelopmentprocess,theneedfor softwarevulnerabilities thatexistinimmediatetreatment,evenasmallflawwillcausegarbageresourcesoftheentiresoftwaredevelopmentsystemandtheinfiniteincrease,mayeventuallyleadtoparalysisofthesystem.Therefore,systemdesign,systemdevelopmentshouldpayattentiontotheproposedbindingdata.Inordertodealwithaunifieddatacollectionandstandardizeddataformatsunifiedmanagerforsecurityrisks,theprojectteamconductedaunifiedconstraintspecification.Meanwhile,theprojectteamshouldalsosolvetheproblemofinformationsecurityWebserver,soastomakebetteruseofmanagementsystems,therebyreducingthenumberofsystemmaintenance,toensurethesafeuseofthesystem.出現(xiàn)錯(cuò)誤數(shù)據(jù)類(lèi)型錯(cuò)誤邏輯出錯(cuò)系統(tǒng)內(nèi)部出錯(cuò) 外部設(shè)備出錯(cuò)

ErrorErrorindatatypesLogicerrorInternal Externalsystemerror deviceerror錯(cuò)誤名稱(chēng)Error用戶(hù)名和密碼出錯(cuò)Usernameandpassworderror驗(yàn)證碼輸入錯(cuò)誤Verificationcodeinputerrors帳號(hào)注冊(cè)為空或者已存在The account register is empty oralreadyexists注冊(cè)密碼低于6位Registrationpasswordislessthan6年齡大于100或小于0Agegreaterthan100orlessthan0聯(lián)系方式具有的格式輸入錯(cuò)誤Contacttheformatoftheinputerror7.編號(hào)輸入不為整數(shù)或小于0Numberisnotenteredasanintegerorlessthan0標(biāo)題為空,或標(biāo)題大于規(guī)定字?jǐn)?shù)Thetitleisempty,ortitlegreaterthanthespecifiednumberofwords商品庫(kù)存數(shù)量輸入是小數(shù)Productinventoryquantityinputisadecimal信息ID輸入為空InformationIDinputisempty信息類(lèi)型大于50個(gè)字符The type of information is greaterthan50characters新密碼與確認(rèn)新密碼不同Newpasswordandconfirmthenewpassword提交信息失敗Submitinformationfailed手機(jī)號(hào)碼輸入不是11位數(shù)字Phonenumberinputisnot11digits

解決方法Solution提示輸入不正確,檢查信息是否正確,并返回。Prompted to enter is not correct, check theinformationiscorrect,andreturn.登錄失敗,請(qǐng)重新輸入。Loginfailed,pleasere-enter.如空提示錯(cuò)誤,返回;存在此用戶(hù),提示存在,返回。Errorsuchasanemptyreturn;existforthisuser,indicatethepresenceofreturn.提示低于 6位信息,并重新輸入。Promptedlessthan6,andre-enter.提示信息:年齡應(yīng)該在 0與100之間。Themessage:Ageshouldbebetween0and100.提示不是其所擁有的格式,重新輸入。Promptisnotitsownformat,re-enter.提示,編號(hào)取值范圍錯(cuò)誤,應(yīng)該為正整數(shù)。TipNo.rangeerror,itshouldbeapositiveinteger.提示標(biāo)題不能為空且應(yīng)該小于 X字,重新輸入。PrompttitlecannotbeemptyandshouldbelessthanXcharacters,re-enter.提示,數(shù)量應(yīng)該為整數(shù),清除并重新輸入。Tipnumberisaninteger,removeandre-enter.提示出錯(cuò)信息,返回重新輸入。Withanerrormessageandreturntore-enter.提示字?jǐn)?shù)超出規(guī)定,重新輸入。Promptwordsoutoftheprovisionsre-enter.提示新密碼與確認(rèn)新密碼不同!Promptedanewpasswordandconfirmthenewpassword!提示失敗信息,并建議檢查錯(cuò)誤信息類(lèi)型Prompt failure, and recommended tocheck theerrormessagetype提示您輸入的手機(jī)號(hào)碼有誤,應(yīng)該為 11位數(shù)字。Promptsyoutoenterthephonenumberiswrong,shouldbe11digits.7.1 輸入錯(cuò)誤及解決方案7.1inputerrorsandsolutions7.2Web 服務(wù)器錯(cuò)誤處理設(shè)計(jì)7.2 theWebservererrorhandlingdesign錯(cuò)誤名稱(chēng)輸出補(bǔ)救ErrorOutputRemedy1.不合法的Url請(qǐng)求提示錯(cuò)誤,返回登錄界面Struts的請(qǐng)求錯(cuò)誤控制UrlrequestlegalError,returntotheloginStrutsrequesterror-controlscreen2.程序出錯(cuò)拋出異常輸入Log日志中的錯(cuò)誤信息判斷錯(cuò)誤信息,返回登錄界面Error,anexceptionisEntertheerrormessageinAnerrorofjudgment,andthrowntheLogreturntotheloginscreen3.數(shù)據(jù)訪問(wèn)量的過(guò)大返回請(qǐng)求失敗信息針對(duì)需求,重新選擇服務(wù)器AmountofdataaccessoverReturnsrequestfailureRe-selecttheserverfortheinformationneeds4.登陸調(diào)用web服務(wù)器方法登錄頁(yè)面,要求用戶(hù)登錄Struts攔截所有請(qǐng)求,判斷LogintocallthewebserverLogonpagerequiresusers用戶(hù)是否登陸,必須登錄才能methodtolog進(jìn)行其他操作。Strutstointerceptallrequeststodeterminewhethertheuserlogin,youmustbeloggedintoperformotheroperations.7.2 補(bǔ)救措施 Remedialmeasures所有的系統(tǒng), 不管采用哪種開(kāi)發(fā)方式, 都不可避免的存在弱點(diǎn)。 所以不但在信息管理系統(tǒng)這一級(jí)而且在計(jì)算中心這一級(jí) (如果適用,也包括遠(yuǎn)程設(shè)備 )都要審核并提出設(shè)計(jì)到安全性的問(wèn)題。通過(guò)識(shí)別系統(tǒng)的弱點(diǎn)來(lái)減少侵犯安全性的危險(xiǎn),以及采取必要的預(yù)防措施來(lái)提高安全水平, 這是用戶(hù)和信息服務(wù)管理部門(mén)可做得到的。Allsystems,regardlessofwhichwaytheuseofdevelopmentareinevitableweaknesses.Therefore,notonlyintheinformationmanagementsystematthislevelandbedesignedtoreviewandproposesecurityissuesincomputingcenteratthislevel(ifapplicable,includingremotedevice).Byidentifyingweaknessesinthesystemtoreducetheriskofsecurityviolations,andtotakethenecessaryprecautionarymeasurestoimprovethesafetylevel,whichistheuserandtheinformationservicesdepartmentcandoit.1)后備技術(shù) Back-uptechnology由于現(xiàn)代計(jì)算機(jī)科學(xué)技術(shù)的快速發(fā)展, 以往的數(shù)據(jù)備份已經(jīng)不能滿足用戶(hù)和管理者對(duì)現(xiàn)有系統(tǒng)的要求, 現(xiàn)在的技術(shù)一般是進(jìn)行系統(tǒng)數(shù)據(jù)庫(kù)的實(shí)時(shí)備份和備份服務(wù)器。當(dāng)數(shù)據(jù)庫(kù)癱瘓時(shí), 通過(guò)快速進(jìn)行系統(tǒng)庫(kù)的切換, 這樣可以有效的減少數(shù)據(jù)的丟失。當(dāng)用戶(hù)量大時(shí), 也可以使用備用服務(wù)器, 兩個(gè)服務(wù)器進(jìn)行同步數(shù)據(jù)存儲(chǔ),如果一臺(tái)服務(wù)器出錯(cuò)時(shí), 可以轉(zhuǎn)換到另一臺(tái)進(jìn)行相同的操作, 讓用戶(hù)不需要因癱瘓而面臨網(wǎng)頁(yè)打不開(kāi)、數(shù)據(jù)丟失等相關(guān)問(wèn)題。Duetotherapiddevelopmentof modern computerscienceandtechnology,previousdatabackupandmanagershavebeenunabletomeettheuserrequirementsoftheexistingsystem,andnowthetechnologyisgenerallycarriedoutinreal-timebackupsystemdatabaseandbackupservers.Whenthedatabaseisparalyzedbyrapidlyswitchingsystemlibraries,whichcaneffectivelyreducethelossofdata.Whentheusercapacity,youcanusethebackupserver,twoserverssynchronizedatastorage,ifaservererror,canbeconvertedtoanotherthesameoperation,sothattheuserdoesnotopenthepagebecauseofparalysisofface,datalossandotherrelatedissues.2)降效技術(shù) Drop-efficienttechnology通常情況下系統(tǒng)的管理員都不是專(zhuān)業(yè)的計(jì)算機(jī)人員, 對(duì)計(jì)算機(jī)專(zhuān)業(yè)的知識(shí)了解相對(duì)較少。在面對(duì)系統(tǒng)癱瘓等錯(cuò)誤時(shí),都不知道如何去解決問(wèn)題。如今,隨著計(jì)算機(jī)科學(xué)技術(shù)的飛速發(fā)展, 為了讓系統(tǒng)用戶(hù)能夠自行解決運(yùn)行過(guò)程中遇到的問(wèn)題,大多采取小型服務(wù)器作為后備技術(shù)。 這項(xiàng)技術(shù)在現(xiàn)有的開(kāi)發(fā)系統(tǒng)中使用很廣泛,當(dāng)然備用的服務(wù)器從價(jià)格上考慮, 可能不如主服務(wù)器, 也可能會(huì)降低工作效率,但是從數(shù)據(jù)的完整性和安全出發(fā), 可以讓維修人員有更多時(shí)間進(jìn)行系統(tǒng)的維護(hù)。Normallythesystemadministratorisnotaprofessionalcomputerstaff,relativelylittlecomputerexpertisetounderstand.Inthefaceofsystemfailuresandothererrors,donotknowhowtosolvetheproblem.Nowadays,withtherapiddevelopmentofcomputerscienceandtechnology,inordertoallowsystemuserstosolveproblemsencounteredduringtheoperationontheirown,mostlytakensmallserverasabackuptechnology.Thetechnologyusedintheexistingdevelopmentsystemsisextensive,ofcourse,thebackupserverfromthepriceconsiderations,maynotbeastheprimaryserver,itmaydecreaseworkefficiency,butstartingfromtheintegrityandsecurityofdata,allowingmaintenancepersonnelmoretimeforsystemmaintenance.3)恢復(fù)及再啟動(dòng)技術(shù) Recoveryandre-starttechnology由于采取的是低端服務(wù)器, 同時(shí)進(jìn)行數(shù)據(jù)庫(kù)的實(shí)時(shí)備份。 這樣在系統(tǒng)維護(hù)好完成后,可以很快的進(jìn)行數(shù)據(jù)同步,同時(shí)也可以很快的進(jìn)行系統(tǒng)的運(yùn)行。Toadoptalow-endserver,whilethereal-timebackupofthedatabase.Sothatsystemmaintenanceiscompleted,youcanquicklysynchronizedata,butalsocanbequicklycarriedouttheoperationofthesystem.7.3 系統(tǒng)維護(hù)設(shè)計(jì) Systemmaintenancedesign信息管理系統(tǒng)不同于其他系統(tǒng), 它并不是一勞永逸的最終系統(tǒng)。 在它的運(yùn)行過(guò)程中,還有大量運(yùn)行管理、系統(tǒng)維護(hù)、系統(tǒng)設(shè)置等工作要做。交付使用的信息管理系統(tǒng)跟工業(yè)產(chǎn)品不同, 工業(yè)產(chǎn)品可以先生產(chǎn)一個(gè)樣品, 經(jīng)過(guò)試驗(yàn)、改進(jìn)再正式投入批量生產(chǎn), 而信息管理系統(tǒng)它需要在用戶(hù)使用過(guò)程中不斷完善。 系統(tǒng)維護(hù)包括程序的維護(hù)、數(shù)據(jù)文件的維護(hù)、代碼的維護(hù)等,而且系統(tǒng)的修改,往往會(huì)造成

溫馨提示

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

最新文檔

評(píng)論

0/150

提交評(píng)論