WO2018072206A1 - Method and device for transport payment - Google Patents

Method and device for transport payment Download PDF

Info

Publication number
WO2018072206A1
WO2018072206A1 PCT/CN2016/102930 CN2016102930W WO2018072206A1 WO 2018072206 A1 WO2018072206 A1 WO 2018072206A1 CN 2016102930 W CN2016102930 W CN 2016102930W WO 2018072206 A1 WO2018072206 A1 WO 2018072206A1
Authority
WO
WIPO (PCT)
Prior art keywords
authentication
inbound
charging device
charging
outbound
Prior art date
Application number
PCT/CN2016/102930
Other languages
French (fr)
Chinese (zh)
Inventor
李国庆
常新苗
赵晓娜
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201680065985.3A priority Critical patent/CN108352863B/en
Priority to PCT/CN2016/102930 priority patent/WO2018072206A1/en
Publication of WO2018072206A1 publication Critical patent/WO2018072206A1/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F7/00Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
    • G07F7/08Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
    • G07F7/10Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means together with a coded signal, e.g. in the form of personal identification information, like personal identification number [PIN] or biometric data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive loop type

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

A method and a device for transport payment, used for enabling two or more people to enter and exit a station using the same traffic card. The method comprises: a terminal having an NFC function determines the number N of people needing to implement transport payment this time, executes M station entrance authentications with a first charging device, and generates M charging data records; each time a station entrance authentication is triggered, the terminal sends to the first charging device pre-stored information indicating normal transport payment function, receives a first response message returned by the first charging device and, on the basis of station entrance-related information contained in the first response message, generates a charging data record; the terminal implements M station exit authentications with a second charging device; each time a station exit authentication is triggered, the terminal selects a charging data record from the M charging data records according to a set order and sends same to the second charging device, receives a second response message sent by the second charging device and, on the basis of a transaction amount contained in the second response message, executes a transaction permission process.

Description

