TWI691917B - Support transaction and reconciliation systems for third-party payment services - Google Patents

Support transaction and reconciliation systems for third-party payment services Download PDF

Info

Publication number
TWI691917B
TWI691917B TW105131519A TW105131519A TWI691917B TW I691917 B TWI691917 B TW I691917B TW 105131519 A TW105131519 A TW 105131519A TW 105131519 A TW105131519 A TW 105131519A TW I691917 B TWI691917 B TW I691917B
Authority
TW
Taiwan
Prior art keywords
transaction
party payment
payment
reconciliation
payment server
Prior art date
Application number
TW105131519A
Other languages
Chinese (zh)
Other versions
TW201812660A (en
Inventor
黃少風
孫詩宸
Original Assignee
黃少風
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 黃少風 filed Critical 黃少風
Priority to TW105131519A priority Critical patent/TWI691917B/en
Publication of TW201812660A publication Critical patent/TW201812660A/en
Application granted granted Critical
Publication of TWI691917B publication Critical patent/TWI691917B/en

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一種支援第三方支付服務的交易及對帳系統,包括:主支付服務器、至少一從屬支付服務器、交易資料庫和排程管理模組;從屬支付服務器獨立提供第三方支付的交易服務,再將交易資料轉換為交易資訊檔然後上傳至排程管理模組;排程管理模組依據預設的排程自動將上傳的交易資訊檔轉換為交易資料庫的資料格式然後寫入交易資料庫;主支付服務器提供第三方支付的交易服務和對帳服務,依據賣方提出的對帳請求將交易資料庫中的交易資訊,以及第三方支付服務業者提供的對帳檔和撥款檔提供予賣方,用以進行帳務結算和營業收入統計等作業。本發明採主從式架構,具有分散主支付服務器的負載、節省交易資料庫的建置成本,以及實現快速交易的優點。 A transaction and reconciliation system supporting third-party payment services, including: a master payment server, at least one slave payment server, a transaction database, and a schedule management module; the slave payment server independently provides third-party payment transaction services, and then the transaction The data is converted into a transaction information file and uploaded to the schedule management module; the schedule management module automatically converts the uploaded transaction information file into the data format of the transaction database according to the default schedule and writes it to the transaction database; the main payment The server provides third-party payment transaction services and reconciliation services, and provides transaction information in the transaction database, as well as reconciliation files and appropriation files provided by third-party payment service providers to the seller in accordance with the reconciliation request made by the seller for Account settlement and business income statistics and other operations. The invention adopts a master-slave architecture, which has the advantages of dispersing the load of the master payment server, saving the construction cost of the transaction database, and realizing fast transactions.

Description

支援第三方支付服務的交易及對帳系統 Support transaction and reconciliation systems for third-party payment services

本發明涉及一種支援第三方支付服務的系統,特別是可以提供第三方支付整合,以及對帳服務的一種支援第三方支付服務的交易及對帳系統。 The invention relates to a system supporting third-party payment services, in particular to a transaction and reconciliation system that supports third-party payment integration and reconciliation services and supports third-party payment services.

第三方支付(Third-Party Payment)是指在交易雙方當事人(買方及賣方)間建立一個中立的支付平台,為買賣雙方提供款項代收代付服務的一種交易方式。第三方支付之交易流程為:買方向賣方選購商品後,選擇使用第三方支付服務進行貨款支付;由第三方支付服務業者先代收款項後,通知賣家貨款收訖,賣家即依買方約定出貨;買方收到商品確認無誤後,可通知第三方支付服務業者付款給賣家,或在符合一定條件後將代收款項撥付予賣家。 Third-party payment (Third-Party Payment) refers to a transaction method that establishes a neutral payment platform between the parties to the transaction (buyer and seller) to provide payment collection and payment services for both parties. The transaction process of third-party payment is: after purchasing goods from the seller, the buyer chooses to use the third-party payment service to pay for the payment; the third-party payment service provider first collects the money and notifies the seller of the payment, and the seller ships the goods according to the buyer ; After receiving the confirmation of the goods, the buyer can notify the third-party payment service provider to pay the seller, or pay the collection money to the seller after meeting certain conditions.

對於買方而言,第三方支付是在確認收到賣方的商品後,再請第三方支付業者付款,具有提供交易擔保、保防堵詐騙以及減少消費糾紛的優點。另一方面,利用智慧型手機進行付款的行動支付已越來越普及,透過行動支付可以實現消費者不必使用現金或是實體支付卡(例如信用卡、金融卡或儲值卡)的付款方式;整合第三方支付和行動支付的付款方式由於具有方便、快速和具有交易擔保等優點,成為漸受歡迎的消費方式。 For the buyer, the third-party payment is to confirm the receipt of the seller's goods, and then ask the third-party payment provider to pay, which has the advantages of providing transaction guarantee, preventing fraud and reducing consumer disputes. On the other hand, mobile payment using smart phones for payment has become more and more popular. Through mobile payment, payment methods that consumers do not have to use cash or physical payment cards (such as credit cards, financial cards, or stored value cards) can be realized; integration The payment methods of third-party payment and mobile payment have become increasingly popular as they are convenient, fast and have transaction guarantees.

已知用於實現第三方支付服務的電子商務架構,基本上包 括:設置於賣方的交易終端設備例如銷售點資訊管理系統(Point of Sale,POS),以及由第三方支付服務業者建置的第三方支付平台。買方於選購商品並指定使用第三方支付服務進行貨款支付之後,賣方透過交易終端設備將交易資料傳送予對應的第三方支付平台,進行付款或是撥款的作業,每一筆採用第三方支付服務的交易資料都會儲存於交易資料庫,賣方可以透過和第三方支付服務業者的約定方式以定期或不定期的方式,向第三方支付服務業者索取全部的交易資料、對帳資料和撥款/付款資料,以供賣方進行帳務結算和營業收入統計等作業。然而在已知的第三方支付服務的電子商務架構下存在以下的問題。 Known e-commerce architecture for implementing third-party payment services, basically including Including: the transaction terminal equipment installed in the seller, such as Point of Sale (POS), and the third-party payment platform built by third-party payment service providers. After the buyer purchases goods and specifies the use of third-party payment services for payment, the seller transmits the transaction data to the corresponding third-party payment platform through the transaction terminal device to perform the payment or appropriation operation. The transaction data will be stored in the transaction database. The seller can obtain all transaction data, reconciliation data and appropriation/payment data from the third-party payment service provider in a regular or irregular manner through the agreement with the third-party payment service provider. For the seller to perform operations such as account settlement and business income statistics. However, under the known e-commerce architecture of third-party payment services, there are the following problems.

第三方支付平台採集中管理,典型的例子是將第三方支付平台建置於單一個伺服主機(master server),而所有的交易資料亦集中儲存於可由伺服主機存取的資料庫,賣方在具有多個營業點或是多個交易終端設備的情形下,在多個交易終端設備同時將交易資料上傳至伺服主機的情形下,容易產生伺服主機負載過高的問題;雖然可以透過設置多個伺服主機以及負載平衡器解決單一個伺服主機負載過高的問題,但也會增加系統的建置成本,例如:每一個伺服主機的系統授權費;另一方面,多個伺服主機如果同時對單一交易資料庫進行交易資料的存取作業,也會降低資料庫的效能,同樣地,分散式資料庫雖然能解決該問題,同樣會因為資料庫的授權費而增加建置成本。 The third-party payment platform is collected and managed. The typical example is to build the third-party payment platform on a single server (master server), and all transaction data is also stored in a database that can be accessed by the server. The seller has In the case of multiple business locations or multiple transaction terminal devices, in the case of multiple transaction terminal devices uploading transaction data to the server host at the same time, it is easy to cause the problem of excessive load on the server host; although it is possible to set up multiple servers The host and load balancer solve the problem of excessive load on a single servo host, but it will also increase the cost of system construction, for example: the system licensing fee for each servo host; on the other hand, if multiple servo hosts simultaneously deal with a single transaction Database access to transaction data will also reduce the performance of the database. Similarly, although a distributed database can solve this problem, it will also increase the construction cost due to the database licensing fee.

本發明要解決的技術問題在於提供一種可以提供第三方支付服務和對帳服務的一種支援第三方支付服務的交易及對帳系統,具有分 散主支付服務器的負載、節省交易資料庫的建置成本,以及實現快速交易的優點。 The technical problem to be solved by the present invention is to provide a transaction and reconciliation system that can provide third-party payment services and reconciliation services and support third-party payment services. Disperse the load of the main payment server, save the construction cost of the transaction database, and realize the advantages of fast transactions.

本發明支援第三方支付服務的交易及對帳系統的一種實施例,包括:主支付服務器、至少一從屬支付服務器、交易資料庫和排程管理模組;其中交易資料庫用以儲存包括但不限於第三方支付交易服務的交易資料和對帳資料;其中從屬支付服務器和排程管理模組、銷售端以及第三方支付平台通過通訊網路建立資訊流的連接,依據銷售端發出的第三方支付交易請求和交易資料,協同第三方支付平台提供第三方支付的交易服務,從屬支付服務器將交易資料轉換為交易資訊檔然後上傳至排程管理模組;其中主支付服務器和交易資料庫、銷售端以及第三方支付平台通過通訊網路建立資訊流的連接,依據銷售端發出的第三方支付交易請求和交易資料,協同第三方支付平台提供第三方支付的交易服務,主支付服務器將交易資料以及第三方支付平台提供的對帳資料儲存於交易資料庫,主支付服務器還包括依據賣方發出的對帳請求將對帳資料和交易資料庫中相應的交易資料提供予賣方;排程管理模組和交易資料庫、從屬支付服務器通過通訊網路建立資訊流的連接,排程管理模組依據預設的排程自動地將從屬支付服務器上傳的交易資訊檔轉換為交易資料庫的資料格式然後寫入交易資料庫。 An embodiment of a transaction and reconciliation system supporting a third-party payment service according to the present invention includes: a master payment server, at least one slave payment server, a transaction database and a schedule management module; wherein the transaction database is used to store but not Limited to the transaction data and reconciliation data of the third-party payment transaction service; the slave payment server and the schedule management module, the sales end and the third-party payment platform establish the information flow connection through the communication network, according to the third-party payment transaction issued by the sales end Request and transaction data, cooperate with the third-party payment platform to provide third-party payment transaction services, and the slave payment server converts the transaction data into a transaction information file and uploads it to the schedule management module; the main payment server and transaction database, the sales side and The third-party payment platform establishes the connection of the information flow through the communication network. According to the third-party payment transaction request and transaction data sent by the sales end, it cooperates with the third-party payment platform to provide the third-party payment transaction service. The main payment server will transfer the transaction data and the third-party payment The reconciliation data provided by the platform is stored in the transaction database, and the main payment server also includes providing the reconciliation data and the corresponding transaction data in the transaction database to the seller based on the reconciliation request issued by the seller; the schedule management module and the transaction database 2. The slave payment server establishes the connection of information flow through the communication network, and the schedule management module automatically converts the transaction information file uploaded from the slave payment server to the data format of the transaction database according to the preset schedule and writes it into the transaction database.

在本發明的一實施例,其中從屬支付服務器在預定的時間將交易資訊檔上傳至排程管理模組。 In an embodiment of the invention, the slave payment server uploads the transaction information file to the schedule management module at a predetermined time.

在本發明的一實施例,其中通訊網路包括:網際網路(internet)、區域網路(Local Area Network)、內部網路(intranet)、外部網路(extranet)、行動通訊網路(mobile network)和其他可提供資訊傳輸服務的通訊網路其中的任一種或其組合。 In an embodiment of the invention, the communication network includes: internet, local area network, intranet, intranet, extranet, mobile network Any one or combination of other communication networks that can provide information transmission services.

在本發明的一實施例,其中主支付服務器和從屬支付服務器的實施方式包含但不限於伺服器(Server)、電腦(Personal Computer,PC)或其他可以運行電腦程序並且能和通訊網路連接的電腦設備其中的任一種。 In an embodiment of the present invention, the embodiments of the master payment server and the slave payment server include, but are not limited to, a server, a computer (Personal Computer, PC), or other computers that can run computer programs and can be connected to a communication network Any of the equipment.

在本發明的一實施例,其中主支付服務器和從屬支付服務器包含有應用程式介面,用以和賣方、銷售端以及第三支付平台進行資料交換。 In an embodiment of the present invention, the master payment server and the slave payment server include application program interfaces for data exchange with the seller, the sales end, and the third payment platform.

本發明採主從式架構,對於具有多個分散於不同地理區域的營業處所的賣方,可以在不同的營業處所建置從屬支付服務器用以提供第三方支付服務器,而在主要或是某一營業處所建置主支付服務器和交易資料庫,用以提供第三方支付服務和對帳服務。因為不需要在多個營業處所都建置交易資料庫,可以節省交易資料庫的建置成本,多個營業處所同時進行第三方支付服務時產生的交易資料先轉換為交易資訊檔然後在預定的時間上傳至排程管理模組,交易過程不需要對交易資料庫進行存取的操作,可以減少等候的時間和提高從屬支付服務器的運作效率,具有分散主支付服務器的負載,以及實現快速交易的優點。 The present invention adopts a master-slave architecture. For sellers with multiple business premises scattered in different geographical areas, subordinate payment servers can be built in different business premises to provide third-party payment servers, while the main or a certain business The main payment server and transaction database are built in the premises to provide third-party payment services and reconciliation services. Because there is no need to build a transaction database in multiple business premises, it can save the cost of building a transaction database. The transaction data generated when multiple business premises perform third-party payment services at the same time is first converted into a transaction information file and then Time is uploaded to the scheduling management module, the transaction process does not require access to the transaction database, which can reduce the waiting time and improve the operation efficiency of the subordinate payment server. It has the load of distributing the main payment server and the realization of fast transactions. advantage.

有關本發明的其他功效及實施例的詳細內容,將配合圖式說明如下。 The details of other functions and embodiments of the present invention will be described below in conjunction with the drawings.

10‧‧‧主支付服務器 10‧‧‧Main payment server

20‧‧‧從屬支付服務器 20‧‧‧Subordinate payment server

30‧‧‧交易資料庫 30‧‧‧ Transaction database

40‧‧‧排程管理模組 40‧‧‧ Schedule management module

50‧‧‧第三方支付平台 50‧‧‧Third party payment platform

60‧‧‧銷售端 60‧‧‧Sales

70‧‧‧消費者 70‧‧‧Consumer

F1‧‧‧交易資訊檔 F1‧‧‧ Transaction information file

第1圖是本發明的一實施例的系統架構圖。 Figure 1 is a system architecture diagram of an embodiment of the present invention.

第2圖是本發明的作業流程圖,顯示通過主支付服務器進行第三方支付服務的作業流程。 FIG. 2 is an operation flowchart of the present invention, showing an operation flow of performing a third-party payment service through the main payment server.

第3圖是本發明的作業流程圖,顯示通過從屬支付服務器進行第三方支付服務的作業流程。 Fig. 3 is an operation flowchart of the present invention, showing an operation flow of performing a third-party payment service through a subordinate payment server.

第4圖是本發明的作業流程圖,顯示排程管理模組將交易資訊檔轉換為交易資料庫的資料格式然後寫入交易資料庫的作業流程。 FIG. 4 is a flowchart of the operation of the present invention, showing the operation flow of the schedule management module converting the transaction information file into the data format of the transaction database and then writing it into the transaction database.

第5圖是本發明的作業流程圖,顯示進行第三方支付之對帳服務的作業流程。 Fig. 5 is an operation flowchart of the present invention, showing an operation flow of a reconciliation service for third-party payment.

首先請參閱第1圖,是本發明支援第三方支付服務的交易及對帳系統的一實施例的系統架構圖。本發明支援第三方支付服務的交易及對帳系統的一實施例,包括:主支付服務器10、至少一從屬支付服務器20、交易資料庫30和排程管理模組40。本發明支援第三方支付服務的交易及對帳系統基本上可以透過通訊網路和第三方支付服務業者建置的第三方支付平台50連線,對於具有多個營業處所的賣方而言,賣方可以在不同的營業處所建置從屬支付服務器20,用以提供第三方支付服務器,而在主要或是某一營業處所建置主支付服務器10,用以提供第三方支付服務和對帳服務。其中賣方建置的銷售端60可以透過通訊網路和主支付服務器10以及從屬支付服務器20連線,消費者70在銷售端60選購商品之後,就能通過本發明的系統進行第三方支付服務完成付款;另一方面,賣方也可以透過本發 明的系統進行第三方支付的對帳作業。 First, please refer to FIG. 1, which is a system architecture diagram of an embodiment of a transaction and reconciliation system supporting third-party payment services of the present invention. The present invention supports an embodiment of a third-party payment service transaction and reconciliation system, including: a master payment server 10, at least one slave payment server 20, a transaction database 30, and a schedule management module 40. The transaction and reconciliation system supporting the third-party payment service of the present invention can basically be connected to the third-party payment platform 50 built by the third-party payment service provider through the communication network. For sellers with multiple business premises, the seller can Different business premises establish subordinate payment servers 20 to provide third-party payment servers, and a master payment server 10 is installed at the main or a certain business premises to provide third-party payment services and reconciliation services. The sales terminal 60 built by the seller can be connected to the master payment server 10 and the slave payment server 20 through the communication network. After the consumer 70 purchases the goods at the sales terminal 60, the third-party payment service can be completed through the system of the present invention. Payment; on the other hand, the seller can also send The clear system performs reconciliation operations for third-party payments.

依據本發明的一種具體實施方式,其中所指的銷售端60包括但不限於:由賣方建置或提供的可以進行第三方支付的交易設備例如POS終端裝置、收銀機或是網路商店其中的任一種或其組合。 According to a specific embodiment of the present invention, the sales terminal 60 includes, but is not limited to: a transaction device such as a POS terminal device, a cash register, or an online store that is built or provided by the seller and can be used for third-party payment Any one or a combination thereof.

其中主支付服務器10和從屬支付服務器20的實施方式包含但不限於伺服器(Server)、匣道伺服器(Gateway Server)、電腦(Personal Computer,PC)或其他可以運行電腦程序並且能和通訊網路連接的電腦設備其中的任一種。 The embodiments of the master payment server 10 and the slave payment server 20 include, but are not limited to, a server, a gateway server, a computer (Personal Computer, PC), or other computer programs that can run computer programs and communicate with a communication network Any one of the connected computer equipment.

在本發明的一實施例,其中通訊網路包括:網際網路(internet)、區域網路(Local Area Network)、內部網路(intranet)、外部網路(extranet)、行動通訊網路(mobile network)和其他可提供資訊傳輸服務的通訊網路其中的任一種或其組合。 In an embodiment of the invention, the communication network includes: internet, local area network, intranet, intranet, extranet, mobile network Any one or combination of other communication networks that can provide information transmission services.

其中交易資料庫30用以儲存包括但不限於有關第三方支付交易服務的交易資料和對帳資料,其中對帳資料包括但不限於對帳檔和撥款檔,基本上前述的對帳檔和撥款檔是由第三方支付平台50提供,其中對帳資料包括但不限於對帳檔和撥款檔。 The transaction database 30 is used to store transaction data and reconciliation data including but not limited to third-party payment transaction services, where reconciliation data includes but not limited to reconciliation files and appropriation files, basically the aforementioned reconciliation files and appropriations The file is provided by the third-party payment platform 50, and the reconciliation data includes but is not limited to the reconciliation file and the appropriation file.

其中從屬支付服務器20主要提供第三方支付服務,從屬支付服務器20和排程管理模組40、銷售端60以及第三方支付平台通過通訊網路建立資訊流的連接,依據銷售端60發出的第三方支付交易請求和交易資料,協同第三方支付平台50提供第三方支付的交易服務,從屬支付服務器20將交易資料轉換為交易資訊檔F1然後上傳至排程管理模組40;較佳地,從屬支付服務器20是在預定的時間將交易資訊檔F1上傳至排程管理模組 40,例如在每日的預定時間將前一日交易產生的交易資訊檔F1上傳至排程管理模組40,其中交易資訊檔F1可以透過例如但不限於檔案傳輸協定(file transfer protocol)、網路安全傳輸協定(secure sockets layer,SSL)進行傳輸。因為不需要在多個營業處所都建置交易資料庫30,可以節省交易資料庫30的建置成本,多個營業處所同時進行第三方支付服務時產生的交易資料先轉換為交易資訊檔F1然後在預定的時間上傳至排程管理模組40,交易過程不需要對交易資料庫30進行存取的操作,可以減少等候的時間和提高從屬支付服務器20的運作效率,具有分散主支付服務器10的負載,以及實現快速交易的優點。 The slave payment server 20 mainly provides third-party payment services. The slave payment server 20 and the schedule management module 40, the sales terminal 60 and the third-party payment platform establish an information flow connection through the communication network, according to the third-party payment issued by the sales terminal 60 Transaction request and transaction data, in cooperation with the third-party payment platform 50 to provide third-party payment transaction services, the slave payment server 20 converts the transaction data into a transaction information file F1 and uploads it to the schedule management module 40; preferably, the slave payment server 20 is to upload the transaction information file F1 to the schedule management module at a predetermined time 40, for example, uploading the transaction information file F1 generated by the previous day's transaction to the schedule management module 40 at a predetermined time every day, wherein the transaction information file F1 can be transmitted through, for example, but not limited to, file transfer protocol, web Road secure transmission protocol (secure sockets layer, SSL) for transmission. Because there is no need to build the transaction database 30 in multiple business premises, the construction cost of the transaction database 30 can be saved. The transaction data generated when multiple business premises perform the third-party payment service at the same time is converted into a transaction information file F1 and then Uploaded to the schedule management module 40 at a predetermined time, the transaction process does not require access to the transaction database 30, which can reduce the waiting time and improve the operation efficiency of the slave payment server 20. Load, and the advantages of enabling fast transactions.

其中主支付服務器10主要提供第三方支付服務和對帳服務,主支付服務器10和交易資料庫30、銷售端60以及第三方支付平台50通過通訊網路建立資訊流的連接,依據銷售端60發出的第三方支付交易請求和交易資料,協同第三方支付平台50提供第三方支付的交易服務,主支付服務器10將交易資料以及第三方支付平台50提供的對帳資料儲存於交易資料庫30。在對帳服務方面,主支付服務器10依據賣方發出的對帳請求將交易資料庫30中相應的交易資料和對帳資料提供予賣方,其中一種具體的實施方式,賣方是通過銷售端60的後台管理系統,例如賣方的銷售點資訊管理系統、銷售管理系統和會計系統其中的任一種或全部,向本發明系統的主支付服務器10發出對帳請求。 The main payment server 10 mainly provides third-party payment services and reconciliation services. The main payment server 10 and the transaction database 30, the sales terminal 60 and the third-party payment platform 50 establish the connection of information flow through the communication network, according to the The third-party payment transaction request and transaction data cooperate with the third-party payment platform 50 to provide a third-party payment transaction service. The main payment server 10 stores the transaction data and the reconciliation data provided by the third-party payment platform 50 in the transaction database 30. In terms of reconciliation services, the main payment server 10 provides the corresponding transaction information and reconciliation information in the transaction database 30 to the seller according to the reconciliation request sent by the seller. One specific implementation method is that the seller uses the background of the sales terminal 60 Management systems, such as any or all of the seller's point-of-sale information management system, sales management system, and accounting system, issue a reconciliation request to the main payment server 10 of the system of the present invention.

排程管理模組40和交易資料庫30、從屬支付服務器20通過通訊網路建立資訊流的連接,排程管理模組40依據預設的排程自動地將從屬支付服務器20上傳的交易資訊檔F1轉換為交易資料庫30的資料格式然後寫 入交易資料庫30。較佳地,排程管理模組40的實施方式是以電腦程序加以實現的,排程管理模組40可以是在一部獨立的電腦設備中運行的電腦程序,在另一種實施方式,排程管理模組40可以和負責管理交易資料庫30的資料庫管理系統一併設置於同一部電腦設備,可以獲得較佳的資料處理效能。 The schedule management module 40 and the transaction database 30 and the slave payment server 20 establish a connection of information flow through the communication network, and the schedule management module 40 automatically uploads the transaction information file F1 uploaded by the slave payment server 20 according to the preset schedule Convert to the data format of transaction database 30 and write Into the transaction database 30. Preferably, the implementation of the scheduling management module 40 is implemented by a computer program. The scheduling management module 40 may be a computer program running in an independent computer device. In another embodiment, the scheduling The management module 40 can be installed on the same computer device as the database management system responsible for managing the transaction database 30, which can obtain better data processing performance.

在本發明的一實施例,其中主支付服務器10和從屬支付服務器20,包含有應用程式介面(Application Programming Interface,API),用以和賣方、銷售端60以及第三支付平台50進行資料交換,例如銷售端60的後台管理系統可以透過本發明系統包含的應用程式介面和主支付服務器10以及從屬支付服務器20方便地進行資料交換。 In an embodiment of the invention, the master payment server 10 and the slave payment server 20 include an application programming interface (API) to exchange data with the seller, the sales terminal 60, and the third payment platform 50, For example, the background management system of the sales terminal 60 can conveniently exchange data with the master payment server 10 and the slave payment server 20 through the application program interface included in the system of the present invention.

請參閱第2~5圖,是本發明系統的作業流程圖,以下配合圖式分別說明透過本發明系統進行第三方支付服務的作業流程、將交易資訊檔上傳至排程管理模組的作業流程和對帳的作業流程。 Please refer to Figures 2~5, which are the operation flow charts of the system of the present invention. The following describes the operation flow of the third-party payment service and uploading the transaction information file to the schedule management module through the system of the invention And reconciliation process.

由於消費者可能是在設置有主支付服器10、或是設置有從屬支付服務器20的營業處所購買商品,以下分別針對消費者在設置有主支付服器10以及設置有從屬支付服務器20的營業處所購買商品的情形,說明進行第三方支付服的作業流程。 Since consumers may purchase commodities at the business premises where the master payment server 10 is installed or the slave payment server 20 is installed, the following are for the consumers who operate the business with the master payment server 10 and the slave payment server 20 respectively The situation of the purchase of goods on the premises explains the operation process of the third-party payment service.

(一)請參閱第2圖,消費者在設置有主支付服器10的營業處所購買商品,並且選置進行第三方支付的作業流程包括:(2-1)消費者選購了賣方出售的商品,消費者透過銷售端的交易設備例如POS終端裝置選擇第三方支付的付款方式;(2-2)銷售端60的交易設備將第三方支付交易請求和交易資 料發送給主支付服務器10;(2-2-1)主支付服務器10先將交易資料儲存於交易資料庫30;(2-3)主支付服務器10將交易資料發送給第三方支付平台50,並且指示第三方支付平台50進行第三方支付業務的作業(例如撥款予賣方);(2-4)第三方支付平台50將交易結果及相關的交易資料回傳給主支付服務器10;(2-4-1)主支付服務器10將交易結果儲存於交易資料庫30;(2-5)主支付服務器10將交易結果回傳給銷售端60的交易設備;(2-6)銷售端60的交易設備將交易結果告知消費者。 (1) Please refer to Figure 2. The consumer purchases goods at the business premises where the main payment server 10 is installed, and the process of selecting third-party payment includes: (2-1) The consumer purchases the product sold by the seller For commodities, consumers select the payment method of third-party payment through the sales-end transaction equipment such as POS terminal devices; (2-2) The sales-end 60 transaction equipment transfers third-party payment transaction requests and transaction funds The data is sent to the main payment server 10; (2-2-1) The main payment server 10 first stores the transaction data in the transaction database 30; (2-3) The main payment server 10 sends the transaction data to the third-party payment platform 50, And instruct the third-party payment platform 50 to perform the operation of the third-party payment business (for example, appropriation to the seller); (2-4) the third-party payment platform 50 returns the transaction result and related transaction data to the main payment server 10; (2- 4-1) The main payment server 10 stores the transaction result in the transaction database 30; (2-5) The main payment server 10 returns the transaction result to the transaction device of the sales end 60; (2-6) The transaction at the sales end 60 The device informs the consumer of the transaction result.

(二)請參閱第3圖,消費者在設置有從屬支付服務器20的營業處所購買商品,並且選置進行第三方支付的作業流程包括:(3-1)消費者選購了賣方出售的商品,消費者透過銷售端的交易設備例如POS終端裝置選擇第三方支付的付款方式;(3-2)銷售端60的交易設備將第三方支付交易請求和交易資料發送給從屬支付服務器20;(3-3)從屬支付服務器20將交易資料發送給第三方支付平台50,並且指示第三方支付平台50進行第三方支付業務的作業(例如撥款予賣方);(3-4)第三方支付平台50將交易結果及相關的交易資料回傳 給從屬支付服務器20;(3-4-1)從屬支付服務器20將交易資料轉換為交易資訊檔F1,然後在預定的時間將交易資訊檔F1上傳至排程管理模組40,較佳地,交易資訊檔F1之中還包含這次的交易結果;(3-5)從屬支付服務器20將交易結果回傳給銷售端60的交易設備;(3-6)銷售端60的交易設備將交易結果告知消費者。 (2) Please refer to FIG. 3, the consumer purchases goods at the business premises where the subordinate payment server 20 is installed, and the operation flow for selecting third-party payment includes: (3-1) The consumer purchases the goods sold by the seller The consumer selects the third-party payment payment method through the sales-end transaction equipment such as a POS terminal device; (3-2) The sales-end 60 transaction equipment sends the third-party payment transaction request and transaction data to the subordinate payment server 20; (3- 3) The subordinate payment server 20 sends the transaction information to the third-party payment platform 50, and instructs the third-party payment platform 50 to perform the operation of the third-party payment business (for example, appropriation to the seller); (3-4) the third-party payment platform 50 transfers the transaction Results and related transaction data return To the slave payment server 20; (3-4-1) The slave payment server 20 converts the transaction data into a transaction information file F1, and then uploads the transaction information file F1 to the schedule management module 40 at a predetermined time, preferably, The transaction information file F1 also contains the transaction result of this time; (3-5) the slave payment server 20 transmits the transaction result back to the transaction device of the sales end 60; (3-6) the transaction device of the sales end 60 notifies the transaction result consumer.

請參閱第4圖,排程管理模組40將交易資訊檔F1轉換為交易資料庫30的資料格式然後寫入交易資料庫30的作業流程包括:(4-1)排程管理模組40依據預設的排程自動地讀取從屬支付服務器20上傳的交易資訊檔F1;(4-2)排程管理模組40將取得的交易資訊檔F1轉換為交易資料庫30的資料格式;(4-3)將轉換完成的交易資訊檔F1寫入交易資料庫30。 Please refer to FIG. 4, the schedule management module 40 converts the transaction information file F1 into the data format of the transaction database 30 and then writes to the transaction database 30. The operation flow includes: (4-1) The schedule management module 40 is based on The preset schedule automatically reads the transaction information file F1 uploaded by the slave payment server 20; (4-2) The schedule management module 40 converts the obtained transaction information file F1 into the data format of the transaction database 30; (4 -3) Write the converted transaction information file F1 into the transaction database 30.

請參閱第5圖,進行第三方支付之對帳服務的作業流程包括:(5-1)賣方通過銷售端60的後台管理系統,向主支付服務器10發出對帳請求;(5-2)主支付服務器10依據對帳請求,從交易資料庫30之中取得相應的交易資料;(5-3)主支付服務器10依據對帳請求向第三方支付平台50索取對帳資料; (5-4)第三方支付平台50將對帳資料回傳給主支付服務器10;(5-4-1)主支付服務器10將對帳資料儲存於交易資料庫30;(5-5)主支付服務器10將取得的交易資料和對帳資料回傳給賣方,用以協助賣方進行帳務資料比對,依據賣方的需要進而實現每日進行清算結帳,營業收入的計算和帳務資訊的產出。 Please refer to FIG. 5, the operation flow of the reconciliation service for third-party payment includes: (5-1) the seller sends a reconciliation request to the main payment server 10 through the background management system of the sales terminal 60; (5-2) the main The payment server 10 obtains the corresponding transaction information from the transaction database 30 according to the reconciliation request; (5-3) The main payment server 10 requests the reconciliation information from the third-party payment platform 50 according to the reconciliation request; (5-4) The third-party payment platform 50 returns the reconciliation data to the main payment server 10; (5-4-1) The main payment server 10 stores the reconciliation data in the transaction database 30; (5-5) The main The payment server 10 returns the obtained transaction data and reconciliation data to the seller, to assist the seller to compare the accounting data, and then to perform daily settlement and settlement according to the needs of the seller, calculation of operating income and accounting information output.

10‧‧‧主支付服務器 10‧‧‧Main payment server

20‧‧‧從屬支付服務器 20‧‧‧Subordinate payment server

30‧‧‧交易資料庫 30‧‧‧ Transaction database

40‧‧‧排程管理模組 40‧‧‧ Schedule management module

50‧‧‧第三方支付平台 50‧‧‧Third party payment platform

60‧‧‧銷售端 60‧‧‧Sales

70‧‧‧消費者 70‧‧‧Consumer

F1‧‧‧交易資訊檔 F1‧‧‧ Transaction information file

Claims (8)

一種支援第三方支付服務的交易及對帳系統,用以實現賣方的銷售端和第三方支付平台之間的第三方支付作業及對帳作業,包括:設置於第一營業處所的一主支付服務器、至少一設置於第二營業處所的從屬支付服務器、交易資料庫和排程管理模組;該交易資料庫用以儲存有關第三方支付交易服務的交易資料和對帳資料;該從屬支付服務器和該排程管理模組、該銷售端以及該第三方支付平台通過一通訊網路建立資訊流的連接,該從屬支付服務器依據該銷售端發出的第三方支付交易請求和交易資料,將該交易資料發送予該第三方支付平台指示該第三方支付平台進行第三方支付的交易服務,該從屬支付服務器還包括將該交易資料轉換為交易資訊檔然後上傳至該排程管理模組;該主支付服務器和該交易資料庫、該銷售端以及該第三方支付平台通過該通訊網路建立資訊流的連接,依據該銷售端發出的第三方支付交易請求和交易資料,先將該交易資料儲存於該交易資料庫,然後將該交易資料發送予該第三方支付平台指示該第三方支付平台進行第三方支付的交易服務,該主支付服務器還包括依據該銷售端發出的對帳請求向該第三方支付平台索取對帳資料,然後將該對帳資料儲存於該交易資料庫,以及將該交易資料庫中相應的交易資料和對帳資料提供予該銷售端;該排程管理模組和該交易資料庫、該從屬支付服務器通過該通訊網路建立資訊流的連接,該排程管理模組依據預設的排程自動地將該從屬支付服務器上傳的該交易資訊檔轉換為該交易資料庫的資料格式然後寫入該交 易資料庫。 A transaction and reconciliation system supporting third-party payment services to implement third-party payment operations and reconciliation operations between the seller’s sales end and a third-party payment platform, including: a main payment server installed in the first business premises , At least one subordinate payment server, transaction database and scheduling management module installed in the second business premises; the transaction database is used to store transaction data and reconciliation data related to third-party payment transaction services; the subordinate payment server and The scheduling management module, the sales end and the third-party payment platform establish an information flow connection through a communication network, and the subordinate payment server sends the transaction data according to the third-party payment transaction request and transaction data sent by the sales end To the third-party payment platform to instruct the third-party payment platform to perform third-party payment transaction services, the slave payment server also includes converting the transaction data into a transaction information file and uploading it to the scheduling management module; the master payment server and The transaction database, the sales terminal, and the third-party payment platform establish an information flow connection through the communication network, and first store the transaction data in the transaction database based on the third-party payment transaction request and transaction data sent by the sales terminal , And then send the transaction information to the third-party payment platform to instruct the third-party payment platform to perform the transaction service of third-party payment. The main payment server also includes requesting the third-party payment platform to obtain a pair according to the reconciliation request issued by the sales terminal. Accounting data, and then store the reconciliation data in the transaction database, and provide the corresponding transaction data and reconciliation data in the transaction database to the sales end; the scheduling management module and the transaction database, the The slave payment server establishes an information flow connection through the communication network, and the schedule management module automatically converts the transaction information file uploaded by the slave payment server to the data format of the transaction database according to the preset schedule and then writes The due Easy database. 如請求項1所述的支援第三方支付服務的交易及對帳系統,該從屬支付服務器在一預定的時間將該交易資訊檔上傳至該排程管理模組。 According to the transaction and reconciliation system supporting the third-party payment service described in claim 1, the slave payment server uploads the transaction information file to the schedule management module at a predetermined time. 如請求項1所述的支援第三方支付服務的交易及對帳系統,該通訊網路包括:網際網路(internet)、區域網路(Local Area Network)、內部網路(intranet)、外部網路(extranet)、行動通訊網路(mobile network)和其他可提供資訊傳輸服務的通訊網路其中的任一種或其組合。 The transaction and reconciliation system supporting the third-party payment service as described in claim 1, the communication network includes: internet, local area network, intranet, external network (extranet), mobile communication network (mobile network), and any other communication network that can provide information transmission services, or any combination thereof. 如請求項1所述的支援第三方支付服務的交易及對帳系統,該主支付服務器和該從屬支付服務器包含伺服器、電腦和其他可以運行電腦程序並且能和該通訊網路連接的電腦設備其中的任一種。 The transaction and reconciliation system supporting the third-party payment service as described in claim 1, the master payment server and the slave payment server include servers, computers, and other computer equipment that can run computer programs and can be connected to the communication network. Of any kind. 如請求項1所述的支援第三方支付服務的交易及對帳系統,該交易資訊檔透過檔案傳輸協定、網路安全傳輸協定其中任一種進行傳輸。 According to the transaction and reconciliation system supporting the third-party payment service described in claim 1, the transaction information file is transmitted through any one of a file transmission protocol and a network security transmission protocol. 如請求項1所述的支援第三方支付服務的交易及對帳系統,該主支付服務器和該從屬支付服務器包含有應用程式介面,用以和賣方、該銷售端以及該第三支付平台進行資料交換。 According to the transaction and reconciliation system supporting the third-party payment service as described in claim 1, the master payment server and the slave payment server include application program interfaces to communicate with the seller, the sales end and the third payment platform exchange. 如請求項1所述的支援第三方支付服務的交易及對帳系統,該主支付服務器包括接收該第三方支付平台回傳的交易結果,再將該交易結果儲存於該交易資料庫,以及將該交易結果回傳給該銷售端。 According to the transaction and reconciliation system supporting the third-party payment service described in claim 1, the main payment server includes receiving the transaction result returned by the third-party payment platform, and then storing the transaction result in the transaction database, and storing The transaction result is passed back to the sales end. 如請求項1所述的支援第三方支付服務的交易及對帳系統,該從屬支付服務器包括接收該第三方支付平台回傳的交易結果,以及將該交易結果回傳給該銷售端,其中上傳至該排程管理模組的該交易資訊檔包含該交易結果。 The transaction and reconciliation system supporting the third-party payment service as described in claim 1, the slave payment server includes receiving the transaction result returned by the third-party payment platform, and transmitting the transaction result to the sales end, where upload The transaction information file to the schedule management module contains the transaction result.
TW105131519A 2016-09-30 2016-09-30 Support transaction and reconciliation systems for third-party payment services TWI691917B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105131519A TWI691917B (en) 2016-09-30 2016-09-30 Support transaction and reconciliation systems for third-party payment services

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105131519A TWI691917B (en) 2016-09-30 2016-09-30 Support transaction and reconciliation systems for third-party payment services

Publications (2)

Publication Number Publication Date
TW201812660A TW201812660A (en) 2018-04-01
TWI691917B true TWI691917B (en) 2020-04-21

Family

ID=62639081

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105131519A TWI691917B (en) 2016-09-30 2016-09-30 Support transaction and reconciliation systems for third-party payment services

Country Status (1)

Country Link
TW (1) TWI691917B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567070A (en) * 2008-04-24 2009-10-28 中国银联股份有限公司 Method and system for processing transaction data and payment system
CN201535920U (en) * 2009-08-04 2010-07-28 李曙胜 Electronic third-party income and payment settlement system
TW201030658A (en) * 2009-02-10 2010-08-16 Alibaba Group Holding Ltd Buffered bookkeeping method and device
CN102592239A (en) * 2005-04-19 2012-07-18 微软公司 Network commercial transactions
CN103839161A (en) * 2014-03-24 2014-06-04 上海交通大学 System and method for authentication and transmission of mobile payment information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102592239A (en) * 2005-04-19 2012-07-18 微软公司 Network commercial transactions
CN101567070A (en) * 2008-04-24 2009-10-28 中国银联股份有限公司 Method and system for processing transaction data and payment system
TW201030658A (en) * 2009-02-10 2010-08-16 Alibaba Group Holding Ltd Buffered bookkeeping method and device
CN201535920U (en) * 2009-08-04 2010-07-28 李曙胜 Electronic third-party income and payment settlement system
CN103839161A (en) * 2014-03-24 2014-06-04 上海交通大学 System and method for authentication and transmission of mobile payment information

Also Published As

Publication number Publication date
TW201812660A (en) 2018-04-01

Similar Documents

Publication Publication Date Title
US8452708B1 (en) Universal payment processing
CN115578097A (en) Block chain-based digital asset transaction method and system
JP5466327B1 (en) Electronic record receivable record request management apparatus and electronic record receivable record request management method
JP2001312673A (en) Worker welfare system for network basis
CN107038573A (en) A kind of polymerization payment system based on Internet of Things and cloud computing
TW201828210A (en) System for insuring based on smart contracts and method thereof
TWI691917B (en) Support transaction and reconciliation systems for third-party payment services
JP6271063B1 (en) Fund transfer system, method and program executed by fund transfer system
KR102632635B1 (en) System for providing reverse electronic cash and method thereof
JP2023152609A (en) Information processing device, information processing method and information processing program
JP6960493B2 (en) Funding support equipment, funding support methods, and funding support programs
KR102296991B1 (en) Mileage integrative platform service system based on blockchain
KR101666084B1 (en) System and method for managing loan based on sale credit
TWM543410U (en) Transactions and reconciliation system supporting third party payment service
JP5466334B1 (en) Electronic record receivable record request management apparatus and electronic record receivable record request management method
KR101353565B1 (en) Currency payment intermediation system for oversea buyer.
WO2020175973A2 (en) Blockchain-based reward integration system and method thereof
WO2024027533A1 (en) Settlement method and apparatus based on digital currency wallet system, and wallet system
JP5871968B2 (en) Electronic record receivable processing system, method, and program
US20210142408A1 (en) Method and system for managing and processing foreign currency card payment transactions
TW201901547A (en) Account sharing and cooperation project management system and method thereof
KR102313814B1 (en) P2p foreign exchange direct dealing intermediation device using blockchain technology
KR20240121557A (en) Multinational Mobile Coupon Issuance System Using Switching Coupons
TWM569456U (en) Inter-bank media transfer client end upload file production system
JP2002073998A (en) Electronic commercial transaction supporting method and recording medium