基于.NET 的个人账本系统的设计与开发
专业:软件工程
学生:** 指导老师:**
摘 要
随着互联网与移动通信技术的崛起,国民收入与消费水平的不断提高,大众的日常消费次数与金额呈指数型上升。由于时间的紧迫性与传统纸质记账本不方便携带等特点,使得传统记账本已经很难满足现如今的社会情况。对于大众来说,对个人的财富管理仍然是一个亘古不变的话题,且仍有很大一部分人保留着记账的行为。故一款简洁易用的记账软件就变得十分重要,而现在又是处于大数据时代,如果记账软件能对使用者的消费行为做出分析建议,将有助于使用者更加合理地管理、规划自己的财富,提高使用者生活水平。此外,也将大大提升该软件在同类软件中的竞争力。
本论文对个人理财发展进行调研,设计并开发了基于 ASP.NET MVC 的记账系统,本系统通过 B/S 架构实现,是一款 Web 应用程序,前端使用 Bootstrap 框架布局,系统数据处理采用 EF、C#技术实现,同时本系统的架构为三层架构,包含业务逻辑层、数据访问层、表现层。
关键词: 账本系统 消费分析 ASP.NET MVC 三层架构
Design and Development of Personal Accounting System Based on .NET
Major: Information Management and Information System Student: ** Supervisor: **
Abstract
With the rise of Internet and mobile communication technology, the national income and consumption level are constantly improving, and the number and amount of daily consumption of the public is rising exponentially. Because of the urgency situation, the inconvenience of carrying traditional account books and other factors, it is difficult for traditional account books to meet the current social situation. For the mass, the management of personal wealth is still an unchanged topic, and there are still a large proportion of people who keep the accounting habits. Therefore, a simple and easy-to-use accounting software has become vital important, and since it is in the era of big data. If the accounting software can make analysis and suggestions based on users' consumption behavior, it will be a great help to users to manage and utilize their wealth more rational and therefore improve their living standards. In addition, it will be extremely competitive among software with similar functions.
This dissertation investigates the development of personal finance, designs and develops an accounting system based on ASP.NET MVC. This system is implemented by B/S architecture, which is a Web application. The front-end uses Bootstrap framework layout, and the system data is processed by EF and C# technology. Besides, the system structure adopts the pattern of three-tier architecture, which includes business logic layer, data access layer and user interface layer.
Key words: Accounting System Consumption Analysis ASP.NET MVC Three-Tier Architecture
1 导 论 1
1.1 系统开发背景及意义 1
1.2 国内外研究情况 1
1.3 论文主要研究内容 2
2 开发环境和相关技术简介 2
2.1 开发技术 2
2.1.1 C#语言 2
2.1.2 EF 2
2.1.3 三层架构 3
2.1.4 MVC 框架 3
2.2 开发及运行环境 4
2.2.1 开发环境 4
2.2.1 运行环境 4
3 系统分析 4
3.1 功能需求 4
3.2 性能需求 5
3.2.1 时间特性 5
3.2.2 适应性 5
3.3 安全性需求 6
3.3.1 网络安全性 6
3.3.2 系统安全性 6
3.4 用例模型的建立 6
3.4.1 参与者 6
3.4.2 确定用例 6
3.4.3 建立用例图 7
3.4.4 用例描述 7
4 系统设计 10
4.1 数据库设计 10
4.1.1 概念模型设计 10
4.1.2 数据库逻辑设计 12
4.1.3 数据库表 13
4.2 总体功能模块设计 15
4.2.1 功能模块划分及概述 15
4.2.2 系统功能模块结构图 15
4.3 系统架构设计 15
5 详细设计与实现 16
5.1 注册登录模块 16
5.5.1 注册 16
5.5.2 登录 17
5.2 记账模块 18
5.3 报表模块 19
5.3.1 收支统计 19
5.3.2 年度报表 21
5.4 预算模块 24
5.5 分析建议模块 25
5.6 个人信息模块 27
6 系统测试 27
6.1 测试方法概述 27
6.2 测试用例及结果分析 28
6.2.1 注册登录模块测试用例 28
6.2.2 记账管理模块测试用例 29
6.2.3 编辑预算模块测试用例 30
7 结束语 30
参考文献 32
致 谢 34