一种交通支付方法及设备Traffic payment method and device 技术领域Technical field
本申请涉及近场通信(英文:Near Field Communication,缩写:NFC)领域,特别涉及一种交通支付方法及设备。The present application relates to the field of near field communication (English: Near Field Communication, abbreviation: NFC), and particularly relates to a method and device for payment of traffic.
背景技术Background technique
近场通信NFC是一种利用电磁感应实现电子设备间的短距离通信的无线连接技术,NFC的工作模式包括卡模拟模式(英文:Card Emulation,缩写:CE)等。随着NFC技术的普及,具备NFC功能的终端(可简称为NFC终端)数量越来越多,NFC终端工作在卡模拟模式下,模拟交通卡、金融非接触式集成电路(英文:Integrated Circuit,缩写:IC)卡成为了NFC终端应用于支付的重要应用场景。用户可使用NFC终端模拟交通卡乘坐公交,或使用NFC终端模拟金融IC卡,购物时使用手机与非接触POS机结账。Near Field Communication NFC is a wireless connection technology that uses electromagnetic induction to realize short-range communication between electronic devices. The working mode of NFC includes card simulation mode (English: Card Emulation, abbreviation: CE). With the popularization of NFC technology, the number of NFC-enabled terminals (referred to as NFC terminals) is increasing. NFC terminals work in card emulation mode, simulating traffic cards and financial contactless integrated circuits (English: Integrated Circuit, Abbreviation: IC) card has become an important application scenario for NFC terminals to be used for payment. Users can use the NFC terminal to simulate a transportation card to take the bus, or use the NFC terminal to simulate a financial IC card, and use the mobile phone to checkout with a non-contact POS machine.
以NFC终端模拟交通卡为例,针对分段收费制公共交通系统(如地铁),比较常见的模拟交通卡应用支付方法为进出站各刷一次卡。具体实现为:Taking the NFC terminal simulation traffic card as an example, for the segmented toll system public transportation system (such as the subway), the more common analog transportation card application payment method is to brush the card once and for all. The specific implementation is:
用户刷模拟交通卡进站时,非接触读卡器(例如闸机)选择模拟交通卡中的交通卡应用,读取模拟交通卡中的地铁应用数据文件,具体地,非接触读卡器发送READ CAPP DATA指令,并接收模拟交通卡返回的应答信息。非接触读卡器根据该地铁应用数据文件中记录的数据,判断上次交易是否成功,若交易成功,则向模拟交通卡发送包含交易金额为0的获取处理选项(英文:Get Processing Option,缩写:GPO)指令。之后,非接触读卡器利用写应用数据文件指令向地铁应用数据文件中写入进站信息,更新地铁收费专用数据记录,填写城市代码、运营企业代码、记录格式版本号、交易标志、进收费区交易时间、进收费区交易线路代码、进收费区交易站点代码、进收费区交易闸机代码、进收费区交易序号和专用跟踪区域码(英文:Tracking Area Code,缩写:TAC)等字段,并预留收费区相关信息的写入位置。在完成上述操作 后进站闸机开闸,完成用户进站。When the user swipes the analog traffic card to the station, the contactless card reader (such as the gate) selects the traffic card application in the simulated traffic card, reads the subway application data file in the simulated traffic card, specifically, the contactless card reader sends READ CAPP DATA command and receive response message returned by the simulated traffic card. The contactless card reader determines whether the last transaction was successful according to the data recorded in the subway application data file, and if the transaction is successful, sends an acquisition processing option including a transaction amount of 0 to the simulated transportation card (English: Get Processing Option, abbreviation :GPO) instruction. After that, the contactless card reader writes the inbound information into the subway application data file by using the write application data file command, updates the subway charge special data record, fills in the city code, the operation enterprise code, the record format version number, the transaction flag, and the charge. Area trading time, toll area transaction line code, toll area transaction site code, toll area transaction gate code, toll area transaction serial number and dedicated tracking area code (English: Tracking Area Code, abbreviation: TAC), etc. And write the location of the information related to the charging area. After completing the above operation The rear station gate opens and the user enters the station.
出站时,非接触读卡器首先要读取模拟的交通卡中的地铁应用数据文件,根据该应用文件的数据记录,判断上次是否正常进入收费区;如果正常,则根据进站信息计算消费金额,并发送包含交易金额的交易命令GPO;之后,非接触读卡器向地铁应用数据文件中写入出站信息。具体的,非接触读卡器通过读应用数据文件(READ CAPP DATA)命令已经获得了一条进站记录,根据这个记录,更新地铁收费专用数据记录,填写出收费区交易时间、出收费区交易线路代码、出收费区交易站点代码、出收费区交易闸机代码、出收费区交易金额、出收费区交易序号、专用TAC等记录,并保留城市代码、运营企业代码、记录格式版本号、交易标志、进收费区交易时间、进收费区交易线路代码、进收费区交易站点代码、进收费区交易闸机代码、进收费区交易序号等字段记录原值,最后将记录写入模拟交通卡中,完成模拟交通卡侧计费以及用户出站。When exiting the station, the contactless card reader first reads the subway application data file in the simulated traffic card, and according to the data record of the application file, determines whether the charging area is normally entered in the last time; if it is normal, it calculates according to the inbound information. The amount is consumed and a transaction order GPO containing the transaction amount is sent; after that, the contactless reader writes outbound information to the subway application data file. Specifically, the contactless card reader has obtained an inbound record by reading the READ CAPP DATA command, and according to the record, the subway charge special data record is updated, and the toll area transaction time and the toll area transaction line are filled out. Code, transaction area code of the toll area, code of the transaction area of the toll area, transaction amount of the toll area, transaction number of the toll area, special TAC, etc., and retain the city code, operation enterprise code, record format version number, transaction mark Enter the original value in the fields of the toll area transaction time, the toll area transaction line code, the toll area transaction site code, the toll area transaction gate code, the toll area transaction serial number, etc., and finally record the record in the simulated transportation card. Complete the simulation of traffic card side billing and user outbound.
在上述利用模拟交通卡应用实现交通付费的过程中,当至少两人一起乘坐分段收费制公交交通工具出行时,如果不能达到人手一张模拟交通卡,乘客需要长时间排队购卡、自备零钱买票,从而导致出行不便甚至无法乘车,用户体验性较差。In the above-mentioned process of using the simulated traffic card application to realize the transportation payment, when at least two people travel together on the segment-based toll system, if the passenger cannot reach a simulated traffic card, the passenger needs to queue up for a long time to purchase the card. Buying a ticket for change, resulting in inconvenient travel or even a ride, the user experience is poor.
发明内容Summary of the invention
本申请提供一种交通支付方法及设备,用以实现至少两个人能够使用一张交通卡进出站,方便用户出行。The application provides a transportation payment method and device for realizing at least two people to use a transportation card to enter and exit the station, which is convenient for the user to travel.
一方面,提供一种交通支付方法,应用于具备近场通信NFC功能的终端,该方法通过以下方式实现:终端通过改变交通卡侧的业务逻辑,在刷卡进站时,使用同样内容的信令应答计费设备,实现至少两次进站操作,在刷卡出站时,依次使用进站时生成的数据记录应答计费设备,实现至少两次出站操作。这样,就可以通过简单的终端侧业务逻辑的改变,实现一卡多刷,两人或两人以上可以使用同一交通卡(即终端模拟的交通卡)进出站。 In one aspect, a method for payment of traffic is provided for a terminal having a near field communication NFC function, the method being implemented by: the terminal changing the traffic logic on the side of the traffic card to use the same content signaling when the card is in the station The answering charging device realizes at least two inbound operations, and when the card is out of the station, the data recording response charging device generated at the time of inbound is sequentially used to realize at least two outbound operations. In this way, it is possible to realize one card and multiple brushes through simple terminal-side business logic changes, and two or more people can use the same traffic card (ie, the terminal simulated traffic card) to enter and exit the station.
在一个可能的设计中,终端通过以下方式实现交通支付方法:确定本次需要进行交通支付的人数N,N为大于1的自然数;所述终端与第一计费设备执行M次进站认证,生成M条计费数据记录,M为大于1且小于等于N的自然数;其中,每当所述终端置于所述第一计费设备的通信范围内时,触发一次所述进站认证,且在每次执行所述进站认证的过程中,所述终端将预先保存的指示交通支付功能正常的信息发送给所述第一计费设备,并接收所述第一计费设备返回的用于指示所述进站认证成功的第一应答消息,以及基于所述第一应答消息中包含的进站相关信息生成一条计费数据记录;所述终端与第二计费设备执行M次出站认证,其中,每当所述终端置于所述第二计费设备的通信范围内时,触发一次所述出站认证,且每执行一次所述出站认证,所述终端按照设定次序在所述M条计费数据记录中选取一条计费数据记录,将选取的一条计费数据记录发送给所述第二计费设备,并接收所述第二计费设备发送的用于指示所述出站认证成功的第二应答消息,以及根据所述第二应答消息中包含的交易金额执行许可交易过程。这样,可以不改动计费设备侧的业务逻辑,只通过比较简单的改动交通卡侧的业务逻辑,就可以使得至少两人使用同一张交通卡实现交通付费。In a possible design, the terminal implements a transportation payment method by determining the number N, N of the traffic payment that needs to be performed this time is a natural number greater than 1, and the terminal and the first charging device perform M-stop authentication, Generating M charging data records, where M is a natural number greater than 1 and less than or equal to N; wherein, when the terminal is placed in the communication range of the first charging device, the inbound authentication is triggered once, and In the process of performing the inbound authentication, the terminal sends the pre-stored information indicating that the traffic payment function is normal to the first charging device, and receives the information returned by the first charging device. a first response message indicating that the inbound authentication is successful, and generating a charging data record based on the inbound related information included in the first response message; the terminal and the second charging device performing M outbound authentication Wherein, each time the terminal is placed within the communication range of the second charging device, the outbound authentication is triggered once, and each time the outbound authentication is performed, the terminal is in a set order And selecting a billing data record in the M billing data records, and sending the selected one billing data record to the second billing device, and receiving the second billing device, A second response message indicating that the outbound authentication is successful, and performing a license transaction process based on the transaction amount included in the second response message. In this way, the service logic on the charging device side can be changed, and the traffic logic on the traffic card side can be changed by simply changing the business logic of the traffic card side, so that at least two people can use the same transportation card to realize the transportation payment.
在一个可能的设计中,所述终端在确定本次需要进行交通支付的人数N之后,启动计数器,所述计数器用于在所述终端每与所述第一计费设备执行一次所述进站认证或者每与所述第二计费设备执行一次所述出站认证时,记录或更新已通过的人数。这样,避免了实际进站人数超出了终端开始设置的进站人数N,造成交易出错。In a possible design, the terminal starts a counter after determining the number N of people who need to make a traffic payment, and the counter is used to perform the inbound every time the terminal and the first charging device perform the When the authentication or the outbound authentication is performed once with the second charging device, the number of people who have passed is recorded or updated. In this way, it is avoided that the actual number of inbounds exceeds the number of inbounds N set by the terminal, resulting in a transaction error.
在一个可能的设计中,所述终端在执行所述进站认证和所述出站认证的过程中,根据最新数据记录位置指示信息,确定向所述第一计费设备和所述第二计费设备发送的信息所在的位置;其中,所述终端与所述第一计费设备执行第一次至第(M-1)次所述进站认证时,在每一次完成所述进站认证后,保持所述最新数据记录位置指示信息所指示的位置为指示交通支付功能正常的信息所在的位置,并在执行完第M次所述进站认证后,将所述最新数据记 录位置指示信息所指示的位置更改为执行第一次所述进站认证时生成的计费数据记录所在位置;所述终端与所述第二计费设备执行第一次至第(M-1)次所述出站认证时,在每一次完成所述出站认证后,将所述最新数据记录位置指示信息所指示的位置分别对应的更改为执行第二次至第M次所述进站认证时生成的计费数据记录所在的位置。这样,可以从业务逻辑方面实现多人进站出站,简单易实现。In a possible design, the terminal determines, in the process of performing the inbound authentication and the outbound authentication, to the first charging device and the second meter according to the latest data recording location indication information. a location where the information sent by the fee device is located; wherein, when the terminal and the first charging device perform the first to the (M-1)th times of the inbound authentication, the inbound authentication is completed every time Thereafter, maintaining the location indicated by the latest data recording location indication information as a location indicating that the traffic payment function is normal, and after performing the Mth the inbound authentication, recording the latest data The location indicated by the recorded location indication information is changed to the location of the charging data record generated when the first inbound authentication is performed; the terminal and the second charging device perform the first to the first (M-1) When the outbound authentication is performed, each time the outbound authentication is completed, the positions indicated by the latest data recording location indication information are respectively changed to perform the second to the Mth times of the inbound station. The location of the billing data record generated during authentication. In this way, multi-person inbound and outbound can be realized from the aspect of business logic, which is simple and easy to implement.
在一个可能的设计中,所述终端在与所述第一计费设备执行第一次所述进站认证之前,将所述计数器的初始值设置为0;所述终端与所述第一计费设备在每次执行所述进站认证的过程中,在将保存的指示交通支付功能正常的信息发送给所述第一计费设备之前,判定所述计数器的计数值小于或等于(M-1);以及,在每一次完成所述进站认证后,将所述计数器的计数值加1;所述终端与所述第二计费设备在每次执行所述出站认证的过程中,在将选定的计费数据记录发送给所述第二计费设备之前,判定所述计数器的计数值小于或等于(2M-1);以及,在每一次完成所述出站认证后,将所述计数器的计数值加1。In a possible design, the terminal sets an initial value of the counter to 0 before executing the first time the inbound authentication with the first charging device; the terminal and the first meter The fee device determines that the counter value of the counter is less than or equal to (M-) before transmitting the saved information indicating that the traffic payment function is normal to the first charging device in each process of performing the inbound authentication. 1); and, after each completion of the inbound authentication, incrementing the count value of the counter; the terminal and the second charging device are in the process of performing the outbound authentication each time, Determining that the counter has a count value less than or equal to (2M-1) before transmitting the selected billing data record to the second billing device; and, after each completion of the outbound authentication, The counter value of the counter is incremented by one.
在一个可能的设计中,所述终端在接收所述第二计费设备发送的所述第二应答消息后,将所述第二应答消息中包含的出站相关信息保存在对应的计费数据记录中。In a possible design, after receiving the second response message sent by the second charging device, the terminal saves the outbound related information included in the second response message in the corresponding charging data. Recorded.
在一个可能的设计中,所述M条计费数据记录的每一条计费数据记录中包含的进站相关信息均相同。这样,可防止不同用户从不同站进站。In a possible design, the inbound related information included in each of the billing data records of the M billing data records is the same. This prevents different users from entering the station from different stations.
在一个可能的设计中,若M<N,则所述终端在执行第M次所述进站认证之后,若所述终端经过设定时间阈值后仍未执行第(M+1)次所述进站认证,则将本次需要进行交通支付的人数由N调整为M。In a possible design, if M<N, the terminal does not perform the (M+1)th time after the terminal passes the set time threshold after performing the Mth the inbound authentication. Inbound certification, the number of people who need to make transportation payments from this time is adjusted from N to M.
第二方面,提供一种交通支付设备,所述设备具备近场通信NFC功能,所述设备包括确定单元,用于确定本次需要进行交通支付的人数N,N为大于1的自然数;认证单元,用于与第一计费设备执行M次进站认证,生成M条计费数据记录,M为大于1且小于等于N的自然数;其中,每当所述设备 置于所述第一计费设备的通信范围内时,触发一次所述进站认证,且在每次执行所述进站认证的过程中,将预先保存的指示交通支付功能正常的信息发送给所述第一计费设备,并接收所述第一计费设备返回的用于指示所述进站认证成功的第一应答消息,以及基于所述第一应答消息中包含的进站相关信息生成一条计费数据记录;所述认证单元,还用于与第二计费设备执行M次出站认证,其中,每当所述设备置于所述第二计费设备的通信范围内时,触发一次所述出站认证,且每执行一次所述出站认证,按照设定次序在所述M条计费数据记录中选取一条计费数据记录,将选取的一条计费数据记录发送给所述第二计费设备,并接收所述第二计费设备发送的用于指示所述出站认证成功的第二应答消息,以及根据所述第二应答消息中包含的交易金额执行许可交易过程。这样,就可以通过简单的终端侧业务逻辑的改变,实现一卡多刷,两人或两人以上可以使用同一交通卡进出站。In a second aspect, a traffic payment device is provided, the device having a near field communication NFC function, the device comprising a determining unit, configured to determine the number N, N of the number of people who need to make a traffic payment, a natural number greater than 1, and an authentication unit For performing M times of inbound authentication with the first charging device, generating M charging data records, where M is a natural number greater than 1 and less than or equal to N; wherein, whenever the device When the communication range of the first charging device is placed, the inbound authentication is triggered once, and each time the execution of the inbound authentication is performed, information that is pre-stored indicating that the traffic payment function is normal is sent to Receiving, by the first charging device, a first response message that is returned by the first charging device to indicate that the inbound authentication is successful, and is generated based on the inbound related information included in the first response message. a billing data record; the authentication unit is further configured to perform M outbound authentication with the second billing device, where the device triggers whenever the device is placed in the communication range of the second billing device Performing the outbound authentication once, and each time the outbound authentication is performed, selecting one charging data record in the M charging data records according to a set order, and transmitting the selected one charging data record to the a second charging device, and receiving a second response message sent by the second charging device to indicate that the outbound authentication is successful, and performing a license transaction according to the transaction amount included in the second response message Cheng. In this way, it is possible to realize one card and multiple brushes through simple terminal-side business logic changes, and two or more people can use the same traffic card to enter and exit the station.
在一个可能的设计中,所述设备还包括计数单元,用于在所述确定单元确定本次需要进行交通支付的人数N之后,在所述认证单元每与所述第一计费设备执行一次所述进站认证或者每与所述第二计费设备执行一次所述出站认证时,记录或更新已通过的人数。这样,避免了实际进站人数超出了终端开始设置的进站人数N,造成交易出错。In a possible design, the device further includes a counting unit, configured to perform the first time with the first charging device at the authentication unit after the determining unit determines the number N of people who need to make a traffic payment this time. The inbound authentication or each time the outbound authentication is performed with the second charging device, the number of people who have passed is recorded or updated. In this way, it is avoided that the actual number of inbounds exceeds the number of inbounds N set by the terminal, resulting in a transaction error.
在一个可能的设计中,所述认证单元还用于在执行所述进站认证和所述出站认证的过程中,根据最新数据记录位置指示信息,确定向所述第一计费设备和所述第二计费设备发送的信息所在的位置;其中,所述认证单元与所述第一计费设备执行第一次至第(M-1)次所述进站认证时,在每一次完成所述进站认证后,保持所述最新数据记录位置指示信息所指示的位置为指示交通支付功能正常的信息所在的位置,并在执行完第M次所述进站认证后,将所述最新数据记录位置指示信息所指示的位置更改为执行第一次所述进站认证时生成的计费数据记录所在的位置;所述认证单元与所述第二计费设备执行第一次至第(M-1)次所述出站认证时,在每一次完成所述出站认证后,将所述最新数据记录位置指示信息所指示的位置分别对应的更改为执行第二次 至第M次所述进站认证时生成的计费数据记录所在的位置。这样,可以从业务逻辑方面实现多人进站出站,简单易实现。In a possible design, the authentication unit is further configured to determine, in the process of performing the inbound authentication and the outbound authentication, the first charging device and the location according to the latest data recording location indication information. a location where the information sent by the second charging device is located; wherein the authentication unit and the first charging device perform the first to the (M-1)th times of the inbound authentication, each time completing After the inbound authentication, the location indicated by the latest data record location indication information is maintained as a location indicating that the traffic payment function is normal, and the latest is performed after the Mth verification of the inbound authentication is performed. The location indicated by the data record location indication information is changed to the location where the charging data record generated when the first time the station authentication is performed; the authentication unit and the second charging device perform the first time to the first ( M-1) when the outbound authentication is performed, after each completion of the outbound authentication, the position indicated by the latest data recording position indication information is respectively changed to be executed for the second time. The location at which the billing data record generated at the Mth time of the inbound authentication is located. In this way, multi-person inbound and outbound can be realized from the aspect of business logic, which is simple and easy to implement.
在一个可能的设计中,所述计数单元在所述认证单元与所述第一计费设备执行第一次所述进站认证之前,将初始值设置为0;所述认证单元与所述第一计费设备在每次执行所述进站认证的过程中,在将保存的指示交通支付功能正常的信息发送给所述第一计费设备之前,判定所述计数器的计数值小于或等于(M-1);以及,在每一次完成所述进站认证后,将所述计数器的计数值加1;所述认证单元与所述第二计费设备在每次执行所述出站认证的过程中,在将选定的计费数据记录发送给所述第二计费设备之前,判定所述计数器的计数值小于或等于(2M-1);以及,在每一次完成所述出站认证后,将所述计数器的计数值加1。In a possible design, the counting unit sets an initial value to 0 before the authentication unit and the first charging device perform the first time of the inbound authentication; the authentication unit and the In a process of performing the inbound authentication, the charging device determines that the counter value of the counter is less than or equal to (the information before the saved information indicating that the traffic payment function is normal is sent to the first charging device) M-1); and, after each completion of the inbound authentication, incrementing the count value of the counter; the authentication unit and the second charging device perform the outbound authentication each time In the process, before sending the selected charging data record to the second charging device, determining that the counter value of the counter is less than or equal to (2M-1); and, completing the outbound authentication each time After that, the counter value of the counter is incremented by one.
在一个可能的设计中,所述认证单元还用于:在接收所述第二计费设备发送的所述第二应答消息后,将所述第二应答消息中包含的出站相关信息保存在对应的计费数据记录中。In a possible design, the authentication unit is further configured to: save the outbound related information included in the second response message after receiving the second response message sent by the second charging device Corresponding billing data record.
在一个可能的设计中,所述M条计费数据记录的每一条计费数据记录中包含的进站相关信息均相同。In a possible design, the inbound related information included in each of the billing data records of the M billing data records is the same.
在一个可能的设计中,若M<N,则所述认证单元还用于:在执行第M次所述进站认证之后,若经过设定时间阈值时仍未执行第(M+1)次所述进站认证,则将本次需要进行交通支付的人数由N调整为M。In a possible design, if M<N, the authentication unit is further configured to: after performing the Mth the inbound authentication, if the set time threshold is exceeded, the (M+1)th time is not executed. The inbound authentication adjusts the number of people who need to make transportation payment from N to M.
第三方面,提供一种终端,该终端具有实现上述第一方面和第一方面的任一种可能的设计中终端行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a third aspect, there is provided a terminal having a function of implementing terminal behavior in any of the possible aspects of the first aspect and the first aspect described above. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
在一个可能的设计中,终端的结构包括收发器、存储器和处理器,其中,所述存储器用于存储一组程序,所述处理器用于调用所述存储器存储的程序以执行如上述第一方面和第一方面的任一种可能的设计中所述的方法。In one possible design, the structure of the terminal comprises a transceiver, a memory and a processor, wherein the memory is for storing a set of programs, the processor is for calling the program stored by the memory to perform the first aspect as described above And the method described in any of the possible designs of the first aspect.
第四方面,提供了一种计算机存储介质,用于储存为上述方面所述的终 端所用的计算机软件指令,其包含用于执行上述方面所设计的程序。In a fourth aspect, a computer storage medium is provided for storing the final Computer software instructions for use, including programs designed to perform the above aspects.
附图说明DRAWINGS
图1为本申请实施例中系统架构示意图;1 is a schematic structural diagram of a system in an embodiment of the present application;
图2为本申请实施例中交通支付方法流程示意图;2 is a schematic flowchart of a method for payment of a transportation in an embodiment of the present application;
图3为本申请实施例中手机实现多人同时进站的流程示意图;FIG. 3 is a schematic flowchart of a mobile phone implementing multi-person simultaneous stationing in the embodiment of the present application; FIG.
图4为本申请实施例中进站认证的信令流程示意图;4 is a schematic diagram of a signaling flow of inbound authentication in an embodiment of the present application;
图5为本申请实施例中手机实现多人同时出站的流程示意图;FIG. 5 is a schematic flowchart of a mobile phone implementing multi-person simultaneous outbound in the embodiment of the present application; FIG.
图6为本申请实施例中出站认证的信令流程示意图;6 is a schematic diagram of a signaling process of outbound authentication in an embodiment of the present application;
图7为本申请实施例中交通支付设备结构示意图;7 is a schematic structural diagram of a traffic payment device according to an embodiment of the present application;
图8为本申请实施例中终端结构示意图。FIG. 8 is a schematic structural diagram of a terminal in an embodiment of the present application.
具体实施方式detailed description
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。The present invention will be further described in detail with reference to the accompanying drawings, in which FIG. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
鉴于现有技术利用模拟交通卡应用实现交通付费的过程中,不能实现至少两人共用同一张模拟交通卡进出站的问题,本申请实施例提供了一种交通支付方法及设备,通过改变交通卡的业务逻辑,就可以实现一卡多刷,两人或两人以上可以使用同一交通卡进出站。In view of the problem that the prior art utilizes the simulated traffic card application to realize the transportation payment, the problem that at least two people share the same simulated traffic card entry and exit station cannot be realized. The embodiment of the present application provides a transportation payment method and device, by changing the transportation card. The business logic can realize one card and more brushes, and two or more people can use the same traffic card to enter and exit the station.
本申请实施例可应用于刷卡支付的场景中,较佳的应用于移动支付场景,所涉及的交通卡为手机或平板电脑等终端设备模拟的交通卡,承载于具备NFC功能的终端中。本申请实施例应用的系统架构如图1所示,包括终端101和计费设备102。终端101具备NFC功能,可以包括各种具有无线通信功能的手持设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设 备等等,例如,具有NFC功能的手机、平板电脑。该终端101包括主控制器(英文:Device Host,缩写:DH),例如,若终端为手机,则DH为手机中央处理器(英文:Central Processing Unit,缩写:CPU)。计费设备102用于对公共交通系统内的交通卡应用进行扣费,可以为公交车载收费机(也称为车载机);计费设备102可应用于分段收费的交通工具中,例如公交车、地铁、轮船等。计费设备102还可应用于分时间段收费的收费场景中,例如停车收费场景,交通卡为停车卡,计费设备102用于对停车系统内的停车卡进行按时段扣费。The embodiment of the present application can be applied to a scenario of card payment, and is preferably applied to a mobile payment scenario. The traffic card involved is a traffic card simulated by a terminal device such as a mobile phone or a tablet computer, and is carried in a terminal having an NFC function. The system architecture applied in the embodiment of the present application is as shown in FIG. 1, and includes a terminal 101 and a charging device 102. The terminal 101 is provided with an NFC function and may include various handheld devices having wireless communication functions, wearable devices, computing devices, or other processing devices connected to the wireless modem. Ready, for example, NFC-enabled mobile phones, tablets. The terminal 101 includes a main controller (English: Device Host, abbreviated as DH). For example, if the terminal is a mobile phone, the DH is a central processing unit (English: Central Processing Unit, abbreviated as CPU). The billing device 102 is used for deducting the traffic card application in the public transportation system, and may be a bus in-vehicle charging machine (also called an in-vehicle device); the charging device 102 may be applied to a segment-charging vehicle, for example Buses, subways, ships, etc. The charging device 102 can also be applied to a charging scenario with a time-slot charging, such as a parking charging scenario, the transportation card is a parking card, and the charging device 102 is configured to charge the parking card in the parking system by time.
基于图1所示的系统架构,下面将结合附图对本申请实施例提供的交通支付方法作详细说明。Based on the system architecture shown in FIG. 1, the traffic payment method provided by the embodiment of the present application will be described in detail below with reference to the accompanying drawings.
参阅图2所示,本申请实施例提供的交通支付方法流程如下所述。Referring to FIG. 2, the flow of the payment payment method provided by the embodiment of the present application is as follows.
以下描述中,终端具备NFC功能,终端内置有能够模拟交通卡(简称交通卡)的软硬件,终端通过NFC与计费设备进行通信,通过模拟交通卡与计费设备执行计费扣费。In the following description, the terminal has an NFC function, and the terminal has built-in software and hardware capable of simulating a traffic card (referred to as a traffic card), and the terminal communicates with the charging device through the NFC, and performs a charging deduction through the simulated traffic card and the charging device.
步骤201、终端确定本次需要进行交通支付的人数N,N为大于1的自然数;Step 201: The terminal determines the number N, N of the number of people who need to make traffic payment, and is a natural number greater than 1.
步骤202、终端与第一计费设备执行M次进站认证,生成M条计费数据记录,M为大于1且小于等于N的自然数。Step 202: The terminal and the first charging device perform M times of inbound authentication, and generate M charging data records, where M is a natural number greater than 1 and less than or equal to N.
步骤203、终端与第二计费设备执行M次出站认证。Step 203: The terminal and the second charging device perform M outbound authentication.
下面对上述步骤201~步骤203作详细说明。The above steps 201 to 203 will be described in detail below.
具体地,终端的操作系统(英文:Operating System,缩写:OS)中可运行交通卡管理应用程序,用户可以在该交通卡管理应用程序中对交通卡进行一些基本设置和管理。步骤201中,用户在使用终端的交通卡应用时,可以在OS中交通卡管理应用程序的界面输入本次需要进行交通支付的人数,终端检测到用户的输入操作,确定本次需要进行交通支付的人数N。Specifically, the traffic card management application can be run in the operating system of the terminal (English: Operating System, abbreviated as OS), and the user can perform some basic settings and management on the traffic card in the traffic card management application. In step 201, when the user uses the traffic card application of the terminal, the user can input the number of people who need to make traffic payment in the interface of the traffic card management application in the OS, and the terminal detects the input operation of the user, and determines that the traffic payment needs to be performed this time. Number of people N.
当然,终端检测到的本次需要进行交通支付的人数N可以跟实际进站的人数M不同,比如,终端检测到的本次需要进行交通支付的人数为5,而实 际进站人数为4。Of course, the number N of people who need to make a traffic payment at the terminal can be different from the number M of the actual station. For example, the number of people who need to make traffic payment detected by the terminal is 5, but The number of intervening stations is 4.
可选的,终端还可检测用户输入的交通区间信息,即,进站信息和出站信息。Optionally, the terminal may also detect traffic interval information input by the user, that is, the inbound information and the outbound information.
在步骤201之后,步骤202之前,终端判断交通卡当前余额是否足以支付N人本次交通支付的金额。具体方法为,终端判断交通卡当前余额是否大于等于最高单次限额与N的乘积,若是,则判定交通卡当前余额充足;否则,判定交通卡当前余额不足。或者,若终端检测到了用户输入的交通区间信息,则计算单人在该交通区间的交通支付金额,终端判断交通卡当前金额是否大于等于单人在该交通区间的交通支付金额与N的乘积,若是,则判定交通卡当前余额充足;否则,判定交通卡当前余额不足。After step 201, before step 202, the terminal determines whether the current balance of the traffic card is sufficient to pay the amount of the N-person current payment. The specific method is: the terminal determines whether the current balance of the traffic card is greater than or equal to the product of the highest single limit and N, and if so, determines that the current balance of the traffic card is sufficient; otherwise, it determines that the current balance of the traffic card is insufficient. Alternatively, if the terminal detects the traffic section information input by the user, calculating the traffic payment amount of the single person in the traffic section, and the terminal determining whether the current amount of the traffic card is greater than or equal to the product of the traffic payment amount of the single person in the traffic section and N, If yes, it is determined that the current balance of the transportation card is sufficient; otherwise, it is determined that the current balance of the transportation card is insufficient.
在判定交通卡当前余额充足的情况下,执行步骤202。In the case that it is determined that the current balance of the transportation card is sufficient, step 202 is performed.
具备NFC功能的终端具有这样的性质:每执行完一次完整的进出站认证,会保存一条数据记录。数据记录中记录本次交通支付的进站信息、出站信息、扣费金额等信息。A terminal with NFC capability has the property that a data record is saved each time a complete inbound and outbound authentication is performed. The data record records the inbound information, outbound information, and deduction amount of the current transportation payment.
在步骤202执行之前,终端内可能已保存有历史交易过程产生的数据记录。在步骤202中,Prior to execution of step 202, a data record generated by the historical transaction process may have been saved in the terminal. In step 202,
在步骤202中,每当终端置于第一计费设备的通信范围内时,即每当终端可以与第一计费设备通过NFC进行通信时,触发一次进站认证。终端在每次执行进站认证时,会向第一计费设备发送历史记录的一条完整的数据记录,第一计费设备会通过收到的数据记录判断终端上次交易是否成功,在判定交易成功时,才会执行进站认证成功,否则,执行进站认证失败。终端向第一计费设备发送的数据记录中包含指示交通支付功能正常的信息即可。一种特殊的情况是,若终端在步骤202之前未发生过历史交易过程,但是卡内余额充足,且未发现上次错误交易,可能是终端新安装的交通卡应用程序,这种情况下,终端向第一计费设备发送的数据记录可以是一条特殊的数据记录,例如,进站信息和出站信息均为空的数据记录,用这条特殊的数据记录来作为交通卡交通支付功能正常的指示。 In step 202, an inbound authentication is triggered each time the terminal is placed within the communication range of the first charging device, that is, whenever the terminal can communicate with the first charging device via NFC. Each time the terminal performs the inbound authentication, the terminal sends a complete data record of the history record to the first charging device, and the first charging device determines whether the last transaction of the terminal is successful through the received data record, and determines the transaction. If successful, the inbound authentication will be successful. Otherwise, the inbound authentication fails. The data record sent by the terminal to the first charging device may include information indicating that the traffic payment function is normal. A special case is that if the terminal does not have a historical transaction process before step 202, but the card balance is sufficient, and the last wrong transaction is not found, it may be a newly installed traffic card application of the terminal. In this case, The data record sent by the terminal to the first charging device may be a special data record, for example, the data record of the inbound information and the outbound information are empty, and the special data record is used as the traffic card for the traffic payment function. Instructions.
终端将包含指示交通支付功能正常的信息发送给第一计费设备后,第一计费设备返回一个应答消息,记为第一应答消息,第一应答消息用于指示进站认证成功,可选的,第一应答消息中包含进站相关信息,例如进站的站名,开始交易金额等,开始交易金额可以为0。终端接收第一计费设备返回的第一应答消息后,基于第一应答消息中包含的进站相关信息生成一条计费数据记录,计费数据记录在历史保存的数据记录之后。这样,终端在执行M次进站认证后,会生成M条计费数据记录,且M条计费数据记录的每一条计费数据记录中包含的进站相关信息均相同,也就意味着,M个人次所进站是相同的站。After the terminal sends the information indicating that the traffic payment function is normal to the first charging device, the first charging device returns a response message, which is recorded as a first response message, and the first response message is used to indicate that the inbound authentication is successful, and the The first response message includes inbound related information, such as the station name of the inbound station, the starting transaction amount, etc., and the starting transaction amount may be 0. After receiving the first response message returned by the first charging device, the terminal generates a charging data record based on the inbound related information included in the first response message, and the charging data is recorded after the historically saved data record. In this way, after performing the M times of the inbound authentication, the terminal generates M charging data records, and the inbound related information included in each of the charging data records of the M charging data records is the same, that is, The M station is the same station.
在步骤203中,每当终端置于第二计费设备的通信范围内时,触发一次出站认证。终端在触发出站认证时,需要向第二计费设备发送一条包含进站相关信息的计费数据记录,第二计费设备会判断终端是否正常进站,在判定终端正常进站的情况下,才会执行出站认证成功,否则,执行出站认证失败。具体地,终端每触发一次出站认证,就会向第二计费设备发送一条在进站认证时生成的计费数据记录,因为M条计费数据记录中包含的进站相关信息相同,因此,终端在各个出站认证时发送的计费数据记录可以按照任意次序,比如,可以从第一条到第M条依次选取。In step 203, an outbound authentication is triggered each time the terminal is placed within the communication range of the second charging device. When the terminal triggers the outbound authentication, the terminal needs to send a charging data record including the inbound related information to the second charging device, and the second charging device determines whether the terminal normally enters the station, and determines that the terminal normally enters the station. The outbound authentication will be executed successfully. Otherwise, the outbound authentication fails. Specifically, each time the terminal triggers the outbound authentication, the terminal sends a charging data record generated during the inbound authentication to the second charging device, because the inbound related information included in the M charging data records is the same, The charging data records sent by the terminal at each outbound authentication may be in any order, for example, may be selected from the first to the Mth.
具体地,每执行一次出站认证,终端按照设定次序在M条计费数据记录中选取一条计费数据记录,将选取的一条计费数据记录发送给第二计费设备。第二计费设备在接收到计费数据记录后,判定终端正常进站,则会构造一条包含进站相关信息、出站相关信息和扣费金额的完整交易数据记录,将该完整交易数据记录写入终端的卡应用中;或者,第二计费设备在接收到计费数据记录后,判定终端正常进站,则会向终端返回一个指示出站成功的应答消息,记为第二应答消息。可选的,可以在第二应答消息中携带出站相关信息,例如出站的站名和交易金额等。终端接收第二计费设备发送的第二应答消息后,将第二应答消息中包含的出站相关信息添加在对应的计费数据记录中,生成一条包含进站相关信息和出站相关信息的完整交易数据记录。并且,终 端根据第二应答消息中包含的交易金额执行许可交易过程,也就是,按照第二应答消息中包含的交易金额进行扣费。Specifically, each time the outbound authentication is performed, the terminal selects one charging data record in the M charging data records according to the setting order, and sends the selected one charging data record to the second charging device. After receiving the charging data record, the second charging device determines that the terminal normally enters the station, and constructs a complete transaction data record including the inbound related information, the outbound related information, and the deduction amount, and records the complete transaction data. Writing to the card application of the terminal; or, after receiving the charging data record, the second charging device determines that the terminal normally enters the station, and returns a response message indicating that the outbound success is successful to the terminal, which is recorded as the second response message. . Optionally, the outbound related information, such as the station name and the transaction amount of the outbound, may be carried in the second response message. After receiving the second response message sent by the second charging device, the terminal adds the outbound related information included in the second response message to the corresponding charging data record, and generates a piece of information including the inbound related information and the outbound related information. Complete transaction data record. And finally The terminal performs the license transaction process according to the transaction amount included in the second response message, that is, the deduction is performed according to the transaction amount included in the second response message.
可选的,终端维护计数器的信息,即,终端在确定本次需要进行交通支付的人数N之后,启动计数器,在每与第一计费设备执行一次进站认证或者每与第二计费设备执行一次出站认证时,记录或更新已通过的人数。这样,避免了实际进站人数超出了终端开始设置的进站人数N,造成交易出错。Optionally, the information of the terminal maintenance counter, that is, the terminal starts the counter after determining the number N of people who need to make the traffic payment, and performs one inbound authentication or each second charging device with each first charging device. The number of people who have passed is recorded or updated when an outbound authentication is performed. In this way, it is avoided that the actual number of inbounds exceeds the number of inbounds N set by the terminal, resulting in a transaction error.
具体地,计数器的初始值设置为0。终端与第一计费设备在每次执行进站认证的过程中,在将保存的指示交通支付功能正常的信息发送给第一计费设备之前,判定计数器的计数值小于等于(M-1)且大于0;以及,在每一次完成进站认证后,将计数器的计数值加1;Specifically, the initial value of the counter is set to zero. The terminal and the first charging device determine that the counter value is less than or equal to (M-1) before transmitting the saved information indicating that the traffic payment function is normal to the first charging device in the process of performing the inbound authentication. And greater than 0; and, after each completion of the inbound authentication, the counter is incremented by one;
终端与第二计费设备在每次执行出站认证的过程中,在将选定的计费数据记录发送给第二计费设备之前,判定计数器的计数值小于或等于(2M-1);以及,在每一次完成出站认证后,将计数器的计数值加1。The terminal and the second charging device determine that the counter value is less than or equal to (2M-1) before sending the selected charging data record to the second charging device in each process of performing the outbound authentication; And, after each completion of the outbound authentication, the counter value is incremented by one.
可选的,终端还可以维护最新数据记录位置指示信息(可简称为位置指示信息),通过位置指示信息来指示向第一计费设备或者第二计费设备发送的信息所在的位置。也就是说,每次与第一计费设备进行进站认证或者与第二计费设备进行出站认证时,终端都按照位置指示信息所指示的位置确定发送的信息所在的位置。Optionally, the terminal may further maintain the latest data record location indication information (which may be simply referred to as location indication information), and indicate, by using the location indication information, a location where the information sent to the first charging device or the second charging device is located. That is, each time the inbound authentication is performed with the first charging device or the outbound authentication is performed with the second charging device, the terminal determines the location of the transmitted information according to the location indicated by the location indication information.
其中,终端与第一计费设备执行第一次至第(M-1)次进站认证时,在每一次完成进站认证后,保持最新数据记录位置指示信息所指示的位置不变,均为指向交通支付功能正常的信息所在位置。在执行完第M次进站认证后,将最新数据记录位置指示信息所指示的位置更改为执行第一次进站认证时生成的计费数据记录所在位置;Wherein, when the terminal and the first charging device perform the first to (M-1)th inbound authentication, after each completion of the inbound authentication, the location indicated by the latest data recording location indication information is kept unchanged, In order to point to the location where the traffic is functioning properly. After performing the Mth inbound authentication, the location indicated by the latest data record location indication information is changed to the location of the charging data record generated when the first inbound authentication is performed;
终端与第二计费设备执行第一次至第(M-1)次出站认证时,在每一次完成出站认证后,将最新数据记录位置指示信息所指示的位置分别对应的更改为执行第二次至第M次进站认证时生成的计费数据记录所在位置。When the terminal and the second charging device perform the first to (M-1)th outbound authentication, after each completion of the outbound authentication, the location indicated by the latest data recording location indication information is respectively changed to be executed. The location of the billing data record generated during the second to the Mth inbound authentication.
可选的,在M<N的情况下,由于终端最初检测到的进站人数为N,则 在这种情况,终端可通过以下方式判断最终需要进站的人数:Optionally, in the case of M<N, since the number of inbounds initially detected by the terminal is N, then In this case, the terminal can determine the number of people who ultimately need to enter the station by:
终端在执行第M次进站认证之后,若终端经过设定时间阈值后仍未执行第(M+1)次进站认证,则将本次需要进行交通支付的人数由N调整为M。After the terminal performs the Mth inbound authentication, if the terminal does not perform the (M+1)th inbound authentication after the terminal has passed the set time threshold, the number of people who need to make the traffic payment is adjusted from N to M.
基于上述实施例,下面结合具体的应用场景对本申请实施例提供的交通支付方法做进一步详细说明。Based on the foregoing embodiments, the traffic payment method provided by the embodiment of the present application is further described in detail below in conjunction with a specific application scenario.
假设终端为手机,手机具有NFC功能,手机内安装有模拟交通卡(简称交通卡)的应用程序,并安装有管理该交通卡的交通卡管理应用程序,该交通卡管理应用程序对交通卡进行一些基本设置和管理。应用场景为地铁进出站的计费系统,第一计费设备和第二计费设备均为地铁内的闸机,具体分别为进站闸机和出站闸机。Assuming that the terminal is a mobile phone, the mobile phone has an NFC function, and an application program of a simulated transportation card (referred to as a transportation card) is installed in the mobile phone, and a traffic card management application for managing the transportation card is installed, and the transportation card management application performs the traffic card. Some basic settings and management. The application scenario is the charging system of the subway in and out station. The first charging device and the second charging device are the gates in the subway, which are respectively the inbound gate and the outbound gate.
如图3所示,在地铁进出站计费系统中,手机实现多人同时进站的流程如下所述。As shown in FIG. 3, in the subway inbound and outbound charging system, the flow of the mobile phone to realize multi-person simultaneous inbound is as follows.
步骤301、用户打开手机,将手机界面切换至交通卡管理应用程序界面,选择本次同时乘坐的人数N(N=2,3,4……)。Step 301: The user opens the mobile phone, and switches the mobile phone interface to the traffic card management application interface, and selects the number N (N=2, 3, 4, . . . ) at the same time.
可选的,还可以输入乘车区间。N值不高于公交公司限定的最多乘车人数。公交卡管理应用是手机OS中的一个应用程序。Optionally, you can also enter the ride interval. The N value is not higher than the maximum number of passengers defined by the bus company. The bus card management application is an application in the mobile phone OS.
步骤302、手机判断是否允许N人同时乘车。Step 302: The mobile phone determines whether N people are allowed to ride at the same time.
具体地,手机内的交通卡管理应用程序接收用户输入的人数N后,开始执行策略检查,判断手机模拟的交通卡的当前余额是否支持N人乘坐;具体的,交通卡管理应用程序查询交通卡当前余额,若(余额+分段扣费抵扣限额)大于等于(N*最高单次乘坐限额),或者,若(余额+分段扣费抵扣限额)大于等于(N*用户输入乘坐区间对应票价),则执行步骤303;否则,执行步骤303’。Specifically, after receiving the number N of the user input, the traffic card management application in the mobile phone starts to perform a policy check to determine whether the current balance of the traffic card simulated by the mobile phone supports the N-person ride; specifically, the traffic card management application queries the traffic card. The current balance, if (balance + segment deduction deduction limit) is greater than or equal to (N* maximum single occupancy limit), or if (balance + segment deduction deduction limit) is greater than or equal to (N * user input ride interval Corresponding to the fare), step 303 is performed; otherwise, step 303' is performed.
步骤303、允许本次N人同时乘车。 Step 303, allowing the N people to ride at the same time.
具体地,将同时乘车人数N传给交通卡应用,并初始化计数器和初始化最新数据记录位置指示信息(简称位置指示信息)。该数据记录可以是地铁收费专用数据记录。 Specifically, the number of simultaneous passengers N is transmitted to the traffic card application, and the counter is initialized and the latest data recording position indication information (referred to as position indication information) is initialized. The data record can be a dedicated data record for the subway charge.
交通卡管理应用程序配置交通卡,将同时乘车人数N写入交通卡应用程序中的“同时乘坐人数限制”字段。计数器用于记录已进站人数和已出站人数,交通卡管理应用程序将计数器的初始值配置为0。位置指示信息初始值设置在最近交易产生的数据记录的位置。具体地,位置指示信息可以设置为“最新数据记录指针”的形式,该指针是指向上次成功完成交易的地铁收费专用数据记录的指针,或者读取上次成功交易对应的地铁收费专用数据记录的标识ID。The traffic card management application configures the traffic card and writes the number of passengers N simultaneously into the "simple passenger limit" field in the traffic card application. The counter is used to record the number of inbounds and the number of outbounds. The traffic card management application configures the initial value of the counter to zero. The initial value of the position indication information is set at the position of the data record generated by the most recent transaction. Specifically, the location indication information may be set in the form of a “latest data record pointer”, which is a pointer to a subway charging dedicated data record that successfully completed the transaction last time, or reads a subway charging dedicated data record corresponding to the last successful transaction. ID of the ID.
假设交通卡中已保存有m+1条地铁乘坐记录,则交通卡管理应用程序在配置完交通卡之后,交通卡中的数据记录文件如下表1所示。Assuming that m+1 subway ride records have been saved in the traffic card, the traffic card management application after the traffic card is configured, the data record files in the traffic card are as shown in Table 1 below.
表1Table 1
Rm R m 进站信息Inbound information 出站信息Outbound information 位置指示信息Location indication
Rm-1 R m-1 进站信息Inbound information 出站信息Outbound information ————
……...... ……...... ……...... ————
R0 R 0 进站信息Inbound information 出站信息Outbound information ————
表1及下述各表中的“——”指示该行对应的数据记录未设置“位置指示信息”,标有“位置指示信息”的字段表示该行对应的数据记录设置“位置指示信息”。“——”和“位置指示信息”的字段可以设计为是/否(即true/false或yes/no)的形式。R0~Rm用于表示数据记录的标号,位置指示信息所在行对应的Rm为最新的数据记录。Table 1 and "-" in the following tables indicate that the data record corresponding to the row is not set with "position indication information", and the field labeled "location indication information" indicates the data record setting "position indication information" corresponding to the row. . The fields of "-" and "location indication information" can be designed in the form of yes/no (ie true/false or yes/no). R 0 to Rm are used to indicate the label of the data record, and Rm corresponding to the row where the position indication information is located is the latest data record.
步骤303’、手机提示用户交通卡内余额不足或者交通卡状态异常。In step 303', the mobile phone prompts the user that the balance in the traffic card is insufficient or the status of the traffic card is abnormal.
步骤304、刷卡,手机内的交通卡检查进站人数是否小于(N-1),若是,则执行步骤305;否则,执行步骤306。Step 304: Swipe the card, check whether the number of inbounds in the mobile phone is less than (N-1), and if yes, go to step 305; otherwise, go to step 306.
交通卡检查计数器的数值是否小于(N-1),例如,N=5,交通卡检查计数器的数值是否小于4。Whether the value of the traffic card check counter is less than (N-1), for example, N=5, and whether the value of the traffic card check counter is less than 4.
步骤305、手机内的交通卡按照位置指示信息指示的最新的数据记录应答 进站闸机,将计数器数值加1,并返回执行步骤304。Step 305: The traffic card in the mobile phone responds according to the latest data record indicated by the location indication information. Inbound gate, increment the counter value by one and return to step 304.
在第一次刷卡进站时,计数器的数值为0,位置指示信息所在行对应的Rm为最新的数据记录,手机内的交通卡按照Rm对应的数据记录发送给进站闸机。第一个人进站后,计数器的数值加1,变为1。第二次到第(N-1)次的每次刷卡进站时,计数器的数值均加1,但是位置指示信息指示的最新的数据记录保持不变,保持为指向RmWhen the first card is put in, the counter value is 0, the Rm corresponding to the position indication information is the latest data record, and the traffic card in the mobile phone is sent to the inbound gate according to the data record corresponding to Rm. After the first person enters the station, the value of the counter is incremented by 1 to become 1. The counter value is incremented by 1 each time the second to the (N-1)th time is swiped, but the latest data record indicated by the position indication remains unchanged and remains at R m .
步骤306、刷卡,手机内的交通卡检查进站人数是否等于(N-1),若是,则执行步骤307;否则,执行步骤309。Step 306: Swipe the card, check whether the number of inbounds in the mobile phone is equal to (N-1), and if yes, go to step 307; otherwise, go to step 309.
步骤307、手机内的交通卡按照位置指示信息指示的最新的数据记录应答进站闸机,将计数器数值加1。Step 307: The traffic card in the mobile phone responds to the inbound gate according to the latest data record indicated by the position indication information, and increments the counter value by one.
步骤308、将位置指示信息指示的最新的数据记录更新为第一个人进站时产生的数据记录。Step 308: Update the latest data record indicated by the location indication information to the data record generated when the first person enters the station.
步骤309、执行出站流程。Step 309: Perform an outbound process.
以第一次刷卡进站为例,对上述步骤进行举例说明。用户第一次使用手机中的交通卡刷卡进站时,在进站处理流程中,进站闸机会发送读应用数据文件(即READ CAPP DATA)命令读取CAPP文件,以便判断上次是否交易成功;交通卡收到此命令时,执行已进站人数检查,若交通卡的计数器的值小于等于(N-1),则判定交通卡为多人进站模式;利用步骤303中最新数据记录指针指向的数据记录应答进站闸机,或者,利用最新地铁收费专用数据记录标记指向的地铁收费数据记录应答进站闸机;多个进站数据记录的标记可以是连续的整数。Taking the first swipe into the station as an example, the above steps are illustrated. When the user first uses the traffic card in the mobile phone to swipe the station, in the inbound processing flow, the inbound gate sends a read application data file (ie READ CAPP DATA) command to read the CAPP file to determine whether the transaction was successful last time. When the traffic card receives this command, it performs the check of the number of people who have entered the station. If the value of the counter of the traffic card is less than or equal to (N-1), it is determined that the traffic card is in the multi-person inbound mode; the latest data record pointer in step 303 is used. The pointed data record is replied to the inbound gate, or the subway charging data record pointed to by the latest subway charging dedicated data record is recorded in response to the inbound gate; the indicia of the plurality of inbound data records may be consecutive integers.
进站闸机收到应答后判定交通卡上次交易正常,发送授权金额为0的GPO,交通卡收到GPO后反馈GPO的应答消息;After receiving the response, the inbound gate determines that the traffic card last transaction is normal, sends a GPO with an authorized amount of 0, and the traffic card receives the GPO response message after receiving the GPO;
进站闸机闸机收到GPO的应答消息后判定上次交易成功,进入分段计费流程;并利用更新应用数据文件(UPDATA CAPP DATA CACHE)指令向交通卡更新进闸信息,具体向交通卡中写一个新的地铁收费专用数据记录,包 含进站信息以及默认的出站信息。After receiving the response message of the GPO, the gate of the inbound gate determines that the last transaction is successful, enters the segmentation charging process; and uses the UPDATA CAPP DATA CACHE command to update the traffic information to the traffic card, specifically to the traffic Write a new subway charge-specific data record in the card, package Includes inbound information and default outbound information.
第一个人刷卡进站之后,交通卡中的数据记录文件更新如表2所示。After the first person swipes in the station, the data record file update in the traffic card is as shown in Table 2.
表2Table 2
Rm+1 R m+1 进站信息Inbound information NULLNULL ————
Rm R m 进站信息Inbound information 出站信息Outbound information 位置指示信息Location indication
Rm-1 R m-1 进站信息Inbound information 出站信息Outbound information ————
……...... ……...... ……...... ……......
R0 R 0 进站信息Inbound information 出站信息Outbound information ————
表2及下表中的“NULL”指示内容为空。从表2可以看出,第一个人刷卡进站后,交通卡中的数据记录文件中增加了一条进站记录,但最新位置指示信息所指示的最新数据记录的位置仍然不变,意味着,在下次刷卡依然以记录Rm应答闸机。The "NULL" indication in Table 2 and the following table is empty. It can be seen from Table 2 that after the first person swipes in the station, an inbound record is added to the data record file in the traffic card, but the location of the latest data record indicated by the latest position indication information remains unchanged, meaning In the next card swipe, the gate will still be answered with the record R m .
可选的,当第N次刷卡,也就是第N人进站刷卡时,用户可通过手机界面提示本次为最后一人进站。Optionally, when the Nth card is swiped, that is, the Nth person enters the station to swipe the card, the user can prompt the last person to enter the station through the mobile phone interface.
当第N个人刷卡进站时,计数器的数值为(N-1),交通卡检查计数器的数值小于(N-1)不成立,则执行步骤306。When the Nth person swipes into the station, the value of the counter is (N-1), and the value of the traffic card check counter is less than (N-1), step 306 is performed.
在第N个人刷卡进站后,交通卡修改位置指示信息指向Rm+1,这样第Rm+1条交易记录成为最新数据记录,交通卡中的数据记录文件如表3所示。After the Nth person swipes into the station, the traffic card modification position indication information points to Rm+1, so that the Rm+1 transaction record becomes the latest data record, and the data record file in the traffic card is as shown in Table 3.
表3table 3
Rm+N R m+N 进站信息Inbound information NULLNULL ————
……...... ……...... ……...... ……......
Rm+1 R m+1 进站信息Inbound information NULLNULL 位置指示信息Location indication
Rm R m 进站信息Inbound information 出站信息Outbound information ————
Rm-1 R m-1 进站信息Inbound information 出站信息Outbound information ————
……...... ……...... ……...... ……......
R0 R 0 进站信息Inbound information 出站信息Outbound information ————
由表3可以看出,N个人都进站后,位置指示信息指向了第一个人进站时产生的数据记录,则意味着,在下次刷卡时,将只包含进站信息的第Rm+1条数据记录应答闸机,从而触发出站结算。It can be seen from Table 3 that after N people have entered the station, the position indication information points to the data record generated when the first person enters the station, which means that the next time the card is swiped, only the Rm+ of the inbound information will be included. One data record answers the gate, triggering an outbound settlement.
值得注意的是:交通卡依据表征已进站人数的计数器判断交通卡的工作模式,0<=计数器<=N-1时为多人卡进站模式。It is worth noting that the traffic card judges the working mode of the traffic card according to the counter that indicates the number of people who have entered the station. When 0<= counter <=N-1, it is the multi-person card inbound mode.
多个用户必须同站上车,因此交通卡收到更新卡应用数据文件指令时,检查应用数据文件中只包含进站信息的数据记录中的进站信息,与更新卡应用数据文件命令中的进站信息是否一致;如不一致,则报错并将卡应用设定为异常模式。Multiple users must be on the same bus, so when the traffic card receives the update card application data file command, it checks the inbound information in the data record containing only the inbound information in the application data file, and the update card application data file command. Whether the inbound information is consistent; if it is inconsistent, an error is reported and the card application is set to the abnormal mode.
为防止实际刷卡进站次数少于设定同时乘车人数N,交通卡预设时间阈值T,超过T之后,电子卡自动计算当前卡内进站信息条数,并将位置指示信息指示的最新的数据记录指向第一个进站记录。In order to prevent the actual number of inbound calls from being less than the set number of passengers at the same time, the traffic card preset time threshold T, after exceeding T, the electronic card automatically calculates the number of inbound information in the current card, and updates the position indication information. The data record points to the first inbound record.
基于图3所示的方法流程,参阅图4所示,进站认证的信令流程如下所述。Based on the method flow shown in FIG. 3, referring to FIG. 4, the signaling flow of the inbound authentication is as follows.
第一次进站认证信令流程为:The first inbound authentication signaling process is:
S401、进站闸机向手机发送READ CAPP DATA命令,手机接收进站闸机发送的READ CAPP DATA命令,读取CAPP文件,判断交通卡的进站模式,并做应答准备。S401. The inbound gate sends a READ CAPP DATA command to the mobile phone, and the mobile phone receives the READ CAPP DATA command sent by the inbound gate, reads the CAPP file, determines the inbound mode of the traffic card, and prepares for the response.
S402、手机向进站闸机返回应答消息,应答消息中包含第Rm条数据记录。S402: The mobile phone returns a response message to the inbound gate, and the response message includes the Rm data record.
S403、进站闸机向手机发送UPDATA CAPP DATA CACHE指令向交通卡更新进闸信息,在交通卡的数据记录文件中写入第Rm+1条数据记录。S403. The inbound gate sends a UPDATA CAPP DATA CACHE command to the mobile phone to update the traffic information to the traffic card, and writes the Rm+1 data record in the data record file of the traffic card.
S404、手机向进站闸机返回响应消息。S404. The mobile phone returns a response message to the inbound gate.
第二次到第N次进站认证信令流程与第一次进站认证信令流程相似,只 是在S403步骤中依次写入第Rm+2~Rm+n条数据记录,n=N。The second to Nth inbound authentication signaling process is similar to the first inbound authentication signaling process, only In the step S403, the data records of the Rm+2 to Rm+n are sequentially written, n=N.
如图5所示,在地铁进出站计费系统中,手机实现多人同时出站的流程如下所述。As shown in FIG. 5, in the subway inbound and outbound charging system, the flow of the mobile phone to realize multi-person simultaneous outbound is as follows.
步骤501、用户持手机在出闸处刷卡,交通卡收到READ CAPP DATA命令后获取“同时乘坐人数限制N”和“已使用次数的计数器”的信息。Step 501: The user holds the mobile phone to swipe the card at the exit, and the traffic card receives the READ CAPP DATA command to obtain the information of “the number of simultaneous riders N” and the “count of used times”.
步骤502、判断计数器值是否大于等于N且小于等于2N-1,若是,则执行步骤503,否则执行步骤504。Step 502: Determine whether the counter value is greater than or equal to N and less than or equal to 2N-1. If yes, execute step 503, otherwise perform step 504.
步骤503、交通卡可判定当前为多人出站模式;以最新数据记录指针指向的数据记录(也就是第一个进站记录)应答进站闸机,或者,利用最新地铁收费专用数据记录标记指向的地铁收费数据记录应答进站闸机。 Step 503, the traffic card can determine that the current multi-person outbound mode; the data record pointed to by the latest data record pointer (that is, the first inbound record) is answered by the inbound gate, or the latest subway charging dedicated data record mark is utilized. The subway charging data record pointed to the inbound gate.
步骤503’、交通卡可判定当前为单人模式。Step 503', the traffic card can determine that the current mode is single player.
步骤504、闸机接收READ CAPP DATA应答报文,读到进站信息判定正常进站,开始执行出闸计费流程;使用GPO向交通卡发送交易指令,交通卡应执行出站流程许可交易;Step 504: The gate receives the READ CAPP DATA response message, reads the inbound information to determine the normal inbound, starts to execute the gate billing process, uses the GPO to send the transaction instruction to the traffic card, and the traffic card should perform the outbound process license transaction;
步骤505、闸机利用READ CAPP DATA获得的应答中包含的进站数据记录,生成包含进、出站信息和交易金额的完整数据记录,并以UPDATE CAPP DATA CACHE指令向交通卡写入完整的数据记录;交通卡收到命令之后将完整数据记录保存到地体应用数据文件CAPP中,并将“最新地铁收费专用数据记录标记”更新为指向下一个进站数据记录;同时计数器增1;第一个人出站后,卡片中的收费记录文件如表4所示。Step 505: The gate uses the inbound data record included in the response obtained by the READ CAPP DATA to generate a complete data record including the inbound and outbound information and the transaction amount, and writes the complete data to the traffic card by using the UPDATE CAPP DATA CACHE command. Record; after receiving the command, the transportation card saves the complete data record to the terrain application data file CAPP, and updates the "new subway charge special data record mark" to point to the next inbound data record; at the same time, the counter is incremented by one; After the individual leaves the station, the charge record file in the card is shown in Table 4.
表4Table 4
Rm+N R m+N 进站信息Inbound information NULLNULL ————
……...... ……...... ……...... ……......
Rm+2 R m+2 进站信息Inbound information NULLNULL 位置指示信息Location indication
Rm+1 R m+1 进站信息Inbound information 出站信息Outbound information ————
Rm R m 进站信息Inbound information 出站信息Outbound information ————
Rm-1 R m-1 进站信息Inbound information 出站信息Outbound information ————
……...... ……...... ……...... ……......
R0 R 0 进站信息Inbound information 出站信息Outbound information ————
步骤506、再次刷卡时,判断计数器的值是否等于2N-1,若不等于,则返回执行步骤501,即可继续刷卡出站;每次刷卡出站后,都要移动位置指示信息所指示的最新数据记录的位置;若判定计数器的值等于2N-1,则执行步骤507。Step 506: When the card is swiped again, it is determined whether the value of the counter is equal to 2N-1. If not, the process returns to step 501 to continue to swipe the card out; after each card is sent out, the position indication information is moved. The position of the latest data record; if it is determined that the value of the counter is equal to 2N-1, step 507 is performed.
步骤507、计数器值为2N-1时,通过手机界面提示最后一人出站。交通卡自动将“同时乘坐人数限制N”恢复为1,并将进出站处理流程恢复为单人模式,即单人使用状态。In step 507, when the counter value is 2N-1, the last person is prompted to leave the station through the mobile phone interface. The traffic card automatically restores the "simple occupancy limit N" to 1, and restores the inbound and outbound processing to single-person mode, that is, single-use status.
单人模式下,在使用时不再检查N和计数器,计数器值归零,最新地铁收费专用数据记录指向最新一个交易记录。In single-player mode, N and counters are no longer checked during use, the counter value is reset to zero, and the latest subway charge-specific data record points to the latest transaction record.
在上述第N个人出站以后,交通卡片中数据记录文件如表5所示。After the above Nth person exits the station, the data record file in the traffic card is shown in Table 5.
表5table 5
Rm+N R m+N 进站信息Inbound information 出站信息Outbound information 位置指示信息Location indication
……...... ……...... ……...... ……......
Rm+2 R m+2 进站信息Inbound information 出站信息Outbound information ————
Rm+1 R m+1 进站信息Inbound information 出站信息Outbound information ————
Rm R m 进站信息Inbound information 出站信息Outbound information ————
Rm-1 R m-1 进站信息Inbound information 出站信息Outbound information ————
……...... ……...... ……...... ……......
R0 R 0 进站信息Inbound information 出站信息Outbound information ————
基于图5所示的方法流程,参阅图6所示,出站认证的信令流程如下所述。 Based on the method flow shown in FIG. 5, referring to FIG. 6, the signaling flow of the outbound authentication is as follows.
S601、出站闸机向手机发送READ CAPP DATA命令,手机接收出站闸机发送的READ CAPP DATA命令,读取CAPP文件,判定交通卡处于出站模式,并做应答准备。S601, the outbound gate sends a READ CAPP DATA command to the mobile phone, and the mobile phone receives the READ CAPP DATA command sent by the outbound gate, reads the CAPP file, determines that the traffic card is in the outbound mode, and prepares for the response.
S602、手机向出站闸机返回应答消息,应答消息中包含第Rm+1条数据记录,第Rm+1条数据记录是一条只包含进站信息的进站记录。S602. The mobile phone returns a response message to the outbound gate, and the response message includes the Rm+1 data record, and the Rm+1 data record is an inbound record containing only the inbound information.
S603、出站闸机向手机发送UPDATA CAPP DATA CACHE指令向交通卡更新出站信息,在交通卡的数据记录文件中写入包含出站信息的第Rm+1条数据记录。S603. The outbound gate sends a UPDATA CAPP DATA CACHE command to the mobile phone to update the outbound information to the traffic card, and writes the Rm+1 data record including the outbound information in the data record file of the traffic card.
S604、手机向出站闸机返回响应消息。S604. The mobile phone returns a response message to the outbound gate.
第二次到第N次出站认证信令流程与第一次出站认证信令流程相似,只是在S603步骤中依次写入第Rm+2~Rm+n,n=N,每条数据记录中均写入相应的出站信息。The second to the Nth outbound authentication signaling flow is similar to the first outbound authentication signaling flow, except that the first Rm+2 to Rm+n, n=N are sequentially written in the step S603, and each data record is recorded. The corresponding outbound information is written in the middle.
基于同一发明构思,参阅图7所示,本申请实施例中还提供一种交通支付设备700,交通支付设备700具备近场通信NFC功能,包括确定单元701和认证单元702。Based on the same inventive concept, as shown in FIG. 7 , a traffic payment device 700 is provided in the embodiment of the present application. The traffic payment device 700 is provided with a near field communication NFC function, and includes a determining unit 701 and an authentication unit 702.
确定单元701,用于确定本次需要进行交通支付的人数N,N为大于1的自然数;a determining unit 701, configured to determine the number of people N, N that need to make a traffic payment, is a natural number greater than one;
认证单元702,用于与第一计费设备执行M次进站认证,生成M条计费数据记录,M为大于1且小于等于N的自然数;其中,每当设备置于第一计费设备的通信范围内时,触发一次进站认证,且在每次执行进站认证的过程中,将预先保存的指示交通支付功能正常的信息发送给第一计费设备,并接收第一计费设备返回的用于指示进站认证成功的第一应答消息,以及基于第一应答消息中包含的进站相关信息生成一条计费数据记录;The authentication unit 702 is configured to perform M times of inbound authentication with the first charging device to generate M charging data records, where M is a natural number greater than 1 and less than or equal to N; wherein each device is placed in the first charging device When the communication range is within, triggering one inbound authentication, and in each process of performing the inbound authentication, transmitting the pre-stored information indicating that the traffic payment function is normal to the first charging device, and receiving the first charging device Returning a first response message indicating success of the inbound authentication, and generating a charging data record based on the inbound related information included in the first response message;
认证单元702,还用于与第二计费设备执行M次出站认证,其中,每当设备置于第二计费设备的通信范围内时,触发一次出站认证,且每执行一次出站认证,按照设定次序在M条计费数据记录中选取一条计费数据记录,将选取的一条计费数据记录发送给第二计费设备,并接收第二计费设备发送的 用于指示出站认证成功的第二应答消息,以及根据第二应答消息中包含的交易金额执行许可交易过程。The authentication unit 702 is further configured to perform M outbound authentication with the second charging device, where each time the device is placed in the communication range of the second charging device, an outbound authentication is triggered, and each time the outbound is performed. Authentication, selecting one accounting data record in the M charging data records according to the setting order, sending the selected one charging data record to the second charging device, and receiving the second charging device A second response message indicating that the outbound authentication is successful, and performing a license transaction process based on the transaction amount included in the second response message.
可选的,交通支付设备700还包括计数单元703,用于在确定单元701确定本次需要进行交通支付的人数N之后,在认证单元702每与第一计费设备执行一次进站认证或者每与第二计费设备执行一次出站认证时,记录或更新已通过的人数。Optionally, the traffic payment device 700 further includes a counting unit 703, configured to perform an inbound authentication or each time with the first charging device at the authentication unit 702 after the determining unit 701 determines the number N of people who need to make the traffic payment. When an outbound authentication is performed with the second billing device, the number of people who have passed is recorded or updated.
可选的,认证单元702还用于:Optionally, the authentication unit 702 is further configured to:
在执行进站认证和出站认证的过程中,根据最新数据记录位置指示信息,确定向第一计费设备和第二计费设备发送的信息所在位置;In the process of performing the inbound authentication and the outbound authentication, determining the location of the information sent to the first charging device and the second charging device according to the latest data recording location indication information;
其中,认证单元702与第一计费设备执行第一次至第(M-1)次进站认证时,在每一次完成进站认证后,保持最新数据记录位置指示信息所指示的位置为指向交通支付功能正常的信息所在位置,并在执行完第M次进站认证后,将最新数据记录位置指示信息所指向的位置更改为执行第一次进站认证时生成的计费数据记录所在位置;When the authentication unit 702 and the first charging device perform the first to (M-1)th inbound authentication, the location indicated by the latest data recording location indication information is pointed after each completion of the inbound authentication. The location where the traffic payment function is normal, and after the Mth inbound authentication is performed, the location pointed to by the latest data record location indication information is changed to the location of the charging data record generated when the first inbound authentication is performed. ;
认证单元702与第二计费设备执行第一次至第(M-1)次出站认证时,在每一次完成出站认证后,将最新数据记录位置指示信息所指示的位置分别对应的更改为执行第二次至第M次进站认证时生成的计费数据记录所在位置。When the authentication unit 702 and the second charging device perform the first to (M-1)th outbound authentication, respectively, after each completion of the outbound authentication, the corresponding location indicated by the latest data recording location indication information is changed respectively. The location of the billing data record generated when performing the second to Mth inbound authentication.
可选的,计数单元703在认证单元702与第一计费设备执行第一次进站认证之前,将初始值设置为0;Optionally, the counting unit 703 sets the initial value to 0 before the authentication unit 702 and the first charging device perform the first inbound authentication;
认证单元702与第一计费设备在每次执行进站认证的过程中,在将保存的指示交通支付功能正常的信息发送给第一计费设备之前,判定计数器的计数值小于或等于(M-1);以及,在每一次完成进站认证后,将计数器的计数值加1;The authentication unit 702 and the first charging device determine that the counter value of the counter is less than or equal to (M) before transmitting the saved information indicating that the traffic payment function is normal to the first charging device in the process of performing the inbound authentication. -1); and, after each completion of the inbound authentication, the counter value is incremented by one;
认证单元702与第二计费设备在每次执行出站认证的过程中,在将选定的计费数据记录发送给第二计费设备之前,判定计数器的计数值小于或等于(2M-1);以及,在每一次完成出站认证后,将计数器的计数值加1。The authentication unit 702 and the second charging device determine that the counter value is less than or equal to (2M-1) before transmitting the selected charging data record to the second charging device each time the outbound authentication is performed. ); and, after each completion of the outbound authentication, the counter is incremented by one.
可选的,认证单元702还用于: Optionally, the authentication unit 702 is further configured to:
在接收第二计费设备发送的第二应答消息后,将第二应答消息中包含的出站相关信息保存在对应的计费数据记录中。After receiving the second response message sent by the second charging device, the outbound related information included in the second response message is saved in the corresponding charging data record.
可选的,M条计费数据记录的每一条计费数据记录中包含的进站相关信息均相同。Optionally, the inbound related information included in each of the billing data records of the M billing data records is the same.
可选的,若M<N,则认证单元702还用于:Optionally, if M<N, the authentication unit 702 is further configured to:
在执行第M次进站认证之后,若经过设定时间阈值时仍未执行第(M+1)次进站认证,则将本次需要进行交通支付的人数由N调整为M。After the execution of the Mth inbound authentication, if the (M+1)th inbound authentication is not performed when the set time threshold is exceeded, the number of people who need to make traffic payment this time is adjusted from N to M.
基于同一发明构思,参阅图8所示,本申请实施例中还提供一种终端800,包括存储器801、处理器802、收发器803和总线804,存储器801、处理器802、收发器803均与总线804连接,其中,所述存储器801中存储一组程序,所述处理器802用于调用所述存储器801中存储的程序,使得所述终端800执行图2、图3和图5提供的方法。Based on the same inventive concept, as shown in FIG. 8, the embodiment of the present application further provides a terminal 800, which includes a memory 801, a processor 802, a transceiver 803, and a bus 804. The memory 801, the processor 802, and the transceiver 803 are both A bus 804 is connected, wherein the memory 801 stores a set of programs, and the processor 802 is configured to invoke a program stored in the memory 801 such that the terminal 800 performs the methods provided in FIGS. 2, 3, and 5. .
需要说明的是图8所示的各部分之间的连接方式仅为一种可能的示例,也可以是,存储器801与收发器803均与处理器802连接,且存储器801与收发器803之间没有连接,或者,也可以是其他可能的连接方式。It should be noted that the connection manner between the parts shown in FIG. 8 is only one possible example. Alternatively, both the memory 801 and the transceiver 803 are connected to the processor 802, and the memory 801 and the transceiver 803 are connected. There is no connection, or it can be other possible connections.
处理器802可以是中央处理器(英文:central processing unit,缩写:CPU),网络处理器(英文:network processor,缩写:NP)或者CPU和NP的组合。The processor 802 can be a central processing unit (English: central processing unit, abbreviated: CPU), a network processor (English: network processor, abbreviated: NP) or a combination of a CPU and an NP.
处理器802还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(英文:application-specific integrated circuit,缩写:ASIC),可编程逻辑器件(英文:programmable logic device,缩写:PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(英文:complex programmable logic device,缩写:CPLD),现场可编程逻辑门阵列(英文:field-programmable gate array,缩写:FPGA),通用阵列逻辑(英文:generic array logic,缩写:GAL)或其任意组合。 Processor 802 can also further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (abbreviated as PLD), or a combination thereof. The above PLD can be a complex programmable logic device (English: complex programmable logic device, abbreviation: CPLD), field-programmable gate array (English: field-programmable gate array, abbreviation: FPGA), general array logic (English: generic array Logic, abbreviation: GAL) or any combination thereof.
存储器801可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM);存储器801也可以包括非易失性存储器(英文:non-volatile memory),例如快闪存储器(英 文:flash memory),硬盘(英文:hard disk drive,缩写:HDD)或固态硬盘(英文:solid-state drive,缩写:SSD);存储器801还可以包括上述种类的存储器的组合。The memory 801 may include a volatile memory (English: volatile memory), such as a random access memory (English: random-access memory, abbreviation: RAM); the memory 801 may also include a non-volatile memory (English: non-volatile memory) ), such as flash memory (English) Text: flash memory), hard disk (English: hard disk drive, abbreviated: HDD) or solid state drive (English: solid-state drive, abbreviation: SSD); the memory 801 may also include a combination of the above types of memory.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权 利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。While the preferred embodiment of the present application has been described, it will be apparent that those skilled in the art can make further changes and modifications to the embodiments. Therefore, the right to attach The requirements are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the application.
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请实施例的精神和范围。这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。 It is apparent that those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, it is intended that the present invention cover the modifications and variations of the embodiments of the present invention.

