TW202129572A - Data processing method and system based on asynchronous pre-authorisation and offline data authentication - Google Patents

Data processing method and system based on asynchronous pre-authorisation and offline data authentication Download PDF

Info

Publication number
TW202129572A
TW202129572A TW109132527A TW109132527A TW202129572A TW 202129572 A TW202129572 A TW 202129572A TW 109132527 A TW109132527 A TW 109132527A TW 109132527 A TW109132527 A TW 109132527A TW 202129572 A TW202129572 A TW 202129572A
Authority
TW
Taiwan
Prior art keywords
information
industry
outbound
inbound
card information
Prior art date
Application number
TW109132527A
Other languages
Chinese (zh)
Other versions
TWI777248B (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 大陸商中國銀聯股份有限公司
Publication of TW202129572A publication Critical patent/TW202129572A/en
Application granted granted Critical
Publication of TWI777248B publication Critical patent/TWI777248B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/102Bill distribution or payments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/341Active cards, i.e. cards including their own processing means, e.g. including an IC or chip
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • G07B15/02Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points taking into account a variable factor such as distance or time, e.g. for passenger transport, parking systems or car rental systems
    • G07B15/04Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points taking into account a variable factor such as distance or time, e.g. for passenger transport, parking systems or car rental systems comprising devices to free a barrier, turnstile, or the like

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)
  • Communication Control (AREA)

Abstract

The present invention relates to a data processing method and a system thereof. The method comprises: when entering a station, acquiring card information and station entering information; if the station entering scene is in an online state, then uploading information online to an industry backend, the industry backend initiating a pre-authorisation request; if the station entering scene is in an offline state, then saving the information locally and uploading after going online; when exiting a station, acquiring card information and station exiting information; in an online situation, uploading information to the industry backend; if offline, then saving the information locally; the industry backend determines whether there is a pre-authorisation success record and, if so, then initiates a pre-authorisation completion transaction and, if there is no pre-authorisation request, then initiates a real-time transaction request. The present invention can reduce the transaction time consumption and prevent disconnection from affecting the transaction.

Description

基於非同步預授權與離線資料認證的資料處理方法及其系統、行業終端、行業後臺、電腦可讀介質以及電腦設備Data processing method and system based on asynchronous pre-authorization and offline data authentication, industry terminal, industry background, computer readable medium and computer equipment

本發明涉及電腦技術,具體地涉及一種資料處理方法以及基於非同步預授權與離線資料認證的資料處理系統、行業終端、行業後臺、電腦可讀介質以及電腦設備。The present invention relates to computer technology, in particular to a data processing method and a data processing system based on asynchronous pre-authorization and offline data authentication, industry terminals, industry backends, computer readable media and computer equipment.

目前在公交地鐵過閘場景,通過手機當做交通卡進行支付的主要基於兩種模式:即時連線以及離線資料認證。At present, in the scene of bus and subway crossing gates, payment via mobile phone as a transportation card is mainly based on two modes: real-time connection and offline data authentication.

實際應用中根據現有行業方的網路情況以及對交易耗時的不同要求,選擇相應方案。In actual applications, choose the corresponding plan according to the existing industry’s network conditions and the different requirements for transaction time.

然而,現有技術還存在如下缺點:However, the prior art still has the following shortcomings:

即時連線方案對於地鐵網路依賴度較高,且交易耗時相對較長, 離線資料認證方案雖然在過閘速度上具備優勢且不依賴於網路環境,但是存在單邊交易的風險。The real-time connection scheme is highly dependent on the subway network, and the transaction time is relatively long. Although the offline data authentication scheme has advantages in the gate speed and does not depend on the network environment, it has the risk of unilateral transactions.

鑒於上述問題,本發明旨在提出一種既能夠降低交易耗時又能夠避免斷網對交易造成影響的資料處理方法以及基於非同步預授權與離線資料認證的資料處理系統。In view of the above problems, the present invention aims to provide a data processing method that can reduce transaction time and avoid the impact of network disconnection on transactions, and a data processing system based on asynchronous pre-authorization and offline data authentication.

本發明的一方面的資料處理方法,其中,包括下述步驟:The data processing method of one aspect of the present invention includes the following steps:

進站資料處理步驟,行業終端獲取卡資訊以及進站資訊並基於卡資訊進行離線資料認證處理,當離線資料認證成功的情況下,若進站時行業終端為連線狀態,則行業終端將卡資訊以及進站資訊上傳到行業後臺,並且在從行業後臺收到返回的預授權請求發出通知後行業終端執行閘機開啟動作,其中,所述預授權請求發出通知是在行業後臺基於所述卡資訊發起預授權請求之後並且在行業後臺接收到基於該預授權請求返回的預授權請求結果之前先從行業後臺向行業終端返回;以及Inbound data processing steps, the industry terminal obtains the card information and the inbound information and performs offline data authentication processing based on the card information. When the offline data authentication is successful, if the industry terminal is connected when entering the station, the industry terminal will card The information and inbound information are uploaded to the industry background, and the industry terminal executes the gate opening action after receiving the return pre-authorization request notification from the industry background, where the pre-authorization request notification is based on the card in the industry background After the information initiates the pre-authorization request and before receiving the result of the pre-authorization request returned based on the pre-authorization request, the information returns from the industry back-end to the industry terminal; and

出站資料處理步驟,行業終端獲取卡資訊並基於卡資訊進行離線資料認證處理,當離線資料認證成功的情況下,行業終端執行閘機開啟動作。In the outbound data processing step, the industry terminal obtains card information and performs offline data authentication processing based on the card information. When the offline data authentication is successful, the industry terminal executes the gate opening action.

可選地,在所述出站資料處理步驟中,行業終端獲取卡資訊以及出站資訊並基於卡資訊進行離線資料認證處理之後進行黑名單檢查,當離線資料認證成功並且黑名單檢查通過的情況下,則行業終端執行閘機開啟動作。Optionally, in the outbound data processing step, the industry terminal obtains card information and outbound information and performs offline data authentication processing based on the card information and then performs a blacklist check. When the offline data authentication succeeds and the blacklist check passes Next, the industry terminal executes the gate opening action.

可選地,在所述進站資料處理步驟中,行業終端獲取卡資訊以及進站資訊並基於卡資訊進行離線資料認證處理,當離線資料認證成功的情況下,若進站時行業終端為離線狀態,則行業終端在本地保存卡資訊以及進站資訊,並且行業終端執行閘機開啟動作,在後續聯網之後行業終端再將卡資訊以及進站資訊上傳到行業後臺。Optionally, in the inbound data processing step, the industry terminal obtains card information and inbound information and performs offline data authentication processing based on the card information. When the offline data authentication is successful, if the industry terminal is offline when inbound Status, the industry terminal saves the card information and inbound information locally, and the industry terminal executes the gate opening action. After subsequent networking, the industry terminal uploads the card information and inbound information to the industry backend.

可選地,在所述出站資料處理步驟中,行業終端獲取卡資訊以及出站資訊並基於卡資訊進行離線資料認證處理,當離線資料認證成功的情況下,若出站時行業終端為連線狀態,行業終端將卡資訊以及出站資訊上傳到行業後臺,行業終端根據從行業後臺返回的通知判斷是否執行閘機開啟動作。Optionally, in the outbound data processing step, the industry terminal obtains card information and outbound information and performs offline data authentication processing based on the card information. When the offline data authentication is successful, if the industry terminal is connected when going out, Online status, the industry terminal uploads the card information and outbound information to the industry background, and the industry terminal judges whether to execute the gate opening action based on the notification returned from the industry background.

可選地,在所述出站資料處理步驟中,行業終端獲取卡資訊以及出站資訊並基於卡資訊進行離線資料認證處理,當離線資料認證成功的情況下,若出站時行業終端為離線狀態,行業終端執行閘機開啟動作,在後續聯網之後行業終端再將卡資訊以及出站資訊上傳到行業後臺。Optionally, in the outbound data processing step, the industry terminal obtains card information and outbound information and performs offline data authentication processing based on the card information. When the offline data authentication is successful, if the industry terminal is offline when outbound State, the industry terminal executes the gate opening action, and after subsequent networking, the industry terminal uploads the card information and outbound information to the industry backend.

可選地,在所述出站資料處理步驟中包括下述步驟:Optionally, the following steps are included in the outbound data processing step:

行業終端獲取卡資訊以及出站資訊;Industry terminals obtain card information and outbound information;

基於卡資訊進行離線資料認證處理;Perform offline data authentication processing based on card information;

當離線資料認證成功的情況下,行業終端將卡資訊以及出站資訊上傳到行業後臺;When the offline data authentication is successful, the industry terminal uploads the card information and outbound information to the industry backend;

行業後臺進行進站記錄檢查以及黑名單檢查,若沒有通過進站記錄檢查以及黑名單檢查,則行業後臺使得行業終端不執行閘機開啟動作,若通過進站記錄檢查以及黑名單檢查,則行業後臺使得行業終端執行閘機開啟動作。The industry backend performs inbound record inspection and blacklist inspection. If the inbound record inspection and blacklist check are not passed, the industry backend will prevent the industry terminal from performing the gate opening action. If the inbound record check and blacklist check are passed, the industry The background makes the industry terminal execute the gate opening action.

可選地,在所述出站資料處理步驟中包括下述步驟:Optionally, the following steps are included in the outbound data processing step:

行業終端獲取卡資訊以及出站資訊;Industry terminals obtain card information and outbound information;

基於卡資訊進行離線資料認證處理;Perform offline data authentication processing based on card information;

當離線資料認證成功的情況下,行業終端將卡資訊以及出站資訊上傳到行業後臺;When the offline data authentication is successful, the industry terminal uploads the card information and outbound information to the industry backend;

行業後臺進行進站記錄檢查以及黑名單檢查;在通過進站記錄檢查以及黑名單檢查的情況下,行業後臺判斷是否存在預授權請求結果;以及The industry backend conducts inbound record inspection and blacklist inspection; in the case of passing the inbound record inspection and blacklist inspection, the industry backend determines whether there is a pre-authorization request result; and

當存在預授權請求結果的情況下,行業後臺發起預授權完成交易。When there is a pre-authorization request result, the industry background initiates a pre-authorization to complete the transaction.

可選地,在所述出站資料處理步驟中包括下述步驟:Optionally, the following steps are included in the outbound data processing step:

行業終端獲取卡資訊以及出站資訊;Industry terminals obtain card information and outbound information;

基於卡資訊進行離線資料認證處理;Perform offline data authentication processing based on card information;

當離線資料認證成功的情況下,行業終端將卡資訊以及出站資訊上傳到行業後臺;When the offline data authentication is successful, the industry terminal uploads the card information and outbound information to the industry backend;

行業後臺進行進站記錄檢查以及黑名單檢查;在通過進站記錄檢查以及黑名單檢查的情況下,行業後臺判斷是否存在預授權請求結果;以及The industry backend conducts inbound record inspection and blacklist inspection; in the case of passing the inbound record inspection and blacklist inspection, the industry backend determines whether there is a pre-authorization request result; and

當不存在預授權請求結果的情況下,行業後臺發起基於進站資訊和出站資訊的即時交易請求。When there is no pre-authorization request result, the industry background initiates an instant transaction request based on inbound information and outbound information.

可選地,在所述出站資料處理步驟中,若出站時行業終端為連線狀態,則行業終端將卡資訊以及出站資訊連線上傳到行業後臺。Optionally, in the outbound data processing step, if the industry terminal is in a connected state when outbound, the industry terminal uploads the card information and the outbound information connection to the industry backend.

可選地,在所述進站資料處理步驟中,若進站時行業終端為離線狀態,則行業終端在本地保存卡資訊以及進站資訊,當後續聯網之後再將卡資訊以及進站資訊上傳到行業後臺,Optionally, in the inbound data processing step, if the industry terminal is offline when inbound, the industry terminal saves card information and inbound information locally, and uploads the card information and inbound information after subsequent networking To the backstage of the industry,

在所述出站資料處理步驟中,若出站時行業終端為離線狀態,則行業終端在本地保存卡資訊以及出站資訊並且當後續聯網之後再將卡資訊以及出站資訊上傳到行業後臺。In the outbound data processing step, if the industry terminal is offline when outbound, the industry terminal saves card information and outbound information locally and uploads the card information and outbound information to the industry backend after subsequent networking.

可選地,在所述出站資料處理步驟中,若出站時行業終端為離線狀態,則行業終端在本地保存卡資訊以及出站資訊並且當後續聯網之後再將卡資訊以及出站資訊上傳到行業後臺。Optionally, in the outbound data processing step, if the industry terminal is offline when going out, the industry terminal saves card information and outbound information locally and uploads the card information and outbound information after subsequent networking To the backstage of the industry.

可選地,在所述進站資料處理步驟中,若進站時行業終端為離線狀態,則行業終端在本地保存卡資訊以及進站資訊,當後續聯網之後再將卡資訊以及進站資訊上傳到行業後臺,Optionally, in the inbound data processing step, if the industry terminal is offline when inbound, the industry terminal saves card information and inbound information locally, and uploads the card information and inbound information after subsequent networking To the backstage of the industry,

在所述出站資料處理步驟中,若出站時行業終端為連線狀態,則行業終端將卡資訊以及出站資訊連線上傳到行業後臺。In the outbound data processing step, if the industry terminal is in a connected state when outbound, the industry terminal uploads the card information and the outbound information connection to the industry backend.

可選地,所述預授權完成交易是在預授權請求的額度中扣除按照進站資訊和出站資訊計算的額度。Optionally, the pre-authorization to complete the transaction is to deduct the amount calculated based on the inbound information and the outbound information from the amount of the pre-authorized request.

可選地,所述即時交易請求基於進站資訊和出站資訊計算的金額生成。Optionally, the real-time transaction request is generated based on the amount calculated from the inbound information and the outbound information.

本發明的資料處理系統,其中,包括行業終端以及行業後臺,The data processing system of the present invention includes industry terminals and industry backends,

所述行業終端包括:The industry terminals include:

第一資訊獲取模組,用於獲取卡資訊、進站資訊以及出站資訊;The first information acquisition module is used to acquire card information, inbound information, and outbound information;

第一資訊儲存模組,用於儲存所述第一資訊獲取模組獲取的卡資訊、進站資訊以及出站資訊;The first information storage module is used to store card information, inbound information, and outbound information acquired by the first information acquisition module;

第一離線認證模組,用於基於所述第一資訊獲取模組獲取的卡資訊進行離線資料認證並輸出離線資料認證結果;The first offline authentication module is configured to perform offline data authentication based on the card information acquired by the first information acquisition module and output the offline data authentication result;

