[go: up one dir, main page]

CN111932229A - Subway bus code payment data processing method, device and system and electronic equipment - Google Patents

Subway bus code payment data processing method, device and system and electronic equipment Download PDF

Info

Publication number
CN111932229A
CN111932229A CN202010177041.3A CN202010177041A CN111932229A CN 111932229 A CN111932229 A CN 111932229A CN 202010177041 A CN202010177041 A CN 202010177041A CN 111932229 A CN111932229 A CN 111932229A
Authority
CN
China
Prior art keywords
transaction data
transaction
client
data
user
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202010177041.3A
Other languages
Chinese (zh)
Inventor
卢祖传
王志刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Xiaoma Liancheng Technology Co ltd
Original Assignee
Wuhan Xiaoma Liancheng Technology Co ltd
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 Wuhan Xiaoma Liancheng Technology Co ltd filed Critical Wuhan Xiaoma Liancheng Technology Co ltd
Priority to CN202010177041.3A priority Critical patent/CN111932229A/en
Publication of CN111932229A publication Critical patent/CN111932229A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0283Price estimation or determination
    • G06Q30/0284Time or distance, e.g. usage of parking meters or taximeters
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B11/00Apparatus for validating or cancelling issued tickets

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Tourism & Hospitality (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

本发明提出了一种地铁乘车码支付数据处理方法、装置、系统及电子设备,该方法包括:接收闸机上传的交易数据,对预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对,融对成功则计算交易费后向客户端提出扣费申请,融对失败则按照单边交易规则挂起并向客户端发送补全交易数据指令;若预设第二时间段未收到客户端发送补全交易数据,则按预设规则计算交易费,并向客户端发送扣费申请及禁止生成乘车码指令。本发明克服了现有技术中将用户未计费行程直接按最远行程、最长时间计费的情况,减少了用户投诉,若用户未自觉发送补全交易数据,则按预设规则计算交易费并禁止生成乘车码指令,以弥补地铁运营方损失。

Figure 202010177041

The present invention provides a method, device, system and electronic equipment for processing subway boarding code payment data. The method includes: receiving transaction data uploaded by a gate, and processing the inbound transaction data corresponding to the same user ID in a preset first time period. Perform transaction fusion with outbound transaction data according to preset rules. If the fusion is successful, the transaction fee will be calculated and a deduction application will be submitted to the client. If the completion transaction data sent by the client is not received within the preset second time period, the transaction fee will be calculated according to the preset rules, and the application for deduction and the prohibition of generating a ride code will be sent to the client. The invention overcomes the situation in the prior art that the user's uncharged itinerary is directly charged according to the farthest itinerary and the longest time, and reduces user complaints. If the user does not consciously send supplementary transaction data, the transaction is calculated according to preset rules It also prohibits the generation of ride code instructions to make up for the loss of the subway operator.

Figure 202010177041

Description

地铁乘车码支付数据处理方法、装置、系统及电子设备Subway code payment data processing method, device, system and electronic equipment

技术领域technical field

本发明涉及网络技术领域,特别涉及一种地铁乘车码支付数据处理方法、装置、系统及电子设备。The present invention relates to the field of network technology, in particular to a method, device, system and electronic equipment for processing subway boarding code payment data.

背景技术Background technique

在公共交通行业中,越来越多城市的地铁支持用户使用电子乘车码方式进行乘车,目前地铁乘车码支付的计费方式有两种,一种是在设备侧完成计费,另一种在数据处理设备完成计费。设备侧完成计费,使用用户移动设备与地铁设备进行交互完成计费,由于移动设备的型号不一,对用户移动设备及地铁硬件设备要求较高且设备兼容性较差,可能会有无法完成计费的情况,导致用户无法进站或出站,降低了用户体验,会招致投诉,这种计费模式应用在蓝牙+乘车码进站模式和仅乘车码进站模式中。数据处理设备完成计费,应用于仅乘车码进站模式中,大都是将用户未计费的行程直接进行配对,可能会造成按最远行程、最长时间计费的情况,导致多扣交易费用招致用户投诉和少计交易费用导致业主收入损失。In the public transportation industry, subways in more and more cities support users to use the electronic ride code method to ride. Currently, there are two billing methods for subway ride code payment. A billing is done at the data processing device. Complete billing on the device side, and use the user's mobile device to interact with the subway equipment to complete the billing. Due to the different models of mobile devices, the requirements for the user's mobile equipment and subway hardware equipment are relatively high, and the equipment compatibility is poor, and there may be cases that cannot be completed. The charging situation makes it impossible for users to enter or exit the station, which reduces the user experience and leads to complaints. This charging mode is applied in the Bluetooth + pass code entry mode and the pass code only entry mode. The data processing equipment completes the billing and is used in the entry-only mode of the bus code. Most of the trips that are not billed by the user are directly paired, which may result in the charging of the farthest trip and the longest time, resulting in multiple deductions. Transaction fees lead to user complaints and understated transaction fees result in loss of revenue for owners.

发明内容SUMMARY OF THE INVENTION

鉴于上述问题,有必要提出一种地铁乘车码支付数据处理方法以解决或部分解决上述问题,本发明提出的技术方案如下:In view of the above-mentioned problems, it is necessary to propose a method for processing subway boarding code payment data to solve or partially solve the above-mentioned problems. The technical solutions proposed by the present invention are as follows:

一种地铁乘车码支付数据处理方法,该方法包括:A method for processing subway boarding code payment data, the method comprising:

接收闸机上传的交易数据,交易数据包括用户ID、进站交易数据和出站交易数据;Receive transaction data uploaded by the gate, including user ID, inbound transaction data and outbound transaction data;

对预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对,若融对成功,则计算交易费后向客户端提出扣费申请;若融对失败,则按照单边交易规则挂起并向客户端发送补全交易数据指令;若预设第二时间段未收到客户端发送补全交易数据,则按预设规则计算交易费,并向客户端发送扣费申请及禁止生成乘车码指令。For the inbound transaction data and outbound transaction data corresponding to the same user ID in the preset first time period, the transaction fusion is performed according to the preset rules. If the fusion is successful, the transaction fee is calculated and a deduction application is submitted to the client; If the transaction fails, the transaction will be suspended according to the unilateral trading rules and sent to the client to complete the transaction data instruction; if the client does not receive the completed transaction data sent by the client within the preset second time period, the transaction fee will be calculated according to the preset rules, and Send the deduction application and prohibit the generation of the ride code instruction to the client.

进一步的,所述对预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对包括:根据交易时间就近原则对出站交易数据和进站交易数据进行融对。Further, the transaction fusion pairing of the inbound transaction data corresponding to the same user ID in the preset first time period and the outbound transaction data according to the preset rules includes: according to the principle of proximity to the transaction time, comparing the outbound transaction data and the inbound transaction data. Data is fused.

进一步的,所述对预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对包括:同一用户ID对应的进站交易数据和出站交易数据分别仅有一条,则该进站交易数据和出站交易数据融对成功。Further, the transaction fusion pairing of the inbound transaction data and the outbound transaction data corresponding to the same user ID in the preset first time period according to the preset rules includes: the inbound transaction data and the outbound transaction data corresponding to the same user ID. If there is only one of them, the inbound transaction data and the outbound transaction data are successfully merged.

进一步的,若融对失败,则按照单边交易规则挂起并向客户端发送补全交易数据指令还包括:待用户提交补全交易数据后,再按预设规则进行交易融对。Further, if the fusion fails, suspending according to the unilateral transaction rules and sending the instruction to complete the transaction data to the client further includes: after the user submits the completed transaction data, then perform transaction fusion according to the preset rules.

进一步的,对预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对,还包括:若在融对前收到用户补全交易数据和闸机上传的交易数据,则以闸机上传的交易数据作为融对依据。Further, perform transaction fusion for the inbound transaction data and outbound transaction data corresponding to the same user ID in the preset first time period according to the preset rules, and further includes: if the user completes the transaction data and the gate is received before the fusion. If the transaction data uploaded by the gate is used, the transaction data uploaded by the gate will be used as the basis for matching.

第二方面,本发明还提出了一种电子设备,包括存储器,以及耦合到所述存储器的处理器,所述处理器被配置为基于存储在所述存储器中的指令,执行权利上面所述的任一地铁乘车码支付数据处理方法。In a second aspect, the present invention also provides an electronic device comprising a memory, and a processor coupled to the memory, the processor being configured to execute the above-mentioned rights based on instructions stored in the memory Data processing method for any subway ride code payment.

第三方面,本发明还提出了一种地铁乘车码支付数据处理装置,包括数据接收模块、融对计费模块,其中:In a third aspect, the present invention also proposes a data processing device for subway boarding code payment, including a data receiving module and an integrated billing module, wherein:

数据接收模块,用于接收闸机上传的交易数据,交易数据包括用户ID、进站交易数据和出站交易数据;The data receiving module is used to receive the transaction data uploaded by the gate, and the transaction data includes user ID, inbound transaction data and outbound transaction data;

融对计费模块,用于对预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对,若融对成功,则计算交易费后向客户端提出扣费申请;若融对失败,则按照单边交易规则挂起并向客户端发送补全交易数据指令;若预设第二时间段未收到客户端发送补全交易数据,则按预设规则计算交易费,并向客户端发送扣费申请及禁止生成乘车码指令。The fusion billing module is used to perform transaction fusion for the inbound transaction data and outbound transaction data corresponding to the same user ID in the preset first time period according to the preset rules. The client submits a deduction application; if the fusion fails, it will suspend according to the unilateral transaction rules and send the client to complete the transaction data instruction; if the client does not receive the completed transaction data sent by the client within the preset second time period, press The preset rules calculate the transaction fee, and send a deduction application and prohibition of generating a ride code to the client.

第四方面,本发明还提出了一种地铁乘车码支付数据处理系统,包括交互设备、数据处理设备,其中:In a fourth aspect, the present invention also proposes a subway boarding code payment data processing system, including interactive equipment and data processing equipment, wherein:

交互设备,包括与数据处理设备连接的闸机、客户端;所述客户端用于生成供闸机识别的乘车码,接受来自数据处理设备的扣费申请,还用于接收数据处理设备发送的补全交易数据的提示;所述闸机读取所述乘车码信息,生成交易数据并上传至数据处理设备,所述交易数据包括用户ID、进站交易数据和出站交易数据;Interactive equipment, including a gate connected to the data processing device, and a client; the client is used to generate a boarding code for the gate to identify, accept the deduction application from the data processing device, and receive the data sent by the data processing device. The prompt for completing transaction data; the gate reads the ride code information, generates transaction data and uploads it to the data processing device, and the transaction data includes user ID, inbound transaction data and outbound transaction data;

数据处理设备,分别与闸机、客户端连接,用于接收来自闸机、客户端上传的交易数据,并将预设时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对,若融对成功,则计算交易费后向客户端提出扣费申请;若融对失败,则按照单边交易规则挂起并向客户端发送补全交易数据指令;若预设第二时间段未收到客户端发送补全交易数据,则按预设规则计算交易费,并向客户端发送扣费申请及禁止生成乘车码指令。The data processing equipment is connected to the gate and the client respectively, and is used to receive the transaction data uploaded from the gate and the client, and to calculate the inbound transaction data and outbound transaction data corresponding to the same user ID in the preset time period according to the preset The transaction is paired according to the rules. If the fusion is successful, the transaction fee will be calculated and an application for deduction will be submitted to the client; Assuming that the completion transaction data sent by the client is not received in the second time period, the transaction fee is calculated according to the preset rules, and the application for deduction and the prohibition of generating a ride code are sent to the client.

基于上述技术方案,本发明较现有技术而言的有益效果为:Based on the above-mentioned technical scheme, the beneficial effects of the present invention compared with the prior art are:

本发明提出了一种地铁乘车码支付数据处理方法,数据处理设备接收到闸机上传的交易数据后,将预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对,融对成功后,计算交易费并向客户端发起扣费申请,若未能成功融对,则按照单边交易规则挂起并通过客户端向乘客推送补全交易数据指令;若预设第二时间段未收到客户端发送补全交易数据,则按预设规则计算交易费,并向客户端发送扣费申请及禁止生成乘车码指令。本发明的计费是在数据处理设备完成,克服了在设备侧计费兼容性差的问题,提高了计费成功率,提升了用户的使用体验;并且本发明对预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对,融对成功即计费,即便融对失败,也可根据用户补全的交易数据进行扣费,克服了现有技术中将用户未计费的行程直接按最远行程、最长时间计费的情况,保证产生的行程数据的准确性,减少了多扣交易费招致的用户投诉和少计交易费导致的地铁运营方收入损失。另外,用户可以在客户端直接补全交易数据,无需去客服中心人工解决,补票操作更加方便。若融对失败且在预设第二时间段未收到客户端发送补全交易数据,则按预设规则计算交易费,并向客户端发送扣费申请及禁止生成乘车码指令,不仅弥补了地铁运营商收入,还能通过禁止通行再次提醒用户补全交易数据。The present invention provides a method for processing subway boarding code payment data. After receiving the transaction data uploaded by the turnstile, the data processing device compares the inbound transaction data and outbound transaction data corresponding to the same user ID in the preset first time period according to The pre-set rules are used for transaction fusion. After the fusion is successful, the transaction fee is calculated and a deduction application is initiated to the client. If the fusion fails, the transaction will be suspended according to the unilateral transaction rules and the completion transaction will be pushed to the passenger through the client. Data command; if the client does not receive the completed transaction data sent by the client within the preset second time period, the transaction fee will be calculated according to the preset rules, and an application for deduction and prohibition of generating a ride code will be sent to the client. The charging of the present invention is completed in the data processing device, which overcomes the problem of poor charging compatibility on the device side, improves the charging success rate, and improves the user experience; The inbound transaction data corresponding to the ID and the outbound transaction data are fused according to the preset rules. If the fusion is successful, the bill will be charged. Even if the fusion fails, the fee can be deducted according to the transaction data completed by the user, overcoming the existing In the technology, the user's unpaid trips are directly charged according to the farthest trip and the longest time, which ensures the accuracy of the generated trip data and reduces user complaints caused by over-deduction of transaction fees and subways caused by under-counted transaction fees. Loss of operator revenue. In addition, users can directly complete the transaction data on the client side, without the need to go to the customer service center to solve the problem manually, making the ticket replenishment operation more convenient. If the pairing fails and the completed transaction data is not received from the client within the preset second time period, the transaction fee will be calculated according to the preset rules, and the application for deduction and the prohibition of generating a ride code will be sent to the client. The revenue of subway operators can be increased, and users can also be reminded to complete transaction data by prohibiting traffic.

附图说明Description of drawings

图1是本发明实施例一中,一种地铁乘车码支付数据处理方法的流程示意图;1 is a schematic flowchart of a method for processing subway boarding code payment data in Embodiment 1 of the present invention;

图2是本发明实施例三中,一种地铁乘车码支付数据处理装置的结构示意图;2 is a schematic structural diagram of a data processing device for subway boarding code payment in Embodiment 3 of the present invention;

图3是本发明实施例四中,一种电子设备的结构示意图;3 is a schematic structural diagram of an electronic device in Embodiment 4 of the present invention;

图4是本发明实施例五中,一种地铁乘车码支付数据处理系统的结构示意图。FIG. 4 is a schematic structural diagram of a data processing system for subway boarding code payment in Embodiment 5 of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

实施例一Example 1

本实施例提出了一种地铁乘车码支付数据处理方法,如图1所示,该方法包括:This embodiment proposes a method for processing subway boarding code payment data, as shown in FIG. 1 , the method includes:

步骤S1:接收闸机上传的交易数据,交易数据包括用户ID、进站交易数据和出站交易数据。Step S1: Receive transaction data uploaded by the gate, where the transaction data includes user ID, inbound transaction data and outbound transaction data.

用户乘地铁在闸机上刷码后,用户ID、扫码时间、闸机信息(一般包括闸机ID、闸机所在站点信息、闸机进出站类型等数据)将一起作为交易数据打包上传给数据处理设备。在本实施例中将进出站类型为进站、该闸机所在站点信息、扫码时间合称为进站交易数据,将进出站类型为出站、该闸机所在站点信息、扫码时间合称为出站交易数据。After the user takes the subway to swipe the code on the turnstile, the user ID, code scanning time, and turnstile information (generally including turnstile ID, site information of the turnstile, entry and exit types of turnstiles, etc.) will be packaged and uploaded to the data as transaction data. Handling equipment. In this embodiment, the inbound and outbound type is inbound, the information of the site where the gate is located, and the scan code time are collectively referred to as inbound transaction data, and the inbound and outbound type is outbound, the site information of the gate, and the scan time. Known as outbound transaction data.

下面通过表格对本步骤进行详细说明。下面的描述中:“进”表示进站,“出”表示出站,A、B…分别代表不同站点,甲、乙…分别代表不同用户ID。表1为接收的各交易数据包:This step is described in detail through the table below. In the following description: "in" means entering the station, "out" means going out, A, B...represent different sites, A, B...represent different user IDs. Table 1 is the received transaction data packets:

Figure BDA0002411171360000041
Figure BDA0002411171360000041

表1Table 1

步骤S2:对预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对,若融对成功,执行步骤S201,若融对失败,则执行步骤S202。Step S2: Perform transaction fusion on the inbound transaction data and outbound transaction data corresponding to the same user ID in the preset first time period according to the preset rules, if the fusion is successful, go to step S201, and if the fusion fails, go to step S201 S202.

预设时间段可以根据实际情况设置,比如可以是同一运营日内,运营日是指地铁开始运营到地铁停运的时间段。其中,步骤S201:计算交易费后向客户端提出扣费申请。步骤S202:按照单边交易规则挂起并向客户端发送补全交易数据指令;若预设第二时间段未收到客户端发送补全交易数据,则按预设规则计算交易费,并向客户端发送扣费申请及禁止生成乘车码指令。The preset time period can be set according to the actual situation, for example, it can be within the same operating day, and the operating day refers to the time period from when the subway starts to operate until the subway stops running. Wherein, step S201: After calculating the transaction fee, submit a fee deduction application to the client. Step S202: Suspend according to the unilateral transaction rule and send the completion transaction data instruction to the client; if the completion transaction data sent by the client is not received within the preset second time period, calculate the transaction fee according to the preset rule, and send the instruction to the client. The client sends a deduction application and prohibits the generation of a ride code instruction.

表2-表5为将与表1中同一用户ID的对应的交易数据进行整理的结果,即表2-表5分别为用户甲、用户乙、用户丙、用户丁的交易数据。Tables 2 to 5 are the results of sorting out the transaction data corresponding to the same user ID in Table 1, that is, Tables 2 to 5 are the transaction data of User A, User B, User C, and User D, respectively.

用户IDUser ID First First 进出站类型Inbound and outbound type Enter out 扫码时间Scan time 8:408:40 9:009:00 站点site AA BB

表2Table 2

用户IDUser ID Second Second 进出站类型Inbound and outbound type Enter out 扫码时间Scan time 8:428:42 9:109:10 站点site AA DD

表3table 3

用户IDUser ID C C C C 进出站类型Inbound and outbound type Enter out Enter out 扫码时间Scan time 8:428:42 8:558:55 10:1010:10 10:3010:30 站点site BB CC EE AA

表4Table 4

Figure BDA0002411171360000051
Figure BDA0002411171360000051

Figure BDA0002411171360000061
Figure BDA0002411171360000061

表5table 5

具体的,根据预设规则进行交易融对的方法包括:根据交易时间就近原则对出站交易数据和进站交易数据进行融对,或者同一用户ID对应的进站交易数据和出站交易数据分别仅有一条,则该进站交易数据和出站交易数据融对成功。由表4可见,用户丙有两条进站数据,进站点分别为B、E,有两条出站数据,出站点分别为C、A。由于进站点时间应该早于站点时间,且与进站点B时间更接近的为出站点为C,可以理解的,已经完成融对的出站交易数据和进站交易数据,不再与待融对交易数据进行融对。因此对于用户丙来说有两条融对结果,分别是:Specifically, the method for performing transaction fusion and pairing according to preset rules includes: fusion and pairing of outbound transaction data and inbound transaction data according to the principle of proximity to transaction time, or inbound transaction data and outbound transaction data corresponding to the same user ID, respectively If there is only one, the inbound transaction data and the outbound transaction data are successfully merged. It can be seen from Table 4 that user C has two inbound data, the inbound sites are B and E respectively, and there are two outbound data, the outbound sites are C and A respectively. Since the inbound time should be earlier than the inbound time, and the outbound site C is closer to the inbound time B, it is understandable that the outbound transaction data and inbound transaction data that have completed the fusion are no longer related to the pending fusion. Fusion of transaction data. Therefore, there are two fusion results for user C, which are:

(1)站点B(进)-站点C(出)(1) Site B (in) - site C (out)

(2)站点E(进)-站点A(出)(2) Site E (in) - site A (out)

由表2可见,用户甲的进站交易数据和出站交易数据分别仅有一条,因此对于用户甲来说交易数据的融对结果为:站点A(进)-站点B(出)。It can be seen from Table 2 that there is only one inbound transaction data and outbound transaction data of user A, so for user A, the fusion result of transaction data is: site A (in) - site B (out).

同理,可知用户乙交易数据融对结果为:站点A(进)-站点D(出)。Similarly, it can be seen that the transaction data fusion result of user B is: site A (in) - site D (out).

对于用户甲、用户乙、用户丙而言,在交易数据融对成功后,即执行步骤S201,根据融对结果计算交易费,并向客户端提出扣费申请以完成扣费。For user A, user B, and user C, after the transaction data fusion is successful, step S201 is executed, the transaction fee is calculated according to the fusion result, and a deduction application is made to the client to complete the deduction.

对用户丁而言,仅有一条出站交易数据,缺少进站交易数据,因此融对失败,则执行步骤S202,按照单边交易规则挂起并向客户端发送补全交易数据指令,用户可以通过客服中心的半自动售票机或客户端补全交易数据。比如,用户丁实际是在A站点进站的,当客户端收到缺少进站交易数据的提醒时,用户丁主动通过客服中心的半自动售票机(又称BOM机)或客户端将“进站点为A”的信息发送到数据处理设备,再按预设规则进行交易融对。由于用户丁只有一条进站交易数据、一条出站交易数据,因此融对结果是:站点A(进)-站点D(出),按照此融对情况进行扣费。For user D, there is only one outbound transaction data, and there is a lack of inbound transaction data, so the fusion fails, then step S202 is executed, suspending according to the unilateral transaction rule and sending a complete transaction data instruction to the client, the user can Complete transaction data through the semi-automatic ticket vending machine in the customer service center or the client. For example, user D actually entered the station at site A. When the client receives a reminder of the lack of incoming transaction data, user D takes the initiative to pass the semi-automatic ticket vending machine (also known as the BOM machine) in the customer service center or the client to “enter the site”. The information of "A" is sent to the data processing equipment, and then the transaction is matched according to the preset rules. Since user D has only one inbound transaction data and one outbound transaction data, the result of the fusion is: site A (in) - site D (out), and the fee will be deducted according to this fusion.

为了防止地铁运营的损失,用户丁若为在预设第二时间补全交易数据,按预设规则计算交易费,并向客户端发送扣费申请及禁止生成乘车码指令。该预设规则可以是按最高额计算交易费;或按最低额计算交易费;或按平均额计算交易费。In order to prevent the loss of subway operation, the user Ding Ruowei completes the transaction data at the preset second time, calculates the transaction fee according to the preset rules, and sends a deduction application and prohibition of generating a ride code to the client. The preset rule may be to calculate the transaction fee according to the maximum amount; or calculate the transaction fee according to the minimum amount; or calculate the transaction fee according to the average amount.

本发明实施例提出的地铁乘车码支付数据处理方法,在数据处理设备处完成计费,克服了在设备侧计费兼容性差的问题,提高了计费成功率,提升了用户的使用体验;并且本发明对预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对,融对成功即计费,即便融对失败,也可根据用户补全的交易数据进行扣费,克服了现有技术中将用户未计费的行程直接按最远行程、最长时间计费的情况,保证产生的行程数据的准确性,减少了多扣交易费招致的用户投诉和少计交易费导致的地铁运营方收入损失。另外,用户可以在客户端直接补全交易数据,无需去客服中心人工解决,补票操作更加方便。若融对失败且在预设第二时间段未收到客户端发送补全交易数据,则按预设规则计算交易费,并向客户端发送扣费申请及禁止生成乘车码指令,不仅弥补了地铁运营商收入,还能通过禁止通行再次提醒用户补全交易数据。The method for processing subway pass code payment data proposed by the embodiment of the present invention completes the billing at the data processing equipment, overcomes the problem of poor billing compatibility on the equipment side, improves the billing success rate, and improves the user experience; In addition, the present invention performs transaction fusion for the inbound transaction data and outbound transaction data corresponding to the same user ID in the preset first time period according to preset rules. All transaction data is deducted, which overcomes the situation in the prior art that the user’s unbilled itinerary is directly charged according to the farthest itinerary and the longest time, ensures the accuracy of the generated itinerary data, and reduces the over-deduction of transaction fees. The resulting user complaints and understated transaction fees resulted in a loss of revenue for the subway operator. In addition, users can directly complete the transaction data on the client side, without the need to go to the customer service center to solve the problem manually, making the ticket replenishment operation more convenient. If the pairing fails and the completed transaction data is not received from the client within the preset second time period, the transaction fee will be calculated according to the preset rules, and the application for deduction and the prohibition of generating a ride code will be sent to the client. The revenue of subway operators can be increased, and users can also be reminded to complete transaction data by prohibiting traffic.

实施例二Embodiment 2

与实施例一相比,在另一些实施例中,可能存在出现网络故障的问题,比如表4中缺少用户丙在E站点的进站交易数据,此时与丙相关的交易数据如表6所示。Compared with Embodiment 1, in other embodiments, there may be a problem of network failure, such as the lack of inbound transaction data of user C at site E in Table 4, and the transaction data related to C is shown in Table 6. Show.

用户IDUser ID C C C 进出站类型Inbound and outbound type Enter out out 扫码时间Scan time 8:428:42 8:558:55 10:3010:30 站点site BB CC AA

表6Table 6

系统并不知道存在网络状态,仍然按照步骤S2执行,由于缺少与出站点A对应的进站交易数据,因此会按照单边交易规则挂起并向客户端发送补全交易数据指令。若用户丙补全了进站交易数据待融对时,网络又恢复了,用户丙在E站点的进站交易数据进入到系统,此时用户丙的交易数据恢复为表4,仍然选择从闸机上传的E站点的进站交易数进行融对,得到融对结果:站点E(进)-站点A(出)。可以理解的,若用户丙诚信,则用户丙自主补全的交易数据应该与从闸机上传的交易数据一致,若用户丙不诚信,则此方法能避免地铁运营商的损失。The system does not know that there is a network state, and still executes according to step S2. Since the inbound transaction data corresponding to the outbound station A is lacking, it will suspend according to the unilateral transaction rules and send a complete transaction data instruction to the client. If user C completes the inbound transaction data to be merged, the network is restored, and user C's inbound transaction data at site E enters the system. At this time, user C's transaction data is restored to Table 4, and still selects the slave gate. The number of inbound transactions of site E uploaded by the computer is fused, and the fusion result is obtained: site E (in) - site A (out). It is understandable that if user C is honest, the transaction data that user C self-completes should be consistent with the transaction data uploaded from the turnstile. If user C is dishonest, this method can avoid the loss of the subway operator.

实施例三Embodiment 3

本实施例提出了一种地铁乘车码支付数据处理装置,如图2所示,包括数据接收模块101、融对计费模块102,其中:This embodiment proposes a data processing device for subway boarding code payment, as shown in FIG. 2 , including a data receiving module 101 and a financial accounting module 102, wherein:

数据接收模块101,用于接收从闸机采集并上传的交易数据,交易数据包括用户ID、进站交易数据和出站交易数据。The data receiving module 101 is used for receiving transaction data collected and uploaded from the turnstile, and the transaction data includes user ID, inbound transaction data and outbound transaction data.

在本实施例中,数据接收模块101接收的交易数据包括乘车码信息(包括用户ID、扫码时间等)及闸机信息(闸机ID、闸机所在站点信息、闸机进出站类型等),将进出站类型为进站、该闸机所在站点信息、扫码时间合称为进站交易数据,将进出站类型为出站、该闸机所在站点信息、扫码时间合称为出站交易数据数据。In this embodiment, the transaction data received by the data receiving module 101 includes boarding code information (including user ID, code scanning time, etc.) and gate information (gate ID, site information of the gate, entry and exit type of the gate, etc.) ), the inbound and outbound type is inbound, the site information of the gate, and the scan code time are collectively referred to as inbound transaction data, and the inbound and outbound type is outbound, the site information of the gate, and the scan code time are collectively referred to as outbound Station transaction data data.

