网上银行的设计与实现

    

近几年来,由于网络的迅速发展和迅速发展,尤其是最近几年,国内的电商交易额持续增长,2013年被誉为“网络金融元年”,使得传统的金融服务网络化的倾向日益显著。随着国家的宏观经济形势的平稳、消费者的消费习惯的形成、银行本身的业务革新以及不断变化的信息技术等因素的影响,网络银行在中国得到了迅速的发展。因此,利用互联网的优势,构建一个高效、便捷、快捷的公共信息服务平台,是银行面对互联网金融市场的激烈竞争的关键所在。伴随着我国的经济和社会的不断发展,金融业逐渐走向完善,人民群众的物质财富日益丰富,商业银行的经营方式也日益多元化。从而使人民对金融服务的要求逐渐增大。

本系统按照 B/S模式,采用 Java技术,选择 MySQL做为后台管理。该系统的功能包括客户聊天管理,词典管理,公告信息管理等功能;金融工具的管理,金融工具的收集管理,金融工具的管理;贷款管理,理财产品的收集和管理;管理理财产品卡,理财卡信息管理,银行卡管理;管理存款,银行卡记录,取款管理;账户管理,用户管理,人员管理等。

本文主要对金融行业的发展背景以及金融行业的发展现状进行了详细的阐述,然后按照软件的传统的研发过程,首先选择了适合的思想和语言软件的开发平台,根据需要分析报告的功能,对数据库结构进行了设计。在此基础上,结合各功能模块,分别对各功能模块进行了详细的分析,编制了各功能模块的流程表及E-R图表。接着进行体系结构的设计和编码,最后完成了体系的功能模块的开发。最后,对整个系统进行了初步的检查,并对其进行了相关的功能验证。实验证明,本设计可以达到预期的功能,且运行状况无显著的瑕疵。

关键词:银行业务;MySQL数据库;需求分析;功能设计

Abstract

In recent years, due to the rapid development and rapid development of the network, especially in recent years, the domestic e-commerce transaction volume continues to grow, 2013 is known as the "first year of network finance", making the tendency of traditional financial service network increasingly significant. With the stability of the country's macroeconomic situation, the formation of consumers' consumption habits, the business innovation of banks themselves and the changing information technology, online banking has developed rapidly in China. Therefore, using the advantages of the Internet to build an efficient, convenient and fast public information service platform is the key for banks to face the fierce competition in the Internet financial market. With the continuous development of China's economy and society, the financial industry is gradually improving, the material wealth of the people is becoming increasingly rich, and the operation mode of commercial banks is becoming increasingly diversified. So that the people's demand for financial services is gradually increased. The system follows B / S mode, adopts Java technology and selects MySQL as the background management. The functions of the system include customer chat management, dictionary management, announcement information management; financial instrument management, collection management, financial instrument management, loan management, financial management collection and management, financial card management, card information management, deposit management, bank card management, bank card records, withdrawal management; account management, user management, personnel management, etc. This paper mainly expounds the development background of the financial industry and the development status of the financial industry. Then, according to the traditional research and development process of software, it first selects the suitable thought and language software development platform, analyzes the functions according to the report, and designs the database structure. On this basis, combined with each functional module, each functional module is analyzed in detail, and the flow table and E-R chart of each functional module are compiled. Then, the design and coding of the architecture, and finally completed the development of the functional module of the system. Finally, the whole system was initially checked and valverified. The experiment proves that the design can achieve the expected function with no significant health defects.

Keywords:banking business;  MySQL database; requirements analysis; functional design


    录

摘    要 1

Abstract 2

第1章 绪论

1.1 选题背景

1.2 选题意义

1.3 国内外研究现状

1.3.1  国外研究现状

1.3.2  国内研究现状

1.4 研究内容

第2章 系统开发工具与环境配置

2.1  JAVA简介

2.2  Springboot框架

2.3  Vue框架

2.4  MySQL

2.5  MVVM框架

2.6  Axios技术

2.7 系统开发平台及运行环境

2.7.1 系统开发平台

2.7.2 运行环境

第3章 系统需求分析

3.1 可行性分析

3.1.1  经济可行性

3.1.2  技术可行性

3.1.3  操作可行性

3.2 功能需求分析

3.2.1 管理员用例分析

3.2.2 用户用例分析

3.3 运行环境

3.4 系统性能需求

3.5 系统数据设计

第4章 系统设计

4.1 系统功能结构设计

4.2 功能模块设计

4.2.1 账户管理功能模块设计

4.2.2 销户功能模块设计

4.2.3 角色管理模块设计

4.2.4 储蓄业务管理模块设计

4.2.5 存款取款管理功能模块设计

4.2.6 理财管理功能模块设计