第一資訊收發模組,用於將卡資訊、進站資訊以及出站資訊上傳到所述行業後臺並接受來自所述行業後臺的控制指令;以及The first information transceiver module is used to upload card information, inbound information, and outbound information to the industry backend and receive control commands from the industry backend; and

第一閘機控制模組,用於來自行業後臺的控制指令或者來自所述第一離線資料認證模組的離線資料認證結果控制是否執行閘機開啟動作,The first gate control module is used for control commands from the industry backend or offline data authentication result from the first offline data authentication module to control whether to execute the gate opening action,

所述行業後臺包括:The industry background includes:

第二資訊獲取模組,用於從所述行業終端獲取卡資訊、進站資訊以及出站資訊;The second information acquisition module is used to acquire card information, inbound information, and outbound information from the industry terminal;

第二資訊儲存模組,用於儲存所述第二資訊獲取模組獲取的卡資訊、進站資訊以及出站資訊;以及The second information storage module is used to store card information, inbound information, and outbound information acquired by the second information acquisition module; and

交易處理模組,用於基於卡資訊以及進站資訊發起預授權請求並且在發起預授權請求之後且在行業後臺接收到基於該預授權請求返回的預授權請求結果之前先向所述行業終端返回預授權請求發出通知作為所述控制指令,以及用於基於卡資訊、進站資訊以及出站資訊完成即時交易。Transaction processing module, used to initiate a pre-authorization request based on card information and inbound information, and return to the industry terminal after the pre-authorization request is initiated and before the result of the pre-authorization request returned based on the pre-authorization request is received in the industry background The pre-authorization request sends a notification as the control command, and is used to complete real-time transactions based on card information, inbound information, and outbound information.

可選地,所述行業終端進一步包括:Optionally, the industry terminal further includes:

第一黑名單檢查模組,用於基於所述第一資訊獲取模組獲取的卡資訊進行黑名單檢查並輸出第一黑名單檢查結果;The first blacklist checking module is configured to perform blacklist checking based on the card information obtained by the first information obtaining module and output the first blacklist checking result;

其中,所述第一閘機控制模組還根據來自所述第一黑名單檢查模組的第一黑名單檢查結果控制行業終端是否執行閘機開啟動作。Wherein, the first gate control module also controls whether the industry terminal executes the gate opening action according to the first blacklist check result from the first blacklist check module.

可選地,所述行業後臺進一步包括:Optionally, the industry background further includes:

第二黑名單檢查模組,用於基於卡資訊進行黑名單檢查並輸出第二黑名單檢查結果;以及The second blacklist checking module is used to perform blacklist checking based on card information and output the second blacklist checking result; and

進站記錄檢查模組,用於基於卡資訊進行進站記錄檢查並輸出進站記錄檢查結果,Inbound record inspection module, used to check inbound records based on card information and output the inbound record inspection results,

所述第一閘機控制模組進一步根據所述第二黑名單檢查結果和所述進站記錄檢查結果控制行業終端是否執行閘機開啟動作。The first gate control module further controls whether the industry terminal executes the gate opening action according to the check result of the second blacklist and the check result of the inbound record.

本發明的行業終端,其中,包括:The industry terminal of the present invention includes:

第一資訊獲取模組,用於獲取卡資訊、進站資訊以及出站資訊;The first information acquisition module is used to acquire card information, inbound information, and outbound information;

第一離線認證模組,用於基於所述第一資訊獲取模組獲取的卡資訊進行離線資料認證並輸出離線資料認證結果;The first offline authentication module is configured to perform offline data authentication based on the card information acquired by the first information acquisition module and output the offline data authentication result;

第一資訊收發模組,用於將卡資訊、進站資訊以及出站資訊上傳到外部的行業後臺;以及The first information transceiver module is used to upload card information, inbound information, and outbound information to the external industry backend; and

第一閘機控制模組,用於控制是否執行閘機開啟動作,The first gate control module is used to control whether to execute the gate opening action,

其中,在進站資料處理中,當所述第一離線認證模組的離線資料認證結果為成功的情況下,若進站時行業終端為連線狀態,則所述第一資訊收發模組將卡資訊以及進站資訊上傳到外部的行業後臺,並且在從行業後臺收到返回的預授權請求發出通知後所述第一閘機控制模組進行控制以執行閘機開啟動作,其中,所述預授權請求發出通知是在行業後臺基於所述卡資訊發起預授權請求之後並且在行業後臺接收到基於該預授權請求返回的預授權請求結果之前先從行業後臺向行業終端返回。Wherein, in the inbound data processing, when the offline data authentication result of the first offline authentication module is successful, if the industry terminal is in the connected state when inbound, the first information transceiver module will The card information and the inbound information are uploaded to the external industry back office, and the first gate control module controls to execute the gate opening action after receiving the return pre-authorization request notification from the industry back office. The notification of the pre-authorization request is sent back from the industry background to the industry terminal after the industry background initiates the pre-authorization request based on the card information and before the industry background receives the result of the pre-authorization request returned based on the pre-authorization request.

可選地,在出站資料處理中,在所述第一離線認證模組輸出的離線資料認證結果為成功的情況下,所述第一閘機控制模組進行控制以執行閘機開啟動作。Optionally, in the outbound data processing, if the offline data authentication result output by the first offline authentication module is successful, the first gate control module controls to execute the gate opening action.

可選地,進一步包括:Optionally, it further includes:

第一資訊儲存模組,用於儲存所述第一資訊獲取模組獲取的卡資訊、進站資訊以及出站資訊。The first information storage module is used to store card information, inbound information, and outbound information obtained by the first information obtaining module.

可選地,所述第一資訊收發模組還用於接受來自行業後臺的控制指令,Optionally, the first information transceiving module is also used to receive control instructions from the back office of the industry,

所述第一閘機控制模組用於根據來自行業後臺的控制指令或者來自所述第一離線資料認證模組的離線資料認證結果控制是否執行閘機開啟動作。The first gate control module is used to control whether to execute the gate opening action according to a control instruction from the industry backend or an offline data authentication result from the first offline data authentication module.

可選地,所述行業終端進一步包括:Optionally, the industry terminal further includes:

第一黑名單檢查模組,用於基於所述第一資訊獲取模組獲取的卡資訊進行黑名單檢查並輸出第一黑名單檢查結果;The first blacklist checking module is configured to perform blacklist checking based on the card information obtained by the first information obtaining module and output the first blacklist checking result;

其中,所述第一閘機控制模組還根據來自所述第一黑名單檢查模組的第一黑名單檢查結果控制行業終端是否執行閘機開啟動作。Wherein, the first gate control module also controls whether the industry terminal executes the gate opening action according to the first blacklist check result from the first blacklist check module.

可選地,若為連線狀態,所述第一資訊收發模組直接將第一資訊獲取模組獲取的卡資訊、進站資訊以及出站資訊上傳到外部的行業後臺;Optionally, if it is in a connected state, the first information transceiving module directly uploads the card information, inbound information, and outbound information obtained by the first information obtaining module to an external industry backend;

若為離線狀態,所述第一資訊收發模組將接收到的卡資訊、進站資訊以及出站資訊暫存在所述第一資訊儲存模組並且在後續聯網之後所述第一資訊收發模組將第一資訊儲存模組儲存的卡資訊、進站資訊以及出站資訊上傳到外部的行業後臺。If it is offline, the first information transceiver module temporarily stores the received card information, inbound information, and outbound information in the first information storage module, and the first information transceiver module after subsequent networking Upload the card information, inbound information, and outbound information stored in the first information storage module to the external industry background.

本發明的行業後臺,其中,包括:The industry background of the present invention includes:

第二資訊獲取模組,用於從行業終端獲取卡資訊、進站資訊以及出站資訊;The second information acquisition module is used to acquire card information, inbound information, and outbound information from industry terminals;

第二資訊儲存模組,用於儲存所述第二資訊獲取模組獲取的卡資訊、進站資訊以及出站資訊;以及The second information storage module is used to store card information, inbound information, and outbound information acquired by the second information acquisition module; and

交易處理模組,用於基於卡資訊以及進站資訊發起預授權請求並且在發起預授權請求之後且在行業後臺接收到基於該預授權請求返回的預授權請求結果之前先向外部的行業終端返回預授權請求發出通知作為控制指令,以及用於基於卡資訊、進站資訊以及出站資訊完成交易。Transaction processing module, used to initiate a pre-authorization request based on card information and inbound information and return to the external industry terminal after the pre-authorization request is initiated and before the result of the pre-authorization request returned based on the pre-authorization request is received in the industry background The pre-authorization request sends out notifications as control commands and is used to complete transactions based on card information, inbound information, and outbound information.

可選地,所述行業後臺進一步包括:Optionally, the industry background further includes:

第二黑名單檢查模組,用於基於卡資訊進行黑名單檢查並輸出第二黑名單檢查結果;以及The second blacklist checking module is used to perform blacklist checking based on card information and output the second blacklist checking result; and

進站記錄檢查模組,用於基於卡資訊進行進站記錄檢查並輸出進站記錄檢查結果。The inbound record checking module is used to check the inbound record based on the card information and output the inbound record check result.

可選地,所述基於卡資訊、進站資訊以及出站資訊完成交易包括:Optionally, the completion of the transaction based on card information, inbound information, and outbound information includes:

基於進站資訊和出站資訊進行的即時交易請求;Real-time transaction requests based on inbound information and outbound information;

基於預授權請求進行預授權完成交易。Perform pre-authorization based on the pre-authorization request to complete the transaction.

本發明的電腦可讀介質,其上儲存有電腦程式,其中,The computer-readable medium of the present invention has a computer program stored thereon, wherein,

該電腦程式被處理器執行時實現上述的資料處理方法。When the computer program is executed by the processor, the above-mentioned data processing method is realized.

本發明的電腦設備,包括儲存模組、處理器以及儲存在儲存模組上並可在處理器上運行的電腦程式,其中,所述處理器執行所述電腦程式時實現上述的資料處理方法。The computer equipment of the present invention includes a storage module, a processor, and a computer program that is stored on the storage module and can run on the processor, wherein the processor implements the above-mentioned data processing method when the computer program is executed.

如上所述,根據本發明的基於非同步預授權與離線資料認證的資料處理方法以及基於非同步預授權與離線資料認證的資料處理系統,能夠將預授權方案和離線資料認證方案相結合,即能夠減少公共交通場景交易對網路環境的要求,又能夠同時準確地進行公共交通場景的計費。而且,根據本發明的公共交通場景的基於非同步預授權與離線資料認證的資料處理方法以及基於非同步預授權與離線資料認證的資料處理系統既能夠降低交易耗時又能夠避免斷網對交易造成影響。As mentioned above, according to the data processing method based on asynchronous pre-authorization and offline data authentication and the data processing system based on asynchronous pre-authorization and offline data authentication of the present invention, the pre-authorization scheme and the offline data authentication scheme can be combined, namely It can reduce the requirements of the public transportation scene transaction on the network environment, and can accurately perform the billing of the public transportation scene at the same time. Moreover, the data processing method based on asynchronous pre-authorization and offline data authentication and the data processing system based on asynchronous pre-authorization and offline data authentication in public transportation scenarios according to the present invention can not only reduce transaction time consumption but also avoid network disconnection. Make an impact.

下面介紹的是本發明的多個實施例中的一些,旨在提供對本發明的基本瞭解。並不旨在確認本發明的關鍵或決定性的要素或限定所要保護的範圍。Introduced below are some of the multiple embodiments of the present invention, intended to provide a basic understanding of the present invention. It is not intended to confirm the key or decisive elements of the present invention or limit the scope of protection.

出於簡潔和說明性目的,本文主要參考其示範實施例來描述本發明的原理。但是,本領域技術人員將容易地認識到,相同的原理可等效地應用於所有類型的資料處理方法以及基於非同步預授權與離線資料認證的資料處理系統,並且可以在其中實施這些相同的原理,以及任何此類變化不背離本專利申請的真實精神和範圍。For brevity and illustrative purposes, this document mainly refers to its exemplary embodiments to describe the principles of the present invention. However, those skilled in the art will readily recognize that the same principles can be equally applied to all types of data processing methods and data processing systems based on asynchronous pre-authorization and offline data authentication, and these same principles can be implemented in them. The principle and any such changes do not depart from the true spirit and scope of this patent application.

而且,在下文描述中,參考了附圖,這些附圖圖示特定的示範實施例。在不背離本發明的精神和範圍的前提下可以對這些實施例進行電、機械、邏輯和結構上的更改。此外,雖然本發明的特徵是結合若干實施/實施例的僅其中之一來公開的,但是如針對任何給定或可識別的功能可能是期望和/或有利的,可以將此特徵與其他實施/實施例的一個或多個其他特徵進行組合。因此,下文描述不應視為在限制意義上的,並且本發明的範圍由所附請求項及其等效物來定義。Moreover, in the following description, reference is made to the accompanying drawings, which illustrate specific exemplary embodiments. Electrical, mechanical, logical, and structural changes can be made to these embodiments without departing from the spirit and scope of the present invention. In addition, although the feature of the present invention is disclosed in conjunction with only one of several implementations/embodiments, if it may be desired and/or advantageous for any given or identifiable function, this feature can be combined with other implementations. One or more other features of the embodiment are combined. Therefore, the following description should not be considered in a limiting sense, and the scope of the present invention is defined by the appended claims and their equivalents.

諸如“具備”和“包括”之類的用語表示除了具有在說明書和請求項中有直接和明確表述的單元(模組)和模組以外,本發明的技術方案也不排除具有未被直接或明確表述的其它單元(模組)和模組的情形。Terms such as "have" and "include" mean that in addition to the units (modules) and modules that are directly and clearly stated in the specification and the claim, the technical solution of the present invention does not exclude that there are not directly or The situation of other units (modules) and modules clearly stated.

首先,對於本發明的資料處理方法以及基於非同步預授權與離線資料認證的資料處理系統的概要進行說明。First, an overview of the data processing method of the present invention and the data processing system based on asynchronous pre-authorization and offline data authentication will be described.

在以下的說明中對於本發明的資料處理方法以及基於非同步預授權與離線資料認證的資料處理系統來說,以應用於地鐵場景為例進行說明,當然本發明不限定於地鐵場景,還可以適用於其他各種場景,在適用於公共交通場景的情況下,例如可以適用公車、船舶、磁懸浮等等。In the following description, for the data processing method of the present invention and the data processing system based on asynchronous pre-authorization and offline data authentication, the application in the subway scene is taken as an example. Of course, the present invention is not limited to the subway scene. It is suitable for various other scenarios, and when it is suitable for public transportation scenarios, for example, it can be applied to buses, ships, magnetic levitation, and so on.