融对计费模块102,对预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对,若融对成功,则计算交易费后向客户端提出扣费申请;若融对失败,则按照单边交易规则挂起并向客户端发送补全交易数据指令;若预设第二时间段未收到客户端发送补全交易数据,则按预设规则计算交易费,并向客户端发送扣费申请及禁止生成乘车码指令。The fusion charging module 102 performs transaction fusion for the inbound transaction data and the outbound transaction data corresponding to the same user ID in the preset first time period according to preset rules. If the fusion is successful, the transaction fee is calculated and sent to the client. Submit a fee deduction application; if the fusion fails, it will suspend according to the unilateral transaction rules and send a command to complete the transaction data to the client; Set up rules to calculate transaction fees, and send a deduction application and prohibition of generating a ride code to the client.

具体的,根据预设规则进行交易融对的方法包括:根据交易时间就近原则对出站交易数据和进站交易数据进行融对,或者同一用户ID对应的进站交易数据和出站交易数据分别仅有一条,则该进站交易数据和出站交易数据融对成功。Specifically, the method for performing transaction fusion and pairing according to preset rules includes: fusion and pairing of outbound transaction data and inbound transaction data according to the principle of proximity to transaction time, or inbound transaction data and outbound transaction data corresponding to the same user ID, respectively If there is only one, the inbound transaction data and the outbound transaction data are successfully merged.