Claims (14)

  1. 一种交通支付方法,其特征在于,包括:A method of payment for transportation, characterized in that it comprises:
    具备近场通信NFC功能的终端确定本次需要进行交通支付的人数N,N为大于1的自然数;The terminal having the near field communication NFC function determines that the number of people who need to make traffic payment N, N is a natural number greater than one;
    所述终端与第一计费设备执行M次进站认证,生成M条计费数据记录,M为大于1且小于等于N的自然数;其中,每当所述终端置于所述第一计费设备的通信范围内时,触发一次所述进站认证,且在每次执行所述进站认证的过程中,所述终端将预先保存的指示交通支付功能正常的信息发送给所述第一计费设备,并接收所述第一计费设备返回的用于指示所述进站认证成功的第一应答消息,以及基于所述第一应答消息中包含的进站相关信息生成一条计费数据记录;The terminal and the first charging device perform M times of inbound authentication, and generate M charging data records, where M is a natural number greater than 1 and less than or equal to N; wherein each time the terminal is placed in the first charging When the communication range of the device is within the range, the inbound authentication is triggered once, and in each process of performing the inbound authentication, the terminal sends the pre-stored information indicating that the traffic payment function is normal to the first meter. And charging a device, and receiving a first response message returned by the first charging device for indicating the success of the inbound authentication, and generating a charging data record based on the inbound related information included in the first response message. ;
    所述终端与第二计费设备执行M次出站认证,其中,每当所述终端置于所述第二计费设备的通信范围内时,触发一次所述出站认证,且每执行一次所述出站认证,所述终端按照设定次序在所述M条计费数据记录中选取一条计费数据记录,将选取的一条计费数据记录发送给所述第二计费设备,并接收所述第二计费设备发送的用于指示所述出站认证成功的第二应答消息,以及根据所述第二应答消息中包含的交易金额执行许可交易过程。The terminal and the second charging device perform M outbound authentication, where the outbound authentication is triggered once each time the terminal is placed in the communication range of the second charging device, and each time the execution is performed The outbound authentication, the terminal selects one charging data record in the M charging data records according to the setting order, and sends the selected one charging data record to the second charging device, and receives And sending, by the second charging device, a second response message indicating that the outbound authentication is successful, and performing a license transaction process according to the transaction amount included in the second response message.
  2. 如权利要求1所述的方法,其特征在于,所述终端在确定本次需要进行交通支付的人数N之后,还包括:The method according to claim 1, wherein the terminal further comprises: after determining the number N of people who need to make a traffic payment.
    所述终端启动计数器,所述计数器用于在所述终端每与所述第一计费设备执行一次所述进站认证或者每与所述第二计费设备执行一次所述出站认证时,记录或更新已通过的人数。The terminal starts a counter, and the counter is configured to perform, when the terminal performs the inbound authentication once with the first charging device, or each time the outbound authentication is performed with the second charging device, Record or update the number of people who have passed.
  3. 如权利要求1或2所述的方法,其特征在于,所述方法还包括:The method of claim 1 or 2, wherein the method further comprises:
    所述终端在执行所述进站认证和所述出站认证的过程中,根据最新数据记录位置指示信息,确定向所述第一计费设备和所述第二计费设备发送的信息所在位置; In the process of performing the inbound authentication and the outbound authentication, the terminal determines the location of the information sent to the first charging device and the second charging device according to the latest data recording location indication information. ;
    其中,所述终端与所述第一计费设备执行第一次至第(M-1)次所述进站认证时,在每一次完成所述进站认证后,保持所述最新数据记录位置指示信息所指示的位置为指示交通支付功能正常的信息所在位置,并在执行完第M次所述进站认证后,将所述最新数据记录位置指示信息所指示的位置更改为执行第一次所述进站认证时生成的计费数据记录所在位置;The terminal and the first charging device perform the first to the (M-1)th times of the inbound authentication, and maintain the latest data recording position after each completion of the inbound authentication. The location indicated by the indication information is the location of the information indicating that the traffic payment function is normal, and after performing the Mth the inbound authentication, the location indicated by the latest data recording location indication information is changed to the first execution. The location of the charging data record generated during the inbound authentication;
    所述终端与所述第二计费设备执行第一次至第(M-1)次所述出站认证时,在每一次完成所述出站认证后,将所述最新数据记录位置指示信息所指示的位置分别对应的更改为执行第二次至第M次所述进站认证时生成的计费数据记录所在位置。When the terminal and the second charging device perform the first to the (M-1)th outbound authentication, the latest data recording location indication information is completed after each outbound authentication is completed. The corresponding positions are respectively changed to the positions of the billing data records generated when the second to the Mth times of the inbound authentication are performed.
  4. 如权利要求2所述的方法,其特征在于,所述终端在与所述第一计费设备执行第一次所述进站认证之前,将所述计数器的初始值设置为0;The method according to claim 2, wherein the terminal sets the initial value of the counter to 0 before performing the first time the inbound authentication with the first charging device;
    所述终端与所述第一计费设备在每次执行所述进站认证的过程中,在将保存的指示交通支付功能正常的信息发送给所述第一计费设备之前,判定所述计数器的计数值小于或等于(M-1);以及,在每一次完成所述进站认证后,将所述计数器的计数值加1;The terminal and the first charging device determine the counter before transmitting the saved information indicating that the traffic payment function is normal to the first charging device in each process of performing the inbound authentication. The count value is less than or equal to (M-1); and, after each completion of the inbound authentication, the counter value of the counter is incremented by one;
    所述终端与所述第二计费设备在每次执行所述出站认证的过程中,在将选定的计费数据记录发送给所述第二计费设备之前,判定所述计数器的计数值小于或等于(2M-1);以及,在每一次完成所述出站认证后,将所述计数器的计数值加1。Determining, by the terminal and the second charging device, the count of the counter before transmitting the selected charging data record to the second charging device each time the outbound authentication is performed. The value is less than or equal to (2M-1); and, after each completion of the outbound authentication, the count value of the counter is incremented by one.
  5. 如权利要求1-4任一项所述的方法,其特征在于,所述终端在接收所述第二计费设备发送的所述第二应答消息后,还包括:The method according to any one of claims 1-4, wherein, after receiving the second response message sent by the second charging device, the terminal further includes:
    将所述第二应答消息中包含的出站相关信息保存在对应的计费数据记录中。And storing the outbound related information included in the second response message in the corresponding charging data record.
  6. 如权利要求5所述的方法,其特征在于,所述M条计费数据记录的每一条计费数据记录中包含的进站相关信息均相同。The method according to claim 5, wherein the inbound related information included in each of the billing data records of the M billing data records is the same.
  7. 如权利要求1-5任一项所述的方法,其特征在于,若M<N,则所述终端在执行第M次所述进站认证之后,还包括: The method according to any one of claims 1-5, wherein, if M < N, the terminal further comprises: after performing the Mth the inbound authentication;
    若所述终端经过设定时间阈值时仍未执行第(M+1)次所述进站认证,则将本次需要进行交通支付的人数由N调整为M。If the (M+1)th of the inbound authentication is not performed when the terminal passes the set time threshold, the number of people who need to make the traffic payment is adjusted from N to M.
  8. 一种交通支付设备,其特征在于,所述设备具备近场通信NFC功能,包括:A traffic payment device, characterized in that the device has a near field communication NFC function, including:
    确定单元,用于确定本次需要进行交通支付的人数N,N为大于1的自然数;a determining unit for determining the number N, N of the number of people who need to make a traffic payment, is a natural number greater than 1;
    认证单元,用于与第一计费设备执行M次进站认证,生成M条计费数据记录,M为大于1且小于等于N的自然数;其中,每当所述设备置于所述第一计费设备的通信范围内时,触发一次所述进站认证,且在每次执行所述进站认证的过程中,将预先保存的指示交通支付功能正常的信息发送给所述第一计费设备,并接收所述第一计费设备返回的用于指示所述进站认证成功的第一应答消息,以及基于所述第一应答消息中包含的进站相关信息生成一条计费数据记录;An authentication unit, configured to perform M times of inbound authentication with the first charging device to generate M charging data records, where M is a natural number greater than 1 and less than or equal to N; wherein each time the device is placed in the first When the communication device is within the communication range, the inbound authentication is triggered once, and in the process of performing the inbound authentication, the pre-stored information indicating that the traffic payment function is normal is sent to the first charging. And receiving, by the first charging device, a first response message indicating that the inbound authentication is successful, and generating a charging data record based on the inbound related information included in the first response message;
    所述认证单元,还用于与第二计费设备执行M次出站认证,其中,每当所述设备置于所述第二计费设备的通信范围内时,触发一次所述出站认证,且每执行一次所述出站认证,按照设定次序在所述M条计费数据记录中选取一条计费数据记录,将选取的一条计费数据记录发送给所述第二计费设备,并接收所述第二计费设备发送的用于指示所述出站认证成功的第二应答消息,以及根据所述第二应答消息中包含的交易金额执行许可交易过程。The authentication unit is further configured to perform M outbound authentication with the second charging device, where the outbound authentication is triggered once the device is placed in the communication range of the second charging device. And each time the outbound authentication is performed, selecting one charging data record in the M charging data records according to the setting order, and sending the selected one charging data record to the second charging device, And receiving a second response message sent by the second charging device to indicate that the outbound authentication is successful, and performing a license transaction process according to the transaction amount included in the second response message.
  9. 如权利要求8所述的设备,其特征在于,还包括:The device of claim 8 further comprising:
    计数单元,用于在所述确定单元确定本次需要进行交通支付的人数N之后,在所述认证单元每与所述第一计费设备执行一次所述进站认证或者每与所述第二计费设备执行一次所述出站认证时,记录或更新已通过的人数。a counting unit, configured to perform the inbound authentication or each second with the first charging device after the determining unit determines the number N of people who need to make a traffic payment When the billing device performs the outbound authentication once, the number of people who have passed is recorded or updated.
  10. 如权利要求8或9所述的设备,其特征在于,所述认证单元还用于:The device according to claim 8 or 9, wherein the authentication unit is further configured to:
    在执行所述进站认证和所述出站认证的过程中,根据最新数据记录位置指示信息,确定向所述第一计费设备和所述第二计费设备发送的信息所在位置; In the process of performing the inbound authentication and the outbound authentication, determining, according to the latest data recording location indication information, a location of information sent to the first charging device and the second charging device;
    其中,所述认证单元与所述第一计费设备执行第一次至第(M-1)次所述进站认证时,在每一次完成所述进站认证后,保持所述最新数据记录位置指示信息所指示的位置为指示交通支付功能正常的信息所在位置,并在执行完第M次所述进站认证后,将所述最新数据记录位置指示信息所指示的位置更改为执行第一次所述进站认证时生成的计费数据记录所在位置;The authentication unit and the first charging device perform the first to the (M-1)th times of the inbound authentication, and keep the latest data record after each completion of the inbound authentication. The location indicated by the location indication information is a location indicating that the traffic payment function is normal, and after performing the Mth initialization verification, the location indicated by the latest data recording location indication information is changed to perform the first The location of the billing data record generated when the inbound authentication is performed;
    所述认证单元与所述第二计费设备执行第一次至第(M-1)次所述出站认证时,在每一次完成所述出站认证后,将所述最新数据记录位置指示信息所指示的位置分别对应的更改为执行第二次至第M次所述进站认证时生成的计费数据记录所在位置。When the authentication unit and the second charging device perform the first to the (M-1)th outbound authentication, the latest data recording position indication is performed after each completion of the outbound authentication. The location indicated by the information is respectively changed to the location of the charging data record generated when the second to the Mth times of the inbound authentication is performed.
  11. 如权利要求9所述的设备,其特征在于,所述计数单元在所述认证单元与所述第一计费设备执行第一次所述进站认证之前,将初始值设置为0;The device according to claim 9, wherein the counting unit sets the initial value to 0 before the authentication unit and the first charging device perform the first time the inbound authentication;
    所述认证单元与所述第一计费设备在每次执行所述进站认证的过程中,在将保存的指示交通支付功能正常的信息发送给所述第一计费设备之前,判定所述计数器的计数值小于或等于(M-1);以及,在每一次完成所述进站认证后,将所述计数器的计数值加1;The authentication unit and the first charging device determine, in each process of performing the inbound authentication, before transmitting the saved information indicating that the traffic payment function is normal to the first charging device, The counter value of the counter is less than or equal to (M-1); and, after each completion of the inbound authentication, the counter value of the counter is incremented by one;
    所述认证单元与所述第二计费设备在每次执行所述出站认证的过程中,在将选定的计费数据记录发送给所述第二计费设备之前,判定所述计数器的计数值小于或等于(2M-1);以及,在每一次完成所述出站认证后,将所述计数器的计数值加1。The authentication unit and the second charging device determine the counter before sending the selected charging data record to the second charging device each time the outbound authentication is performed. The count value is less than or equal to (2M-1); and, after each outbound authentication is completed, the counter value of the counter is incremented by one.
  12. 如权利要求8-11任一项所述的设备,其特征在于,所述认证单元还用于:The device according to any one of claims 8 to 11, wherein the authentication unit is further configured to:
    在接收所述第二计费设备发送的所述第二应答消息后,将所述第二应答消息中包含的出站相关信息保存在对应的计费数据记录中。After receiving the second response message sent by the second charging device, the outbound related information included in the second response message is saved in a corresponding charging data record.
  13. 如权利要求12所述的设备,其特征在于,所述M条计费数据记录的每一条计费数据记录中包含的进站相关信息均相同。The device according to claim 12, wherein the inbound related information included in each of the billing data records of the M billing data records is the same.
  14. 如权利要求8-12任一项所述的设备,其特征在于,若M<N,则所述认证单元还用于: The device according to any one of claims 8 to 12, wherein if M < N, the authentication unit is further configured to:
    在执行第M次所述进站认证之后,若经过设定时间阈值时仍未执行第(M+1)次所述进站认证,则将本次需要进行交通支付的人数由N调整为M。 After performing the Mth pass authentication, if the (M+1)th of the inbound authentication is not performed when the set time threshold is exceeded, the number of people who need to make the traffic payment is adjusted from N to M. .
