摘要分布式支付集成系统是基于SAAS应用模式开发的,系统部署在公有云服务器上,各个模块间通过Web Service的形式通信。系统使用业界流行的框架Jersey和Spring开发;使用Cassandra数据库(NoSql数据库的一种),支持高并发写入操作;使用Lucene索引框架,辅助数据库建索引,便于提供高效的查询。整个系统项目由Maven管理,降低管理难度。78121
该支付系统集成了支付宝、微信、银联、京东、百度等支付渠道,为客户端提供统一的支付以及退款接口,方便实用。系统各模块采用分布式部署,系统具有良好的扩展性和伸缩性。
一般的软件开发,如果需要接入支付,程序员需要编程大量代码,进行数据的备份。如果接入多个渠道则更加繁琐,需要按照各个渠道的开发文档来开发。对于新手来说,更是难上加难。如果每开发一个项目,都要编写支付接入代码,这样耗费的人力是巨大的。该系统是为了降低软件开发人员接入支付的难度,减少开发时间,降低维护成本。
毕业论文关键词:分布式;支付集成;SAAS;Cassandra
Abstract Distributed Pay Integrated System was developed based on the SAAS application model。 The system is deployed on the public cloud server。 The system had several modules。 These modules communicated with each other through Web Service。 The industry popular frameworks Jersey and Spring were utilized to develop this system。 The Cassandra database (one of the NoSql database) was utilized to support high concurrent write operation。 The Lucene index framework was utilized to help database build index, which provided efficient query。 The whole project was managed by Maven to reduce the difficulties of management。
The payment system integrated with AliPay, WeChat, UnionPay, JingDong Pay, BaiDu Pay channels and provided a unified, convenient, practical payment and refund interface for clients。 Each module of this system adopted the distributed deployment。 The system had good expansibility and flexibility。
If project need to access payment, programmer need to write a lot of code and does data backup in general software development。 If project access to multiple channels is more complicated, programmer need according to the various channels development documents to develop。 For beginners, it is even harder to complete。 If the programmer writes the same code in each project development, obviously the cost of manpower is huge。 This system’s aim is to reduce the difficulties of software developer access to payment, reduce development time and maintenance cost。
Keywords: Distributed; Pay Integrated; SAAS; Cassandra
目 录
第一章 绪论 1
1。1 系统开发的背景 1
1。2 系统设计的目标 1
1。3 课题研究的内容和意义 1
1。4 本章小结 2
第二章 系统使用技术及架构设计 3
2。1系统开发工具及运行环境 3
2。2 系统主要使用技术 3
2。2。1 REST架构风格 3
2。2。2 Spring框架 4
2。2。3 Jersey框架 4
2。2。4 Cassandra数据库 5
2。2。5 Lucene索引框架 7
2。3 系统架构 7
2。4 本章小结 9
第三章 系统详细设计