圖1是表示本發明的用於地鐵的基於非同步預授權與離線資料認證的資料處理方法中的進站資料處理的流程示意圖。圖2是表示本發明的用於地鐵的基於非同步預授權與離線資料認證的資料處理方法中出站資料處理的流程示意圖。FIG. 1 is a schematic diagram showing the flow of inbound data processing in the data processing method based on asynchronous pre-authorization and offline data authentication for subways of the present invention. 2 is a schematic diagram showing the flow of outbound data processing in the data processing method based on asynchronous pre-authorization and offline data authentication for subways of the present invention.

首先,參照圖1對於進站資料處理進行說明。First, referring to FIG. 1, the inbound data processing will be described.

如圖1所示,本發明的用於地鐵的基於非同步預授權與離線資料認證的進站資料處理包括下述步驟:As shown in Figure 1, the inbound data processing for subways of the present invention based on asynchronous pre-authorization and offline data authentication includes the following steps:

步驟S101:用戶刷卡進站以後,閘機進行ODA(離線資料認證)以確保卡片真偽,具體地:發出離線資料交互,若認證成功(即圖中的“Y”,下同)則繼續步驟S102,否則(即圖中的“N”,下同)跳至步驟S111;Step S101: After the user swipes the card to enter the station, the gate will perform ODA (offline data authentication) to ensure the authenticity of the card, specifically: send offline data interaction, if the authentication is successful (ie "Y" in the figure, the same below), continue to the steps S102, otherwise (ie "N" in the figure, the same below) skip to step S111;

步驟S102:判斷閘機是否有訊號,若有訊號則繼續步驟S103,若閘機無訊號,則跳至步驟S112;Step S102: Determine whether the gate has a signal, if there is a signal, continue to step S103, if there is no signal, then skip to step S112;

步驟S103:閘機向地鐵後臺上送卡片資訊(即卡資訊)和進站資料;Step S103: The gate sends card information (ie card information) and station entry data to the subway backstage;

步驟S104:地鐵後臺進行黑名單檢查,若檢查通過則繼續步驟S105,否則跳至步驟S115;Step S104: The subway backstage checks the blacklist, if the check is passed, proceed to step S105, otherwise skip to step S115;

步驟S105:地鐵後臺進行的單邊或者重複進站檢查,若檢查通過則繼續步驟S106,否則跳至步驟S115;Step S105: the unilateral or repeated entry check performed by the subway backstage, if the check is passed, proceed to step S106, otherwise skip to step S115;

步驟S106:地鐵後臺向銀行轉接系統上送最高票價的非同步預授權請求;Step S106: The subway back office sends the asynchronous pre-authorization request of the highest fare to the bank transfer system;

步驟S107:地鐵後臺發出控制指令使得閘機打開,用戶進站;Step S107: the subway backstage sends a control command to open the gate and the user enters the station;

步驟S108:銀行轉接系統向銀行發起非同步預授權請求;Step S108: The bank transfer system initiates an asynchronous pre-authorization request to the bank;

步驟S109:銀行後臺根據非同步預授權請求進行預授權處理,凍結最高票價的資金;Step S109: The bank background performs pre-authorization processing according to the asynchronous pre-authorization request, and freezes the funds of the highest fare;

步驟S110:銀行後臺將預授權結果返回到地鐵後臺,地鐵後臺保存進站記錄和預授權狀態(即卡片資訊、進站資訊以及預授權成功記錄);Step S110: The bank background returns the pre-authorization result to the subway background, and the subway background saves the entry record and the pre-authorization status (that is, the card information, the entry information, and the pre-authorization success record);

步驟S111:閘機不打開,拒絕進站;Step S111: The gate does not open, and entry is refused;

步驟S112:閘機在本地保存卡片資料以及進站資訊,其中,獲取到ARQC(連線交易請求密文),該ARQC用來做連線預授權交易,然後繼續步驟S113;Step S112: The gate saves the card data and inbound information locally, in which the ARQC (connection transaction request ciphertext) is obtained, and the ARQC is used for connection pre-authorization transactions, and then continues to step S113;

步驟S113:閘機打開,使用者進站,然後繼續步驟S114;Step S113: The gate is opened, the user enters the station, and then continues to step S114;

步驟S114:待有訊號後,閘機向地鐵後臺系統上送卡片資料以及進站資訊;Step S114: After there is a signal, the turnstile will send the card data and entry information to the subway back-end system;

步驟S115:閘機不打開,拒絕進站。Step S115: The gate is not opened, and entry is refused.

其中,ODA是指Offline Data Authentication(離線資料驗證),是指終端無需獲得發卡銀行的授權回應也可驗證卡片的真偽。DDA是指Dynamic Data Authentication (動態資料認證)。ARQC是指Authorization Request Cryptogram(授權請求密文),是指進行連線預授權交易的授權請求密文。Among them, ODA refers to Offline Data Authentication, which means that the terminal can verify the authenticity of the card without obtaining an authorization response from the issuing bank. DDA refers to Dynamic Data Authentication. ARQC refers to Authorization Request Cryptogram (authorization request ciphertext), which refers to the ciphertext of authorization request for connection pre-authorization transactions.

這裡,步驟S106和步驟S107是本發明的一個發明點,對此這裡進行詳細說明。Here, step S106 and step S107 are an inventive point of the present invention, which will be described in detail here.

在步驟S106中,地鐵後臺向銀行轉接系統上送最高票價預授權資訊(即發起預授權請求),在地鐵後臺基於卡資訊發起預授權請求之後並且在地鐵後臺接收到基於該預授權請求從銀行轉接系統返回的預授權請求結果之前先從地鐵後臺向閘機返回“預授權請求發出通知”,接到該“預授權請求發出通知”時閘機打開。這樣就不需要等到從銀行轉接系統返回預授權請求結果,能夠更早地將“預授權請求發出通知”返回到閘機,閘機收到該通知即打開,由此,能夠提高連線處理的速度。接著,參照圖2對於出站資料處理進行說明。In step S106, the subway backend sends the highest fare pre-authorization information to the bank transfer system (that is, initiates a pre-authorization request). After the subway back-end initiates a pre-authorization request based on the card information, the subway back-end receives the pre-authorization request based on the card information. Before the result of the pre-authorization request returned from the bank transfer system, the “Notification of Pre-authorization Request” will be returned from the subway back office to the gate, and the gate will be opened when the “Notice of Pre-Authorization Request” is received. In this way, there is no need to wait until the result of the pre-authorization request is returned from the bank transfer system, and the "notification of pre-authorization request" can be returned to the gate earlier, and the gate will be opened when the notification is received, thereby improving connection processing speed. Next, the outbound data processing will be described with reference to FIG. 2.

如圖2所示,本發明的用於地鐵的基於非同步預授權與離線資料認證的出站資料處理包括下述步驟:As shown in Figure 2, the outbound data processing based on asynchronous pre-authorization and offline data authentication for subways of the present invention includes the following steps:

步驟S201:用戶刷卡進站以後,閘機進行離線資料認證以確保卡片真偽,具體地:發出離線資料交互,若認證成功則繼續步驟S202,否則跳至步驟S212;Step S201: After the user swipes the card to enter the station, the gate will perform offline data authentication to ensure the authenticity of the card, specifically: send offline data interaction, if the authentication is successful, continue to step S202, otherwise skip to step S212;

步驟S202:判斷閘機是否有訊號,若有訊號則繼續步驟S203,若閘機無訊號,則跳至步驟S213;Step S202: Determine whether the gate has a signal, if there is a signal, continue to step S203, if there is no signal, then skip to step S213;

步驟S203:閘機向地鐵後臺上送卡片資訊和出站資料;Step S203: The gate sends the card information and outbound data to the subway backstage;

步驟S204:地鐵後臺進行黑名單檢查,若檢查通過則繼續步驟S205,否則跳至步驟S216;Step S204: The subway backstage checks the blacklist, if the check is passed, proceed to step S205, otherwise skip to step S216;

步驟S205:地鐵後臺進行的單邊或者重複進站檢查,若檢查通過則繼續步驟S206,否則跳至步驟S216;Step S205: the unilateral or repeated entry check performed by the subway backstage, if the check is passed, proceed to step S206, otherwise skip to step S216;

步驟S206:地鐵後臺確認預授權是否成功(即確認是否存在預授權成功記錄),若成功則繼續步驟S207,若失敗跳至步驟S216;Step S206: The subway backstage confirms whether the pre-authorization is successful (that is, confirms whether there is a pre-authorization success record), if it succeeds, proceed to step S207, if it fails, skip to step S216;

步驟S207:閘機打開,使用者出站,繼續步驟S208;Step S207: the gate is opened, the user exits the station, continue to step S208;

步驟S208:地鐵後臺按照進站資料和出站資料計算票價,向銀行轉接系統非同步發起預授權完成請求;Step S208: The subway background calculates the fare according to the inbound and outbound information, and initiates a pre-authorization completion request asynchronously to the bank transfer system;

步驟S209:銀行轉接系統接收到預授權完成請求後向銀行發起預授權完成請求;Step S209: After receiving the pre-authorization completion request, the bank transfer system initiates a pre-authorization completion request to the bank;

步驟S210:銀行後臺根據預授權完成請求進行預授權完成處理,並返回交易結果;Step S210: The bank background performs pre-authorization completion processing according to the pre-authorization completion request, and returns the transaction result;

步驟S211:銀行後臺將交易結果返回到地鐵後臺,地鐵後臺標記行程匹配且扣款成功;Step S211: The bank background returns the transaction result to the subway background, and the subway background marks the itinerary matches and the deduction is successful;

步驟S212:閘機不打開,拒絕出站;Step S212: The gate is not opened, and it refuses to leave the station;

步驟S213:閘機在本地保存卡片資料以及出站資訊,繼續步驟S214;Step S213: The gate saves the card data and outbound information locally, and continues to step S214;

步驟S214:閘機打開,使用者出站,然後繼續步驟S215;Step S214: The gate is opened, the user exits the station, and then continues to step S215;

步驟S215:待有訊號後,閘機向地鐵後臺系統上送卡片資料以及出站資訊;Step S215: After there is a signal, the gate will send the card data and outbound information to the subway back-end system;

步驟S216:閘機不打開,拒絕進站。Step S216: The gate is not opened, and entry is refused.

其中,ODA是指Offline Data Authentication(離線資料驗證),是指終端無需獲得發卡銀行的授權回應也可驗證卡片的真偽。DDA是指Dynamic Data Authentication (動態資料認證)。ARQC是指Authorization Request Cryptogram(授權請求密文),是指進行連線預授權交易的授權請求密文。Among them, ODA refers to Offline Data Authentication, which means that the terminal can verify the authenticity of the card without obtaining an authorization response from the issuing bank. DDA refers to Dynamic Data Authentication. ARQC refers to Authorization Request Cryptogram (authorization request ciphertext), which refers to the ciphertext of authorization request for connection pre-authorization transactions.

另外,在圖1和圖2中雖然示例在地鐵後臺側(即行業後臺側)進行黑名單檢查,作為一個可選方式,也可以在閘機側(即行業終端側)進行黑名單檢查。而且,可以是行業後臺側和行業終端側都進行黑名單檢查,也可以在行業後臺側和行業終端側中選擇其一進行黑名單檢查。In addition, although the examples in Figure 1 and Figure 2 perform blacklist checking on the subway backend side (ie, the industry backend side), as an optional method, the blacklist check can also be performed on the gate side (ie, the industry terminal side). Moreover, the blacklist check may be performed on both the industry backend side and the industry terminal side, or one of the industry backend side and the industry terminal side may be selected for blacklist check.

接著,對於本發明的用於地鐵的基於非同步預授權與離線資料認證的資料處理方法的4種實施形態進行說明。Next, four embodiments of the data processing method based on asynchronous pre-authorization and offline data authentication for subways of the present invention will be described.

第一實施形態The first embodiment

本發明第一實施方式的用於地鐵的基於非同步預授權與離線資料認證的資料處理方法表示進站連線、出站連線的情況下的資料處理方法。該方法包括進站資料處理步驟和出站資料處理步驟。The data processing method based on asynchronous pre-authorization and offline data authentication for subways in the first embodiment of the present invention represents a data processing method in the case of inbound connection and outbound connection. The method includes an inbound data processing step and an outbound data processing step.

以下,對於進站資料處理步驟和出站資料處理步驟分別進行說明。In the following, the inbound data processing steps and the outbound data processing steps will be described separately.

首先,進站資料處理步驟包括以下子步驟:First, the inbound data processing steps include the following sub-steps:

(1)進站時,用戶刷卡後,閘機進行離線資料認證,若認證通過則閘機打開,繼續後續步驟,若失敗的情況下閘機不打開,拒絕進站;(1) When entering the station, after the user swipes the card, the gate will perform offline data authentication. If the authentication is passed, the gate will open and continue with the following steps. If it fails, the gate will not open and the entry will be refused;

(2)閘機為連線狀態下(即判斷閘機有訊號的情況下),閘機將卡片資訊以及進站資料上傳到地鐵後臺;(2) When the gate is connected (that is, when it is judged that the gate has a signal), the gate will upload the card information and inbound data to the subway backstage;

(3)地鐵後臺進行黑名單檢查,即確認用戶卡號不在地鐵後臺的黑名單,若通過則繼續以下步驟(4),否則直接返回通知閘機不打開,拒絕用戶出站;(3) The subway back-end performs blacklist check, that is, confirms that the user's card number is not in the blacklist of the subway back-end, if it is passed, proceed to the following step (4), otherwise, it will directly return to notify that the gate is not open and refuse the user to leave the station;

(4)地鐵後臺進一步進行單邊或者重複進站檢查,判斷用戶不存單邊進站記錄且沒有重複進站,若不滿足條件則直接返回通知閘機不打開,拒絕用戶進站,例如提醒使用者卡片異常以及需前往服務台處理;若滿足條件則繼續下述步驟(5);(4) The subway backstage will further check the unilateral or repeated entry, and judge that the user does not save the unilateral entry record and there is no repeated entry. If the conditions are not met, it will directly return to notify the gate not to open, and refuse the user to enter the station, such as reminding The user's card is abnormal and needs to be handled at the service desk; if the conditions are met, continue with the following steps (5);

