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

Bus payment method, device and equipment Download PDF

Info

Publication number
CN113516471A
CN113516471A CN202110770357.8A CN202110770357A CN113516471A CN 113516471 A CN113516471 A CN 113516471A CN 202110770357 A CN202110770357 A CN 202110770357A CN 113516471 A CN113516471 A CN 113516471A
Authority
CN
China
Prior art keywords
event information
transaction event
transaction
platform
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.)
Granted
Application number
CN202110770357.8A
Other languages
Chinese (zh)
Other versions
CN113516471B (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

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of bus card swiping, in particular to a bus payment method, a device and equipment, 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 obtained; if not, sending deduction information to a pre-associated payment platform; wherein, a credit limit is preset in the payment platform; after the deduction is detected to be completed, credit line complementing information is sent to the using terminal so as to complement the credit line by the using terminal; if yes, the first transaction event information is ignored so as to avoid repeatedly sending deduction information. By adopting the technical scheme of the invention, the credit limit is set on the payment platform, the card swiping function of the bus card can be realized without recharging in advance, the mobile phone is not required to be unlocked to display the two-dimensional code, the convenience of the card swiping process is effectively improved, and the consumption terminal is not required to be modified, so that the modification cost is saved.

Description

Bus payment method, device and equipment
Technical Field
The invention relates to the technical field of bus card swiping, in particular to a bus payment method, device and equipment.
Background
Taking a bus to go out is a common trip mode adopted by modern people. Besides the traditional coin-in mode, people can also choose to swipe a physical bus card to pay the riding fee. The current physical public transport card all is the mode of prepayment, and the user need fill the certain amount of value in the card earlier before using the physical public transport card, and the virtual public transport card of NFC is the action of the physical card of simulation, consequently also need to recharge in advance just can use, and the step is comparatively loaded down with trivial details, influences the user and uses. With the rise of the two-dimension code, a two-dimension code scanning riding function is realized by a two-dimension code solution maker through transforming a POS machine, meanwhile, a function that a user rides a bus first and pays the bus later is also realized, and the function saves recharging actions for the user and is popular with the user. However, when the two-dimensional code is used for swiping a card, a user needs to unlock the mobile phone and open the App to display the two-dimensional code, the card swiping process is complex, and money collection equipment of the terminal needs to 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 problems of complex steps and complex card swiping process exist in the bus card swiping process, and urgent need to be solved.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, and a device for bus payment to overcome the problems of complicated steps, complicated card swiping process, and necessity of modifying a collection device of a terminal in the current bus two-dimensional code card swiping process.
In order to achieve the purpose, the invention adopts the following technical scheme:
a bus payment method is applied to a server side and comprises the following steps:
acquiring first transaction event information;
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 consumption terminal generates consumption transaction event information after detecting the card swiping event; 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 obtained, deduction information is sent to a pre-associated payment platform according to the first transaction event information; wherein, a credit line is preset in the payment platform;
after the deduction is detected to be completed, credit line complementing information is sent 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 obtained, ignoring the first transaction event information to avoid repeatedly sending the deduction information.
Further, before sending the deduction information to a pre-associated payment platform according to the first transaction event information, the method for paying for the public transport 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 above bus payment method, 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 amount, 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 verification voucher;
before the detecting obtains the first transaction event information, whether second transaction event information matched with the first transaction event information is received or not includes:
before the first transaction event information is detected and obtained, whether second transaction event information exists or not is detected, 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 remaining credit line is matched with the consumption remaining amount, and the platform verification certificate is matched with the consumption verification certificate;
and if the transaction event information exists, the second transaction event information matched with the first transaction event information is received before the first transaction event information is detected and acquired.
Further, in the above method for bus payment, 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:
verifying whether the platform verification certificate is legal or not;
and if the platform verification certificate is legal, the first transaction event information is verified to be legal.
Further, the invention also provides a device for bus payment, which is applied to a server side, and the device comprises:
the acquisition module is used for acquiring 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 consumption terminal generates consumption transaction event information after detecting the card swiping event; 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 obtained; wherein, a credit line is preset in the payment platform;
the second sending module is used for sending credit line complementing information to the using terminal after detecting that the deduction is finished so as to complement the credit line by the using terminal;
and the ignoring module is used for ignoring the first transaction event information to avoid repeatedly sending 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 obtained.
Furthermore, the bus payment device further comprises a verification module;
the verification module is used for verifying the legality of the first transaction event information before sending 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, in the above bus payment device, 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 amount, 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 verification voucher;
the detection module is used for detecting whether second transaction event information exists before the first transaction event information is obtained, 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 remaining credit amount is matched with the consumption remaining amount, and the platform verification certificate is matched with the consumption verification certificate; and if the transaction event information exists, the second transaction event information matched with the first transaction event information is received before the first transaction event information is detected and acquired.
Further, in the above bus payment apparatus, 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 is verified to be legal.
Further, the invention also provides a device for bus payment, 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 used for storing the program, and the program is at least used for executing the bus payment method in any item.
The invention discloses a method, a device and equipment for bus payment, 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 obtained; the consumption terminal generates consumption transaction event information after detecting the transaction event; 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 second transaction event information matched with the first transaction event information is not received before the first transaction event information is obtained, deduction information is sent to a pre-associated payment platform according to the first transaction event information; wherein, a credit limit is preset in the payment platform; after the deduction is detected to be completed, credit line complementing information is sent to the using terminal so as to complement the credit line by the using terminal; and if second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired, ignoring the first transaction event information to avoid repeatedly sending deduction information. By adopting the technical scheme of the invention, the credit limit is set on the payment platform, the card swiping function of the bus card can be realized without recharging in advance, the mobile phone is not required to be unlocked to display the two-dimensional code, the convenience of the card swiping process is effectively improved, and the consumption terminal is not required to be modified, so that the modification cost is saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart provided by one embodiment of a method of bus payment of the present invention;
FIG. 2 is a schematic structural diagram of a device for bus payment according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram provided by an embodiment of the bus payment device of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
Fig. 1 is a flow chart provided by an embodiment of the bus payment method of the invention.
As shown in fig. 1, the method for paying for public transport of the present embodiment may include the following steps:
and S11, acquiring the first transaction event information.
S12, detecting whether the 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.
And S13, sending deduction information to a pre-associated payment platform according to the first transaction event information.
And S14, after the deduction completion is detected, sending credit line complement information to the user terminal so as to complement the credit line by the user terminal.
And S15, ignoring the first transaction event information to avoid repeatedly sending deduction information.
Specifically, in the implementation process of the method of this embodiment, three terminals are shared, which are a user terminal and a consumption terminal for swiping cards by the server and the user, respectively. The use terminal can be intelligent equipment such as a mobile phone, a tablet personal computer and an intelligent bracelet, and the consumption terminal is a card swiping machine installed on a bus. Steps S11-S15 of the present embodiment are all implemented by using a server as an execution subject.
It should be noted that the implementation specification of the Applet running on the security chip of the user terminal is completely implemented according to the card specification of the pass card, that is, the consumption terminal needs to identify the security chip as the pass card and can normally consume, so as to achieve the purpose of not modifying the consumption terminal. On this basis, a behavior notification of card swiping of the user can be realized, the card swiping behavior of the user can be sent to the App platform in an event manner, and in some optional embodiments, the App platform is generally a wallet App used by a mobile phone manufacturer to manage cards.
In addition, the service of automatic deduction needs to be signed up with a certain payment channel first, and pre-association with a payment platform is completed. Such as a subscription payment device, a WeChat, or a deduction service of a credit card, etc., and the embodiment is not limited thereto. In the process of signing the automatic deduction service, a part of funds stored in a payment platform by a user is used as a credit line, and when the consumption terminal identifies the security chip as a communication card, the credit line is identified as the balance of the communication card. In some optional embodiments, the credit line is generally 10-20 yuan, and the specific data generally refers to the line of the single maximum deduction of local public transportation, which is not limited in this embodiment. And after detecting that the service subscription of the automatic deduction is finished, the server establishes the 1-to-1 incidence relation between the bus number and the subscription information.
In a specific implementation process, after a user uses the terminal to close to the consumption terminal to conduct 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 a card swiping event and sending the platform transaction event information to the APP platform. In some optional embodiments, after the Applet running on the secure chip detects a card swiping behavior, the Applet running on the secure chip may send a behavior of card swiping consumption of the user to the App platform in an event manner, that is, the Applet running on the secure chip generates platform transaction event information and sends the platform transaction event information to the App platform. And the consumption terminal generates consumption transaction event information after detecting the card swiping time.
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 acquires a first transaction event and detects whether a second transaction event matching the first transaction event is acquired before the first transaction event is acquired. Specifically, 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; and 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, the first transaction event information is platform transaction event information from an APP platform, and the second transaction information is consumption transaction event information from a consumption terminal, as an example, the following description is given:
and 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 is preferentially received under most conditions. Under the condition that the server preferentially receives the platform transaction event information, namely after judgment, the consumption transaction event information is determined not to be received before the platform transaction event information is acquired, and then the server can send deduction information to a pre-associated payment platform according to the platform transaction event information. And after the deduction is detected to be completed, sending credit line complementing information to the using terminal so as to complement the credit line by the using terminal.
If the network is abnormal, but the platform transaction event information sent by the APP platform is not lost, but is sent to the server in a delayed manner. And the server starts to detect after acquiring the platform transaction event information, and when detecting that 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 money deduction is performed according to the prior consumption transaction event information, and the platform transaction event information can be ignored in order to avoid repeated money deduction.
Further, the embodiment takes the second transaction event information as the platform transaction event information from the APP platform, and the first transaction information is the consumption transaction event information from the consumption terminal as an example to explain:
if the server acquires the consumption transaction event information, whether the platform transaction event information is acquired before the consumption transaction event information is acquired is further detected. 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 is preferentially received under most conditions. Under the condition that the server preferentially receives the consumption transaction event information, namely after judgment, the platform transaction event information is received before the consumption transaction event information is acquired, the server deducts money according to the prior platform transaction event information, and in order to avoid repeated money deduction, the consumption transaction event information can be ignored.
If the network is abnormal, the platform transaction event information sent by the APP platform is lost or delayed to be sent, the server determines that the consumption transaction event information matched with the platform transaction event information is not obtained before the consumption transaction event information is obtained through detection, and then the server can send money deduction information to a pre-associated payment platform according to the consumption transaction event information. And after the deduction is detected to be completed, sending credit line complementing information to the using terminal so as to complement the credit line by the using terminal.
The invention discloses a bus payment method, which 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 obtained; the consumption terminal generates consumption transaction event information after detecting the transaction event; 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 second transaction event information matched with the first transaction event information is not received before the first transaction event information is obtained, deduction information is sent to a pre-associated payment platform according to the first transaction event information; wherein, a credit limit is preset in the payment platform; after the deduction is detected to be completed, credit line complementing information is sent to the using terminal so as to complement the credit line by the using terminal; and if second transaction event information matched with the first transaction event information is received before the first transaction event information is acquired, ignoring the first transaction event information to avoid repeatedly sending deduction information. By adopting the technical scheme of the invention, the credit limit is set on the payment platform, the card swiping function of the bus card can be realized without recharging in advance, the mobile phone is not required to be unlocked to display the two-dimensional code, the convenience of the card swiping process is effectively improved, and the consumption terminal is not required to be modified, so that the modification cost is saved.
In some optional embodiments, before the step of sending the deduction information to the pre-associated payment platform according to the first transaction event information, the method further comprises the following steps:
the method comprises the following steps: 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 through detection that the second transaction event information matched with the first transaction event information is not received before the first transaction event information is acquired, a deduction needs to be performed according to the first transaction event information. Before deduction work is carried out, the legality of the first transaction event information needs to be verified, and on the premise that the first transaction event information is verified 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 optional embodiments, if the first transaction event information is platform transaction event information, the validity of the platform transaction event information is verified, and if the validity verification of the platform transaction event information is successful, deduction information is sent to a pre-associated payment platform.
In some other optional embodiments, if the first transaction event information is the consumption transaction event information, the validity of the consumption transaction event information is checked, and if the validity check of the consumption transaction event information is successful, the deduction information is sent to a pre-associated payment platform.
In some optional 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 amount, and a platform verification credential, and the consumption transaction event information includes a consumption card number, a consumption transaction amount, a consumption transaction date, a consumption transaction time, a consumption remaining amount, and a consumption verification credential.
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 substeps:
the first substep: before the first transaction event information is detected and obtained, whether second transaction event information exists or not is detected, 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 remaining credit amount is matched with the consumption remaining amount, and the platform verification certificate is matched with the consumption verification certificate;
and a second substep: and if the transaction event information exists, the second transaction event information matched with the first transaction event information is received before the first transaction event information is detected and acquired.
That is, in the verification process, the card number, the transaction amount, the transaction date, the transaction time, the remaining amount and the verification certificate need to be checked one by one with respect to 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 remaining amount and the verification certificate are all matched, it is indicated that the platform transaction event information is matched with the consumption transaction event information, and 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 optional embodiments, if the first transaction event information is platform transaction event information from the APP platform, the step of checking validity of the first transaction event information includes the following sub-steps:
the first substep: the checking platform checks whether the certificate is legal or not;
and a second substep: and if the platform verification certificate is legal, the first transaction event information is verified to be legal.
Specifically, the verification information is different according to the verification data used by the cards of different specifications, and the domestic MOT specification generally uses a transaction certificate as the verification information.
Based on a general inventive concept, the invention also provides a device for bus payment, which is used for realizing the embodiment of the method.
Fig. 2 is a schematic structural diagram provided by an embodiment of the bus payment device of the invention.
As shown in fig. 2, the device for bus payment of this embodiment is applied to a server, and the device includes:
an obtaining module 21, configured to obtain first transaction event information;
the detection module 22 is 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 consumption terminal generates consumption transaction event information after detecting a card swiping event; 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 23 is configured to send 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; wherein, a credit limit is preset in the payment platform;
the second sending module 24 is configured to send credit line replenishment information to the user terminal after detecting that the deduction is completed, so as to replenish the credit line for the user terminal;
and 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 repeatedly sending deduction information.
In some optional embodiments, the device for bus payment further comprises a verification module;
the verification module is used for verifying the legality of the first transaction event information before sending the deduction information to a pre-associated payment platform according to the first transaction event information;
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 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 limit, 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 voucher;
the detection module 22 is used for detecting whether the second transaction event information exists before the first transaction event information is obtained, 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 remaining credit amount is matched with the consumption remaining amount, and the platform verification certificate is matched with the consumption verification certificate; and if the transaction event information exists, 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 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; and if the platform verification certificate is legal, the first transaction event information is verified to be legal.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Based on a general inventive concept, the invention also provides a device for bus payment, which is used for realizing the embodiment of the method.
Fig. 3 is a schematic structural diagram provided by an embodiment of the bus payment device of the invention.
As shown in fig. 3, the device for bus payment 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 a program for executing at least the method of bus payment in the above embodiment.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
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 alternate implementations are included within the scope of the preferred embodiment of the present invention 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 invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean 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 invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (9)

1. A bus payment method is applied to a server side and comprises the following steps:
acquiring first transaction event information;
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 consumption terminal generates consumption transaction event information after detecting the card swiping event; 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 obtained, deduction information is sent to a pre-associated payment platform according to the first transaction event information; wherein, a credit line is preset in the payment platform;
after the deduction is detected to be completed, credit line complementing information is sent 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 obtained, ignoring the first transaction event information to avoid repeatedly sending the deduction information.
2. The method of bus payment according to claim 1, before sending deduction information to a pre-associated payment platform according to 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 bus payment of claim 2 wherein the platform transaction event information includes platform card number, platform transaction amount, platform transaction date, platform transaction time, remaining credit limit, and platform verification credentials;
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 voucher;
before the detecting obtains the first transaction event information, whether second transaction event information matched with the first transaction event information is received or not includes:
before the first transaction event information is detected and obtained, whether second transaction event information exists or not is detected, 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 remaining credit line is matched with the consumption remaining amount, and the platform verification certificate is matched with the consumption verification certificate;
and if the transaction event information exists, the second transaction event information matched with the first transaction event information is received before the first transaction event information is detected and acquired.
4. The method for bus payment according to claim 3, 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:
verifying whether the platform verification certificate is legal or not;
and if the platform verification certificate is legal, the first transaction event information is verified to be legal.
5. The utility model provides a device of public transit payment which characterized in that is applied to the server side, the device includes:
the acquisition module is used for acquiring 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 consumption terminal generates consumption transaction event information after detecting the card swiping event; 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 obtained; wherein, a credit line is preset in the payment platform;
the second sending module is used for sending credit line complementing information to the using terminal after detecting that the deduction is finished so as to complement the credit line by the using terminal;
and the ignoring module is used for ignoring the first transaction event information to avoid repeatedly sending 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 obtained.
6. The device for bus payment according to claim 5, further comprising a verification module;
the verification module is used for verifying the legality of the first transaction event information before sending 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.
7. The device of bus payment according to claim 6, wherein the platform transaction event information comprises platform card number, platform transaction amount, platform transaction date, platform transaction time, remaining credit amount and 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 verification voucher;
the detection module is used for detecting whether second transaction event information exists before the first transaction event information is obtained, 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 remaining credit amount is matched with the consumption remaining amount, and the platform verification certificate is matched with the consumption verification certificate; and if the transaction event information exists, the second transaction event information matched with the first transaction event information is received before the first transaction event information is detected and acquired.
8. The device for bus payment according to claim 7, 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 certificate is legal; and if the platform verification certificate is legal, the first transaction event information is verified to be legal.
9. The bus payment device is characterized by 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 for performing at least the method of bus payment according to any one of claims 1-4.
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 true CN113516471A (en) 2021-10-19
CN113516471B 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 (10)

* 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
US20150235290A1 (en) * 2014-02-14 2015-08-20 Andrew A. Boemi Mobile device payment system and method
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
US20180300705A1 (en) * 2017-04-18 2018-10-18 Verrency Holdings Pte. Ltd. Points-based payment system
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

Patent Citations (10)

* 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
US20150235290A1 (en) * 2014-02-14 2015-08-20 Andrew A. Boemi Mobile device payment system and method
WO2017118314A1 (en) * 2016-01-05 2017-07-13 阿里巴巴集团控股有限公司 Data interaction method and device, and offline credit payment method and device
US20180300705A1 (en) * 2017-04-18 2018-10-18 Verrency Holdings Pte. Ltd. Points-based payment system
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
周亮;李汉臣;程连涛;: "虚拟公交卡服务系统安全技术研究", 城市公共交通, no. 03 *

Also Published As

Publication number Publication date
CN113516471B (en) 2023-12-05

Similar Documents

Publication Publication Date Title
CN106114251B (en) A kind of charging pile reservation charging method based on mobile terminal
CN113657886B (en) Payment system, method, server device, medium and device
CN104766205B (en) A kind of method of mobile payment and device
CN103310557B (en) A kind of mthods, systems and devices of electronic cash space transference of NFC mobile phone
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
KR101316686B1 (en) Card terminal, method for offline payment used card terminal
CN112669042A (en) Payment method, server, user terminal, system and storage medium
CN112950219A (en) Payment processing method and system
CN109389396A (en) Transportation card account automatic charging method, device, equipment and computer storage medium
CN103455915A (en) Achieving method for payment and terminal
CN204557684U (en) A kind of pos machine can realize the system of recognition of face
CN113516471A (en) Bus payment method, device and equipment
CN110807639A (en) Payment method and device
CN116884141A (en) Charging service system for non-inductive payment, and processing method and device for charging request
CN105956848A (en) IC card recharge method and system based on NFC
CN111353781B (en) Transaction data processing method and system
CN114596088A (en) Digital currency transaction method and system and digital currency card application device
CN114987234A (en) Control method, control device and control system for remote charging of charging pile
CN109978520A (en) Converging network method of payment 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
CN111178872A (en) Mobile banking payment method and device without mobile phone verification code
CN112669112A (en) Method and system for automatically charging parking monthly card
CN113240410B (en) Payment method, network side device, terminal, electronic device and storage medium

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