(完整word版)系统出错处理设计

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

7 系统出错处理设计System error handling design(撰写人:杨林森 3112101126 Yanglinsen 2102-011-0300)
7.1 出错信息Error message
在软件的开发过程中,需要对软件中存在的漏洞立即进行处理,即使一个很小的漏洞,也会造成整个软件开发系统的垃圾资源无限增多,最终可能会导致系统的瘫痪。

因此在系统设计中,对拟开发系统要注意数据的约束性。

为了进行数据统一收集和规范数据统一格式方面管理者的处理,针对存在的安全隐患,本项目组进行了统一约束规范。

同时,项目组也应该解决Web服务器端的信息安全问题,这样才能更好的运用管理系统,从而减少系统的维修次数,确保系统的安全使用。

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 system. 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 team 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.
7.1 输入错误及解决方案
7.1 input errors and solutions
错误名称
Error 解决方法 Solution
1. 用户名和密码出错
User name and password error 提示输入不正确,检查信息是否正确,并返回。

Prompted to enter is not correct, check the
information is correct, and return.
2. 验证码输入错误 Verification code input errors 登录失败,请重新输入。

Login failed, please re-enter.
3. 帐号注册为空或者已存在 The account register is empty or already exists 如空提示错误,返回;存在此用户,提示存在,返回。

Error such as an empty return; exist for this user,
indicate the presence of return.
4. 注册密码低于6位 Registration password is less than 6 提示低于6位信息,并重新输入。

Prompted less than 6, and re-enter.
5. 年龄大于100或小于0 Age greater than 100 or less than 0 提示信息:年龄应该在0与100之间。

The message: Age should be between 0 and 100.
6. 联系方式具有的格式输入错误 Contact the format of the input error 提示不是其所拥有的格式,重新输入。

Prompt is not its own format, re-enter.
7. 编号输入不为整数或小于0 Number is not entered as an integer or less than 0
提示,编号取值范围错误,应该为正整数。

Tip No. range error, it should be a positive integer. 8. 标题为空,或标题大于规定字数 The title is empty, or title greater than the specified number of words 提示标题不能为空且应该小于X 字,重新输入。

Prompt title can not be empty and should be less than X characters, re-enter.
9. 商品库存数量输入是小数 Product inventory quantity input is a decimal
提示,数量应该为整数,清除并重新输入。

Tip number is an integer, remove and re-enter. 10. 信息ID 输入为空 Information ID input is empty 提示出错信息,返回重新输入。

With an error message and return to re-enter.
11. 信息类型大于50个字符 The type of information is greater than 50 characters
提示字数超出规定,重新输入。

Prompt words out of the provisions re-enter. 12. 新密码与确认新密码不同 New password and confirm the new password 提示新密码与确认新密码不同!
Prompted a new password and confirm the new password!
13. 提交信息失败 Submit information failed 提示失败信息,并建议检查错误信息类型
Prompt failure, and recommended to check the
error message type
14. 手机号码输入不是11位数字 Phone number input is not 11 digits 提示您输入的手机号码有误,应该为11位数字。

Prompts you to enter the phone number is wrong,
should be 11 digits.
7.2 Web服务器错误处理设计7.2 the Web server error handling design
错误名称Error 输出
Output
补救
Remedy
1.不合法的Url请求Url request legal 提示错误,返回登录界面
Error, return to the login
screen
Struts的请求错误控制
Struts request error-control
2.程序出错抛出异常Error, an exception is thrown 输入Log日志中的错误信息
Enter the error message in
the Log
判断错误信息,返回登录界面
An error of judgment, and
return to the login screen
3.数据访问量的过大Amount of data access over 返回请求失败信息
Returns request failure
information
针对需求,重新选择服务器
Re-select the server for the
needs
4.登陆调用web服务器方法Log in to call the web server method 登录页面,要求用户登录
Logon page requires users
to log
Struts拦截所有请求,判断
用户是否登陆,必须登录才能
进行其他操作。

Struts to intercept all
requests to determine
whether the user login, you
must be logged in to
perform other operations.
7.2 补救措施Remedial measures
所有的系统,不管采用哪种开发方式,都不可避免的存在弱点。

所以不但在信息管理系统这一级而且在计算中心这一级(如果适用,也包括远程设备)都要审核并提出设计到安全性的问题。

通过识别系统的弱点来减少侵犯安全性的危险,以及采取必要的预防措施来提高安全水平,这是用户和信息服务管理部门可做得到的。

All systems, regardless 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 weaknesses in 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)后备技术Back-up technology
由于现代计算机科学技术的快速发展,以往的数据备份已经不能满足用户和管理者对现有系统的要求,现在的技术一般是进行系统数据库的实时备份和备份服务器。

当数据库瘫痪时,通过快速进行系统库的切换,这样可以有效的减少数据的丢失。

当用户量大时,也可以使用备用服务器,两个服务器进行同步数据存储,如果一台服务器出错时,可以转换到另一台进行相同的操作,让用户不需要因瘫痪而面临网页打不开、数据丢失等相关问题。

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, and now the technology is generally carried out in real-time backup system database and backup servers. When the database is 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 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)降效技术Drop-efficient technology
通常情况下系统的管理员都不是专业的计算机人员,对计算机专业的知识了解相对较少。

在面对系统瘫痪等错误时,都不知道如何去解决问题。

如今,随着计算机科学技术的飞速发展,为了让系统用户能够自行解决运行过程中遇到的问题,大多采取小型服务器作为后备技术。

这项技术在现有的开发系统中使用很广泛,当然备用的服务器从价格上考虑,可能不如主服务器,也可能会降低工作效率,但是从数据的完整性和安全出发,可以让维修人员有更多时间进行系统的维护。

Normally the system administrator is not a professional computer staff, relatively little computer expertise to understand. In the face of system failures and other errors, 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 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)恢复及再启动技术Recovery and re-start technology
由于采取的是低端服务器,同时进行数据库的实时备份。

这样在系统维护好完成后,可以很快的进行数据同步,同时也可以很快的进行系统的运行。

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 系统维护设计System maintenance design
信息管理系统不同于其他系统,它并不是一劳永逸的最终系统。

在它的运行过程中,还有大量运行管理、系统维护、系统设置等工作要做。

交付使用的信息管理系统跟工业产品不同,工业产品可以先生产一个样品,经过试验、改进再正式投入批量生产,而信息管理系统它需要在用户使用过程中不断完善。

系统维护包括程序的维护、数据文件的维护、代码的维护等,而且系统的修改,往往会造成系统程序、文件、代码的修改。

因此,系统的修改必须通过批准。

Information management system differs from other systems, it is not the final system once and for all. In the course of its operation, as well as a large number of operational management, system maintenance, system settings, such as work to do. Delivery of information management systems with different industrial products, industrial products can first produce a sample, tested, improved and then put into mass production, and information management systems that require users to use the process of continuous improvement. System maintenance, including maintenance procedures, maintenance of data files, code maintenance, and modify the system, often causing modify system programs, files, code. Therefore, the system must approve the modification.。

相关文档
最新文档