4.3 数据库设计

4.3.1  数据库设计规范

4.3.2  数据库ER模型

4.3.2 数据库表设计

第5章 系统实现

5.1  管理员功能模块

5.1.1  管理员登录功能实现

5.1.2  个人中心功能实现

5.1.3  客服聊天管理功能实现

5.1.4  基础数据管理功能实现

5.1.5  公告信息管理功能实现

5.1.6  金融工具管理功能实现

5.1.7  理财产品管理功能实现

5.1.8  存款管理功能实现

5.1.9  银行卡记录管理功能实现

5.1.10  取款管理功能实现

5.1.11  转账管理功能实现

5.1.12  用户管理功能实现

5.2   用户功能模块

5.2.1  用户登录功能实现

5.2.2  个人中心信息功能实现

5.2.3  查看金融工具功能实现

5.2.4  查看理财产品功能实现

5.2.5  查看公告信息功能实现

5.2.6  客服聊天功能实现

5.2.7  收藏管理功能实现

5.2.8  理财管理功能实现

5.2.9  银行卡管理功能实现

5.2.10  交易记录管理功能实现

5.2.11  存款、取款、转账管理功能实现

第6章  系统测试

6.1  测试目的

6.2  测试环境

6.3  系统测试

6.4  测试结果

第7章  结论

参 考 文 献

致    谢

附    录

在数据库中,各类数据都存放在表格中,而对其进行添加、删除、修改、查找等工作,都是在对应的表格中完成的。一个有效的资料库设计可以缩短资讯处理的周期,因此资料库的开发就显得尤为重要。您应该认真思考要建立的表格,表格中的字段如何设计,字段类型以及长度。例如,在一个时间域中,它的资料型别不是整型,不然就会有一个错误的讯息,显示资料的格式不合规范。下面是对部分业务表格的简单描述。

表4-1客服聊天表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

yonghu_id

Integer

提问用户

3

chat_issue

String

问题

4

issue_time

Date

问题时间

5

chat_reply

String

回复

6

reply_time

Date

回复时间

7

zhuangtai_types

Integer

状态

8

chat_types

Integer

数据类型

9

insert_time

Date

创建时间

表4-2字典表表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

dic_code

String

字段

3

dic_name

String

字段名

4

code_index

Integer

编码

5

index_name

String

编码名字

6

super_id

Integer

父字段id

7

beizhu

String

备注

8

create_time

Date

创建时间

表4-3公告信息表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

gonggao_name

String

公告名称

3

gonggao_photo

String

公告图片

4

gonggao_types

Integer

公告类型

5

insert_time

Date

发布时间

6

gonggao_content

String

公告详情

7

create_time

Date

创建时间

表4-4金融工具表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

jinronggongju_name

String

产品名称

3

jinronggongju_uuid_number

String

金融工具编号

4

jinronggongju_photo

String

产品照片

5

zan_number

Integer

6

cai_number

Integer

7

jinronggongju_types

Integer

产品类型

8

huankuan_number

Integer

还款天数

9

jinronggongju_lilv

BigDecimal

利率

10

jinronggongju_clicknum

Integer

金融工具热度

11

jinronggongju_content

String

产品介绍

12

shangxia_types

Integer

是否上架

13

jinronggongju_delete

Integer

逻辑删除

14

insert_time

Date

录入时间

15

create_time

Date

创建时间

表4-5金融工具收藏表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

jinronggongju_id

Integer

金融工具

3

yonghu_id

Integer

用户

4

jinronggongju_collection_types

Integer

类型

5

insert_time

Date

收藏时间

6

create_time

Date

创建时间

表4-6金融工具银行卡表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

jinronggongju_id

Integer

金融工具

3

yonghu_id

Integer

用户

4

jinronggongju_commentback_text

String

银行卡内容

5

insert_time

Date

银行卡时间

6

reply_text

String

回复内容

7

update_time

Date

回复时间

8

create_time

Date

创建时间

表4-7借款表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

jinronggongju_order_uuid_number

String

订单编号

3

jinronggongju_id

Integer

金融工具

4

yonghu_id

Integer

用户

5

yinhangka_id

Integer

银行卡

6

jinronggongju_order_jiekuanjine

BigDecimal

借款金额

7

jinronggongju_order_huankuanjine

BigDecimal

还款金额

8

zuiwanhuankuan_time

Date

最晚还款日期

9

jinronggongju_order_types

Integer

订单类型

10

jinronggongju_order_payment_types

Integer

支付类型

11

jinronggongju_order_yesno_types

Integer

审核状态

12

jinronggongju_order_yesno_text

String

审核意见

13

jinronggongju_order_shenhe_time

Date

