节点文献

基于IFSF协议的加油站电子支付系统的设计与实现

The Design And Implementation of Electronic Payment System Based on IFSF Protocol at Gas Station

【作者】 丁涛

【导师】 赵建军; 余秀斌;

【作者基本信息】 上海交通大学 , 软件工程, 2015, 硕士

【摘要】 美国加油站终端销售(Point of Sale)(简称POS)系统集成了电子支付功能,所有加油站交易都由POS系统完成结算,它需要实现访问支付终端设备的协议和具体银行前置系统的协议,并要求POS系统提供商了解加油站业务流程,因此开发加油站POS系统的难度大,通常都由加油机制造商(比如长吉、托肯等公司)提供,这导致加油站可以选择的POS系统非常少。为了解决这个问题,本文提出将电子支付功能从加油站POS系统中分离出来作为一个独立的电子支付系统,并使用标准的IFSF(International Forecourt Standard Forum Forecourt)电子支付协议作为加油站POS系统和电子支付系统之间通信的协议。通过这个方案,加油站POS系统不需要了解访问支付终端的协议和具体的银行前置系统协议,它只需要实现标准的IFSF电子支付协议并按照要求的流程和电子支付系统交互就可以完成加油站交易的电子支付。我们将电子支付系统部署到加油站的前庭控制器(Forecourt Controller)(简称FC)上,通过前庭控制器为加油站POS系统提供电子支付服务,它将作为前庭控制器的一部分和前庭控制器一起提供给加油站。本文对美国油品零售市场电子支付的需求做了分析,设计出基于IFSF电子支付协议的电子支付系统,实现了电子支付系统的各模块并对电子支付系统的功能点和非功能点进行了测试。电子支付系统各模块通过状态机编程原理实现,它们是电子支付服务(Electronic Payment Server,EPS)模块、POS前端处理(POS Front End Processor,POSFEP)模块和前庭POS(Forecourt POS,FPOS)模块,这些模块之间通过定义明确的接口来通信,每一个模块实现特定的业务逻辑,它上面的业务逻辑不会影响其它模块的设计和实现。EPS模块实现了IFSF电子支付协议和访问支付终端的协议,它是电子支付系统和POS系统交互的模块,也是控制支付终端设备的模块;POSFEP模块实现了银行前置系统的支付协议,电子支付系统通过该模块和银行前置系统通信完成交易的支付;FPOS模块实现了IFSF前庭设备控制协议,该模块可以按要求发送命令给前庭控制器来控制加油机,它实现了室外自助加油的流程并和EPS模块交互完成室外自助加油交易的支付。本文所实现电子支付系统已在美国的一些加油站上线使用,它运行在加油站的前庭控制器上,可以提供加油站POS系统室内干货交易、室内预付费加油交易、室外自助加油交易的电子支付以及为加油站POS系统生成对帐报表等功能。使用独立电子支付系统的加油站,不仅正常的销售干货和油品的功能没有损失,更重要的是它们可以使用支持IFSF电子支付协议的POS系统,新的POS系统由专门制造零售业POS的公司开发,其界面更友好、所用技术更先进,加油站可以不再使用加油机制造商提供的过时的、界面单一的POS系统了。另外,电子支付系统具备独立完成用户室外自助加油交易的能力,因此加油站在POS系统因为维护或其它原因不可用的时候,仍然可以进行油品的销售,这会减少加油站的不工作时间增加它的销售额。由此可见电子支付系统可以为加油站POS系统提供标准的电子支付接口并可在POS不可用的时候独立完成室外自助加油交易,极大的简化了加油站POS系统的开发,使得开发超市或便利店等零售行业POS系统的公司可以进入石油零售行业,加油机设备制造商则可以把电子支付系统部署到自己的前庭控制上,使得它们的前庭控制器既可以控制前庭设备又可以提供电子支付功能,这将提高它们的前庭控制器的竞争力,帮助它们的产品占有市场。

【Abstract】 The gas station POS(Point of Sale) system in United States integrates the functionality of electronic payment, all sales happened in gas station are paid by POS system. The POS system needs to implement the protocol of visiting payment terminal and the protocol of specific financial front end processor, and it also requires the provider of the gas station POS system to know the business flow in gas station, so it’s difficult to develop a gas station POS system, the gas station POS system is usually provided by pump manufactures like Gilbarco and Tokheim, it causes that the gas station has less option to choose a POS system. In order to resolve this problem, this paper brings up a solution that we remove the electronic payment function from the gas station POS system and then implement an independent electronic payment system; the electronic payment protocol of IFSF(International Forecourt Standard Forum Forecourt) is used as the communication protocol between the POS system and electronic payment system. The POS system does not need to implement the protocol of visiting payment terminal and the protocol of specific financial front end processor by this solution, it only needs to implement the standard electronic payment protocol of IFSF and interacts with electronic payment system with required flow to complete the functionality to pay gas station sales. The electronic payment system is deployed on FC(Forecourt Controller) of gas station, and it provides services of electronic payment to gas station POS system through FC, it is part of the FC and provided to gas station with FC together.This paper analyzes the requirement of electronic payment in petroleum retailer market in Unite States, designs the electronic payment system based on the electronic payment protocol of IFSF, implements modules of electronic payment system, and tests functional and non-functional points of electronic payment system. The modules of electronic payment system are implemented in state machine programming theory, which are EPS(Electronic Payment Sever) module, POSFEP(POS Front End Processor) module and FPOS(Forecourt POS) module. These modules communicate with each other by defined interfaces, and every module implements the specific business logic which will not affect other module’s design and implementation. EPS module implements the electronic payment protocol of IFSF and the protocol of visiting payment terminal, it’s the module that’s used to interact with the gas station POS system as well as control the payment terminal. POSFEP module implements the protocol of specific financial front end processor, the electronic payment system uses it to communicate with the financial front end processor in order to pay the sales. FPOS module implements the IFSF protocol of forecourt device control, it can send commands to FC to control pump, and it also implements the flow of outdoor self-service fueling and interacts with EPS module to pay the outdoor self-service fuel sale.The electronic payment system has already been used in some gas stations of United States, it’s been running in gas station’s FC and can provide the POS system function of electronic payment for indoor dry item sale, indoor fuel prepay transaction and outdoor self-service fuel sale as well as function of generating reconciliation reports. The gas stations running the electronic payment system do not lost their functionality to sell dry products and fuel products, and more importantly, they can use POS system supporting IFSF electronic payment protocol. The new POS system is developed by retailer POS manufacturer, which has user friendly UI and applies more advanced technology, so the gas station will no longer use outdated POS system with boring UI which is provided by pump manufacturer. Besides, the electronic payment system has ability to complete the outdoor self-service fuel sale independently, so the gas station can still sell fuel product even when the POS system is not available due to maintenance or other reasons, this will reduce non-working time of gas station and increase sales in gas station. It follows that the electronic payment system can provide gas station POS system standard interface for electronic payment and control the flow of outdoor self-service fuel sale, it greatly simplifies the development of gas station POS system, so that the super market and convenience store POS provider can enter into petroleum retailer market, and the pump manufacturer can deploy the electronic payment system into its FC so that its FC do not just control forecourt devices but also provide functionality of electronic payment, this will make its FC more competitive and help it to occupy the market.

【关键词】 终端销售电子支付加油机IFSF前庭控制器
【Key words】 POSElectronic PaymentPumpIFSFForecourt Controller
节点文献中: 

本文链接的文献网络图示:

本文的引文网络