(5)地鐵後臺基於卡片資訊向銀行轉接系統發起非同步預授權請求(例如以最高票價的金額發起預授權請求),所謂的“非同步預授權請求”是指,地鐵後臺向銀行轉接系統發起預授權請求,在地鐵後臺基於卡資訊發起預授權請求之後並且在地鐵後臺接收到基於該預授權請求從銀行轉接系統返回的預授權請求結果之前先從地鐵後臺向閘機返回“預授權請求發出通知”,在接到該“預授權請求發出通知”之後閘機打開;(5) The subway back-end initiates an asynchronous pre-authorization request to the bank transfer system based on the card information (for example, initiates a pre-authorization request with the highest fare amount). The so-called “asynchronous pre-authorization request” refers to the transfer The connection system initiates a pre-authorization request. After the subway back-end initiates the pre-authorization request based on the card information, and before the subway back-end receives the pre-authorization request result returned from the bank transfer system based on the pre-authorization request, the subway back-end returns to the gate " "Pre-authorization request issuance notice", the gate opens after receiving the "Pre-authorization request issuance notice";

(6)銀行轉接系統收到請求後,向發卡銀行的銀行卡系統發起預授權請求,以凍結卡內資金,並將預授權結果返回地鐵後臺。(6) After receiving the request, the bank transfer system initiates a pre-authorization request to the bank card system of the issuing bank to freeze the funds in the card and return the pre-authorization result to the subway back office.

通過上述的“非同步預授權請求”,不需要等到從銀行轉接系統返回預授權請求結果,而能夠更早地將“預授權請求發出通知”返回到閘機,閘機收到該通知即打開,由此,能夠提高連線處理的速度。Through the above-mentioned "non-synchronized pre-authorization request", there is no need to wait for the result of the pre-authorization request to be returned from the bank transfer system, and the "pre-authorization request notification" can be returned to the gate earlier, and the gate will receive the notification immediately Open, thereby, can improve the speed of connection processing.

接著,當用戶出站時,出站資料處理步驟包括以下子步驟:Then, when the user goes out of the station, the outbound data processing step includes the following sub-steps:

(1)出站時,用戶刷卡後,閘機進行離線動態資料認證以驗證卡片為真,若離線資料認證成功的情況下繼續後續步驟,若離線資料認證失敗的情況下閘機不打開,拒絕出站;(1) When going out, after the user swipes the card, the gate will perform offline dynamic data authentication to verify that the card is true. If the offline data authentication is successful, continue to the following steps. If the offline data authentication fails, the gate will not open and refuse Outbound

(2)閘機將卡片資訊和出站資訊發送到地鐵後臺;(2) The gate will send the card information and outbound information to the subway backstage;

(3)地鐵後臺進行黑名單檢查,用於確認用戶卡號不在地鐵後臺的黑名單,若通過則繼續以下步驟(4),否則直接返回通知閘機不打開,拒絕用戶出站;(3) The blacklist check at the subway background is used to confirm that the user's card number is not in the blacklist at the subway background. If it passes, proceed to the following step (4), otherwise it will directly return to notify that the gate is not open and refuse the user to leave the station;

(4)地鐵後臺進行單邊或者重複進站檢查,判斷用戶不存單邊進站記錄且沒有重複進站,若不滿足條件,則直接返回通知閘機不打開,拒絕用戶出站,若滿足條件則繼續下述步驟(5);(4) The subway backstage checks for unilateral or repeated entry, and judges that the user does not save the unilateral entry record and does not repeat the entry. If the conditions are not met, it will directly return to notify the gate not to open, and refuse the user to leave the station. Conditions continue with the following steps (5);

(5)地鐵後臺判斷該卡片資訊對應的卡號是否有預授權成功記錄,若有則通知閘機開閘,同時地鐵後臺基於卡片資訊、進站資料以及出站資料即時向銀行轉接系統發起預授權完成請求,另一方面,若沒有預授權成功記錄,則通知閘機不打開,拒絕用戶出站;(5) The subway backstage judges whether the card number corresponding to the card information has a successful pre-authorization record. If so, it will notify the gate to open the gate. At the same time, the subway backstage immediately initiates a pre-authorization record to the bank transfer system based on the card information, inbound data, and outbound data. Authorization completes the request. On the other hand, if there is no pre-authorization success record, the gate will be notified that the gate will not be opened, and the user will be refused to leave the station;

(6)由銀行轉接系統收到授權完成請求後,向發卡銀行的銀行後臺發起預授權完成交易,由銀行後臺扣除乘客車資並將結果返回地鐵後臺;以及(6) After the bank transfer system receives the authorization completion request, it initiates a pre-authorization to the bank background of the issuing bank to complete the transaction, and the bank background deducts the passenger fare and returns the result to the subway background; and

(7)地鐵後臺標記行程匹配且扣款成功。(7) The subway backstage marks the itinerary matches and the deduction is successful.

第二實施形態Second embodiment

本發明第二實施方式的用於地鐵的基於非同步預授權與離線資料認證的資料處理方法表示進站離線、出站離線的情況下的資料處理方法。該方法包括進站資料處理步驟和出站資料處理步驟。The data processing method based on asynchronous pre-authorization and offline data authentication for subways in the second embodiment of the present invention represents a data processing method in the case of inbound and outbound offline. The method includes an inbound data processing step and an outbound data processing step.

以下,對於進站資料處理步驟和出站資料處理步驟分別進行說明。In the following, the inbound data processing steps and the outbound data processing steps will be described separately.

首先,進站資料處理步驟包括以下子步驟:First, the inbound data processing steps include the following sub-steps:

(1)進站時,用戶刷卡後,閘機進行離線資料認證,若認證通過則閘機打開,繼續後續步驟,若失敗的情況下閘機不打開,拒絕進站;(1) When entering the station, after the user swipes the card, the gate will perform offline data authentication. If the authentication is passed, the gate will open and continue with the following steps. If it fails, the gate will not open and the entry will be refused;

(2)閘機為離線的情況下(即判斷閘機無訊號的情況下),閘機將卡片資訊以及進站資料保存在本地,當後續閘機聯網後再向地鐵後臺上送卡片資訊以及進站資料(ODA交易資料)以用於後續出站時進行行程匹配。(2) When the gate is offline (that is, when it is judged that there is no signal from the gate), the gate will save the card information and inbound data locally. When the subsequent gates are connected to the network, the card information and information will be sent to the subway backstage. Inbound data (ODA transaction data) is used for itinerary matching during subsequent outbound.

接著,出站資料處理包括以下子步驟:Then, outbound data processing includes the following sub-steps:

(1)出站時,用戶刷卡後,閘機進行離線動態資料認證(DDA驗證)以驗證卡片為真,若認證通過則閘機打開,繼續下述步驟(2),若認證失敗則閘機不打開,拒絕用戶出站;(1) When leaving the station, after the user swipes the card, the gate will perform offline dynamic data authentication (DDA verification) to verify that the card is true. If the authentication is passed, the gate will open, continue with the following steps (2), if the authentication fails, the gate will be turned on Do not open, deny users outbound;

(2)閘機為離線的情況下(即判斷閘機無訊號的情況下),閘機將卡片資訊以及出站資料保存在本地,當後續閘機聯網後再向地鐵後臺上送卡片資訊以及出站資料(ODA交易資料)以用於後續出站時進行行程匹配;(2) When the gate is offline (that is, when it is judged that there is no signal from the gate), the gate saves the card information and outbound data locally. When the subsequent gate is connected to the Internet, it will send the card information and information to the subway backstage. Outbound data (ODA transaction data) is used for itinerary matching during subsequent outbound;

(3)地鐵後臺在收到卡片資訊以及出站資料之後,確認該卡片資訊有對應的進站資料但不存在預授權成功記錄的情況下,地鐵後臺匹配進站資料和出站資料,成功匹配形成並按照地鐵計費規則進行計費,向銀行轉接系統發起即時交易請求;(3) After receiving the card information and outbound data, the subway backstage confirms that the card information has corresponding inbound data but there is no pre-authorization success record, the subway backstage matches the inbound data and outbound data, and the matching is successful Form and charge according to the subway billing rules, and initiate instant transaction requests to the bank transfer system;

(4)銀行轉接系統收到即時交易請求後向發卡銀行的銀行後臺即時交易,由發卡銀行的銀行後臺扣除乘客車資並將結果返回地鐵後臺;以及(4) After receiving the instant transaction request, the bank transfer system will make an instant transaction with the bank background of the issuing bank, and the bank background of the issuing bank will deduct the passenger fare and return the result to the subway background; and

(5)地鐵後臺標記行程匹配且扣款成功。(5) The subway backstage marks the itinerary matches and the deduction is successful.

第三實施形態The third embodiment

本發明第三實施方式的用於地鐵的基於非同步預授權與離線資料認證的資料處理方法表示進站連線、出站離線的情況下的資料處理方法。該方法包括進站資料處理步驟和出站資料處理步驟。The data processing method based on asynchronous pre-authorization and offline data authentication for subways in the third embodiment of the present invention represents a data processing method in the case of inbound connection and outbound offline data. The method includes an inbound data processing step and an outbound data processing step.

以下,對於進站資料處理步驟和出站資料處理步驟分別進行說明。In the following, the inbound data processing steps and the outbound data processing steps will be described separately.

首先,進站資料處理步驟包括以下子步驟:First, the inbound data processing steps include the following sub-steps:

(1)進站時,用戶刷卡後,閘機進行離線資料認證,若認證通過則閘機打開,繼續後續步驟,若失敗的情況下閘機不打開,拒絕進站;(1) When entering the station, after the user swipes the card, the gate will perform offline data authentication. If the authentication is passed, the gate will open and continue with the following steps. If it fails, the gate will not open and the entry will be refused;

(2)閘機為連線狀態下(即判斷閘機有訊號的情況下),閘機將卡片資訊以及進站資料上傳到地鐵後臺;(2) When the gate is connected (that is, when it is judged that the gate has a signal), the gate will upload the card information and inbound data to the subway backstage;

(3)地鐵後臺進行黑名單檢查,即確認用戶卡號不在地鐵後臺的黑名單,若通過則繼續以下步驟(4),否則直接返回通知閘機不打開,拒絕用戶出站;(3) The subway back-end performs blacklist check, that is, confirms that the user's card number is not in the blacklist of the subway back-end, if it is passed, proceed to the following step (4), otherwise, it will directly return to notify that the gate is not open and refuse the user to leave the station;

(4)地鐵後臺進一步進行單邊或者重複進站檢查,判斷用戶不存單邊進站記錄且沒有重複進站,若不滿足條件則直接返回通知閘機不打開,拒絕用戶進站,例如提醒使用者卡片異常以及需前往服務台處理,若滿足條件則繼續下述步驟(5);(4) The subway backstage will further check the unilateral or repeated entry, and judge that the user does not save the unilateral entry record and there is no repeated entry. If the conditions are not met, it will directly return to notify the gate not to open, and refuse the user to enter the station, such as reminding The user's card is abnormal and needs to be handled at the service desk. If the conditions are met, proceed to the following steps (5);

(5)地鐵後臺基於卡片資訊向銀行轉接系統發起非同步預授權請求(例如以最高票價的金額發起預授權請求),所謂的“非同步預授權請求”是指,地鐵後臺向銀行轉接系統發起預授權請求,在地鐵後臺基於卡資訊發起預授權請求之後並且在地鐵後臺接收到基於該預授權請求從銀行轉接系統返回的預授權請求結果之前先從地鐵後臺向閘機返回“預授權請求發出通知”,在接到該“預授權請求發出通知”之後閘機打開;(5) The subway back-end initiates an asynchronous pre-authorization request to the bank transfer system based on the card information (for example, initiates a pre-authorization request with the highest fare amount). The so-called “asynchronous pre-authorization request” refers to the transfer The connection system initiates a pre-authorization request. After the subway back-end initiates the pre-authorization request based on the card information, and before the subway back-end receives the pre-authorization request result returned from the bank transfer system based on the pre-authorization request, the subway back-end returns to the gate " "Pre-authorization request issuance notice", the gate opens after receiving the "Pre-authorization request issuance notice";

(6)銀行轉接系統收到請求後,向發卡銀行的銀行卡系統發起預授權請求,以凍結卡內資金,並將預授權結果返回地鐵後臺。(6) After receiving the request, the bank transfer system initiates a pre-authorization request to the bank card system of the issuing bank to freeze the funds in the card and return the pre-authorization result to the subway back office.

通過上述的“非同步預授權請求”,不需要等到從銀行轉接系統返回預授權請求結果,而能夠更早地將“預授權請求發出通知”返回到閘機,閘機收到該通知即打開,由此,能夠提高連線處理的速度。Through the above-mentioned "non-synchronized pre-authorization request", there is no need to wait for the result of the pre-authorization request to be returned from the bank transfer system, and the "pre-authorization request notification" can be returned to the gate earlier, and the gate will receive the notification immediately Open, thereby, can improve the speed of connection processing.

接著,當用戶出站時,出站資料處理步驟包括以下子步驟:Then, when the user goes out of the station, the outbound data processing step includes the following sub-steps:

(1)出站時,用戶刷卡後,閘機進行離線動態資料認證以驗證卡片為真,若離線資料認證成功的情況下繼續後續步驟,若離線資料認證失敗的情況下閘機不打開,拒絕出站;(1) When going out, after the user swipes the card, the gate will perform offline dynamic data authentication to verify that the card is true. If the offline data authentication is successful, continue to the following steps. If the offline data authentication fails, the gate will not open and refuse Outbound

(2)閘機為離線的情況下(即判斷閘機無訊號的情況下),閘機將卡片資訊以及出站資料保存在本地,當後續閘機聯網後再向地鐵後臺上送卡片資訊以及出站資料(ODA交易資料)以用於後續出站時進行行程匹配;(2) When the gate is offline (that is, when it is judged that there is no signal from the gate), the gate saves the card information and outbound data locally. When the subsequent gate is connected to the Internet, it will send the card information and information to the subway backstage. Outbound data (ODA transaction data) is used for itinerary matching during subsequent outbound;

(3)地鐵後臺在收到卡片資訊以及出站資料之後,確認該卡片資訊有對應的進站資料並且存在預授權成功記錄的情況下,地鐵後臺基於卡片資訊、進站資料以及出站資料向銀行轉接系統發起預授權完成請求;(3) After receiving the card information and outbound data, the subway backstage confirms that the card information has corresponding inbound data and there is a pre-authorization success record. The bank transfer system initiates a pre-authorization completion request;

(4)由銀行轉接系統收到授權完成請求後,向發卡銀行的銀行後臺發起預授權完成交易,由銀行後臺扣除乘客車資並將結果返回地鐵後臺;以及(4) After the bank transfer system receives the authorization completion request, it initiates a pre-authorization to the bank background of the issuing bank to complete the transaction, and the bank background deducts the passenger fare and returns the result to the subway background; and

(5)地鐵後臺標記行程匹配且扣款成功。(5) The subway backstage marks the itinerary matches and the deduction is successful.

第四實施形態Fourth embodiment