在另一些实施例中,数据接收模块101还用于接收用户通过客服中心的半自动售票机或客户端上传的补全的交易数据,以供融对计费模块102继续融对。In other embodiments, the data receiving module 101 is further configured to receive the completed transaction data uploaded by the user through the semi-automatic ticket vending machine or the client terminal of the customer service center, so that the fusion charging module 102 can continue the fusion.

具体的,地铁乘车码支付数据处理装置的工作原理可以参考实施例一,在此不再赘述。Specifically, for the working principle of the apparatus for processing the payment data for subway boarding codes, reference may be made to Embodiment 1, which will not be repeated here.

本发明提出了一种地铁乘车码支付数据处理装置,数据接收模块101接收数据处理设备从闸机采集并上传的交易数据,融对计费模块102对预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对。本发明中,计费在地铁乘车码支付数据处理装置中完成,克服了在设备侧计费兼容性差的问题,提高了计费成功率,提升了用户的使用体验;并且本发明的融对计费模块102对预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对,融对成功即计费,即便融对失败,也可根据用户补全的交易数据进行扣费,若预设第二时间段未收到客户端发送补全交易数据,则按预设规则计算交易费,并向客户端发送扣费申请及禁止生成乘车码指令,克服了现有技术中将用户未计费的行程直接按最远行程、最长时间计费的情况,保证产生的行程数据的准确性,减少了多扣交易费招致的用户投诉和少计交易费导致的地铁运营方收入损失。另外,用户可以在客户端直接补全交易数据,无需去客服中心人工解决,补票操作更加方便。The present invention provides a data processing device for subway boarding code payment. The data receiving module 101 receives the transaction data collected and uploaded by the data processing equipment from the gate, and the fusion charging module 102 corresponds to the same user ID in the preset first time period. The inbound transaction data and the outbound transaction data are paired according to preset rules. In the present invention, the billing is completed in the data processing device for subway ride code payment, which overcomes the problem of poor billing compatibility on the device side, improves the billing success rate, and improves the user experience; The billing module 102 performs transaction fusion for the inbound transaction data and the outbound transaction data corresponding to the same user ID in the preset first time period according to preset rules. The completed transaction data will be deducted. If the completed transaction data is not received from the client within the preset second time period, the transaction fee will be calculated according to the preset rules, and a deduction application will be sent to the client and the generation of ride codes will be prohibited. The instruction overcomes the situation in the prior art that the user's unpaid itinerary is directly charged according to the farthest itinerary and the longest time, ensures the accuracy of the generated itinerary data, and reduces user complaints caused by over-deduction of transaction fees. Revenue loss of subway operators due to transaction fees. In addition, users can directly complete the transaction data on the client side, without the need to go to the customer service center to solve the problem manually, making the ticket replenishment operation more convenient.

