(完整版)系统出错处理设计
- 格式:doc
- 大小:90.50 KB
- 文档页数:6
7 系统出错处理设计 System error han dli ng design (撰写人:
杨林森 3112101126 Yanglin sen 2102-011 -0300 )
7.1 出错信息 Error message
在软件的开发过程中,需要对软件中存在的漏洞立即进行处理,即使一个很 小的漏洞,也会造成整个软件开发系统的垃圾资源无限增多, 最终可能会导致系 统的瘫痪。因此在系统设计中,对拟开发系统要注意数据的约束性。为了进行数 据统一收集和规范数据统一格式方面管理者的处理, 针对存在的安全隐患,本项 目组进行了统一约束规范。同时,项目组也应该解决 Web服务器端的信息安全问 题,这样才能更好的运用管理系统,从而减少系统的维修次数,确保系统的安全 使用。
In the software developme nt process, the n eed for software vuln erabilities that
exist in immediate treatment, even a small flaw will cause garbage resources of the en
tire software developme nt system and the infin ite in crease, may eve ntually lead to
paralysis of the system. Therefore, system desig n, system developme nt 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 con
ducted a un ified con stra int specificati on. Mea nwhile, the project team should also
solve the problem of information security Web server, so as to make better use of man
ageme nt systems, thereby reduc ing the nu mber of system maintenan ce, to en sure the
safe use of the system. 错误名称
Error 解决方法
Soluti on
提示输入不正确,检查信息是否正确,并返回。
Prompted to enter is not correct, check the information is
correct, and return.
登录失败,请重新输入。
Logi n failed, please re-e nter.
如空提示错误,返回;存在此用户,提示存在,返 回。
Error such as an empty retur n; exist for this user, in dicate
the prese nee of retur n.
提示低于6位信息,并重新输入。
Prompted less tha n 6, and re-e nter.
提示信息:年龄应该在 0与100之间。
The message: Age should be betwee n 0 and 100. 提示不是其所拥有的格式,重新输入。
Prompt is not its own format, re-enter.
提示,编号取值范围错误,应该为正整数。
Tip No. range error, it should be a positive integer.
提示标题不能为空且应该小于 X字,重新输入。
Prompt title can not be empty and should be less tha n X
characters, re-e nter.
提示,数量应该为整数,清除并重新输入。
Tip number is an integer, remove and re-enter.
With an error message and retur n to re-e nter.
提示字数超出规定,重新输入。
Prompt words out of the provisi ons re-e nter.
Prompted a new password and confirm the new
password!
提示失败信息,并建议检查错误信息类型
Prompt failure, and recommended to check the error
message type
提示您输入的手机号码有误,应该为 11位数字。
Prompts you to en ter the phone nu mber is wrong, should
be 11 digits.
7.1 输入错误及解决方案
7.1 in put errors and solutio ns 1. 用户名和密码出错
User n ame and password error
2. 验证码输入错误
Verificati on code in put errors
3. 帐号注册为空或者已存在
The account register is empty or already
exists
4. 注册密码低于6位
Registrati on password is less tha n 6
5. 年龄大于100或小于0
Age greater tha n 100 or less tha n 0
6. 联系方式具有的格式输入错误
Con tact the format of the in put error
7. 编号输入不为整数或小于 0
Number is not en tered as an in teger or
less tha n 0
8. 标题为空,或标题大于规定字数
The title is empty, or title greater tha n
the specified nu mber of words
9. 商品库存数量输入是小数
Product inven tory qua ntity in put is a
decimal
10. 信息ID输入为空
In formatio n ID in put is empty
11. 信息类型大于50个字符
The type of information is greater
than 50 characters
12. 新密码与确认新密码不同
New password and con firm the new
password
13. 提交信息失败
Submit in formati on failed 提示出错信息,返回重新输入。
提示新密码与确认新密码不同! 错误名称
Error 解决方法
Soluti on
7.2 Web服务器错误处理设计
7.2 the Web server error handling design
错误名称 输出 补救
Error Output Remedy
1.不合法的Url请求 提示错误,返回登录界面 Struts的请求错误控制
Url request legal Error, return to the login Struts request error-c on trol
scree n
2.程序出错抛出异常 输入Log日志中的错误信息 判断错误信息,返回登录界面
Error, an excepti on is Enter the error message in An error of judgment, and
throw n the Log retur n to the logi n scree n
3.数据访冋量的过大 返回请求失败信息 针对需求,重新选择服务器
Amount of data access over Returns request failure Re-select the server for the
in formatio n n eeds
4.登陆调用web服务器方法 登录页面,要求用户登录 Struts 拦截所有请求,判断
Log in to call the web server Log on page requires users 用户是否登陆,必须登录才能
method to log 进行其他操作。
Struts to in tercept all
requests to determ ine
whether the user logi n, you
must be logged in to perform
other operati ons.
7.2 补救措施 Remedial measures
所有的系统,不管采用哪种开发方式,都不可避免的存在弱点。所以不但在 信息管理系统这一级而且在计算中心这一级(如果适用,也包括远程设备)都要审 核并提出设计到安全性的问题。通过识别系统的弱点来减少侵犯安全性的危险, 以及采取必要的预防措施来提高安全水平, 这是用户和信息服务管理部门可做得
到的。
All systems, regardless of which way the use of developme nt are in evitable
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 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