本發明第四實施方式的用於地鐵的基於非同步預授權與離線資料認證的資料處理方法表示進站離線、出站連線的情況下的資料處理方法。該方法包括進站資料處理步驟和出站資料處理步驟。The data processing method based on asynchronous pre-authorization and offline data authentication for subways in the fourth embodiment of the present invention represents a data processing method in the case of inbound and outbound connections. The method includes an inbound data processing step and an outbound data processing step.

以下,對於進站資料處理步驟和出站資料處理步驟分別進行說明。In the following, the inbound data processing steps and the outbound data processing steps will be described separately.

首先,進站資料處理步驟包括以下子步驟:First, the inbound data processing steps include the following sub-steps:

(1)進站時,用戶刷卡後,閘機進行離線資料認證,若認證通過則閘機打開,繼續後續步驟,若失敗的情況下閘機不打開,拒絕進站;(1) When entering the station, after the user swipes the card, the gate will perform offline data authentication. If the authentication is passed, the gate will open and continue with the following steps. If it fails, the gate will not open and the entry will be refused;

(2)閘機為離線的情況下(即判斷閘機無訊號的情況下),閘機將卡片資訊以及進站資料保存在本地,當後續閘機聯網後再向地鐵後臺上送卡片資訊以及進站資料(ODA交易資料)以用於後續出站時進行行程匹配。(2) When the gate is offline (that is, when it is judged that there is no signal from the gate), the gate will save the card information and inbound data locally. When the subsequent gates are connected to the network, the card information and information will be sent to the subway backstage. Inbound data (ODA transaction data) is used for itinerary matching during subsequent outbound.

接著,當用戶出站時,出站資料處理步驟包括以下子步驟:Then, when the user goes out of the station, the outbound data processing step includes the following sub-steps:

(1)出站時,用戶刷卡後,閘機進行離線動態資料認證以驗證卡片為真,若離線資料認證成功的情況下繼續後續步驟,若離線資料認證失敗的情況下閘機不打開,拒絕出站;(1) When going out, after the user swipes the card, the gate will perform offline dynamic data authentication to verify that the card is true. If the offline data authentication is successful, continue to the following steps. If the offline data authentication fails, the gate will not open and refuse Outbound

(2)閘機將卡片資訊和出站資訊發送到地鐵後臺;(2) The gate will send the card information and outbound information to the subway backstage;

(3)地鐵後臺進行黑名單檢查,用於確認用戶卡號不在地鐵後臺的黑名單,若通過則繼續以下步驟(4),否則直接返回通知閘機不打開,拒絕用戶出站;(3) The blacklist check at the subway background is used to confirm that the user's card number is not in the blacklist at the subway background. If it passes, proceed to the following step (4), otherwise, it will return directly to notify that the gate is not open and refuse the user to leave the station;

(4)地鐵後臺進行單邊或者重複進站檢查,判斷用戶不存單邊進站記錄且沒有重複進站,若不滿足條件,則直接返回通知閘機不打開,拒絕用戶出站,若滿足條件則繼續下述步驟(5);(4) The subway backstage checks for unilateral or repeated entry, and judges that the user does not save the unilateral entry record and does not repeat the entry. If the conditions are not met, it will directly return to notify the gate not to open, and refuse the user to leave the station. Conditions continue with the following steps (5);

(5)地鐵後臺判斷該卡片資訊對應的卡號存在進站資料但沒有預授權成功記錄的情況下,地鐵後臺通知閘機開閘,同時地鐵後臺基於卡片資訊、進站資料以及出站資料按照地鐵計費規則進行計費,向銀行轉接系統發起即時交易請求;(5) When the subway backstage judges that the card number corresponding to the card information has inbound data but does not have a successful pre-authorization record, the subway backstage informs the gate to open. At the same time, the subway backstage is based on the card information, inbound data, and outbound data in accordance with the subway Charge according to the charging rules, and initiate an instant transaction request to the bank transfer system;

(6)銀行轉接系統收到即時交易請求後向發卡銀行的銀行後臺即時交易,由發卡銀行的銀行後臺扣除乘客車資並將結果返回地鐵後臺;以及(6) After receiving the instant transaction request, the bank transfer system will make an instant transaction with the bank background of the issuing bank, and the bank background of the issuing bank will deduct the passenger fare and return the result to the subway background; and

(7)地鐵後臺標記行程匹配且扣款成功。(7) The subway backstage marks the itinerary matches and the deduction is successful.

以上例子主要說明了本發明的資料處理方法,接著,對於本發明的以上例子主要說明了資料處理系統進行說明。The above examples mainly explain the data processing method of the present invention. Next, the above examples of the present invention mainly explain the data processing system.

圖3是表示本發明的資料處理系統的方塊示意圖。Fig. 3 is a block diagram showing the data processing system of the present invention.

如圖3所示,本發明的資料處理系統包括:行業終端100、行業後臺200、銀行轉接系統300以及銀行後臺400。As shown in FIG. 3, the data processing system of the present invention includes: an industry terminal 100, an industry back office 200, a bank transfer system 300, and a bank back office 400.

其中,行業終端100包括:Among them, the industry terminal 100 includes:

第一資訊獲取模組110,用於獲取卡資訊以及進出站資訊;The first information acquisition module 110 is used to acquire card information and entry and exit information;

第一離線認證模組120,用於基於所述第一資訊獲取模組110獲取的卡資訊進行離線資料認證並輸出離線資料認證結果;The first offline authentication module 120 is configured to perform offline data authentication based on the card information acquired by the first information acquisition module 110 and output the offline data authentication result;

第一資訊儲存模組130,用於儲存所述第一資訊獲取模組110獲取的資訊;The first information storage module 130 is used to store the information acquired by the first information acquisition module 110;

第一資訊收發模組140,用於將卡資訊、進出站資訊上傳到所述行業後臺200並接受來自所述行業後臺200的控制指令;以及The first information transceiver module 140 is used to upload card information and station entry and exit information to the industry backend 200 and receive control instructions from the industry backend 200; and

第一閘機控制模組150,用於根據所述離線認證結果以及來自行業後臺200的控制指令對行業終端100的閘機進行控制。The first gate control module 150 is configured to control the gates of the industry terminal 100 according to the offline authentication result and the control instructions from the industry background 200.

其中,在進站資料處理中,當所述第一離線認證模組120的離線資料認證結果為成功的情況下,若進站時行業終端100為連線狀態,則所述第一資訊收發模組140將卡資訊以及進站資訊上傳到外部的行業後臺200,並且在從行業後臺200收到返回的預授權請求發出通知後第一閘機控制模組150進行控制以執行閘機開啟動作,其中,所述預授權請求發出通知是在行業後臺200基於所述卡資訊向銀行轉接系統300發起預授權請求之後並且在行業後臺200接收到基於該預授權請求從銀行轉接系統300返回的預授權請求結果之前先從行業後臺200向行業終端100返回。其中,在出站資料處理中,在第一離線認證模組120輸出的離線資料認證結果為成功的情況下,第一閘機控制模組150進行控制以執行閘機開啟動作。行業後臺200包括:Wherein, in the inbound data processing, when the offline data authentication result of the first offline authentication module 120 is successful, if the industry terminal 100 is in the connected state when entering the station, the first information transceiver module The group 140 uploads the card information and inbound information to the external industry back office 200, and the first gate control module 150 controls to execute the gate opening action after receiving the return pre-authorization request notification from the industry back office 200. Wherein, the notification of the pre-authorization request is issued after the industry back office 200 initiates a pre-authorization request to the bank transfer system 300 based on the card information, and the industry back office 200 receives a return from the bank transfer system 300 based on the pre-authorization request The result of the pre-authorization request is first returned from the industry backend 200 to the industry terminal 100. Wherein, in the outbound data processing, if the offline data authentication result output by the first offline authentication module 120 is successful, the first gate control module 150 controls to execute the gate opening action. The industry back office 200 includes:

第二資訊獲取模組210,用於從所述行業終端100獲取卡資訊以及進出站資訊;The second information acquisition module 210 is used to acquire card information and station entry and exit information from the industry terminal 100;

第二資訊儲存模組220,用於儲存所述第二資訊獲取模組210獲取的資訊;以及The second information storage module 220 is used to store the information acquired by the second information acquisition module 210; and

交易處理模組230,用於基於卡資訊以及/或者進出站資訊發起預授權請求或者發起即時交易請求,以及用於判斷是否存在預授權請求並且若存在預授權請求則發起預授權完成交易,若不存在預授權請求,則發起即時交易請求。The transaction processing module 230 is used to initiate a pre-authorization request or initiate an instant transaction request based on card information and/or entry and exit information, and to determine whether there is a pre-authorization request, and if there is a pre-authorization request, initiate a pre-authorization to complete the transaction. If there is no pre-authorization request, an instant transaction request is initiated.

銀行轉接系統300,用於將來自行業後臺200的交易請求轉發到與卡資訊相應的銀行的銀行後臺400,並且將來自銀行後臺400的交易處理回饋返回到行業後臺200。The bank transfer system 300 is used to forward the transaction request from the industry back office 200 to the bank back office 400 of the bank corresponding to the card information, and to return the transaction processing feedback from the bank back office 400 to the industry back office 200.

銀行後臺400用於根據交易請求(包括預授權請求、預授權完成請求、即時交易請求等)完成交易處理。The bank back office 400 is used to complete transaction processing according to transaction requests (including pre-authorization requests, pre-authorization completion requests, instant transaction requests, etc.).

作為一個優選的方式,行業後臺200進一步包括:As a preferred way, the industry back office 200 further includes:

黑名單檢查模組240,用於基於卡資訊進行黑名單檢查並輸出第一控制指令;以及The blacklist checking module 240 is used to check the blacklist based on the card information and output the first control command; and

進站記錄檢查模組250,用於基於卡資訊進行進站記錄檢查(例如,有無單邊記錄,有無重複進站等)並輸出第二控制指令。The inbound record check module 250 is used to check the inbound record based on the card information (for example, whether there is a unilateral record, whether there is a repeated inbound, etc.) and output a second control command.

這樣,第一閘機控制模組150可以設置為進一步根據來自行業後臺200的第一控制指令和第二控制指令控制行業終端100的閘機打開或關閉。In this way, the first gate control module 150 can be configured to further control the opening or closing of the gates of the industry terminal 100 according to the first control instruction and the second control instruction from the industry background 200.

其中,交易處理模組230基於卡資訊以最高票價發起預授權請求以及基於卡資訊以及/或者進出站資訊發起即時交易請求,而且,另一方面,用於判斷是否存在預授權請求並且若存在預授權請求則發起預授權完成交易,若不存在預授權請求,則發起即時交易請求。其中,所述預授權完成交易是指在以最高票價發起預授權請求的金額中扣除根據進站資訊和出站資訊匹配的實際交通費金額而完成交易的情況。Among them, the transaction processing module 230 initiates a pre-authorization request based on the card information with the highest fare, and initiates an instant transaction request based on the card information and/or entry and exit information, and, on the other hand, is used to determine whether there is a pre-authorization request and if so A pre-authorization request initiates a pre-authorization to complete the transaction, and if there is no pre-authorization request, an instant transaction request is initiated. Wherein, the pre-authorization to complete the transaction refers to a situation in which the transaction is completed by deducting the actual transportation fee amount matched according to the inbound information and the outbound information from the amount of the pre-authorized request initiated at the highest fare.

圖4是表示本發明的用於地鐵場景的基於非同步預授權與離線資料認證的資料處理系統的方塊示意圖。4 is a block diagram showing the data processing system based on asynchronous pre-authorization and offline data authentication for subway scenes of the present invention.

如圖4所示,本發明的用於地鐵的基於非同步預授權與離線資料認證的資料處理系統包括:閘機終端10(地鐵終端,也可簡稱為閘機)、地鐵後臺20、銀行轉接系統30以及銀行後臺40。As shown in Figure 4, the data processing system based on asynchronous pre-authorization and offline data authentication for subways of the present invention includes: gate terminal 10 (subway terminal, also referred to as gate), subway back office 20, bank transfer Connect to the system 30 and the bank back office 40.

其中,閘機終端10包括:Among them, the gate terminal 10 includes:

第一資訊獲取模組11,用於獲取卡資訊以及進出站資訊;The first information acquisition module 11 is used to acquire card information and entry and exit information;

第一離線認證模組12,用於基於所述第一資訊獲取模組11獲取的卡資訊進行離線認證並輸出離線認證結果;The first offline authentication module 12 is configured to perform offline authentication based on the card information obtained by the first information obtaining module 11 and output an offline authentication result;

第一資訊儲存模組13,用於儲存所述第一資訊獲取模組11獲取的資訊;The first information storage module 13 is used to store the information acquired by the first information acquisition module 11;

第一資訊收發模組14,用於將卡資訊、進出站資訊上傳到所述地鐵後臺20並接受來自所述地鐵後臺20的控制指令;以及The first information transceiver module 14 is used to upload card information and station entry and exit information to the subway backend 20 and receive control instructions from the subway backend 20; and

第一閘機控制模組15,用於根據所述離線認證結果以及來自地鐵後臺20的控制指令對閘機終端10的閘機的打開或關閉進行控制。The first gate control module 15 is used to control the opening or closing of the gate of the gate terminal 10 according to the offline authentication result and the control instruction from the subway backstage 20.

地鐵後臺20包括:The subway backstage 20 includes:

第二資訊獲取模組21,用於從閘機終端10獲取卡資訊以及進出站資訊;The second information acquisition module 21 is used to acquire card information and entry and exit information from the gate terminal 10;

第二資訊儲存模組22,用於儲存第二資訊獲取模組21獲取的資訊;以及The second information storage module 22 is used to store the information acquired by the second information acquisition module 21; and

交易處理模組23,用於基於卡資訊以及/或者進出站資訊發起預授權請求或者發起即時交易請求,以及用於判斷是否存在預授權請求並且若存在預授權請求則發起預授權完成交易,若不存在預授權請求,則發起即時交易請求。The transaction processing module 23 is used to initiate a pre-authorization request or initiate an instant transaction request based on card information and/or entry and exit information, and to determine whether there is a pre-authorization request, and if there is a pre-authorization request, initiate a pre-authorization to complete the transaction. If there is no pre-authorization request, an instant transaction request is initiated.

銀行轉接系統30用於將來自地鐵後臺20的交易請求轉發到與卡資訊相應的銀行的銀行後臺40,並且將來自銀行後臺40的交易處理回饋返回到地鐵後臺20。The bank transfer system 30 is configured to forward the transaction request from the subway back office 20 to the bank back office 40 of the bank corresponding to the card information, and return the transaction processing feedback from the bank back office 40 to the subway back office 20.