实施例四Embodiment 4

本实施例提出了一种电子设备,如图3所示,包括存储器21,以及耦合到存储器21的处理器22,处理器22被配置为基于存储在存储器21中的指令,执行实施例一中的地铁乘车码支付数据处理方法。由于具体步骤在实施例一中已详细说明,在此不再赘述。该电子设备可以是移动设备、PC、服务器等。This embodiment proposes an electronic device, as shown in FIG. 3 , including a memory 21 and a processor 22 coupled to the memory 21 , and the processor 22 is configured to execute the first embodiment based on the instructions stored in the memory 21 . The data processing method of subway ride code payment. Since the specific steps have been described in detail in the first embodiment, they will not be repeated here. The electronic device may be a mobile device, a PC, a server, or the like.

实施例五Embodiment 5

本实施例提出了一种地铁乘车码支付数据处理系统,如图4所示,包括交互设备31、数据处理设备32,其中:This embodiment proposes a subway boarding code payment data processing system, as shown in FIG. 4 , including an interaction device 31 and a data processing device 32, wherein:

交互设备31,包括与数据处理设备32连接的闸机311、客户端312。The interactive device 31 includes a gate 311 and a client 312 connected to the data processing device 32 .

客户端312用于生成供闸机311识别的乘车码,接受来自数据处理设备32的扣费申请,还用于接收数据处理设备32发送的补全交易数据的提示。用户可以在客户端312直接补全交易数据,无需去客服中心人工解决,补票操作更加方便。The client terminal 312 is used for generating a boarding code for identification by the gate 311 , accepting a deduction application from the data processing device 32 , and also being used for receiving a prompt sent by the data processing device 32 to complete transaction data. The user can directly complete the transaction data in the client terminal 312, without having to go to the customer service center to solve it manually, and the operation of making up the ticket is more convenient.