PCT/CN2016/102930 2016-10-21 2016-10-21 Method and device for transport payment WO2018072206A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201680065985.3A CN108352863B (en) 2016-10-21 2016-10-21 Traffic payment method and equipment
PCT/CN2016/102930 WO2018072206A1 (en) 2016-10-21 2016-10-21 Method and device for transport payment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/102930 WO2018072206A1 (en) 2016-10-21 2016-10-21 Method and device for transport payment

Publications (1)

Publication Number Publication Date
WO2018072206A1 true WO2018072206A1 (en) 2018-04-26

Family

ID=62018245

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102930 WO2018072206A1 (en) 2016-10-21 2016-10-21 Method and device for transport payment

Country Status (2)

Country Link
CN (1) CN108352863B (en)
WO (1) WO2018072206A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110648131B (en) * 2019-08-27 2022-06-17 Oppo广东移动通信有限公司 Near field communication-based card swiping method and device, electronic equipment and storage medium
CN111401866A (en) * 2020-03-13 2020-07-10 杭州复杂美科技有限公司 Method, apparatus and storage medium for pre-storing and deducting commission fee

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604374A (en) * 2009-07-03 2009-12-16 北京百纳威尔科技有限公司 Wireless identification system and method
CN203350948U (en) * 2013-06-24 2013-12-18 南京航空航天大学 One-card type multiple person-time accounting terminal of metro
CN103473853A (en) * 2013-08-20 2013-12-25 华为终端有限公司 Method, device and system for mobile payment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184593A (en) * 2011-02-25 2011-09-14 惠州Tcl移动通信有限公司 One-card system based on mobile communication terminal
US10152706B2 (en) * 2013-03-11 2018-12-11 Cellco Partnership Secure NFC data authentication
CN105654617A (en) * 2014-11-26 2016-06-08 镇江雅迅软件有限责任公司 Subway card swiping system based on NFC payment
CN104899731B (en) * 2015-03-19 2018-12-11 腾讯科技(深圳)有限公司 The transmission method of mobile payment data, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604374A (en) * 2009-07-03 2009-12-16 北京百纳威尔科技有限公司 Wireless identification system and method
CN203350948U (en) * 2013-06-24 2013-12-18 南京航空航天大学 One-card type multiple person-time accounting terminal of metro
CN103473853A (en) * 2013-08-20 2013-12-25 华为终端有限公司 Method, device and system for mobile payment