銀行後臺40用於根據交易請求(包括預授權請求、預授權完成請求、即時交易請求等)完成交易處理。The bank background 40 is used to complete transaction processing according to transaction requests (including pre-authorization requests, pre-authorization completion requests, instant transaction requests, etc.).

另外,在這裡說明的是銀行後臺40,作為替代方式也可以銀聯轉接系統後臺、協力廠商後臺等。In addition, what is described here is the bank back office 40. As an alternative, UnionPay transfer system back office, third-party vendor back office, etc. may also be used.

作為一個優選的方式,地鐵後臺20進一步包括:As a preferred way, the subway backstage 20 further includes:

黑名單檢查模組24,用於基於卡資訊進行黑名單檢查並輸出第一控制指令;以及The blacklist checking module 24 is used to check the blacklist based on the card information and output the first control command; and

進站記錄檢查模組25,用於基於卡資訊進行進站記錄檢查(例如,有無單邊記錄,有無重複進站等)並輸出第二控制指令。The inbound record checking module 25 is used to check the inbound record based on the card information (for example, whether there is a unilateral record, whether there is a repeated inbound, etc.) and output a second control command.

這樣,第一閘機控制模組15可以設置為進一步根據來自地鐵後臺20的第一控制指令和第二控制指令控制閘機終端10的閘機打開或關閉。In this way, the first gate control module 15 can be configured to further control the opening or closing of the gate of the gate terminal 10 according to the first control instruction and the second control instruction from the subway backstage 20.

其中,交易處理模組23基於卡資訊以最高票價發起預授權請求以及基於卡資訊以及/或者進出站資訊發起即時交易請求,而且,另一方面,用於判斷是否存在預授權請求並且若存在預授權請求則發起預授權完成交易,若不存在預授權請求,則發起即時交易請求。其中,所述預授權完成交易是指在以最高票價發起預授權請求的金額中扣除根據進站資訊和出站資訊匹配的實際交通費金額而完成交易的情況。Among them, the transaction processing module 23 initiates a pre-authorization request with the highest fare based on the card information and initiates an instant transaction request based on the card information and/or entry and exit information, and, on the other hand, is used to determine whether there is a pre-authorization request and if so A pre-authorization request initiates a pre-authorization to complete the transaction, and if there is no pre-authorization request, an instant transaction request is initiated. Wherein, the pre-authorization to complete the transaction refers to a situation in which the transaction is completed by deducting the actual transportation fee amount matched according to the inbound information and the outbound information from the amount of the pre-authorized request initiated at the highest fare.

這樣,利用本實施方式的用於地鐵場景的基於非同步預授權與離線資料認證的進站資料處理系統能夠實現以下資料處理方法。In this way, the inbound data processing system based on asynchronous pre-authorization and offline data authentication for subway scenes of this embodiment can implement the following data processing methods.

在進站時,進站資料處理包括以下步驟:When entering the station, the inbound data processing includes the following steps:

使用者刷卡進站以後,第一資訊獲取模組11獲取卡資訊以及進站資訊,第一離線認證模組12進行離線認證並輸出離線認證結果;After the user swipes the card to enter the station, the first information acquisition module 11 obtains card information and inbound information, and the first offline authentication module 12 performs offline authentication and outputs the offline authentication result;

若認證成功則繼續下述步驟,若認證失敗第一閘機控制模組15根據所述離線認證失敗的情況下控制閘機終端10的閘機的關閉;If the authentication is successful, continue with the following steps, if the authentication fails, the first gate control module 15 controls the closing of the gates of the gate terminal 10 according to the offline authentication failure;

當閘機終端10有聯網訊號的情況下,第一資訊收發模組14將卡資訊以及進站資訊上傳到地鐵後臺20,而當閘機終端10沒有聯網訊號的情況下,第一資訊儲存模組13儲存第一資訊獲取模組11獲取的資訊,並且等待有聯網訊號後再由第一資訊收發模組14上傳到地鐵後臺20;When the gate terminal 10 has a network signal, the first information transceiver module 14 uploads the card information and inbound information to the subway backend 20, and when the gate terminal 10 does not have a network signal, the first information storage module The group 13 stores the information acquired by the first information acquisition module 11, and waits for a network signal to upload it to the subway backstage 20 from the first information transceiver module 14;

當閘機終端10連線向地鐵後臺20上送卡資訊和進站資料的情況下,地鐵後臺10的黑名單檢查模組24基於卡資訊進行黑名單檢查並輸出第一控制指令,若黑名單檢查為通過則第一控制指令為打開閘機終端10的閘機,若黑名單檢查為未通過則第一控制指令為關閉閘機終端10的閘機;When the gate terminal 10 is connected to the subway backstage 20 to upload card information and inbound data, the blacklist checking module 24 of the subway backstage 10 performs blacklist checking based on the card information and outputs the first control command. If the check is passed, the first control instruction is to open the gate of the gate terminal 10, and if the blacklist check is not passed, the first control instruction is to close the gate of the gate terminal 10;

由進站記錄檢查模組25進一步基於卡資訊進行進站記錄檢查(例如,有無單邊記錄,有無重複進站等)並輸出第二控制指令,若進站記錄檢查為通過則第二控制指令為打開閘機終端10的閘機,若進站記錄檢查為未通過則第二控制指令為關閉閘機終端10的閘機;The inbound record check module 25 further checks the inbound record based on the card information (for example, whether there is a unilateral record, whether there is repeated inbound, etc.) and outputs the second control instruction. If the inbound record check is passed, the second control instruction To open the gate of the gate terminal 10, if the entry record check is not passed, the second control instruction is to close the gate of the gate terminal 10;

地鐵後臺20的交易處理模組23向銀行轉接系統30上送最高票價的非同步預授權請求;The transaction processing module 23 of the subway back office 20 sends an asynchronous pre-authorization request for the highest fare to the bank transfer system 30;

銀行轉接系統30向銀行後臺40發起非同步預授權請求;The bank transfer system 30 initiates an asynchronous pre-authorization request to the bank back office 40;

銀行後臺40根據非同步預授權請求進行預授權處理,凍結最高票價的資金;The bank back office 40 performs pre-authorization processing according to the asynchronous pre-authorization request, and freezes the funds of the highest fare;

銀行後臺40將預授權結果返回到地鐵後臺20,地鐵後臺20保存進站記錄(包括卡片資訊以及預授權成功確認資訊)。The bank backstage 40 returns the pre-authorization result to the subway backstage 20, and the subway backstage 20 saves the entry records (including the card information and the pre-authorization success confirmation information).

當出站時,包括出站資料處理包括下述步驟:When outbound, including outbound data processing includes the following steps:

使用者刷卡出站時,第一資訊獲取模組11獲取卡資訊以及出站資訊;When the user swipes the card out of the station, the first information obtaining module 11 obtains card information and outbound information;

第一離線認證模組12基於第一資訊獲取模組11獲取的卡資訊進行離線認證並輸出離線認證結果;The first offline authentication module 12 performs offline authentication based on the card information acquired by the first information acquisition module 11 and outputs the offline authentication result;

若認證成功則繼續下述步驟,若認證失敗第一閘機控制模組15根據所述離線認證結果為失敗的情況控制閘機終端10的閘機的關閉;If the authentication is successful, continue with the following steps. If the authentication fails, the first gate control module 15 controls the closing of the gates of the gate terminal 10 according to the situation that the offline authentication result is a failure;

當閘機終端10有聯網訊號的情況下,第一資訊收發模組14將卡資訊以及出站資訊上傳到地鐵後臺20,而當閘機終端10沒有聯網訊號的情況下,第一資訊儲存模組13儲存第一資訊獲取模組11獲取的資訊,並且等待有聯網訊號後再由第一資訊收發模組14上傳到地鐵後臺20;When the gate terminal 10 has a network signal, the first information transceiver module 14 uploads the card information and outbound information to the subway backend 20, and when the gate terminal 10 does not have a network signal, the first information storage module The group 13 stores the information acquired by the first information acquisition module 11, and waits for a network signal to upload it to the subway backstage 20 from the first information transceiver module 14;

當閘機終端10連線向地鐵後臺20上送卡資訊和出站資料的情況下,地鐵後臺10的黑名單檢查模組24基於卡資訊進行黑名單檢查並輸出第一控制指令,若黑名單檢查為通過則第一控制指令為打開閘機終端10的閘機,若黑名單檢查為未通過則第一控制指令為關閉閘機終端10的閘機;When the gate terminal 10 is connected to the subway backstage 20 to upload card information and outbound data, the blacklist checking module 24 of the subway backstage 10 performs blacklist checking based on the card information and outputs the first control command. If the check is passed, the first control instruction is to open the gate of the gate terminal 10, and if the blacklist check is not passed, the first control instruction is to close the gate of the gate terminal 10;

由進站記錄檢查模組25進一步基於卡資訊進行進站記錄檢查(例如,有無單邊記錄,有無重複進站等)並輸出第二控制指令,若進站記錄檢查為通過則第二控制指令為打開閘機,若進站記錄檢查為未通過則第二控制指令為關閉閘機;The inbound record check module 25 further checks the inbound record based on the card information (for example, whether there is a unilateral record, whether there is repeated inbound, etc.) and outputs the second control instruction. If the inbound record check is passed, the second control instruction To open the gate, if the entry record check is not passed, the second control command is to close the gate;

地鐵後臺20的交易處理模組23確認是否存在預授權成功記錄,若存在預授權成功記錄,則地鐵後臺20的交易處理模組23按照行程計算票價,向銀行轉接系統30非同步發起預授權完成請求,銀行轉接系統30接收到預授權完成請求後向銀行後臺40發起預授權完成請求,銀行後臺40根據預授權完成請求進行預授權完成處理,並返回交易結果,銀行後臺40將交易結果返回到地鐵後臺20,地鐵後臺20標記行程匹配且扣款成功,而另一方面,當不存在預授權成功記錄,則地鐵後臺20的交易處理模組23按照進站資訊和出站資訊計算票價,向銀行轉接系統30即時交易請求,銀行轉接系統30接收到即時交易請求後向銀行後臺40發起即時交易請求,銀行後臺40根據即時交易請求進行預即時交易,並返回交易結果,銀行後臺40將交易結果返回到地鐵後臺20,地鐵後臺20標記行程匹配且扣款成功。The transaction processing module 23 of the subway back office 20 confirms whether there is a pre-authorization success record. If there is a pre-authorization success record, the transaction processing module 23 of the subway back office 20 calculates the fare according to the itinerary, and initiates the pre-authorization asynchronously to the bank transfer system 30 Authorization completion request. After receiving the pre-authorization completion request, the bank transfer system 30 initiates a pre-authorization completion request to the bank back office 40. The bank back office 40 performs pre-authorization completion processing according to the pre-authorization completion request and returns the transaction result. The bank back office 40 sends the transaction The result is returned to the subway backstage 20. The subway backstage 20 marks the itinerary match and the deduction is successful. On the other hand, when there is no pre-authorization success record, the transaction processing module 23 of the subway backstage 20 calculates according to the inbound information and the outbound information The fare is an instant transaction request to the bank transfer system 30. After receiving the instant transaction request, the bank transfer system 30 initiates an instant transaction request to the bank back office 40. The bank back office 40 conducts a pre-immediate transaction according to the instant transaction request and returns the transaction result, The bank back office 40 returns the transaction result to the subway back office 20, and the subway back office 20 marks that the itinerary matches and the deduction is successful.

本發明還提供一種電腦可讀介質,其上儲存有電腦程式,其中,The present invention also provides a computer-readable medium on which a computer program is stored, wherein:

該電腦程式被處理器執行時實現上述的資料處理方法。When the computer program is executed by the processor, the above-mentioned data processing method is realized.

本發明還提供一種電腦設備,包括儲存模組、處理器以及儲存在儲存模組上並可在處理器上運行的電腦程式,其中,所述處理器執行所述電腦程式時實現上述的資料處理方法。The present invention also provides a computer device, including a storage module, a processor, and a computer program stored on the storage module and capable of running on the processor, wherein the processor implements the above-mentioned data processing when the computer program is executed method.

如上所述,根據本發明的公共交通場景的基於非同步預授權與離線資料認證的資料處理方法以及基於非同步預授權與離線資料認證的資料處理系統,能夠將預授權方案和離線資料認證方案相結合,即能夠減少公共交通場景交易對網路環境的要求,又能夠同時準確地進行公共交通場景的計費。而且,根據本發明的公共交通場景的基於非同步預授權與離線資料認證的資料處理方法以及基於非同步預授權與離線資料認證的資料處理系統既能夠降低交易耗時又能夠避免斷網對交易造成影響。As described above, the data processing method based on asynchronous pre-authorization and offline data authentication and the data processing system based on asynchronous pre-authorization and offline data authentication in public transportation scenarios of the present invention can combine the pre-authorization scheme and the offline data authentication scheme. The combination can reduce the network environment requirements of public transportation scene transactions, and at the same time accurately perform billing in public transportation scenes. Moreover, the data processing method based on asynchronous pre-authorization and offline data authentication and the data processing system based on asynchronous pre-authorization and offline data authentication in public transportation scenarios according to the present invention can not only reduce transaction time consumption but also avoid network disconnection. Make an impact.

以上例子主要說明了資料處理方法以及基於非同步預授權與離線資料認證的資料處理系統。儘管只對其中一些本發明的具體實施方式進行了描述,但是本領域普通技術人員應當瞭解,本發明可以在不偏離其主旨與範圍內以許多其他的形式實施。因此,所展示的例子與實施方式被視為示意性的而非限制性的,在不脫離如所附各請求項所定義的本發明精神及範圍的情況下,本發明可能涵蓋各種的修改與替換。The above examples mainly illustrate data processing methods and data processing systems based on asynchronous pre-authorization and offline data authentication. Although only some of the specific embodiments of the present invention have been described, those of ordinary skill in the art should understand that the present invention can be implemented in many other forms without departing from its spirit and scope. Therefore, the presented examples and implementations are regarded as illustrative rather than restrictive. Without departing from the spirit and scope of the present invention as defined by the appended claims, the present invention may cover various modifications and replace.