闸机311,用于读取所述乘车码信息,生成交易数据并上传至数据处理设备32,交易数据包括用户ID、进站交易数据和出站交易数据。The gate 311 is used for reading the boarding code information, generating transaction data and uploading it to the data processing device 32. The transaction data includes user ID, inbound transaction data and outbound transaction data.

数据处理设备32,分别与闸机311、客户端312连接,用于接收来自闸机311、客户端312上传的交易数据,并将预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对,若融对成功,则计算交易费后向客户端312提出扣费申请;若融对失败,则按照单边交易规则挂起并向客户端312发送补全交易数据指令;若预设第二时间段未收到客户端312发送补全交易数据,则按预设规则计算交易费,并向客户端312发送扣费申请及禁止生成乘车码指令。The data processing device 32 is connected with the gate 311 and the client 312 respectively, and is used to receive the transaction data uploaded from the gate 311 and the client 312, and compare the inbound transaction data corresponding to the same user ID in the preset first time period with the transaction data. The outbound transaction data is fused according to the preset rules. If the fusion is successful, the transaction fee is calculated and a deduction application is made to the client 312; Send an instruction to complete the transaction data; if the client 312 does not receive the completed transaction data within the preset second time period, the transaction fee is calculated according to the preset rules, and a deduction application is sent to the client 312 and the generation of the ride code is prohibited instruction.

具体的,用户进出地铁站时在客户端321生成乘车码供闸机311读取,闸机将读取的乘车码信息(包括用户ID、扫码时间等)及闸机信息(闸机ID、闸机所在站点信息、闸机进出站类型等)一起作为交易数据打包上传给数据处理设备。Specifically, when a user enters or leaves a subway station, a ride code is generated on the client 321 for the gate 311 to read, and the gate will read the ride code information (including user ID, code scanning time, etc.) and gate information (gate ID, the site information of the gate, the entry and exit type of the gate, etc.) are packaged together as transaction data and uploaded to the data processing device.

