CN113516471B - Bus payment method, device and equipment - Google Patents

Bus payment method, device and equipment Download PDF

Info

Publication number
CN113516471B
CN113516471B CN202110770357.8A CN202110770357A CN113516471B CN 113516471 B CN113516471 B CN 113516471B CN 202110770357 A CN202110770357 A CN 202110770357A CN 113516471 B CN113516471 B CN 113516471B
Authority
CN
China
Prior art keywords
event information
transaction event
platform
transaction
consumption
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110770357.8A
Other languages
Chinese (zh)
Other versions
CN113516471A (en
Inventor
王巨
姜波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Snowball Technology Co ltd
Original Assignee
Shenzhen Snowball Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Snowball Technology Co ltd filed Critical Shenzhen Snowball Technology Co ltd
Priority to CN202110770357.8A priority Critical patent/CN113516471B/en
Publication of CN113516471A publication Critical patent/CN113516471A/en
Application granted granted Critical
Publication of CN113516471B publication Critical patent/CN113516471B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • G06Q20/24Credit schemes, i.e. "pay after"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/349Rechargeable cards

Abstract

The application relates to the technical field of bus card swiping, in particular to a method, a device and equipment for paying by buses, wherein the method comprises the following steps: acquiring first transaction event information; detecting whether second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired; if not, sending deduction information to a pre-associated payment platform; the payment platform is preset with a credit line; after the deduction is detected, credit line complement information is sent to the using terminal so that the using terminal can complement the credit line; if yes, the first transaction event information is ignored, so that the repeated sending of the deduction information is avoided. By adopting the technical scheme of the application, the credit line is set on the payment platform, the card swiping function of the bus card can be realized without recharging in advance, the two-dimension code is not required to be displayed by unlocking the mobile phone, the convenience in the card swiping process is effectively improved, the consumption terminal is not required to be modified, and the modification cost is saved.

Description

Bus payment method, device and equipment
Technical Field
The application relates to the technical field of bus card swiping, in particular to a method, a device and equipment for paying by buses.
Background
Taking a bus for traveling is a traveling mode commonly adopted by modern people. Besides the traditional coin-in mode, people can pay bus fees by selecting to brush a physical bus card. The current physical bus card is a prepayment mode, namely, a user needs to recharge a certain amount of money into the card before using the physical bus card, and the NFC virtual bus card is a simulated physical card behavior, so that the physical bus card can be used only by pre-recharging, the steps are complicated, and the use of the user is influenced. Along with the rising of the two-dimension code, the solution merchant of the two-dimension code realizes the riding of the two-dimension code through modifying the POS machine, and meanwhile, the function of paying after riding by the user is realized, and the function omits the recharging action for the user and is popular with the user. But the two-dimensional code is used for swiping the card, so that a user is required to unlock the mobile phone and open the App, the two-dimensional code is displayed, the swiping process is complex, and the collection equipment of the terminal must be modified, so that the cost of the scheme is too high, and the popularization of the scheme is limited.
Therefore, in the prior art, the bus has the problems of complicated steps and complicated card swiping process when swiping cards, and the problem needs to be solved.
Disclosure of Invention
Therefore, the application aims to provide a method, a device and equipment for paying buses, which are used for solving the problems that the steps are complicated, the card swiping process is complicated and the collection equipment of a terminal must be modified when the two-dimension code of the current buses is swiped.
In order to achieve the above purpose, the application adopts the following technical scheme:
a method for paying for public transportation, which is applied to a server side, the method comprising:
acquiring first transaction event information;
detecting whether second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired; the system comprises a security chip of a terminal, a consumption terminal and an APP platform, wherein the security chip of the terminal is used for generating platform transaction event information after detecting a card swiping action and transmitting the platform transaction event information to the APP platform; if the first transaction event information is platform transaction event information from the APP platform, the second transaction information is consumption transaction event information from the consumption terminal; if the second transaction event information is platform transaction event information from the APP platform, the first transaction information is consumption transaction event information from the consumption terminal;
if the second transaction event information matched with the first transaction event information is not received before the first transaction event information is acquired, sending deduction information to a pre-associated payment platform according to the first transaction event information; the payment platform is provided with a credit line in advance;
after the deduction is detected, sending credit line complement information to the using terminal so that the using terminal complements the credit line;
and if the second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired, the first transaction event information is ignored, so that the deduction information is prevented from being repeatedly transmitted.
Further, in the method for paying bus according to the above, before sending the deduction information to the pre-associated payment platform according to the first transaction event information, the method further includes:
verifying the validity of the first transaction event information;
and if the first transaction event information is verified to be legal, sending deduction information to a pre-associated payment platform according to the first transaction event information.
Further, in the method for paying for buses, the platform transaction event information includes a platform card number, a platform transaction amount, a platform transaction date, a platform transaction time, a residual credit line and a platform verification certificate;
the consumption transaction event information comprises a consumption card number, a consumption transaction amount, a consumption transaction date, a consumption transaction time, a consumption residual amount and a consumption check certificate;
the detecting whether second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired includes:
before detecting and acquiring the first transaction event information, detecting whether second transaction event information exists, so that the platform card number is matched with the consumption card number, the platform transaction amount is matched with the consumption transaction amount, the platform transaction date is matched with the consumption transaction date, the platform transaction time is matched with the consumption transaction time, the residual credit line is matched with the consumption residual amount, and the platform check certificate is matched with the consumption check certificate;
if so, the detection of the first transaction event information is preceded by the reception of second transaction event information matched with the first transaction event information.
Further, in the method for paying for public transportation, if the first transaction event information is platform transaction event information from the APP platform, the verifying the validity of the first transaction event information includes:
checking whether the platform check certificate is legal or not;
and if the platform verification certificate is legal, the first transaction event information verification is legal.
Further, the application also provides a device for paying buses, which is applied to a server, and comprises:
the acquisition module is used for acquiring the first transaction event information;
the detection module is used for detecting whether second transaction event information matched with the first transaction event information is received or not before the first transaction event information is acquired; the system comprises a security chip of a terminal, a consumption terminal and an APP platform, wherein the security chip of the terminal is used for generating platform transaction event information after detecting a card swiping action and transmitting the platform transaction event information to the APP platform; if the first transaction event information is platform transaction event information from the APP platform, the second transaction information is consumption transaction event information from the consumption terminal; if the second transaction event information is platform transaction event information from the APP platform, the first transaction information is consumption transaction event information from the consumption terminal;
the first sending module is used for sending deduction information to a pre-associated payment platform according to the first transaction event information if the second transaction event information matched with the first transaction event information is not received before the first transaction event information is acquired; the payment platform is provided with a credit line in advance;
the second sending module is used for sending credit line complement information to the using terminal after the completion of deduction is detected, so that the using terminal complements the credit line;
and the neglecting module is used for neglecting the first transaction event information to avoid repeated sending of the deduction information if the second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired.
Further, the device for paying for public transportation further comprises a verification module;
the verification module is used for verifying the validity of the first transaction event information before sending the deduction information to a pre-associated payment platform according to the first transaction event information;
and the first sending module is used for sending deduction information to a pre-associated payment platform according to the first transaction event information if the first transaction event information is verified to be legal.
Further, the platform transaction event information includes a platform card number, a platform transaction amount, a platform transaction date, a platform transaction time, a residual credit line and a platform verification certificate;
the consumption transaction event information comprises a consumption card number, a consumption transaction amount, a consumption transaction date, a consumption transaction time, a consumption residual amount and a consumption check certificate;
the detection module is used for detecting whether second transaction event information exists before the first transaction event information is acquired, so that the platform card number is matched with the consumption card number, the platform transaction amount is matched with the consumption transaction amount, the platform transaction date is matched with the consumption transaction date, the platform transaction time is matched with the consumption transaction time, the residual credit limit is matched with the consumption residual amount, and the platform check certificate is matched with the consumption check certificate; if so, the detection of the first transaction event information is preceded by the reception of second transaction event information matched with the first transaction event information.
Further, in the above device for paying bus, if the first transaction event information is platform transaction event information from the APP platform, the verification module is configured to verify whether the platform verification certificate is legal; and if the platform verification certificate is legal, the first transaction event information verification is legal.
Further, the application also provides equipment for paying buses, which comprises a processor and a memory, wherein the processor is connected with the memory:
the processor is used for calling and executing the program stored in the memory;
the memory is configured to store the program, and the program is at least configured to perform the method of paying for public transportation according to any one of the above.
The application discloses a method, a device and equipment for paying buses, wherein the method comprises the following steps: acquiring first transaction event information; detecting whether second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired; the system comprises a transaction event detection module, a transaction event generation module and a transaction event generation module, wherein the transaction event information of a platform is generated after a transaction event is detected by a security chip of a terminal and is sent to an APP platform; if the first transaction event information is platform transaction event information from an APP platform, the second transaction information is consumption transaction event information from a consumption terminal; if the second transaction event information is platform transaction event information from the APP platform, the first transaction information is consumption transaction event information from the consumption terminal; if the second transaction event information matched with the first transaction event information is not received before the first transaction event information is acquired, sending deduction information to a pre-associated payment platform according to the first transaction event information; the payment platform is preset with a credit line; after the deduction is detected, credit line complement information is sent to the using terminal so that the using terminal can complement the credit line; if the second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired, the first transaction event information is ignored, so that repeated sending of deduction information is avoided. By adopting the technical scheme of the application, the credit line is set on the payment platform, the card swiping function of the bus card can be realized without recharging in advance, the two-dimension code is not required to be displayed by unlocking the mobile phone, the convenience in the card swiping process is effectively improved, the consumption terminal is not required to be modified, and the modification cost is saved.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart provided by one embodiment of a method of bus payment in accordance with the present application;
FIG. 2 is a schematic diagram of an embodiment of a bus payment device according to the present application;
fig. 3 is a schematic diagram of an embodiment of the public transportation payment device according to the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail below. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, based on the examples herein, which are within the scope of the application as defined by the claims, will be within the scope of the application as defined by the claims.
FIG. 1 is a flow chart provided by one embodiment of a method of bus payment according to the present application.
As shown in fig. 1, the method for paying for public transportation according to this embodiment may include the following steps:
s11, acquiring first transaction event information.
S12, detecting whether second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired, if yes, executing S15, and if not, executing S13.
S13, sending deduction information to a pre-associated payment platform according to the first transaction event information.
And S14, after the deduction is detected, sending credit line complement information to the using terminal so as to facilitate the using terminal to complement the credit line.
S15, neglecting the first transaction event information so as to avoid repeated sending of deduction information.
Specifically, in the implementation process of the method of the embodiment, three terminals are shared, which are respectively a server, a user terminal for swiping a card, and a consumption terminal. The using terminal can be intelligent equipment such as a mobile phone, a tablet personal computer, an intelligent bracelet and the like, and the consumption terminal is a card swiping machine arranged on a bus. Steps S11 to S15 of this embodiment are implemented by using a server as an execution body.
It should be noted that, the implementation specification of Applet running on the security chip of the user terminal is completely in accordance with the card rule Fan Shixian of the card, that is, the consumer terminal needs to identify the security chip as the card and can consume normally, so as to achieve the purpose of not modifying the consumer terminal. On this basis, the user card swiping behavior notification can be realized, and the user card swiping behavior can be sent to the App platform in an event mode, and in some alternative embodiments, the App platform is typically a wallet App used by a mobile phone manufacturer to manage cards.
In addition, the automatic deduction service is required to be signed with a certain payment channel, so that the pre-association with the payment platform is completed. Such as signing up for payment treasures, weChat or credit card deduction services, etc., the embodiment is not limited. The process of signing up for automatic deduction service requires that the user uses the funds stored in a part of the paymate as credit line, and when the consumer terminal recognizes the security chip as a card passing, the credit line is recognized as the balance of the card passing. In some alternative embodiments, the credit line is typically 10-20 yuan in size, and specific data is typically referred to as the line of a single maximum deduction for local public transportation, which is not limited in this embodiment. After the server detects that the automatic deduction service subscription is completed, the association relation between the bus card number and the subscription information, namely 1 to 1, is established.
In a specific implementation process, after the user uses the terminal to close to the consumption terminal to perform a card swiping action, a card swiping event is generated. And generating platform transaction event information by using a security chip of the terminal after detecting the card swiping event and sending the platform transaction event information to the APP platform. In some alternative embodiments, after the Applet running on the security chip detects the card swiping action, the action of card swiping consumption of the user can be sent to the App platform in an event mode, that is, the Applet running on the security chip generates platform transaction event information and sends the platform transaction event information to the App platform. And after detecting the card swiping time, the consumption terminal generates consumption transaction event information.
And the APP platform sends the platform transaction event information to the server, and the consumption terminal sends the consumption transaction event information to the server.
The server obtains the first transaction event and detects whether a second transaction event matching the first transaction event was obtained before the first transaction event was obtained. Specifically, if the first transaction event information is platform transaction event information from an APP platform, the second transaction information is consumption transaction event information from a consumption terminal; if the second transaction event information is platform transaction event information from the APP platform, the first transaction information is consumption transaction event information from the consumption terminal.
In this embodiment, first transaction event information is taken as platform transaction event information from an APP platform, and second transaction information is taken as consumption transaction event information from a consumption terminal as an example to explain:
if the server acquires the platform transaction event information from the APP platform, further judging whether the consumption transaction event information is acquired before. Under the condition that the network is normal, the speed of sending the platform transaction event information by the APP platform is higher than the speed of sending the consumption transaction event information by the consumption terminal, so that the platform transaction event information can be preferentially received under most conditions. If the server preferentially receives the platform transaction event information, that is, if it is determined that the consumption transaction event information is not received before the platform transaction event information is acquired, the server may send deduction information to a pre-associated payment platform according to the platform transaction event information. And after the payment is detected to be finished, sending credit line complement information to the using terminal so as to facilitate the using terminal to complement the credit line.
If the network is abnormal, but the platform transaction event information sent by the APP platform is not lost, and is delayed to be sent to the server. The server starts to detect after the platform transaction event information is acquired, if the consumption transaction event information matched with the platform transaction event information is acquired before the platform transaction event information is acquired, the server indicates that the server has deducted money according to the previous consumption transaction event information, and in order to avoid repeated deduction, the platform transaction event information can be ignored.
Further, in this embodiment, the second transaction event information is platform transaction event information from the APP platform, and the first transaction information is consumption transaction event information from the consumption terminal, which is described as an example:
if the server acquires the consumption transaction event information, further detecting whether the platform transaction event information is acquired before the consumption transaction event information is acquired. Under the condition that the network is normal, the speed of sending the platform transaction event information by the APP platform is higher than the speed of sending the consumption transaction event information by the consumption terminal, so that the platform transaction event information can be preferentially received under most conditions. Under the condition that the server preferentially receives the consumption transaction event information, namely, the server determines that the platform transaction event information is received before the consumption transaction event information is acquired through judgment, the server deducts money according to the previous platform transaction event information, and in order to avoid repeated deduction, the consumption transaction event information can be ignored.
If the network is abnormal, the situation that the platform transaction event information sent by the APP platform is lost or delayed to be sent is detected, and the server determines that the consumption transaction event information matched with the platform transaction event information is not acquired before the consumption transaction event information is acquired, then the server can send deduction information to a pre-associated payment platform according to the consumption transaction event information. And after the payment is detected to be finished, sending credit line complement information to the using terminal so as to facilitate the using terminal to complement the credit line.
The method for paying by bus of the application comprises the following steps: acquiring first transaction event information; detecting whether second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired; the system comprises a transaction event detection module, a transaction event generation module and a transaction event generation module, wherein the transaction event information of a platform is generated after a transaction event is detected by a security chip of a terminal and is sent to an APP platform; if the first transaction event information is platform transaction event information from an APP platform, the second transaction information is consumption transaction event information from a consumption terminal; if the second transaction event information is platform transaction event information from the APP platform, the first transaction information is consumption transaction event information from the consumption terminal; if the second transaction event information matched with the first transaction event information is not received before the first transaction event information is acquired, sending deduction information to a pre-associated payment platform according to the first transaction event information; the payment platform is preset with a credit line; after the deduction is detected, credit line complement information is sent to the using terminal so that the using terminal can complement the credit line; if the second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired, the first transaction event information is ignored, so that repeated sending of deduction information is avoided. By adopting the technical scheme of the application, the credit line is set on the payment platform, the card swiping function of the bus card can be realized without recharging in advance, the two-dimension code is not required to be displayed by unlocking the mobile phone, the convenience in the card swiping process is effectively improved, the consumption terminal is not required to be modified, and the modification cost is saved.
In some alternative embodiments, before the step of sending the deduction information to the pre-associated paymate based on the first transaction event information, the method further comprises the steps of:
step one: verifying the validity of the first transaction event information;
step two: and if the first transaction event information is verified to be legal, sending deduction information to a pre-associated payment platform according to the first transaction event information.
Specifically, if it is determined that the second transaction event information matched with the first transaction event information is not received before the first transaction event information is acquired after the detection, deduction is required according to the first transaction event information. Before deduction work is carried out, the validity of the first transaction event information needs to be checked, and on the premise that the first transaction event information is checked to be legal, deduction information is sent to a pre-associated payment platform according to the first transaction event information, so that the situation of wrong deduction is avoided.
In some alternative embodiments, if the first transaction event information is platform transaction event information, verifying the validity of the platform transaction event information, and if the validity verification of the platform transaction event information is successful, sending deduction information to a pre-associated payment platform.
In some other alternative embodiments, if the first transaction event information is consumption transaction event information, verifying the validity of the consumption transaction event information, and if the validity verification of the consumption transaction event information is successful, sending deduction information to a pre-associated payment platform.
In some alternative embodiments, the dock transaction event information includes a dock card number, a dock transaction amount, a dock transaction date, a dock transaction time, a remaining credit, and a dock check voucher, and the consumer transaction event information includes a consumer card number, a consumer transaction amount, a consumer transaction date, a consumer transaction time, a remaining amount of consumption, and a consumer check voucher.
The step of detecting whether second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired comprises the following sub-steps:
the method comprises the following substeps: before detecting and acquiring the first transaction event information, detecting whether second transaction event information exists, enabling a platform card number to be matched with a consumption card number, enabling a platform transaction amount to be matched with a consumption transaction amount, enabling a platform transaction date to be matched with a consumption transaction date, enabling a platform transaction time to be matched with a consumption transaction time, enabling a residual credit line to be matched with a consumption residual amount, and enabling a platform verification certificate to be matched with a consumption verification certificate;
sub-step two: if so, the detection of the first transaction event information is preceded by receiving second transaction event information matched with the first transaction event information.
That is, in the verification process, the card number, the transaction amount, the transaction date, the transaction time, the residual amount and the verification certificate need to be checked against the platform transaction event information and the consumption transaction event information, if the card number, the transaction amount, the transaction date, the transaction time, the residual amount and the verification certificate are all matched, the platform transaction event information is matched with the consumption transaction event information, and then the second transaction event information matched with the first transaction event information is received before the first transaction event information is detected and acquired.
In some alternative embodiments, if the first transaction event information is platform transaction event information from the APP platform, the step of verifying the validity of the first transaction event information includes the following sub-steps:
the method comprises the following substeps: the verification platform verifies whether the certificate is legal;
sub-step two: if the platform verification certificate is legal, the first transaction event information verification is legal.
Specifically, the verification information is different according to the verification data used by cards of different specifications, and the domestic MOT specification generally uses transaction vouchers as the verification information.
Based on a general inventive concept, the application also provides a device for paying buses, which is used for realizing the method embodiment.
Fig. 2 is a schematic structural diagram of an embodiment of the device for paying bus according to the present application.
As shown in fig. 2, the device for paying public transportation according to this embodiment is applied to a server, and the device includes:
an acquisition module 21, configured to acquire first transaction event information;
a detection module 22, configured to detect whether second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired; the system comprises a security chip of a terminal, a consumption terminal, a APP platform, a user terminal and a user terminal, wherein the security chip of the terminal is used for generating platform transaction event information after detecting a card swiping action and sending the platform transaction event information to the APP platform; if the first transaction event information is platform transaction event information from an APP platform, the second transaction information is consumption transaction event information from a consumption terminal; if the second transaction event information is platform transaction event information from the APP platform, the first transaction information is consumption transaction event information from the consumption terminal;
the first sending module 23 is configured to send deduction information to a pre-associated payment platform according to the first transaction event information if second transaction event information matched with the first transaction event information is not received before the first transaction event information is acquired; the payment platform is preset with a credit line;
a second sending module 24, configured to send credit line replenishment information to the user terminal after detecting that the deduction is completed, so that the user terminal can replenish the credit line;
the ignoring module 25 is configured to ignore the first transaction event information if the second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired, so as to avoid sending the deduction information repeatedly.
In some alternative embodiments, the device for paying for public transportation further comprises a verification module;
the verification module is used for verifying the validity of the first transaction event information before sending the deduction information to the pre-associated payment platform according to the first transaction event information;
the first sending module 23 is configured to send payment deduction information to a pre-associated payment platform according to the first transaction event information if the first transaction event information is verified to be legal.
In some alternative embodiments, the platform transaction event information includes a platform card number, a platform transaction amount, a platform transaction date, a platform transaction time, a remaining credit line, and a platform verification credential; the consumption transaction event information comprises a consumption card number, a consumption transaction amount, a consumption transaction date, a consumption transaction time, a consumption residual amount and a consumption verification certificate;
the detection module 22 is configured to detect whether the second transaction event information exists before the first transaction event information is acquired, so that the platform card number matches the consumption card number, the platform transaction amount matches the consumption transaction amount, the platform transaction date matches the consumption transaction date, the platform transaction time matches the consumption transaction time, the remaining credit line matches the consumption remaining amount, and the platform verification certificate matches the consumption verification certificate; if so, the detection of the first transaction event information is preceded by receiving second transaction event information matched with the first transaction event information.
In some optional embodiments, if the first transaction event information is platform transaction event information from the APP platform, the verification module is configured to verify whether the platform verification credential is legal; if the platform verification certificate is legal, the first transaction event information verification is legal.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Based on a general inventive concept, the application also provides a public transportation payment device for realizing the method embodiment.
Fig. 3 is a schematic diagram of an embodiment of the public transportation payment device according to the present application.
As shown in fig. 3, the bus payment device of the present embodiment includes a processor 31 and a memory 32, and the processor 31 is connected to the memory 32. Wherein the processor 31 is used for calling and executing the program stored in the memory 32; the memory 32 is used for storing programs for at least performing the method of bus payment in the above embodiments.
It is to be understood that the same or similar parts in the above embodiments may be referred to each other, and that in some embodiments, the same or similar parts in other embodiments may be referred to.
It should be noted that in the description of the present application, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present application, unless otherwise indicated, the meaning of "plurality" means at least two.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It is to be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the application.

Claims (7)

1. A method for paying for public transportation, which is applied to a server, the method comprising:
acquiring first transaction event information;
detecting whether second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired; the system comprises a security chip of a terminal, a consumption terminal and an APP platform, wherein the security chip of the terminal is used for generating platform transaction event information after detecting a card swiping action and transmitting the platform transaction event information to the APP platform; if the first transaction event information is platform transaction event information from the APP platform, the second transaction event information is consumption transaction event information from the consumption terminal; if the second transaction event information is platform transaction event information from the APP platform, the first transaction event information is consumption transaction event information from the consumption terminal;
if the second transaction event information matched with the first transaction event information is not received before the first transaction event information is acquired, sending deduction information to a pre-associated payment platform according to the first transaction event information; the payment platform is provided with a credit line in advance;
after the deduction is detected, sending credit line complement information to the using terminal so that the using terminal complements the credit line;
if the second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired, the first transaction event information is ignored, and repeated sending of the deduction information is avoided;
the platform transaction event information comprises a platform card number, a platform transaction amount, a platform transaction date, a platform transaction time, a residual credit line and a platform verification certificate;
the consumption transaction event information comprises a consumption card number, a consumption transaction amount, a consumption transaction date, a consumption transaction time, a consumption residual amount and a consumption check certificate;
the detecting whether second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired includes:
before detecting and acquiring the first transaction event information, detecting whether second transaction event information exists, so that the platform card number is matched with the consumption card number, the platform transaction amount is matched with the consumption transaction amount, the platform transaction date is matched with the consumption transaction date, the platform transaction time is matched with the consumption transaction time, the residual credit line is matched with the consumption residual amount, and the platform check certificate is matched with the consumption check certificate;
if so, the detection of the first transaction event information is preceded by the reception of second transaction event information matched with the first transaction event information.
2. The method of claim 1, wherein before sending the deduction information to the pre-associated paymate based on the first transaction event information, further comprising:
verifying the validity of the first transaction event information;
and if the first transaction event information is verified to be legal, sending deduction information to a pre-associated payment platform according to the first transaction event information.
3. The method of claim 2, wherein if the first transaction event information is platform transaction event information from the APP platform, the verifying the validity of the first transaction event information comprises:
checking whether the platform check certificate is legal or not;
and if the platform verification certificate is legal, the first transaction event information verification is legal.
4. A device for paying for public transportation, which is applied to a server, the device comprising:
the acquisition module is used for acquiring the first transaction event information;
the detection module is used for detecting whether second transaction event information matched with the first transaction event information is received or not before the first transaction event information is acquired; the system comprises a security chip of a terminal, a consumption terminal and an APP platform, wherein the security chip of the terminal is used for generating platform transaction event information after detecting a card swiping action and transmitting the platform transaction event information to the APP platform; if the first transaction event information is platform transaction event information from the APP platform, the second transaction event information is consumption transaction event information from the consumption terminal; if the second transaction event information is platform transaction event information from the APP platform, the first transaction event information is consumption transaction event information from the consumption terminal; the platform transaction event information comprises a platform card number, a platform transaction amount, a platform transaction date, a platform transaction time, a residual credit line and a platform verification certificate; the consumption transaction event information comprises a consumption card number, a consumption transaction amount, a consumption transaction date, a consumption transaction time, a consumption residual amount and a consumption check certificate; the detecting whether second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired includes: before detecting and acquiring the first transaction event information, detecting whether second transaction event information exists, so that the platform card number is matched with the consumption card number, the platform transaction amount is matched with the consumption transaction amount, the platform transaction date is matched with the consumption transaction date, the platform transaction time is matched with the consumption transaction time, the residual credit line is matched with the consumption residual amount, and the platform check certificate is matched with the consumption check certificate; if so, the method indicates that the second transaction event information matched with the first transaction event information is received before the first transaction event information is detected and acquired
The first sending module is used for sending deduction information to a pre-associated payment platform according to the first transaction event information if the second transaction event information matched with the first transaction event information is not received before the first transaction event information is acquired; the payment platform is provided with a credit line in advance;
the second sending module is used for sending credit line complement information to the using terminal after the completion of deduction is detected, so that the using terminal complements the credit line;
and the neglecting module is used for neglecting the first transaction event information to avoid repeated sending of the deduction information if the second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired.
5. The bus payment device of claim 4, further comprising a verification module;
the verification module is used for verifying the validity of the first transaction event information before sending the deduction information to a pre-associated payment platform according to the first transaction event information;
and the first sending module is used for sending deduction information to a pre-associated payment platform according to the first transaction event information if the first transaction event information is verified to be legal.
6. The bus payment device according to claim 5, wherein if the first transaction event information is platform transaction event information from the APP platform, the verification module is configured to verify whether the platform verification credential is legal; and if the platform verification certificate is legal, the first transaction event information verification is legal.
7. A bus payment device, comprising a processor and a memory, wherein the processor is connected with the memory:
the processor is used for calling and executing the program stored in the memory;
the memory for storing the program at least for executing the method of bus payment according to any one of claims 1-3.
CN202110770357.8A 2021-07-07 2021-07-07 Bus payment method, device and equipment Active CN113516471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110770357.8A CN113516471B (en) 2021-07-07 2021-07-07 Bus payment method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110770357.8A CN113516471B (en) 2021-07-07 2021-07-07 Bus payment method, device and equipment

Publications (2)

Publication Number Publication Date
CN113516471A CN113516471A (en) 2021-10-19
CN113516471B true CN113516471B (en) 2023-12-05

Family

ID=78066794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110770357.8A Active CN113516471B (en) 2021-07-07 2021-07-07 Bus payment method, device and equipment

Country Status (1)

Country Link
CN (1) CN113516471B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101504783A (en) * 2008-02-04 2009-08-12 中国移动通信集团公司 Fee deducting method, device and system for electronic purse
WO2017118314A1 (en) * 2016-01-05 2017-07-13 阿里巴巴集团控股有限公司 Data interaction method and device, and offline credit payment method and device
CN107093074A (en) * 2017-04-26 2017-08-25 广州地铁设计研究院有限公司 The ticket checking payment system and method for a kind of urban track traffic financial IC card
CN107341659A (en) * 2017-06-22 2017-11-10 北京小米移动软件有限公司 Public transport method of payment and device
CN109087085A (en) * 2018-07-26 2018-12-25 深圳市万通顺达科技股份有限公司 A kind of the off line method of payment and payment system of public transport two dimensional code
CN109670807A (en) * 2018-11-20 2019-04-23 平安科技(深圳)有限公司 It withholds control method, device, equipment and readable storage medium storing program for executing
CN110390522A (en) * 2018-04-19 2019-10-29 北京三快在线科技有限公司 Virtual resource management method and device
CN110766394A (en) * 2019-10-21 2020-02-07 腾讯科技(深圳)有限公司 Bus taking payment method and device based on credit degree, electronic equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9805405B2 (en) * 2014-02-14 2017-10-31 Andrew A. Boemi Mobile device payment system and method
AU2017410097A1 (en) * 2017-04-18 2019-11-21 Verrency Holdings Ltd. Points-based payment system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101504783A (en) * 2008-02-04 2009-08-12 中国移动通信集团公司 Fee deducting method, device and system for electronic purse
WO2017118314A1 (en) * 2016-01-05 2017-07-13 阿里巴巴集团控股有限公司 Data interaction method and device, and offline credit payment method and device
CN107093074A (en) * 2017-04-26 2017-08-25 广州地铁设计研究院有限公司 The ticket checking payment system and method for a kind of urban track traffic financial IC card
CN107341659A (en) * 2017-06-22 2017-11-10 北京小米移动软件有限公司 Public transport method of payment and device
CN110390522A (en) * 2018-04-19 2019-10-29 北京三快在线科技有限公司 Virtual resource management method and device
CN109087085A (en) * 2018-07-26 2018-12-25 深圳市万通顺达科技股份有限公司 A kind of the off line method of payment and payment system of public transport two dimensional code
CN109670807A (en) * 2018-11-20 2019-04-23 平安科技(深圳)有限公司 It withholds control method, device, equipment and readable storage medium storing program for executing
CN110766394A (en) * 2019-10-21 2020-02-07 腾讯科技(深圳)有限公司 Bus taking payment method and device based on credit degree, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
虚拟公交卡服务系统安全技术研究;周亮;李汉臣;程连涛;;城市公共交通(03);全文 *

Also Published As

Publication number Publication date
CN113516471A (en) 2021-10-19

Similar Documents

Publication Publication Date Title
CN104766205B (en) A kind of method of mobile payment and device
CN108171504B (en) Aggregated payment method, mobile device and storage device
CN101916478A (en) Method for automatically acquiring, verifying and inputting dynamic password in normal short message by client
CN111062713A (en) Payment system, method, server device, medium and device
CN109858916A (en) A kind of method of payment, device, equipment, system and storage medium
CN112950219A (en) Payment processing method and system
WO2022237572A1 (en) Payment method and apparatus, and device
CN113516471B (en) Bus payment method, device and equipment
CN104063783A (en) Two-dimension code based bus card swiping method, system and server
CN108431843B (en) Transaction processing method and device
CN101854628A (en) Password verification system and password verification method
CN111192035A (en) Multi-system consumption clearing configuration processing method and system
CN111353781B (en) Transaction data processing method and system
CN107705123A (en) A kind of NFC payment, system and terminal, server
CN114358758A (en) Recharging method for digital currency hardware wallet and related equipment
CN109658084B (en) Offline payment method and system
CN105761082A (en) Digital password payment method, payment device, and terminal
CN111178872A (en) Mobile banking payment method and device without mobile phone verification code
CN111429129A (en) Service processing method and device based on identification information verification
TWM583975U (en) Automatic mobile payment service system
CN111178850B (en) Transaction method, device and system
CN113112332B (en) Cross-data-platform order verification method, device and equipment
CN113794810B (en) Telephone charge recharging method and device
CN103366271A (en) Data processing system, device and method
TWI730345B (en) Automated mobile payment service system and method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant