一种基于J2EE的第四方综合支付平台框架设计
2018-10-24贾义伍黄卫华
贾义伍 黄卫华



摘 要: 为了解决现有第三方支付行业中市场碎片化、商户高维护费用的现状,采用J2EE技术以及改进型的MD5信息加密方式,提出一种基于多层体系架构的第四方支付平台框架方案。首先,该平台融合了当今主流的多种在线支付方式,商户在一个平台就可以接入多种支付接口,大大减少了商户接入、维护和支付结算服务时面临的成本支出。其次,该平台采用改进型的MD5信息加密方式,通过对平台中商户进件信息和交易预下单信息进行请求和响应参数的统一加密、验签,可有效地解决商户信息、交易订单信息被篡改的风险,保证网络信息传递的唯一性和准确性。最后进行平台框架的实际应用,结果表明,此框架为第四方支付结构提供了商户入驻审核、交易、对账、清分以及结算的一整套在线支付综合解决方案。
关键词: J2EE; 第四方支付; 在线支付; MD5信息加密; 支付平台; 框架设计
中图分类号: TN711?34 文献标识码: A 文章编号: 1004?373X(2018)20?0065?05
Abstract: A framework scheme of the fourth?party payment platform based on the multilayer architecture is proposed by adopting the J2EE technology and improved MD5 information encryption mode, so as to deal with the current situations of market fragmentization and merchants′ high maintenance cost in the third?party payment industry. Various main online payment modes at present are fused in this platform so that merchants can access multiple payment interfaces in one platform, which greatly reduces merchants′ cost and expenditure generated in access, maintenance, payment and settlement services. The improved MD5 information encryption mode is adopted on this platform. Unified encryption, verification and signing of request and response parameters are conducted for purchased goods information and pre?order transaction information of merchants on the platform, so as to effectively deal with the risk that merchant information and order information of the transaction are falsified, and ensure the uniqueness and accurateness of network information transmission. The actual application of the platform framework was carried out. The results show that the framework can provide a whole set of comprehensive online payment solution for merchants′ verification, transaction, account checking, clearing and settlement of the fourth?party payment institution.
Keywords: J2EE; fourth?party payment; online payment; MD5 information encryption; payment platform; framework design
0 引 言
第四方支付介于第三方支付和商户之间,其将各种不同类型的支付接口融合在同一运营平台上,为商户提供综合支付接口服务。按业务分类,聚合支付分线上和线下两种类型。线上是聚合网络支付,主要为电商服务;线下是聚合支付收单,主要为实体店服务[1]。据统计,2016 年一季度,第三方互联网支付交易规模市场份额中[2],支付宝占比43.3%、财付通占比20.1%、银联商务占比11.1%、快钱占比7.0%、中金支付占比5.1%及汇付天下占比5.0%。可以明显看出,第三方支付市场呈现出明显的碎片化特征,对于大量中小商户来说,与不同的第三方支付公司的支付接口一一对接往往需要大量时间和资金成本。……