数据处理设备32对接收的数据包按照用户ID进行分类,将预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对。在本实施例中,数据处理设备32将进出站类型为进站、该闸机所在站点信息、扫码时间合称为进站交易数据,将进出站类型为出站、该闸机所在站点信息、扫码时间合称为出站交易数据。融对的方法包括:根据交易时间就近原则对出站交易数据和进站交易数据进行融对,或者同一用户ID对应的进站交易数据和出站交易数据分别仅有一条,则该进站交易数据和出站交易数据融对成功等。若融对成功,则计算交易费后向客户端312提出扣费申请。若融对失败,则按照单边交易规则挂起并向客户端312发送补全交易数据指令。The data processing device 32 classifies the received data packets according to the user ID, and performs transaction fusion between the inbound transaction data and the outbound transaction data corresponding to the same user ID in the preset first time period according to preset rules. In this embodiment, the data processing device 32 refers to the inbound and outbound type as inbound, the information of the site where the gate is located, and the scanning time as the inbound transaction data, and the inbound and outbound type as outbound, the site information of the gate. and scan time are collectively referred to as outbound transaction data. The method of fusion includes: fusion of outbound transaction data and inbound transaction data according to the principle of proximity to transaction time, or if there is only one inbound transaction data and outbound transaction data corresponding to the same user ID, then the inbound transaction Data and outbound transaction data were successfully merged, etc. If the fusion is successful, the transaction fee is calculated and an application for deduction is made to the client 312 . If the pairing fails, it will suspend according to the unilateral transaction rule and send a complete transaction data instruction to the client 312 .

用户在客户端312收到补全交易数据的提示后,可以直接在客户端补全进站点、出站点等相关数据并发给数据处理设备32继续进行融对操作。用户在客户端312直接补全交易数据,无需去客服中心人工解决,补票操作更加方便。After the user receives the prompt of completing transaction data at the client terminal 312 , the user can directly complete the relevant data such as entry and exit at the client terminal and send it to the data processing device 32 to continue the fusion operation. The user can directly complete the transaction data on the client terminal 312, without having to go to the customer service center to solve it manually, and the operation of making up the ticket is more convenient.

为了防止地铁运营的损失,用户若收到补全交易数据的提示后未补全信息,可暂停用户交易请求,数据处理设备32可以通知用户的客户端312禁止生成乘车码或通知闸机311禁止开闸。In order to prevent the loss of subway operation, if the user does not complete the information after receiving the prompt to complete the transaction data, the user can suspend the user's transaction request, and the data processing device 32 can notify the user's client 312 to prohibit the generation of the ride code or notify the gate 311 Opening the gate is prohibited.

在另一些实施例中,交互设备31还包括与数据处理设备32连接的设置于客服中心的半自动售票机313。当用户收到补全交易数据的提示后用户可以在半自动售票机313上补全交易数据,半自动售票机313会将补全的交易数据上传至数据处理设备32。In other embodiments, the interaction device 31 further includes a semi-automatic ticket vending machine 313 connected to the data processing device 32 and provided in the customer service center. After the user receives the prompt to complete the transaction data, the user can complete the transaction data on the semi-automatic ticket vending machine 313 , and the semi-automatic ticket vending machine 313 will upload the completed transaction data to the data processing device 32 .

关于本实施例提出的地铁乘车码支付数据处理系统更详细的工作原理可以参考实施例一,在此不再赘述。For a more detailed working principle of the subway pass code payment data processing system proposed in this embodiment, reference may be made to Embodiment 1, which will not be repeated here.

本发明提出的地铁乘车码支付数据处理系统,包括交互设备31、数据处理设备32,出站交易上传至数据处理设备32后,数据处理设备32将对预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对,融对成功后,计算交易费用并向客户端312发起扣费申请;未能成功融对时,则按照单边交易规则挂起并将向乘客的客户端312推送行程补全的提示;若预设第二时间段未收到客户端发送补全交易数据,则按预设规则计算交易费,并向客户端发送扣费申请及禁止生成乘车码指令。本发明的计费是在数据处理设备32完成,克服了在设备侧计费兼容性差的问题,提高了计费成功率,提升了用户的使用体验;并且本发明的数据处理设备32对预设第一时间段同一用户ID对应的进站交易数据与出站交易数据根据预设规则进行交易融对,融对成功即计费,即便融对失败,也可根据用户补全的交易数据进行扣费,若预设第二时间段未收到客户端发送补全交易数据,则按预设规则计算交易费,并向客户端发送扣费申请及禁止生成乘车码指令,克服了现有技术中将用户未计费的行程直接按最远行程、最长时间计费的情况,保证产生的行程数据的准确性,减少了多扣交易费招致的用户投诉和少计交易费导致的地铁运营方收入损失。另外,用户可以在客户端直接补全交易数据,无需去客服中心人工解决,补票操作更加方便。The subway ride code payment data processing system proposed by the present invention includes an interaction device 31 and a data processing device 32. After the outbound transaction is uploaded to the data processing device 32, the data processing device 32 will correspond to the same user ID in the preset first time period. The inbound transaction data and the outbound transaction data are merged according to the preset rules. After the fusion is successful, the transaction fee is calculated and a deduction application is initiated to the client 312; if the fusion is unsuccessful, the unilateral transaction rules are used. It will be suspended and will push a notification of itinerary completion to the passenger's client 312; if the client does not receive the completion transaction data sent by the client within the preset second time period, the transaction fee will be calculated according to the preset rules, and a deduction will be sent to the client. Fee application and prohibition of generating ride code instructions. The charging of the present invention is completed in the data processing device 32, which overcomes the problem of poor charging compatibility on the device side, improves the charging success rate, and improves the user experience; The inbound transaction data and outbound transaction data corresponding to the same user ID in the first time period are fused according to the preset rules. If the fusion is successful, it will be billed. Even if the fusion fails, it can be deducted according to the transaction data completed by the user. If the completion transaction data sent by the client is not received in the preset second time period, the transaction fee is calculated according to the preset rules, and the application for deduction and the instruction for prohibiting the generation of the ride code are sent to the client, which overcomes the problem of the prior art. In the case where the user's unpaid trips are directly charged according to the farthest trip and the longest time, the accuracy of the generated trip data is guaranteed, and the user complaints caused by the over-deduction of transaction fees and the subway operation caused by the under-account of transaction fees are reduced. loss of revenue. In addition, users can directly complete the transaction data on the client side, without the need to go to the customer service center to solve the problem manually, making the ticket replenishment operation more convenient.

在上述的详细描述中,各种特征一起组合在单个的实施方案中,以简化本公开。不应该将这种公开方法解释为反映了这样的意图,即,所要求保护的主题的实施方案需要清楚地在每个权利要求中所陈述的特征更多的特征。相反,如所附的权利要求书所反映的那样,本发明处于比所公开的单个实施方案的全部特征少的状态。因此,所附的权利要求书特此清楚地被并入详细描述中,其中每项权利要求独自作为本发明单独的优选实施方案。In the foregoing Detailed Description, various features are grouped together in a single embodiment for the purpose of simplifying the disclosure. This method of disclosure should not be construed as reflecting an intention that embodiments of the claimed subject matter require more features than are expressly recited in each claim. Rather, as the following claims reflect, present invention lies in less than all features of a single disclosed embodiment. Thus, the following claims are hereby expressly incorporated into the Detailed Description, with each claim standing on its own as a separate preferred embodiment of this invention.