审核时间

14

insert_time

Date

订单创建时间

15

create_time

Date

创建时间

表4-8理财产品表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

licaichanpin_name

String

理财产品名称

3

licaichanpin_uuid_number

String

理财产品编号

4

licaichanpin_photo

String

理财产品照片

5

zan_number

Integer

6

cai_number

Integer

7

licaichanpin_types

Integer

投资类型

8

fashou_time

Date

发售时间

9

licaichanpin_nianshouyi

String

年收益

10

licaichanpin_fengxian_types

Integer

风险等级

11

licaichanpin_kucun_number

Integer

剩余份数

12

licaichanpin_old_money

BigDecimal

原价/份

13

licaichanpin_new_money

BigDecimal

现价/份

14

licaichanpin_clicknum

Integer

理财产品热度

15

licaichanpin_content

String

理财产品介绍

16

shangxia_types

Integer

是否上架

17

licaichanpin_delete

Integer

逻辑删除

18

insert_time

Date

录入时间

19

create_time

Date

创建时间

表4-9理财产品收藏表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

licaichanpin_id

Integer

理财产品

3

yonghu_id

Integer

用户

4

licaichanpin_collection_types

Integer

类型

5

insert_time

Date

收藏时间

6

create_time

Date

创建时间

表4-10理财产品银行卡表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

licaichanpin_id

Integer

理财产品

3

yonghu_id

Integer

用户

4

licaichanpin_commentback_text

String

银行卡内容

5

insert_time

Date

银行卡时间

6

reply_text

String

回复内容

7

update_time

Date

回复时间

8

create_time

Date

创建时间

表4-11理财银行卡信息表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

licaichanpin_order_uuid_number

String

订单编号

3

licaichanpin_id

Integer

理财产品

4

yonghu_id

Integer

用户

5

yinhangka_id

Integer

银行卡

6

buy_number

Integer

购买份数

7

licaichanpin_order_true_price

BigDecimal

实付价格

8

licaichanpin_order_types

Integer

订单类型

9

licaichanpin_order_yesno_types

Integer

审核状态

10

licaichanpin_order_yesno_text

String

审核意见

11

licaichanpin_order_shenhe_time

Date

审核时间

12

licaichanpin_order_payment_types

Integer

支付类型

13

insert_time

Date

订单创建时间

14

create_time

Date

创建时间

表4-12银行卡表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

yonghu_id

Integer

用户

3

yinhangka_uuid_number

String

银行卡卡号

4

yinhangka_photo

String

银行卡照片

5

yinhangka_kaikadi

String

开卡地

6

yinhang_types

Integer

银行

7

yinhangka_types

Integer

银行卡类型

8

insert_time

Date

开卡日期

9

yinhangka_address

String

编码

10

yinhangka_money

BigDecimal

余额

11

yinhangka_content

String

卡片备注

12

create_time

Date

创建时间

表4-13存款表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

yinhangka_id

Integer

银行卡

3

yinhangka_cunkuan_uuid_number

String

存款编号

4

yinhangka_cunkuan_jine

BigDecimal

存款金额

5

yinhangka_cunkuan_content

String

存款备注

6

insert_time

Date

存款时间

7

create_time

Date

创建时间

表4-14银行卡记录表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

yinhangka_id

Integer

银行卡

3

yinhangka_jilu_uuid_number

String

记录卡号

4

yinhangka_jilu_types

Integer

银行卡记录类型

5

yinhangka_jilu_jine

BigDecimal

记录金额

6

yinhangka_jilu_content

String

详情

7

insert_time

Date

记录时间

8

create_time

Date

创建时间

表4-15取款表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

yinhangka_id

Integer

银行卡

3

yinhangka_qukuan_uuid_number

String

取款编号

4

yinhangka_qukuan_jine

BigDecimal

取款金额

5

yinhangka_qukuan_content

String

取款备注

6

insert_time

Date

取款时间

7

create_time

Date

创建时间

表4-16转账表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

yinhangka_id

Integer

银行卡

3

yinhangka_zhuanzhang_uuid_number

String

转账编号

4

yinhangka_zhuanzhang_jine

BigDecimal

转账金额

5

yinhang_types

Integer

银行

6

yinhangka_zhuanzhang_jieshou_kahao

String

接收卡号

7

yinhangka_zhuanzhang_content

String

转账备注

8

insert_time

Date

转账时间

9

create_time

Date

创建时间

表4-17用户表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

yonghu_uuid_number

String

用户编号

3

yonghu_name

String

用户姓名

4

yonghu_phone

String

用户手机号

5

yonghu_id_number

String

用户身份证号

6

yonghu_photo

String

用户头像

7

yonghu_email

String

用户邮箱