Also Published As

Publication number Publication date
CN108352863A (en) 2018-07-31
CN108352863B (en) 2020-10-09

Similar Documents

Publication Publication Date Title
US20230005092A1 (en) Interactive image-based communication using image coding
US10121288B2 (en) Transit account management with mobile device messaging
CN104766205B (en) A kind of method of mobile payment and device
AU2011218922B2 (en) Virtual fare card and virtual fare device
AU2009262066B2 (en) Mobile communication device configured for transit application
AU2010271245B2 (en) Reloadable prepaid card distribution, reload, and registration in transit
US20110166936A1 (en) Predictive techniques in transit alerting
US20110165836A1 (en) Id application for nfc phone
CN105989522A (en) Payment additional service information processing method and electronic device for supporting the same
US11803851B2 (en) Systems and methods for identifying payment accounts to segments
US11521192B2 (en) Settlement system, user terminal and method executed thereby, settlement device and method executed thereby, and program
US20200104944A1 (en) Conducting various actions indicated by a financial card
CN106464502A (en) Methods and systems for authentication of a communication device
WO2018072206A1 (en) Method and device for transport payment
US20150317635A1 (en) Electronic gesture-based signatures
WO2018072405A1 (en) Fee-charging promotion method, apparatus, device, and computer storage medium
RU117671U1 (en) VIRTUAL TICKET SALES SYSTEM AND CHECK FOR THEIR VALIDITY
KR102505977B1 (en) System for processing offline payment, method of processing offline payment using secondary authentication based on personal information question and method and apparatus for the same
CN110678909A (en) Information processing apparatus, information processing method, and computer program
KR102533853B1 (en) System for processing offline payment, method of processing offline payment based on check-in using two-step location determination and apparatus for the same
TW201443809A (en) Corporate currency management device, corporate currency management method, and program
CN112686663A (en) Method and device for determining illegal relocation of POS machine
CN114372704A (en) Transportation management monitoring system
TW201447783A (en) Proprietary-currency management device, proprietary-currency management method, and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16919175

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16919175

Country of ref document: EP

Kind code of ref document: A1