上文的描述包括一个或多个实施例的举例。当然,为了描述上述实施例而描述部件或方法的所有可能的结合是不可能的,但是本领域普通技术人员应该认识到,各个实施例可以做进一步的组合和排列。因此,本文中描述的实施例旨在涵盖落入所附权利要求书的保护范围内的所有这样的改变、修改和变型。此外,就说明书或权利要求书中使用的术语“包含”,该词的涵盖方式类似于术语“包括”,就如同“包括,”在权利要求中用作衔接词所解释的那样。此外,使用在权利要求书的说明书中的任何一个术语“或者”是要表示“非排它性的或者”。The above description includes examples of one or more embodiments. Of course, it is not possible to describe all possible combinations of components or methods in order to describe the above embodiments, but one of ordinary skill in the art will recognize that further combinations and permutations of the various embodiments are possible. Accordingly, the embodiments described herein are intended to cover all such changes, modifications and variations that fall within the scope of the appended claims. Furthermore, with respect to the term "comprising," as used in the specification or claims, the word is encompassed in a manner similar to the term "comprising," as if "comprising," were construed as a conjunction in the claims. Furthermore, any use of the term "or" in the specification of the claims is intended to mean a "non-exclusive or."

Claims (10)

1. A subway riding code payment data processing method is characterized by comprising the following steps:
receiving transaction data uploaded by a gate, wherein the transaction data comprises a user ID, inbound transaction data and outbound transaction data;
performing transaction fusion on inbound transaction data and outbound transaction data corresponding to the same user ID in a preset first time period according to a preset rule, and if the fusion is successful, calculating transaction fees and then applying for deduction to a client; if the fusion pair fails, suspending according to a unilateral transaction rule and sending a completion transaction data instruction to the client; if the second preset time period does not receive the completion transaction data sent by the client, the transaction fee is calculated according to the preset rule, and a fee deduction application and a bus code generation prohibition instruction are sent to the client.
2. The subway bus stop payment data processing method according to claim 1, wherein the performing transaction fusion on the inbound transaction data and the outbound transaction data corresponding to the same user ID in the preset first time period according to the preset rule comprises: merging the outbound transaction data and the inbound transaction data according to the transaction time and proximity principle.
3. The subway bus stop payment data processing method according to claim 1, wherein the performing transaction fusion on the inbound transaction data and the outbound transaction data corresponding to the same user ID in the preset first time period according to the preset rule comprises: and if only one inbound transaction data and only one outbound transaction data corresponding to the same user ID are provided, the inbound transaction data and the outbound transaction data are successfully merged.
4. The subway bus stop payment data processing method of claim 1, wherein if the merge fails, suspending and sending a completion transaction data command to the client according to a unilateral transaction rule further comprises: and after the user submits the completion transaction data, performing transaction fusion according to a preset rule.
5. A subway ride code payment data processing method according to claim 4, wherein the transaction merging is performed on inbound transaction data and outbound transaction data corresponding to the same user ID in a preset first time period according to a preset rule, further comprising: and if the user completion transaction data and the transaction data uploaded by the gate are received before the integration, taking the transaction data uploaded by the gate as an integration basis.
6. An electronic device comprising a memory, and a processor coupled to the memory, the processor configured to perform any of the subway ride code payment data processing methods of claims 1-5 based on instructions stored in the memory.
7. The utility model provides a subway is by bus sign indicating number payment data processing apparatus which characterized in that, includes data receiving module, melts to the charging module, wherein:
the data receiving module is used for receiving transaction data uploaded by the gate, wherein the transaction data comprises a user ID, inbound transaction data and outbound transaction data;
the system comprises a pair-merging charging module, a client side and a payment processing module, wherein the pair-merging charging module is used for performing transaction merging on inbound transaction data and outbound transaction data corresponding to the same user ID in a preset first time period according to a preset rule, and if the merging is successful, the client side provides a fee deduction application after calculating transaction fee; if the fusion pair fails, suspending according to a unilateral transaction rule and sending a completion transaction data instruction to the client; if the second preset time period does not receive the completion transaction data sent by the client, the transaction fee is calculated according to the preset rule, and a fee deduction application and a bus code generation prohibition instruction are sent to the client.
8. The subway riding code payment data processing system is characterized by comprising interaction equipment and data processing equipment, wherein:
the interactive equipment comprises a gate and a client which are connected with the data processing equipment; the client is used for generating a bus code for the gate to recognize, receiving a fee deduction application from the data processing equipment and receiving a prompt of completion transaction data sent by the data processing equipment; the gate reads the bus code information, generates transaction data and uploads the transaction data to data processing equipment, wherein the transaction data comprises a user ID, inbound transaction data and outbound transaction data;
the data processing equipment is respectively connected with the gate and the client and is used for receiving the transaction data uploaded by the gate and the client, carrying out transaction fusion on the inbound transaction data and the outbound transaction data corresponding to the same user ID in a preset time period according to a preset rule, and if the fusion is successful, calculating the transaction fee and then applying for deduction to the client; if the fusion pair fails, suspending according to a unilateral transaction rule and sending a completion transaction data instruction to the client; if the second preset time period does not receive the completion transaction data sent by the client, the transaction fee is calculated according to the preset rule, and a fee deduction application and a bus code generation prohibition instruction are sent to the client.
9. A subway ride code payment data processing system as claimed in claim 8, wherein said interactive device further comprises a semi-automatic ticket vending machine connected to the data processing device for receiving user's completed transaction data and uploading to the data processing device.
10. A subway ride code payment data processing system as claimed in claim 8, wherein said client is further configured to receive user's completed transaction data and upload it to data processing equipment.
CN202010177041.3A 2020-03-13 2020-03-13 Subway bus code payment data processing method, device and system and electronic equipment Pending CN111932229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010177041.3A CN111932229A (en) 2020-03-13 2020-03-13 Subway bus code payment data processing method, device and system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010177041.3A CN111932229A (en) 2020-03-13 2020-03-13 Subway bus code payment data processing method, device and system and electronic equipment

Publications (1)

Publication Number Publication Date
CN111932229A true CN111932229A (en) 2020-11-13

Family

ID=73316335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010177041.3A Pending CN111932229A (en) 2020-03-13 2020-03-13 Subway bus code payment data processing method, device and system and electronic equipment

Country Status (1)