8

zhengxindengji_types

Integer

征信等级

9

jinyong_types

Integer

账户状态

10

create_time

Date

创建时间

表4-18员工表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

yuangong_uuid_number

String

工号

3

yuangong_name

String

员工姓名

4

yuangong_phone

String

员工手机号

5

yuangong_id_number

String

员工身份证号

6

yuangong_photo

String

员工头像

7

yuangong_email

String

员工邮箱

8

jinyong_types

Integer

账户状态

9

create_time

Date

创建时间

表4-19管理员表

序号

列名

数据类型

说明

允许空

1

Id

Int

id

2

username

String

员工名

3

password

String

密码

4

role

String

角色

5

addtime

Date

新增时间

第6章  系统测试

系统测试是软件开发过程中的重要阶段,用于验证整个软件系统在满足需求规格的前提下是否符合功能完整、设计要求、性能稳定,并且是否能够在实际环境中正常运行。

6.1  测试目的

该系统的功能测试,是为了检验该系统软件研发的功能是否有问题,该功能本身的设计原则是否是正确的,该系统的软件开发设计是否会有潜在的经营风险问题,在顾客的特定的开发和应用环境以及测试过程中,让用户真正使用并感受到评价,并对试验的成果进行评价,为工程的风险评价、性能试验等方面提供必要的资料。当前,银行业的管理体系分为前端的用户端、后台的用户端的端。当前,后台管理系统的软件主要分为前台和后台管理两部分。前面的目标就是要试验一下该系统的用户如何注册,帐号登录,订单管理的自动化跳跃等。后台管理人员的职责就是对各个控制模块进行每日的数据资料的维修。

6.2  测试环境

本项目提出一种基于黑箱技术的银行管理软件功能测试,该软件主要用于对软件功能进行测试,以确保软件满足功能需求,逻辑上的正确性和功能设计的合理性。在黑箱测试中,我们忽略了系统的内在构造以及执行的详细情况,从而保证了该系统能够正确地工作并且满足期望。系统测试环境如下图表6-1所展示。

表6-1  系统测试环境

测试环境

软件环境

操作系统

Windows 10家庭版

系统类型

64 位操作系统, 基于 x64 的处理器

浏览器

Google浏览器

数据库

MySQL5.7

硬件环境

设备

Windows台式电脑机

内存

16.00G

硬盘

2550G

处理器

Intel(R) Core(TM) i5-8300H CPU

6.3  系统测试

最后,本文对该平台的各项基本性能进行了试验,着重于对金融工具信息、金融工具信息和公布信息的检测。只有通过了测试的程序模块,才可以进行系统的软件浏览。对该系统进行了重点的功能检测,目的在于对该系统的各个功能进行检验,保证使用者能够成功地获得并处理有关金融工具的资料和银行所公布的通告。

表6-2  用户登录测试表

测试目的

操作流程

测试用例

测试结果

用户登录

填写用户名密码,点击首页登录按钮

错误填写用户名密码

提示错误信息

正确填写用户和密码

登录成功

表6-3新增金融工具信息测试表

测试项目

操作流程

测试用例

测试结果

新增金融工具信息

管理员登陆后点击新增物资按钮,新增金融工具信息

金融工具信息为空

新增失败,提示请填写内容

合规填写金融工具信息

新增成功

表6-4新增银行卡信息测试表

测试项目

操作流程

测试用例

测试结果

新增银行卡信息

管理员登陆后点击新增银行卡信息按钮,新增银行卡信息

银行卡信息为空

新增失败,提示请填写内容

合规填写银行卡信息

新增成功

 表6-5新增转账测试表

测试项目

操作流程

测试用例

测试结果

新增转账

管理员登陆后点击新增转账按钮,新增转账

转账为空

新增失败,提示请填写内容

合规填写转账

新增成功

6.4  测试结果

在对其进行了多次的调试与优化之后,对其进行了多次的调试与改善,使其可以确保该系统在满足市场需要的情况下,具有基本没有差错的特征;较好的适应了软件的发展工艺及用户的要求.在整个设备的整体工作试验中,该系统的软件的功能都比较单一,但是在进行功能性的试验时,却发现了诸如用户的空标、 MySQL的数据库版本不一致等问题,从而使 SQL语句不能正确地执行;此外,系统还会出现管理员使用者名称设置及使用环境辨识等问题,若使用者不正确填写帐号及密码,则会造成登入失败。通常不会出现这样的差错。当执行程式码检验时,会发现管理员资讯与资料库程式码有问题,而且也会出现程式码与资料库的连结问题。在这个测试中,我将更多的精力放在了对我的编码和数据库的处理上,以保证这样的问题不再发生。

  • 23
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值