10:地鐵終端 11:第一資訊獲取模組 12:第一離線認證模組 13:第一資訊儲存模組 14:第一資訊收發模組 15:第一閘機控制模組 20:地鐵後臺 21:第二資訊獲取模組 22:第二資訊儲存模組 23:交易處理模組 24:黑名單檢查模組 25:進站記錄檢查模組 30:銀行轉接系統 40:銀行後臺 100:行業終端 110:第一資訊獲取模組 120:第一離線認證模組 130:第一資訊儲存模組 140:第一資訊收發模組 150:第一閘機控制模組 200:行業後臺 210:第二資訊獲取模組 220:第二資訊儲存模組 230:交易處理模組 240:黑名單檢查模組 250:進站記錄檢查模組 300:銀行轉接系統 400:銀行後臺10: Metro terminal 11: First information acquisition module 12: The first offline authentication module 13: The first information storage module 14: First information transceiver module 15: The first gate control module 20: Metro backstage 21: The second information acquisition module 22: The second information storage module 23: Transaction Processing Module 24: Blacklist check module 25: Inbound record check module 30: Bank transfer system 40: Bank back office 100: Industry terminal 110: First information acquisition module 120: The first offline authentication module 130: The first information storage module 140: The first information transceiver module 150: The first gate control module 200: Industry background 210: The second information acquisition module 220: The second information storage module 230: Transaction Processing Module 240: Blacklist check module 250: Inbound record check module 300: Bank transfer system 400: Bank back office

本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是表示本發明的用於地鐵的基於非同步預授權與離線資料認證的資料處理方法中的進站資料處理的流程示意圖; 圖2是表示本發明的用於地鐵的基於非同步預授權與離線資料認證的資料處理方法中出站資料處理的流程示意圖; 圖3是表示本發明的資料處理系統的方塊示意圖;及 圖4是表示本發明的用於地鐵場景的基於非同步預授權與離線資料認證的資料處理系統的方塊示意圖。Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: 1 is a schematic diagram showing the flow of inbound data processing in the data processing method based on asynchronous pre-authorization and offline data authentication for subways of the present invention; 2 is a schematic diagram showing the flow of outbound data processing in the data processing method based on asynchronous pre-authorization and offline data authentication for subways of the present invention; Figure 3 is a block diagram showing the data processing system of the present invention; and 4 is a block diagram showing the data processing system based on asynchronous pre-authorization and offline data authentication for subway scenes of the present invention.

Claims (28)

一種資料處理方法,其中,包括下述步驟: 進站資料處理步驟,行業終端獲取卡資訊以及進站資訊並基於卡資訊進行離線資料認證處理,當離線資料認證成功的情況下,若進站時行業終端為連線狀態,則行業終端將卡資訊以及進站資訊上傳到行業後臺,並且在從行業後臺收到返回的預授權請求發出通知後行業終端執行閘機開啟動作,其中,所述預授權請求發出通知是在行業後臺基於所述卡資訊發起預授權請求之後並且在行業後臺接收到基於該預授權請求返回的預授權請求結果之前先從行業後臺向行業終端返回;以及 出站資料處理步驟,行業終端獲取卡資訊並基於卡資訊進行離線資料認證處理,當離線資料認證成功的情況下,行業終端執行閘機開啟動作。A data processing method, which includes the following steps: Inbound data processing steps, the industry terminal obtains the card information and the inbound information and performs offline data authentication processing based on the card information. When the offline data authentication is successful, if the industry terminal is connected when entering the station, the industry terminal will card The information and inbound information are uploaded to the industry background, and the industry terminal executes the gate opening action after receiving the return pre-authorization request notification from the industry background, where the pre-authorization request notification is based on the card in the industry background After the information initiates the pre-authorization request and before receiving the result of the pre-authorization request returned based on the pre-authorization request, the information returns from the industry back-end to the industry terminal; and In the outbound data processing step, the industry terminal obtains card information and performs offline data authentication processing based on the card information. When the offline data authentication is successful, the industry terminal executes the gate opening action. 如請求項1所述的資料處理方法,其中, 在所述出站資料處理步驟中,行業終端獲取卡資訊以及出站資訊並基於卡資訊進行離線資料認證處理之後進行黑名單檢查,當離線資料認證成功並且黑名單檢查通過的情況下,則行業終端執行閘機開啟動作。The data processing method according to claim 1, wherein: In the outbound data processing step, the industry terminal obtains card information and outbound information and performs offline data authentication processing based on the card information and then performs a blacklist check. When the offline data authentication succeeds and the blacklist check passes, the industry terminal The terminal executes the gate opening action. 如請求項1所述的資料處理方法,其中, 在所述進站資料處理步驟中,行業終端獲取卡資訊以及進站資訊並基於卡資訊進行離線資料認證處理,當離線資料認證成功的情況下,若進站時行業終端為離線狀態,則行業終端在本地保存卡資訊以及進站資訊,並且行業終端執行閘機開啟動作,在後續聯網之後行業終端再將卡資訊以及進站資訊上傳到行業後臺。The data processing method according to claim 1, wherein: In the inbound data processing step, the industry terminal obtains card information and inbound information and performs offline data authentication processing based on the card information. When the offline data authentication is successful, if the industry terminal is offline when entering the station, the industry The terminal saves card information and inbound information locally, and the industry terminal executes the gate opening action. After subsequent networking, the industry terminal uploads the card information and inbound information to the industry backend. 如請求項1所述的資料處理方法,其中, 在所述出站資料處理步驟中,行業終端獲取卡資訊以及出站資訊並基於卡資訊進行離線資料認證處理,當離線資料認證成功的情況下,若出站時行業終端為連線狀態,行業終端將卡資訊以及出站資訊上傳到行業後臺,行業終端根據從行業後臺返回的通知判斷是否執行閘機開啟動作。The data processing method according to claim 1, wherein: In the outbound data processing step, the industry terminal obtains card information and outbound information and performs offline data authentication processing based on the card information. When the offline data authentication is successful, if the industry terminal is in a connected state when outbound, the industry The terminal uploads the card information and outbound information to the industry background, and the industry terminal judges whether to execute the gate opening action based on the notification returned from the industry background. 如請求項1所述的資料處理方法,其中, 在所述出站資料處理步驟中,行業終端獲取卡資訊以及出站資訊並基於卡資訊進行離線資料認證處理,當離線資料認證成功的情況下,若出站時行業終端為離線狀態,行業終端執行閘機開啟動作,在後續聯網之後行業終端再將卡資訊以及出站資訊上傳到行業後臺。The data processing method according to claim 1, wherein: In the outbound data processing step, the industry terminal obtains card information and outbound information and performs offline data authentication processing based on the card information. When the offline data authentication is successful, if the industry terminal is offline when outbound, the industry terminal Perform the gate opening action, and after subsequent networking, the industry terminal uploads the card information and outbound information to the industry backend. 如請求項1所述的資料處理方法,其中,在所述出站資料處理步驟中包括下述步驟: 行業終端獲取卡資訊以及出站資訊; 基於卡資訊進行離線資料認證處理; 當離線資料認證成功的情況下,行業終端將卡資訊以及出站資訊上傳到行業後臺; 行業後臺進行進站記錄檢查以及黑名單檢查,若沒有通過進站記錄檢查以及黑名單檢查,則行業後臺使得行業終端不執行閘機開啟動作,若通過進站記錄檢查以及黑名單檢查,則行業後臺使得行業終端執行閘機開啟動作。The data processing method according to claim 1, wherein the outbound data processing step includes the following steps: Industry terminals obtain card information and outbound information; Perform offline data authentication processing based on card information; When the offline data authentication is successful, the industry terminal uploads the card information and outbound information to the industry backend; The industry backend performs inbound record inspection and blacklist inspection. If the inbound record inspection and blacklist check are not passed, the industry backend will prevent the industry terminal from performing the gate opening action. If the inbound record check and blacklist check are passed, the industry The background makes the industry terminal execute the gate opening action. 如請求項1所述的資料處理方法,其中,在所述出站資料處理步驟中包括下述步驟: 行業終端獲取卡資訊以及出站資訊; 基於卡資訊進行離線資料認證處理; 當離線資料認證成功的情況下,行業終端將卡資訊以及出站資訊上傳到行業後臺; 行業後臺進行進站記錄檢查以及黑名單檢查;在通過進站記錄檢查以及黑名單檢查的情況下,行業後臺判斷是否存在預授權請求結果;以及 當存在預授權請求結果的情況下,行業後臺發起預授權完成交易。The data processing method according to claim 1, wherein the outbound data processing step includes the following steps: Industry terminals obtain card information and outbound information; Perform offline data authentication processing based on card information; When the offline data authentication is successful, the industry terminal uploads the card information and outbound information to the industry backend; The industry backend conducts inbound record inspection and blacklist inspection; in the case of passing the inbound record inspection and blacklist inspection, the industry backend determines whether there is a pre-authorization request result; and When there is a pre-authorization request result, the industry background initiates a pre-authorization to complete the transaction. 如請求項7所述的資料處理方法,其中,在所述出站資料處理步驟中包括下述步驟: 行業終端獲取卡資訊以及出站資訊; 基於卡資訊進行離線資料認證處理; 當離線資料認證成功的情況下,行業終端將卡資訊以及出站資訊上傳到行業後臺; 行業後臺進行進站記錄檢查以及黑名單檢查;在通過進站記錄檢查以及黑名單檢查的情況下,行業後臺判斷是否存在預授權請求結果;以及 當不存在預授權請求結果的情況下,行業後臺發起基於進站資訊和出站資訊的即時交易請求。The data processing method according to claim 7, wherein the outbound data processing step includes the following steps: Industry terminals obtain card information and outbound information; Perform offline data authentication processing based on card information; When the offline data authentication is successful, the industry terminal uploads the card information and outbound information to the industry backend; The industry backend conducts inbound record inspection and blacklist inspection; in the case of passing the inbound record inspection and blacklist inspection, the industry backend determines whether there is a pre-authorization request result; and When there is no pre-authorization request result, the industry background initiates an instant transaction request based on inbound information and outbound information. 如請求項1所述的資料處理方法,其中, 在所述出站資料處理步驟中,若出站時行業終端為連線狀態,則行業終端將卡資訊以及出站資訊連線上傳到行業後臺。The data processing method according to claim 1, wherein: In the outbound data processing step, if the industry terminal is in a connected state when outbound, the industry terminal uploads the card information and the outbound information connection to the industry backend. 如請求項1所述的資料處理方法,其中, 在所述進站資料處理步驟中,若進站時行業終端為離線狀態,則行業終端在本地保存卡資訊以及進站資訊,當後續聯網之後再將卡資訊以及進站資訊上傳到行業後臺, 在所述出站資料處理步驟中,若出站時行業終端為離線狀態,則行業終端在本地保存卡資訊以及出站資訊並且當後續聯網之後再將卡資訊以及出站資訊上傳到行業後臺。The data processing method according to claim 1, wherein: In the inbound data processing step, if the industry terminal is offline when entering the station, the industry terminal saves the card information and inbound information locally, and uploads the card information and inbound information to the industry backend after subsequent networking. In the outbound data processing step, if the industry terminal is offline when outbound, the industry terminal saves card information and outbound information locally and uploads the card information and outbound information to the industry backend after subsequent networking. 如請求項1所述的資料處理方法,其中, 在所述出站資料處理步驟中,若出站時行業終端為離線狀態,則行業終端在本地保存卡資訊以及出站資訊並且當後續聯網之後再將卡資訊以及出站資訊上傳到行業後臺。The data processing method according to claim 1, wherein: In the outbound data processing step, if the industry terminal is offline when outbound, the industry terminal saves card information and outbound information locally and uploads the card information and outbound information to the industry backend after subsequent networking. 如請求項1所述的資料處理方法,其中, 在所述進站資料處理步驟中,若進站時行業終端為離線狀態,則行業終端在本地保存卡資訊以及進站資訊,當後續聯網之後再將卡資訊以及進站資訊上傳到行業後臺, 在所述出站資料處理步驟中,若出站時行業終端為連線狀態,則行業終端將卡資訊以及出站資訊連線上傳到行業後臺。The data processing method according to claim 1, wherein: In the inbound data processing step, if the industry terminal is offline when entering the station, the industry terminal saves the card information and inbound information locally, and uploads the card information and inbound information to the industry backend after subsequent networking. In the outbound data processing step, if the industry terminal is in a connected state when outbound, the industry terminal uploads the card information and the outbound information connection to the industry backend. 如請求項7所述的資料處理方法,其中, 所述預授權完成交易是在預授權請求的額度中扣除按照進站資訊和出站資訊計算的額度。The data processing method according to claim 7, wherein: The pre-authorization to complete the transaction is to deduct the amount calculated based on the inbound information and the outbound information from the amount of the pre-authorized request. 如請求項8所述的資料處理方法,其中, 所述即時交易請求基於進站資訊和出站資訊計算的金額生成。The data processing method according to claim 8, wherein: The real-time transaction request is generated based on the amount calculated from the inbound information and the outbound information. 一種資料處理系統,其中,包括行業終端以及行業後臺, 所述行業終端包括: 第一資訊獲取模組,用於獲取卡資訊、進站資訊以及出站資訊; 第一資訊儲存模組,用於儲存所述第一資訊獲取模組獲取的卡資訊、進站資訊以及出站資訊; 第一離線認證模組,用於基於所述第一資訊獲取模組獲取的卡資訊進行離線資料認證並輸出離線資料認證結果; 第一資訊收發模組,用於將卡資訊、進站資訊以及出站資訊上傳到所述行業後臺並接受來自所述行業後臺的控制指令;以及 第一閘機控制模組,用於來自行業後臺的控制指令或者來自所述第一離線資料認證模組的離線資料認證結果控制是否執行閘機開啟動作, 所述行業後臺包括: 第二資訊獲取模組,用於從所述行業終端獲取卡資訊、進站資訊以及出站資訊; 第二資訊儲存模組,用於儲存所述第二資訊獲取模組獲取的卡資訊、進站資訊以及出站資訊;以及 交易處理模組,用於基於卡資訊以及進站資訊發起預授權請求並且在發起預授權請求之後且在行業後臺接收到基於該預授權請求返回的預授權請求結果之前先向所述行業終端返回預授權請求發出通知作為所述控制指令,以及用於基於卡資訊、進站資訊以及出站資訊完成即時交易。A data processing system, including industry terminals and industry backends, The industry terminals include: The first information acquisition module is used to acquire card information, inbound information, and outbound information; The first information storage module is used to store card information, inbound information, and outbound information acquired by the first information acquisition module; The first offline authentication module is configured to perform offline data authentication based on the card information acquired by the first information acquisition module and output the offline data authentication result; The first information transceiver module is used to upload card information, inbound information, and outbound information to the industry backend and receive control commands from the industry backend; and The first gate control module is used for control commands from the industry backend or offline data authentication result from the first offline data authentication module to control whether to execute the gate opening action, The industry background includes: The second information acquisition module is used to acquire card information, inbound information, and outbound information from the industry terminal; The second information storage module is used to store card information, inbound information, and outbound information acquired by the second information acquisition module; and Transaction processing module, used to initiate a pre-authorization request based on card information and inbound information, and return to the industry terminal after the pre-authorization request is initiated and before the result of the pre-authorization request returned based on the pre-authorization request is received in the industry background The pre-authorization request sends a notification as the control command, and is used to complete real-time transactions based on card information, inbound information, and outbound information. 如請求項15所述的資料處理系統,其中, 所述行業終端進一步包括: 第一黑名單檢查模組,用於基於所述第一資訊獲取模組獲取的卡資訊進行黑名單檢查並輸出第一黑名單檢查結果; 其中,所述第一閘機控制模組還根據來自所述第一黑名單檢查模組的第一黑名單檢查結果控制行業終端是否執行閘機開啟動作。The data processing system according to claim 15, wherein: The industry terminal further includes: The first blacklist checking module is configured to perform blacklist checking based on the card information obtained by the first information obtaining module and output the first blacklist checking result; Wherein, the first gate control module also controls whether the industry terminal executes the gate opening action according to the first blacklist check result from the first blacklist check module. 如請求項16所述的資料處理系統,其中, 所述行業後臺進一步包括: 第二黑名單檢查模組,用於基於卡資訊進行黑名單檢查並輸出第二黑名單檢查結果;以及 進站記錄檢查模組,用於基於卡資訊進行進站記錄檢查並輸出進站記錄檢查結果, 所述第一閘機控制模組進一步根據所述第二黑名單檢查結果和所述進站記錄檢查結果控制行業終端是否執行閘機開啟動作。The data processing system according to claim 16, wherein: The industry background further includes: The second blacklist checking module is used to perform blacklist checking based on card information and output the second blacklist checking result; and Inbound record inspection module, used to check inbound records based on card information and output the inbound record inspection results, The first gate control module further controls whether the industry terminal executes the gate opening action according to the check result of the second blacklist and the check result of the inbound record. 一種行業終端,其中,包括: 第一資訊獲取模組,用於獲取卡資訊、進站資訊以及出站資訊; 第一離線認證模組,用於基於所述第一資訊獲取模組獲取的卡資訊進行離線資料認證並輸出離線資料認證結果; 第一資訊收發模組,用於將卡資訊、進站資訊以及出站資訊上傳到外部的行業後臺;以及 第一閘機控制模組,用於控制是否執行閘機開啟動作, 其中,在進站資料處理中,當所述第一離線認證模組的離線資料認證結果為成功的情況下,若進站時行業終端為連線狀態,則所述第一資訊收發模組將卡資訊以及進站資訊上傳到外部的行業後臺,並且在從行業後臺收到返回的預授權請求發出通知後所述第一閘機控制模組進行控制以執行閘機開啟動作,其中,所述預授權請求發出通知是在行業後臺基於所述卡資訊發起預授權請求之後並且在行業後臺接收到基於該預授權請求返回的預授權請求結果之前先從行業後臺向行業終端返回。An industry terminal, including: The first information acquisition module is used to acquire card information, inbound information, and outbound information; The first offline authentication module is configured to perform offline data authentication based on the card information acquired by the first information acquisition module and output the offline data authentication result; The first information transceiver module is used to upload card information, inbound information, and outbound information to the external industry backend; and The first gate control module is used to control whether to execute the gate opening action, Wherein, in the inbound data processing, when the offline data authentication result of the first offline authentication module is successful, if the industry terminal is in the connected state when inbound, the first information transceiver module will The card information and the inbound information are uploaded to the external industry back office, and the first gate control module controls to execute the gate opening action after receiving the return pre-authorization request notification from the industry back office. The notification of the pre-authorization request is sent back from the industry background to the industry terminal after the industry background initiates the pre-authorization request based on the card information and before the industry background receives the result of the pre-authorization request returned based on the pre-authorization request. 如請求項17所述的行業終端,其中, 在出站資料處理中,在所述第一離線認證模組輸出的離線資料認證結果為成功的情況下,所述第一閘機控制模組進行控制以執行閘機開啟動作。The industry terminal according to claim 17, wherein: In the outbound data processing, if the offline data authentication result output by the first offline authentication module is successful, the first gate control module controls to execute the gate opening action. 如請求項19所述的行業終端,其中,所述行業終端進一步包括: 第一資訊存儲模組,用於儲存所述第一資訊獲取模組獲取的卡資訊、進站資訊以及出站資訊。The industry terminal according to claim 19, wherein the industry terminal further includes: The first information storage module is used to store card information, inbound information, and outbound information acquired by the first information acquisition module. 如請求項20所述的行業終端,其中, 所述第一資訊收發模組還用於接受來自行業後臺的控制指令, 所述第一閘機控制模組用於根據來自行業後臺的控制指令或者來自所述第一離線資料認證模組的離線資料認證結果控制是否執行閘機開啟動作。The industry terminal according to claim 20, wherein: The first information transceiver module is also used to receive control instructions from the industry backend, The first gate control module is used to control whether to execute the gate opening action according to a control instruction from the industry backend or an offline data authentication result from the first offline data authentication module. 如請求項21所述的行業終端,其中,所述行業終端進一步包括: 第一黑名單檢查模組,用於基於所述第一資訊獲取模組獲取的卡資訊進行黑名單檢查並輸出第一黑名單檢查結果; 其中,所述第一閘機控制模組還根據來自所述第一黑名單檢查模組的第一黑名單檢查結果控制行業終端是否執行閘機開啟動作。The industry terminal according to claim 21, wherein the industry terminal further includes: The first blacklist checking module is configured to perform blacklist checking based on the card information obtained by the first information obtaining module and output the first blacklist checking result; Wherein, the first gate control module also controls whether the industry terminal executes the gate opening action according to the first blacklist check result from the first blacklist check module. 如請求項22所述的行業終端,其中, 若為連線狀態,所述第一資訊收發模組直接將第一資訊獲取模組獲取的卡資訊、進站資訊以及出站資訊上傳到外部的行業後臺; 若為離線狀態,所述第一資訊收發模組將接收到的卡資訊、進站資訊以及出站資訊暫存在所述第一資訊儲存模組並且在後續聯網之後所述第一資訊收發模組將第一資訊儲存模組儲存的卡資訊、進站資訊以及出站資訊上傳到外部的行業後臺。The industry terminal according to claim 22, wherein: If it is in the connected state, the first information transceiver module directly uploads the card information, inbound information, and outbound information obtained by the first information acquisition module to the external industry backend; If it is offline, the first information transceiver module temporarily stores the received card information, inbound information, and outbound information in the first information storage module, and the first information transceiver module after subsequent networking Upload the card information, inbound information, and outbound information stored in the first information storage module to the external industry background. 一種行業後臺,其中,包括: 第二資訊獲取模組,用於從行業終端獲取卡資訊、進站資訊以及出站資訊; 第二資訊儲存模組,用於儲存所述第二資訊獲取模組獲取的卡資訊、進站資訊以及出站資訊;以及 交易處理模組,用於基於卡資訊以及進站資訊發起預授權請求並且在發起預授權請求之後且在行業後臺接收到基於該預授權請求返回的預授權請求結果之前先向外部的行業終端返回預授權請求發出通知作為控制指令,以及用於基於卡資訊、進站資訊以及出站資訊完成交易。An industry backend, which includes: The second information acquisition module is used to acquire card information, inbound information, and outbound information from industry terminals; The second information storage module is used to store card information, inbound information, and outbound information acquired by the second information acquisition module; and Transaction processing module, used to initiate a pre-authorization request based on card information and inbound information and return to the external industry terminal after the pre-authorization request is initiated and before the result of the pre-authorization request returned based on the pre-authorization request is received in the industry background The pre-authorization request sends out notifications as control commands and is used to complete transactions based on card information, inbound information, and outbound information. 如請求項24所述的行業後臺,其中,所述行業後臺進一步包括: 第二黑名單檢查模組,用於基於卡資訊進行黑名單檢查並輸出第二黑名單檢查結果;以及 進站記錄檢查模組,用於基於卡資訊進行進站記錄檢查並輸出進站記錄檢查結果。The industry background according to claim 24, wherein the industry background further includes: The second blacklist checking module is used to perform blacklist checking based on card information and output the second blacklist checking result; and The inbound record checking module is used to check the inbound record based on the card information and output the inbound record check result. 如請求項25所述的行業後臺,其中, 所述基於卡資訊、進站資訊以及出站資訊完成交易包括: 基於進站資訊和出站資訊進行的即時交易請求; 基於預授權請求進行預授權完成交易。The industry backend as described in claim 25, in which, The completion of transactions based on card information, inbound information, and outbound information includes: Real-time transaction requests based on inbound information and outbound information; Perform pre-authorization based on the pre-authorization request to complete the transaction. 一種電腦可讀介質,其上儲存有電腦程式,其中, 該電腦程式被處理器執行時實現如請求項1至14其中任意一項所述的資料處理方法。A computer-readable medium on which a computer program is stored, in which, When the computer program is executed by the processor, the data processing method as described in any one of claim items 1 to 14 is realized. 一種電腦設備,包括儲存模組、處理器以及儲存在儲存模組上並可在處理器上運行的電腦程式,其中,所述處理器執行所述電腦程式時實現如請求項1至14其中任意一項所述的資料處理方法。A computer device includes a storage module, a processor, and a computer program that is stored on the storage module and can run on the processor, wherein, when the processor executes the computer program, any of claims 1 to 14 is implemented The data processing method described in one item.
TW109132527A 2020-01-22 2020-09-21 Data processing method and system based on asynchronous pre-authorization and offline data authentication, industry terminal, industry background, computer readable medium and computer equipment TWI777248B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010074891.0A CN111540100B (en) 2020-01-22 2020-01-22 Data processing method and system based on asynchronous pre-authorization and offline data authentication
CN202010074891.0 2020-01-22