Country Link
CN (1) CN111932229A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114912882A (en) * 2021-02-09 2022-08-16 武汉小码联城科技有限公司 Subway information generation method, subway information acquisition method and related electronic equipment
CN115862201A (en) * 2023-02-01 2023-03-28 深圳市深圳通有限公司 Exception record processing method, device, equipment and computer readable storage medium
CN117974128A (en) * 2024-03-29 2024-05-03 成都智元汇信息技术股份有限公司 A reconciliation method based on active supplementary registration of subway
CN118014572A (en) * 2024-03-28 2024-05-10 宁波地铁产业工程有限公司 Subway gate outbound settlement system and method, electronic equipment and storage medium

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102176251A (en) * 2011-04-08 2011-09-07 南京工程学院 Self-service ticket error correcting device in AFC (automatic fare collection) system for subway and use method thereof
CN102945540A (en) * 2012-09-25 2013-02-27 高新现代智能系统股份有限公司 Clearing method for transactions in rail traffics
CN102968858A (en) * 2012-11-14 2013-03-13 高新现代智能系统股份有限公司 Transaction data backup method and transaction terminal in automatic fare collection system
CN104363199A (en) * 2014-09-30 2015-02-18 熊文俊 Security authentication method based on time synchronization codes and time synchronization code module
CN106296293A (en) * 2016-08-16 2017-01-04 成都仁通融合信息技术有限公司 A kind of ride method based on stored value card subway
CN106971300A (en) * 2017-04-17 2017-07-21 王双梅 Subway station riding fee Self-service payment system and its method
CN107038562A (en) * 2017-03-13 2017-08-11 阿里巴巴集团控股有限公司 Method of payment, charge system and the payment system of traffic block meter rate
CN107633395A (en) * 2017-09-29 2018-01-26 广州佳都数据服务有限公司 Track traffic post-paid fee payment method and system
CN109064165A (en) * 2018-07-04 2018-12-21 林蓉蓉 A kind of logical card transaction automatic inspection benefit transmission method in the city for subway
CN110458577A (en) * 2018-05-08 2019-11-15 北京京投亿雅捷交通科技有限公司 A kind of subway trip post-billing mode sorting auditing method and system
CN110569988A (en) * 2019-04-18 2019-12-13 武汉小码联城科技有限公司 system and method for processing faults of payment machine
CN110634191A (en) * 2018-06-22 2019-12-31 腾讯科技(深圳)有限公司 Authentication method, apparatus, medium, and device
CN110633975A (en) * 2018-06-22 2019-12-31 腾讯科技(深圳)有限公司 Travel control system, method and device in public transport and traffic payment method
CN110659705A (en) * 2019-10-10 2020-01-07 成都智元汇信息技术股份有限公司 Subway taking system and method based on two-dimensional code and face image intercommunication
CN110675139A (en) * 2019-10-10 2020-01-10 成都智元汇信息技术股份有限公司 Subway riding fee deduction method based on 5G small base station positioning
CN111291282A (en) * 2020-05-09 2020-06-16 支付宝(杭州)信息技术有限公司 Method, device and electronic device for recommending ride-on check-in site
CN112530028A (en) * 2019-09-02 2021-03-19 比亚迪股份有限公司 Ticket selling and checking processing method, system server and storage medium
CN114067489A (en) * 2021-10-29 2022-02-18 联想(北京)有限公司 Data processing method and device

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102176251A (en) * 2011-04-08 2011-09-07 南京工程学院 Self-service ticket error correcting device in AFC (automatic fare collection) system for subway and use method thereof
CN102945540A (en) * 2012-09-25 2013-02-27 高新现代智能系统股份有限公司 Clearing method for transactions in rail traffics
CN102968858A (en) * 2012-11-14 2013-03-13 高新现代智能系统股份有限公司 Transaction data backup method and transaction terminal in automatic fare collection system
CN104363199A (en) * 2014-09-30 2015-02-18 熊文俊 Security authentication method based on time synchronization codes and time synchronization code module
CN106296293A (en) * 2016-08-16 2017-01-04 成都仁通融合信息技术有限公司 A kind of ride method based on stored value card subway
CN107038562A (en) * 2017-03-13 2017-08-11 阿里巴巴集团控股有限公司 Method of payment, charge system and the payment system of traffic block meter rate
CN106971300A (en) * 2017-04-17 2017-07-21 王双梅 Subway station riding fee Self-service payment system and its method
CN107633395A (en) * 2017-09-29 2018-01-26 广州佳都数据服务有限公司 Track traffic post-paid fee payment method and system
CN110458577A (en) * 2018-05-08 2019-11-15 北京京投亿雅捷交通科技有限公司 A kind of subway trip post-billing mode sorting auditing method and system
CN110633975A (en) * 2018-06-22 2019-12-31 腾讯科技(深圳)有限公司 Travel control system, method and device in public transport and traffic payment method
CN110634191A (en) * 2018-06-22 2019-12-31 腾讯科技(深圳)有限公司 Authentication method, apparatus, medium, and device
CN109064165A (en) * 2018-07-04 2018-12-21 林蓉蓉 A kind of logical card transaction automatic inspection benefit transmission method in the city for subway
CN110569988A (en) * 2019-04-18 2019-12-13 武汉小码联城科技有限公司 system and method for processing faults of payment machine
CN112530028A (en) * 2019-09-02 2021-03-19 比亚迪股份有限公司 Ticket selling and checking processing method, system server and storage medium
CN110659705A (en) * 2019-10-10 2020-01-07 成都智元汇信息技术股份有限公司 Subway taking system and method based on two-dimensional code and face image intercommunication
CN110675139A (en) * 2019-10-10 2020-01-10 成都智元汇信息技术股份有限公司 Subway riding fee deduction method based on 5G small base station positioning
CN111291282A (en) * 2020-05-09 2020-06-16 支付宝(杭州)信息技术有限公司 Method, device and electronic device for recommending ride-on check-in site
CN114067489A (en) * 2021-10-29 2022-02-18 联想(北京)有限公司 Data processing method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114912882A (en) * 2021-02-09 2022-08-16 武汉小码联城科技有限公司 Subway information generation method, subway information acquisition method and related electronic equipment
CN115862201A (en) * 2023-02-01 2023-03-28 深圳市深圳通有限公司 Exception record processing method, device, equipment and computer readable storage medium
CN115862201B (en) * 2023-02-01 2024-05-28 深圳市深圳通有限公司 Abnormal record processing method, device, equipment and computer readable storage medium
CN118014572A (en) * 2024-03-28 2024-05-10 宁波地铁产业工程有限公司 Subway gate outbound settlement system and method, electronic equipment and storage medium
CN117974128A (en) * 2024-03-29 2024-05-03 成都智元汇信息技术股份有限公司 A reconciliation method based on active supplementary registration of subway

Similar Documents

Publication Publication Date Title
CN111932229A (en) Subway bus code payment data processing method, device and system and electronic equipment
JP6534008B2 (en) Parking lot management method, parking lot management server and parking lot management system
CN107833297A (en) A kind of parking based on public cloud is noninductive fare payment system
CN107730611A (en) Method and device for online docking discounts in parking lot
CN108806001B (en) License plate-based online payment method, mobile terminal and cloud server
CN107301750B (en) Method and device for obtaining electronic invoice for parking lot
CN115661952A (en) Parking fee payment method, payment machine and computer readable storage medium
CN105225274A (en) Self-service ticket and ticket checking method and system
CN111862353B (en) Information processing method, device, equipment, medium and gate system
CN107730606B (en) Parking charging system and method
CN108665562A (en) Hotel parking lot control method, system and computer-readable storage medium
CN106530423A (en) Method for paying parking fee, and server
CN111292433A (en) Charging method, terminal device and storage medium
CN107423959A (en) A kind of sending and receiving list and payment services expense operation system paid without fixed order
CN116486499A (en) Expressway vehicle pre-charging system, method and readable storage medium
CN106504346A (en) Sell ticket checking method and system
CN110458967A (en) Parking fee collective system method, server, enters and leaves jaws equipment and user terminal at system
KR20200113649A (en) Method and system for processing public transportation fare using qr ticket
US20210150824A1 (en) A method of collecting travel fares in a transport system
CN113724409A (en) Ticket change method and device
WO2024022544A1 (en) Travel method and apparatus fusing multiple systems
CN108182614A (en) Obtain the method, apparatus and storage medium of electronic invoice
CN112258174A (en) Payment method and related equipment
KR20190134900A (en) System and method for payment of car service using car number recognition
CN113222580A (en) Accounting processing method and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201113