硕士毕业论文:基于MVC架构的生产管理系统设计与实现
原站著录信息
摘要
硕士学位论文 论文题目: 基于MVC架构的生产管理系统设计与实现 The Design and Implementation of Production Management System based on MVC architecture 目 录 摘 要 I ABSTRACT III 第1章 绪论 1 1.1 帮写硕士毕业论文课题背景 1 1.2 课题研究的目的和意义 2 1.3 本文主要工作 3 1.4 本文的组织结构 3 第2章 需求分析与获取 5 2.1 总体业务描述 5 2.2 系统目标 5 2.3 系统…
硕士学位论文
论文题目: 基于MVC架构的生产管理系统设计与实现
The Design and Implementation of Production Management System based on MVC architecture
目 录
摘 要 I
ABSTRACT III
第1章 绪论 1
1.1 帮写硕士毕业论文课题背景 1
1.2 课题研究的目的和意义 2
1.3 本文主要工作 3
1.4 本文的组织结构 3
第2章 需求分析与获取 5
2.1 总体业务描述 5
2.2 系统目标 5
2.3 系统需求分析与获取 6
2.3.1 系统功能性需求 6
2.3.2 非功能性需求 14
第3章 系统设计 18
3.1 系统技术架构 18
3.1.1 软件架构设计 18
3.1.2 共通类设计 19
3.1.3 用户权限可控菜单设计 22
3.2 系统功能架构 23
3.3 安全架构 27
第4章 系统详细设计 29
4.1 业务设计 29
4.2 类结构设计 33
4.3 数据库设计 36
第5章 系统实现与测试 41
5.1 整体业务实现 41
5.2 系统测试 46
5.2.1 功能测试 47
5.2.2 系统非功能性需求测试 48
第6章 结论 50
参考文献 51
致谢 53
CONTENTS
Chinese abstract I
English abstract III
Chapter 1. Introduction 1
1.1 Background 1
1.2 The purpose and significance of the research 2
1.3 Main Contribution 3
1.4 Contents Organization 3
Chapter 2. Requirements Analysis 5
2.1 Description of overall business 5
2.2 Destination and primary Issues 5
2.3 System requirements analysis 6
2.3.1 Functional requirements 6
2.3.2 Non-functional requirements 14
Chapter 3.System Design 18
3.1 Technical construction design 18
3.1.1 Sofeware construction design 18
3.1.2 Common interface design 19
3.1.3 User access control and menu design 22
3.2 Functional construction design 23
3.3 Security architecture design 27
Chapter 4. Details Design 29
4.1 Business module design 29
4.2 Class design 33
4.3 Database design 36
Chapter 5. Implementation and Tesing 41
5.1 Implementation of Degree Defense Rules 41
5.2 System testing 46
5.2.1 Functional testing 47
5.2.2 Non-functional testing 48
Chapter 6. Conclusion 50
Referrence 51
摘 要
随着企业大型化、国际化和业务的复杂化、增量化发展需求,要求应用软件不断向分布式和大规模发展的同时,对于成本控制、可增量性、多平台多语言、和用户界面友好、反应速度快,支持数据上传下载,大量报表打印等等功能均提出了更加高的要求。对于开发方来说,如何快、好、省的给用户提供满足上述要求的解决方案并且近可能的提高代码重用性、规范统一性及可增量性以适应市场不断扩大多变的需求和大规模集成化开发的要求是当前急需解决和研究的问题。本文通过对一家通讯产品公司的生产管理系统的开发过程的描述,对于以上问题的解决做了初步尝试,在满足客户复杂业务要求,完成生产管理系统开发的同时,通过MVC架构的构造和实施,对于提高产品通用化、可增量化、规范统一性等方面做了重点研究,实施后不仅系统本身达到客户要求、而且使这套架构及管理模式在其他项目实施中被推广使用。
基于架构、组件式的开发已成为今天企业级应用开发的主流,良好的多层系统体系架构,是每个企业完成复杂系统快速应用开发的首要要求。本文首先说明了课题背景及使用MVC(Model—View—Controller)架构完成系统开发的理由。使用J2EE(Java 2 Platform Enterprise Edition)平台用来满足无需太多费用而又需要高可用性、高可靠性以及可扩展性的应用的需求。然后,利用这个统一的开发平台,采用业界在软件表示层、智能逻辑层和数据持久层的最新组件技术,设计了一个软件系统架构的策略:Seasar2作为系统的开发框架环境,Mayaa对应MVC视图层,S2Struts对应MVC控制层,S2Dao对应MVC模型层。在此基础上达到软件体系的MVC模式架构,分别为模型、视图和控制器.将数据管理和显示的功能分散到不同的对象上,降低对象之间的耦合粒度。每一部分处理特定的任务,并负责完成与其它部分的通信。
首先、详细调查了客户生产现状,分析了用户的总体业务、提出了系统目标并用流程图、用例图、活动图的形式详细说明了系统的功能性需求和非功能性需求。
在需求分析基础上,本文进行了系统的概要设计。首先进行了软件架构设计,按客户要求和系统期望达成的目标,详细论述了系统共通类的设计及系统功能设计。充分考虑系统的可扩展性,可维护性以及性能问题,并尽可能提高系统的可重用性。最后对系统安全架构也做了简要介绍。
在概要设计的基础上,选取系统中代表性子系统订单管理子系统进行了详细设计。对各个模块进行了详细的描述,给出系统的画面模型、类结构设计与数据库设计。
在详细设计的基础上,首先对于系统的实现进行了简单介绍,给出了系统的实现环境、整体效果图、数据库函数实现、共通处理实现、资源文件实现等各个部分的实现。本部分的最后,对系统的性能进行了测试,功能测试给出了测试设计书,非功能测试部分给出了测试代码。
本文所设计系统为浪潮给一日本生产通信产品大公司所做系统,在实际中取得了良好应用效果并很好的提高了生产管理效率,得到客户好评,对其他行业的生产管理系统也有扩展和借鉴作用。
关键词:软件架构;MVC模式;生产管理软件;可扩展性
ABSTRACT
As enterprises requirements of large-scale, internationalization, business-complex, and incremental technology development needs, it requires to keep the distributed applications and large-scale development, for cost control, can be incremental, multi-platform, multilingual, and user-friendly, fast response, support for data uploading and downloading, printing, and so a large number of reports have offered a more high functional demands. For the development side, how fast, better and cheaper to provide a solution to meet the above and near the possible increase code reuse, standard uniformity and can be incremental in order to meet the changing needs of the growing market, and large scale integrated development requirement is that the current urgent need to address and research issues. This article, through a communications products of company's production management system, a description of the development process for the above problems made preliminary attempts to meet the complex customer business requirements, to complete production management system developed at the same time with the MVC architecture that construction and implementation of general use for improving the product can be incremental-based, normative consistency and so on have done a focus on research,. After the implementation of customer requirements to achieve, not only the system itself, but also this structure and mode of implementation of other projects have been promoting the use.
The development which based on the architecture, component-style has become a mainstream enterprise-class application development. Good multi-layer system architecture is a complex system, which is the first demand of rapid application development to each enterprise. This paper first describes the background of the subject, and the reasons that using the MVC architecture. Using the J2EE platform to develop, it will be much cheap and for high availability, high reliability and scalability of applications. Then, take advantage of this unified development platform, using the industry software layer, smart logic layer and data persistence layer of the latest component technology to design a software system architecture strategy: Seasar2 as a system development framework for the environment, Mayaa corresponding MVC View layer, S2Struts corresponding MVC control layer, S2Dao corresponding MVC model layer. On this basis, to reach the MVC software architecture model structure, namely, model, view and controller. The data management and display functions dispersed to different objects, reducing the coupling between the object granularity. Each part of the deal with specific tasks, and is responsible for completing the rest of communication.
First, with the detailed investigation of the customer production status, it analyzes the user's overall business, put forward the system goals. With the flow charts, use case diagram, activity diagram, it describes the system's functional requirements and non-functional requireme