Publications (2)

Publication Number Publication Date
TW202129572A true TW202129572A (en) 2021-08-01
TWI777248B TWI777248B (en) 2022-09-11

Family

ID=71980025

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109132527A TWI777248B (en) 2020-01-22 2020-09-21 Data processing method and system based on asynchronous pre-authorization and offline data authentication, industry terminal, industry background, computer readable medium and computer equipment

Country Status (3)

Country Link
CN (1) CN111540100B (en)
TW (1) TWI777248B (en)
WO (1) WO2021147294A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113869850A (en) * 2021-09-17 2021-12-31 南京熊猫电子股份有限公司 Method and system for electronic card service degradation in rail transit industry
CN115862201B (en) * 2023-02-01 2024-05-28 深圳市深圳通有限公司 Abnormal record processing method, device, equipment and computer readable storage medium
CN117974128A (en) * 2024-03-29 2024-05-03 成都智元汇信息技术股份有限公司 Accounting method based on active subway complement

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831686B (en) * 2012-09-03 2015-12-16 深圳达实信息技术有限公司 A kind of access control system and visitor's access permission control method
GB2516939A (en) * 2013-08-07 2015-02-11 Eus Associates Ltd Access authorisation system and secure data communications system
US10254749B2 (en) * 2015-03-27 2019-04-09 Rockwell Automation Technologies, Inc. Systems and methods for virtually tagging and securing industrial equipment
CN106997527A (en) * 2016-01-25 2017-08-01 阿里巴巴集团控股有限公司 Credit payment method and device based on mobile terminal P2P
CN106022819A (en) * 2016-05-13 2016-10-12 昆山爱贝儿网络科技有限公司 Method and system of carfare payment via mobile terminal for rail transit
US10504079B2 (en) * 2016-11-11 2019-12-10 Operr Technologies, Inc. System and method for geo-aware transportation billing verification
CN206684807U (en) * 2016-11-22 2017-11-28 深圳市微付充科技有限公司 gate and gate system
CN107135194B (en) * 2017-02-09 2021-02-02 ***股份有限公司 Security information interaction method and device
CN107093074A (en) * 2017-04-26 2017-08-25 广州地铁设计研究院有限公司 The ticket checking payment system and method for a kind of urban track traffic financial IC card
CN107393085A (en) * 2017-07-27 2017-11-24 福州台江区超人电子有限公司 A kind of bicycle shared system based on internet
CN107871353A (en) * 2017-11-03 2018-04-03 东峡大通(北京)管理咨询有限公司 A kind of intelligent bicycle lock control method and device
CN113327359A (en) * 2017-12-29 2021-08-31 创新先进技术有限公司 Traffic detection method, device and system
CN108234517A (en) * 2018-01-29 2018-06-29 成都智元汇信息技术股份有限公司 A kind of subway based on offline Quick Response Code ticket card is ridden off-line processing system and method
CN110084941A (en) * 2019-05-07 2019-08-02 中国核电工程有限公司 Access and exit control method and control system with global anti-back pass function
CN110223398A (en) * 2019-06-12 2019-09-10 浙江机电职业技术学院 A kind of Subway Automatic Fare Collection System and method

Also Published As

Publication number Publication date
CN111540100A (en) 2020-08-14
WO2021147294A1 (en) 2021-07-29
TWI777248B (en) 2022-09-11
CN111540100B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
TW202129572A (en) Data processing method and system based on asynchronous pre-authorisation and offline data authentication
US11030593B2 (en) Processing authorization request using seasoned data
US20210406905A1 (en) Hosted Thin-Client Interface In A Payment Authorization System
US10614460B2 (en) Transaction initiation determination system utilizing transaction data elements
US9160741B2 (en) Remote authentication system
US20190182230A1 (en) Automated access data provisioning
RU2556453C2 (en) System and method for authentication of transactions without car with help of mobile device
US8682798B2 (en) Method and system using universal ID and biometrics
TWI428858B (en) Apparatus and method for integrated payment and electronic merchandise transfer
US7848980B2 (en) Mobile payment system and method using alias
US9715709B2 (en) Communication device including multi-part alias identifier
CN108764872B (en) Authorized payment method, system, equipment and storage medium
US20120303534A1 (en) System and method for a secure transaction
US20210383352A1 (en) Accessing accounts at payment system via photos
CN109903401A (en) Vehicle payment management method, car-mounted terminal and electronic equipment
WO2015101057A1 (en) Data processing method and related device and system
KR20190134900A (en) System and method for payment of car service using car number recognition
TWI826769B (en) Data processing method and system based on user binding relationship, mobile terminal, backend system, computer readable media and computer equipment
WO2014146286A1 (en) Secure payment system and method for bank card by using real-time communication
CN117557262B (en) Payment method, device, terminal equipment and storage medium
TWM603541U (en) Mobile parking lot payment system
CN118297589A (en) NFC-based cross-subject payment method and system
KR20210062232A (en) System for providing currency exchange service based on drive-thru and method performing thereof
van Cuijk iKP and SET: a comparison

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent