CN112712634A - Bus fee deduction method and system - Google Patents

Bus fee deduction method and system Download PDF

Info

Publication number
CN112712634A
CN112712634A CN202011581324.0A CN202011581324A CN112712634A CN 112712634 A CN112712634 A CN 112712634A CN 202011581324 A CN202011581324 A CN 202011581324A CN 112712634 A CN112712634 A CN 112712634A
Authority
CN
China
Prior art keywords
bus
card
wireless communication
module
communication module
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
CN202011581324.0A
Other languages
Chinese (zh)
Other versions
CN112712634B (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.)
Tendyron Corp
Original Assignee
Tendyron Corp
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 Tendyron Corp filed Critical Tendyron Corp
Priority to CN202011581324.0A priority Critical patent/CN112712634B/en
Publication of CN112712634A publication Critical patent/CN112712634A/en
Application granted granted Critical
Publication of CN112712634B publication Critical patent/CN112712634B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F7/00Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
    • G07F7/08Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • G07B15/02Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points taking into account a variable factor such as distance or time, e.g. for passenger transport, parking systems or car rental systems
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F7/00Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
    • G07F7/08Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
    • G07F7/10Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means together with a coded signal, e.g. in the form of personal identification information, like personal identification number [PIN] or biometric data

Abstract

The invention provides a bus fee deduction method and a system, wherein the method comprises the following steps: step 1, a first communication connection is established between a smart card and a bus card swiping module; step 2, the smart card sends the equipment address to a bus card swiping module; 3-5, the bus wireless communication module receives the equipment information of the intelligent card and establishes second communication connection with the intelligent card; step 6, the bus wireless communication module judges whether the bus is driven from the current station to the next station of the current station, if so, the bus wireless communication module sends a transaction request to the intelligent card; 7-8, the intelligent card sends the digital currency corresponding to the transaction amount in the transaction request to the bus wireless communication module; step 9, the bus wireless communication module detects whether a wireless connection disconnection request is received; if not, judging whether the bus reaches the next station of the current station, if so, taking the next station of the current station as the current station, and returning to the step 6; and if the bus communication module receives the information, the bus wireless communication module is disconnected from the second communication connection with the intelligent card.

Description

Bus fee deduction method and system
Technical Field
The invention relates to the technical field of electronics, in particular to a bus fee deduction method and a bus fee deduction system.
Background
Public transport is short for public transport, and the public transport means refers to all transport means providing transportation services, including urban buses, urban rail transit, inter-city automobiles, rail transit and the like. The public transport becomes an indispensable part of modern cities with the advantages of rapidness, convenience, economy, practicability and the like.
At present, people who take buses are charged by adopting a passive RFID bus card swiping mode. The Beijing adopts the charging mode of swiping the card for the upper car and swiping the card for the lower car, calculates the distance between the swiping card for the upper car and the swiping card for the lower car through a system, and charges different fees for people who take different distances or charges one time for swiping the card for the upper car. Whether the passenger gets on the bus and swipes the card to deduct the fee or gets off the bus and swipes the card to deduct the fee, when the card is swiped and deducted the fee and uses the digital currency, because the digital currency has large transaction data volume and slow speed, the problem of card-swiping congestion can occur.
Disclosure of Invention
The present invention is directed to solving one of the problems set forth above.
The invention mainly aims to provide a bus fee deduction method.
Another object of the present invention is to provide a bus fee deduction system.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a bus fee deduction method on one hand, which comprises the following steps:
step 1, establishing a first communication connection between an intelligent card and a bus card swiping module, wherein the first communication connection is short-distance wireless communication;
step 2, the intelligent card sends the equipment information of the intelligent card to a bus card swiping module through a first communication connection, and the equipment information of the intelligent card comprises: the device address of the smart card;
step 3, the bus wireless communication module receives the equipment information of the intelligent card sent by the bus card swiping module;
step 4, the bus wireless communication module sends a request for establishing wireless connection to the intelligent card;
step 5, after receiving the request for establishing the wireless connection, the intelligent card establishes a second communication connection with the bus wireless communication module, and the intelligent card is disconnected from the bus card swiping module in the first communication connection, wherein the second communication connection is medium-distance wireless communication;
step 6, the bus wireless communication module judges whether the bus is driven from the current station to the next station of the current station, if so, the bus wireless communication module sends a transaction request to the smart card, wherein the transaction request comprises the transaction amount from the current station to the next station and the information to be verified of the bus;
step 7, the intelligent card receives the transaction request, verifies the information to be verified of the bus, and sends the digital currency corresponding to the transaction amount to the bus wireless communication module after the verification is passed;
step 8, the bus wireless communication module receives digital currency corresponding to the transaction amount;
step 9, the bus wireless communication module detects whether a wireless connection disconnection request initiated by the bus card swiping module is received, wherein the wireless connection disconnection request initiated by the bus card swiping module is sent to the bus wireless communication module by the bus card swiping module after a third communication connection is established between the intelligent card and the bus card swiping module, and the wireless connection disconnection request carries equipment information of the intelligent card, wherein the third communication connection is short-distance wireless communication; if not, executing step 10; if so, executing step 11;
step 10, judging whether the bus arrives at the next station of the current station, if so, taking the next station of the current station as the current station, and returning to the step 6;
and 11, the bus wireless communication module disconnects the second communication connection with the intelligent card according to the equipment information of the intelligent card carried by the wireless connection disconnection request.
Optionally, the bus wireless communication module judges whether the bus is driven from the current station to the next station of the current station, including:
whether the bus wireless communication module detects that the bus door is closed or not; alternatively, the first and second electrodes may be,
whether the bus wireless communication module detects that the station reporting module prompts that the next station is to arrive or not is judged;
whether the bus wireless communication module detects the position information prompted by the positioning module or not is judged, and the distance between the position information and the current station is a first preset distance, or the distance between the position information and the next station of the current station is a second preset distance.
Optionally, after step 1 and before step 2, the method further includes: the bus card swiping module records the equipment information of the intelligent card;
before the bus wireless communication module detects whether a wireless connection disconnection request initiated by the bus card swiping module is received, the method further comprises the following steps:
the bus card swiping module is in third communication connection with the intelligent card;
the bus card swiping module receives the equipment information of the intelligent card sent by the intelligent card through the third communication connection;
the bus card swiping module inquires whether the equipment information of the intelligent card is recorded, if so, a wireless connection disconnection request is sent to the bus wireless communication module, and the equipment information of the intelligent card is deleted.
Optionally, after step 3, the method further includes: the bus wireless communication module stores the equipment information of the intelligent card;
after the bus wireless communication module disconnects the second communication connection with the intelligent card according to the equipment information of the intelligent card carried by the wireless connection disconnection request, the method further comprises the following steps: and the bus wireless communication module deletes the equipment information of the intelligent card.
Optionally, after step 9 and before step 11, the method further includes:
the bus wireless communication module sends a notice of disconnecting the second communication connection to the intelligent card;
and after receiving the notice of disconnecting the second communication connection, the intelligent card disconnects the second communication connection with the bus wireless communication module.
Another aspect of the present invention provides a bus fee deduction system, including: the intelligent card, the bus card swiping module and the bus wireless communication module are arranged on the bus; wherein:
the intelligent card is used for establishing first communication connection with the bus card swiping module; send the equipment information of smart card to the bus module of punching the card through first communication connection, the equipment information of smart card includes: a device address of the smart card, wherein the first communication connection is a short-range wireless communication;
the bus wireless communication module is used for receiving the equipment information of the intelligent card sent by the bus card swiping module and sending a request for establishing wireless connection to the intelligent card;
the intelligent card is also used for establishing a second communication connection with the bus wireless communication module after receiving the request for establishing the wireless connection, and disconnecting the first communication connection with the bus card swiping module, wherein the second communication connection is medium-distance wireless communication;
the bus wireless communication module is also used for judging whether the bus is driven from the current station to the next station of the current station or not, if so, sending a transaction request to the intelligent card, wherein the transaction request comprises the transaction amount from the current station to the next station and the information to be verified of the bus;
the intelligent card is also used for receiving the transaction request, verifying the information to be verified of the bus and sending the digital currency corresponding to the transaction amount to the bus wireless communication module after the verification is passed;
the bus wireless communication module is also used for receiving digital currency corresponding to the transaction amount and detecting whether a wireless connection disconnection request initiated by the bus card swiping module is received or not, wherein the wireless connection disconnection request initiated by the bus card swiping module is sent to the bus wireless communication module by the bus card swiping module after a third communication connection is established between the intelligent card and the bus card swiping module, the third communication connection is short-distance wireless communication, and the wireless connection disconnection request carries equipment information of the intelligent card; if not, judging whether the bus reaches the next station of the current station, if so, taking the next station of the current station as the current station, and repeatedly executing the operation of judging whether the bus is driven from the current station to the next station of the current station; and if so, disconnecting the second communication connection with the intelligent card according to the equipment information of the intelligent card carried by the wireless connection disconnection request.
Optionally, the bus wireless communication module judges whether the bus is driven from the current station to the next station of the current station by the following method:
whether the bus wireless communication module detects that the bus door is closed or not; alternatively, the first and second electrodes may be,
whether the bus wireless communication module detects that the station reporting module prompts that the next station is to arrive or not is judged;
whether the bus wireless communication module detects the position information prompted by the positioning module or not is judged, and the distance between the position information and the current station is a first preset distance, or the distance between the position information and the next station of the current station is a second preset distance.
Optionally, the bus card swiping module is further configured to record the device information of the smart card after receiving the device information of the smart card;
the bus card swiping module is also used for establishing a third communication connection with the intelligent card before the bus wireless communication module detects whether the wireless connection disconnection request initiated by the bus card swiping module is received, receiving the device information of the intelligent card sent by the intelligent card through the third communication connection, inquiring whether the device information of the intelligent card is recorded, if so, initiating the wireless connection disconnection request to the bus wireless communication module, and deleting the device information of the intelligent card.
Optionally, the bus wireless communication module is further configured to store the device information of the smart card after receiving the device information of the smart card sent by the bus card swiping module;
the bus wireless communication module is also used for deleting the equipment information of the intelligent card after the equipment information of the intelligent card carried by the wireless connection disconnection request is disconnected from the second communication connection of the intelligent card.
Optionally, the bus wireless communication module is further configured to send a notification of disconnecting the second communication connection to the smart card before disconnecting the second communication connection with the smart card according to the device information of the smart card carried in the wireless connection disconnection request;
and the intelligent card is also used for disconnecting the second communication connection with the bus wireless communication module after receiving the notice of disconnecting the second communication connection.
According to the technical scheme provided by the invention, the invention provides the bus fee deduction method and the system, when the digital currency is used for bus fee deduction, the middle-long distance wireless communication connection between the intelligent card and the bus wireless communication module is established, and the digital currency is transmitted through the middle-long distance wireless communication connection; in addition, the operation of card swiping for getting on and off the bus by passengers is unrelated to bus fee deduction through a fee deduction mode of station-by-station fee deduction, so that the problem of congestion caused by large data volume and long transmission time of digital money when the passengers get on and off the bus and use the digital money for payment is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a flowchart of a bus deduction method provided in embodiment 1 of the present invention;
fig. 2 is a schematic structural diagram of a bus deduction system provided in embodiment 2 of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention are clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used only for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention. Furthermore, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or quantity or location.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
Example 1
The embodiment provides a bus fee deduction method. Fig. 1 is a flow chart of a bus deduction method. As shown in fig. 1, the method. Comprising the following steps (step 101-step 111):
101, establishing a first communication connection between an intelligent card and a bus card swiping module;
wherein the first communication connection is a short-range communication connection, in particular, may be an NFC connection. When the intelligent card enters the signal coverage range of the bus card swiping module, card searching, card selecting and card reading processes are carried out between the bus card swiping module and the intelligent card, and then first communication connection is established. This step is performed in the scenario of a card swipe by a passenger when boarding the car.
102, the smart card sends the device information of the smart card to a bus card swiping module through a first communication connection, and the device information of the smart card comprises: the device address of the smart card;
the device information of the smart card further includes a device serial number, and the device address of the smart card is a communication address of the smart card, and may be, for example, a bluetooth address or a MAC address.
103, the bus wireless communication module receives the equipment information of the smart card sent by the bus card swiping module;
in this embodiment, the bus wireless communication module and the bus card swiping module may be integrated in one terminal or may be separately arranged, which is not limited in the present invention.
104, the bus wireless communication module sends a request for establishing wireless connection to the intelligent card;
after receiving the device address of the smart card, the bus wireless communication module can initiate a wireless connection request to the smart card according to the device address of the smart card. For example, a Bluetooth pairing request is initiated to the smart card according to the Bluetooth address, and after the smart card receives the Bluetooth pairing request of the bus wireless communication module, the smart card is paired with the bus wireless communication module, so as to establish wireless communication connection.
105, after receiving the request for establishing the wireless connection, the intelligent card establishes a second communication connection with the bus wireless communication module, and the intelligent card is disconnected from the bus card swiping module to form a first communication connection;
in this embodiment, the second communication connection is a medium-long distance wireless communication, which includes but is not limited to: bluetooth, zigbee, Long Range Radio (LoRa), narrowband Internet of Things (NBIOT), WIFI, 2G/3G/4G/5G and other wireless multi-connection communication modes.
Step 106, the bus wireless communication module judges whether the bus is driven from the current station to the next station of the current station, if so, a transaction request is sent to the intelligent card, and the transaction request comprises the transaction amount from the current station to the next station and the information to be verified of the bus;
as an optional implementation manner in this implementation, the bus wireless communication module determines whether the bus is driven from the current station to the next station of the current station, including: whether the bus wireless communication module detects that the bus door is closed or not; or whether the bus wireless communication module detects that the station reporting module prompts that the next station is to arrive or not is detected; whether the bus wireless communication module detects the position information prompted by the positioning module or not is judged, and the distance between the position information and the current station is a first preset distance, or the distance between the position information and the next station of the current station is a second preset distance. In this embodiment, the fee from the current station to the next station can be deducted before the next station is reached, so that the station-by-station fee deduction can be realized, and the problem of card swiping fee deduction congestion is solved.
In this embodiment, the information to be verified of the bus may be a digital certificate of the bus wireless communication module, or may be signature data obtained by the bus wireless communication module using its private key to perform signature.
In this embodiment, when a one-time fee deduction mode is adopted, for example, the bus fee of a passenger is 2 yuan no matter how far away the passenger is, and the bus wireless communication module sends a transaction request to the smart card when judging that the bus starts from the first station where the passenger gets on the bus to the next station, where the transaction amount in the transaction request is the one-time fee deduction amount. And when the bus wireless communication module judges that the bus does not go from the first station where the passenger gets on to the next station, the bus wireless communication module sends a transaction request carrying the transaction amount of 0 to the intelligent card. When the sectional fee deduction mode is adopted, the bus wireless communication module determines the number of stations where the bus arrives after the passengers get on the bus by the next station of the current station when judging whether the bus is driven from the current station to the next station of the current station or not, determines the transaction amount of the bus driven to the next station of the current station by the current station according to the sectional fee deduction rule and the number of stations where the bus arrives after the passengers get on the bus, and carries the transaction amount in the transaction request to be sent to the intelligent card for fee deduction transaction. The transaction amount of each station deduction fee can be a fixed value or can be changed along with the number of stations taking the bus. For the former, the deduction method may be 0.1 yuan per station, for example. For the latter, for example, the fee deduction mode can be 0.5 yuan from the 1 st station to the 3 rd station, and 0.3 yuan from the 4 th station to the 6 th station.
Step 107, the smart card receives the transaction request, verifies the information to be verified of the bus, and sends the digital currency corresponding to the transaction amount to the bus wireless communication module after the verification is passed;
in this embodiment, when the information to be verified is a digital certificate of the bus wireless communication module, the verification of the information to be verified of the bus by the smart card includes: the intelligent card verifies the legality of the digital certificate of the bus wireless communication module; when the information to be verified is signature data obtained by using a private key of a bus wireless communication module to sign, the verification of the information to be verified of the bus by the intelligent card comprises the following steps: and verifying the signature data by adopting a public key of the bus wireless communication module.
Step 108, the bus wireless communication module receives digital currency corresponding to the transaction amount;
step 109, the bus wireless communication module detects whether a wireless connection disconnection request initiated by the bus card swiping module is received, wherein the wireless connection disconnection request initiated by the bus card swiping module is sent to the bus wireless communication module by the bus card swiping module after the third communication connection between the intelligent card and the bus card swiping module is established, and the wireless connection disconnection request carries the equipment information of the intelligent card; if not, go to step 110; if so, go to step 111;
step 110, judging whether the bus arrives at the next station of the current station, if so, taking the next station of the current station as the current station, and returning to the step 106;
as an optional implementation manner in this embodiment, after step 101 and before step 102, the bus deduction method provided in this embodiment further includes: the bus card swiping module records the equipment information of the intelligent card; before the bus wireless communication module detects whether a wireless connection disconnection request initiated by the bus card swiping module is received, the bus fee deduction method provided by the embodiment further comprises the following steps: the bus card swiping module is in third communication connection with the intelligent card; the bus card swiping module receives the equipment information of the intelligent card sent by the intelligent card through the third communication connection; the bus card swiping module inquires whether the equipment information of the intelligent card is recorded, if so, a wireless connection disconnection request is sent to the bus wireless communication module, and the equipment information of the intelligent card is deleted. In this embodiment, whether the card swiping behavior of the bus is getting on or off can be determined by inquiring whether the device information of the smart card is recorded, and if the card swiping behavior is recorded, the card swiping behavior is getting off, so that a wireless connection disconnection request is initiated. And the passenger can normally swipe the card when taking the bus again by deleting the equipment information of the smart card.
In step 101, after the passenger gets on the bus and swipes the card, the passenger is far away from the bus card swiping module, and the smart card and the bus card swiping module are disconnected from each other by first communication connection. In the step, when the passenger intends to get off the bus, the card is swiped at the bus card swiping module, and the intelligent card and the bus card swiping module establish third communication connection. Wherein the third communication connection is a short-range communication connection, in particular, may be an NFC connection. And after the intelligent card enters the signal coverage range of the bus card swiping module, carrying out card searching, card selecting and card reading processes between the bus card swiping module and the intelligent card so as to establish third communication connection. After the bus card swiping module establishes the third communication connection with the intelligent card, the wireless connection disconnection request is sent to the bus wireless communication module so as to indicate that the bus wireless communication module is disconnected from the intelligent card for the second communication connection.
In this embodiment, when the passenger takes a card and gets off the bus, the bus wireless communication module detects that the wireless connection disconnection request initiated by the bus card swiping module is received, and then executes step 111 to disconnect the connection with the smart card, and stops the station-by-station fee deduction. If the bus wireless communication module does not detect that the wireless connection disconnection request initiated by the bus card swiping module is received, namely, the bus does not swipe the card to get off the bus, and the bus card swiping module does not establish third communication connection with the smart card, the method returns to the step 106, and continues to execute the step of deducting the fee per station until the passenger swipes the card to get off the bus, so that the fee per station is deducted.
And step 111, the bus wireless communication module disconnects the second communication connection with the intelligent card according to the equipment information of the intelligent card carried by the wireless connection disconnection request.
As an optional implementation manner in this embodiment, after step 103, the bus deduction method provided in this embodiment further includes: the bus wireless communication module stores the equipment information of the intelligent card; after step 111, the bus deduction method provided by this embodiment further includes: and the bus wireless communication module deletes the equipment information of the intelligent card. Therefore, when the passenger gets into the communication coverage of the bus wireless communication module again after getting off the bus and gets into the bus wireless communication module later, the wireless communication connection with the bus wireless communication module can not be automatically established, and the fee is avoided being deducted by mistake.
As an optional implementation manner in this embodiment, after step 109 and before step 111, the bus deduction method provided in this embodiment further includes: the bus wireless communication module sends a notice of disconnecting the second communication connection to the intelligent card; and after receiving the notice of disconnecting the second communication connection, the intelligent card disconnects the second communication connection with the bus wireless communication module.
According to the bus fee deduction method provided by the embodiment, when the digital currency is used for bus fee deduction, the middle and long distance wireless communication connection between the intelligent card and the bus wireless communication module is established, the digital currency is transmitted through the middle and long distance wireless communication connection, and compared with the mode that the digital currency is transmitted through the NFC communication connection in the prior art, the transmission speed of the digital currency is improved; in addition, the operation of swiping the card by the passengers for getting on and off the bus is independent of the bus fee deduction through station-by-station fee deduction, so that the problem of congestion caused by the low speed of swiping the card by the passengers for getting on and off the bus and transmitting the digital money is solved.
Example 2
The present embodiment provides a bus fare deduction system 200. The bus deduction system 200 may implement the bus deduction method provided in embodiment 1. The structure of the bus deduction system 200 is only briefly described in this embodiment, and for other matters, reference is made to the description in embodiment 1.
As shown in fig. 2, the bus deduction system 200 includes: the intelligent card 201, the bus card swiping module 202 and the bus wireless communication module 203; wherein:
the intelligent card 201 is used for establishing a first communication connection with the bus card swiping module 202; send the device information of smart card to bus module 202 of punching card through first communication connection, the device information of smart card includes: a device address of the smart card, wherein the first communication connection is a short-range communication connection;
the bus wireless communication module 203 is used for receiving the device information of the smart card sent by the bus card swiping module 202 and sending a request for establishing wireless connection to the smart card 201;
the intelligent card 201 is further configured to establish a second communication connection with the bus wireless communication module 203 and disconnect the first communication connection with the bus card swiping module 202 after receiving the request for establishing the wireless connection, where the second communication connection is medium-distance wireless communication;
the bus wireless communication module 203 is further configured to determine whether the bus is driven from the current station to a next station of the current station, and if so, send a transaction request to the smart card 201, where the transaction request includes a transaction amount from the current station to the next station and information to be verified of the bus;
the intelligent card 201 is further configured to receive a transaction request, verify information to be verified of the bus, and send digital currency corresponding to a transaction amount to the bus wireless communication module 203 after the verification is passed;
the bus wireless communication module 203 is further configured to receive digital money corresponding to the transaction amount, and detect whether a wireless connection disconnection request initiated by the bus card swiping module 202 is received, where the wireless connection disconnection request initiated by the bus card swiping module 202 is sent to the bus wireless communication module 203 by the bus card swiping module 202 after a third communication connection is established between the smart card 201 and the bus card swiping module 202, and the wireless connection disconnection request carries device information of the smart card, where the third communication connection is a short-distance communication connection; if not, judging whether the bus reaches the next station of the current station, if so, taking the next station of the current station as the current station, and repeatedly executing the operation of judging whether the bus is driven from the current station to the next station of the current station; and if so, disconnecting the second communication connection with the smart card 201 according to the device information of the smart card carried by the wireless connection disconnection request.
As an optional implementation manner in this embodiment, the bus wireless communication module 203 determines whether the bus departs from the current station to a next station of the current station by the following method: whether the bus wireless communication module 203 detects that the doors are closed; or whether the bus wireless communication module 203 detects that the station reporting module prompts that the next station is to arrive or not; whether the bus wireless communication module 203 detects the position information prompted by the positioning module (not shown) is determined, and the distance between the position information and the current station is a first preset distance, or the distance between the position information and the next station of the current station is a second preset distance.
As an optional implementation manner in this embodiment, the bus card swiping module 202 is further configured to record the device information of the smart card after receiving the device information of the smart card; the bus card swiping module 202 is further configured to establish a third communication connection with the smart card 201 before the bus wireless communication module 203 detects whether the wireless connection disconnection request initiated by the bus card swiping module 202 is received, receive the device information of the smart card sent by the smart card 201 through the third communication connection, query whether the device information of the smart card is recorded, if so, initiate the wireless connection disconnection request to the bus wireless communication module 203, and delete the device information of the smart card.
As an optional implementation manner in this embodiment, the bus wireless communication module 203 is further configured to store the device information of the smart card after receiving the device information of the smart card sent by the bus card swiping module 202; the bus wireless communication module 203 is further configured to delete the device information of the smart card after the device information of the smart card carried in the wireless connection disconnection request is disconnected from the second communication connection with the smart card 201.
As an optional implementation manner in this embodiment, the bus wireless communication module 203 is further configured to send a notification of disconnecting the second communication connection to the smart card 201 before disconnecting the second communication connection with the smart card 201 according to the device information of the smart card carried in the wireless connection disconnection request; and the smart card 201 is also used for disconnecting the second communication connection with the bus wireless communication module 203 after receiving the notification of disconnecting the second communication connection.
Through the bus fee deduction system 200 provided by the embodiment, when digital money is used for bus fee deduction, the middle and long distance wireless communication connection between the smart card 201 and the bus wireless communication module 203 is established, and the digital money is transmitted through the middle and long distance wireless communication connection, so that the transmission speed of the digital money is improved compared with the mode of transmitting the digital money through the NFC communication connection in the prior art; in addition, the operation of swiping the card by the passengers for getting on and off the bus is independent of the bus fee deduction through station-by-station fee deduction, so that the problem of congestion caused by the low speed of swiping the card by the passengers for getting on and off the bus and transmitting the digital money is solved.
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 that is related to instructions of a program, and the program may be stored in a computer-readable storage medium, and when 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 separate 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 in the above embodiments by those of ordinary skill in the art without departing from the principle and spirit of the present invention. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (10)

1. A bus fee deduction method is characterized by comprising the following steps:
step 1, establishing a first communication connection between an intelligent card and a bus card swiping module, wherein the first communication connection is short-distance communication connection;
step 2, the intelligent card sends the equipment information of the intelligent card to a bus card swiping module through the first communication connection, and the equipment information of the intelligent card comprises the following steps: the device address of the smart card;
step 3, the bus wireless communication module receives the equipment information of the intelligent card sent by the bus card swiping module;
step 4, the bus wireless communication module sends a request for establishing wireless connection to the intelligent card;
step 5, after receiving the request for establishing wireless connection, the smart card establishes second communication connection with the bus wireless communication module, and the smart card is disconnected from the bus card swiping module to form the first communication connection, wherein the second communication connection is medium-distance wireless communication;
step 6, the bus wireless communication module judges whether a bus is driven from a current station to a next station of the current station, if so, a transaction request is sent to the smart card, and the transaction request comprises transaction amount from the current station to the next station and information to be verified of the bus;
step 7, the smart card receives the transaction request, verifies the information to be verified of the bus, and sends the digital currency corresponding to the transaction amount to the bus wireless communication module after the verification is passed;
step 8, the bus wireless communication module receives digital currency corresponding to the transaction amount;
step 9, the bus wireless communication module detects whether a wireless connection disconnection request initiated by the bus card swiping module is received, wherein the wireless connection disconnection request initiated by the bus card swiping module is sent to the bus wireless communication module by the bus card swiping module after a third communication connection is established between the smart card and the bus card swiping module, the wireless connection disconnection request carries the equipment information of the smart card, and the third communication connection is a short-distance communication connection; if not, executing step 10; if so, executing step 11;
step 10, judging whether the bus arrives at the next station of the current station, if so, taking the next station of the current station as the current station, and returning to the step 6;
and 11, the bus wireless communication module disconnects the second communication connection with the intelligent card according to the equipment information of the intelligent card carried by the wireless connection disconnection request.
2. The bus deduction method as claimed in claim 1,
bus wireless communication module judges whether bus is driven from the current station to the next station of current station, includes:
whether the bus wireless communication module detects that a bus door is closed or not; alternatively, the first and second electrodes may be,
whether the bus wireless communication module detects that the station reporting module prompts that the next station is to arrive or not is judged;
whether the bus wireless communication module detects the position information prompted by the positioning module or not is judged, the distance between the position information and the current station is a first preset distance, or the distance between the position information and the next station of the current station is a second preset distance.
3. The bus deduction method according to claim 1 or 2,
after the step 1, before the step 2, the method further comprises: the bus card swiping module records the equipment information of the intelligent card;
before the bus wireless communication module detects whether a wireless connection disconnection request initiated by the bus card swiping module is received, the method further comprises the following steps:
the bus card swiping module is in third communication connection with the intelligent card;
the bus card swiping module receives the equipment information of the intelligent card sent by the intelligent card through the third communication connection;
and the bus card swiping module inquires whether the equipment information of the intelligent card is recorded, if so, the bus card swiping module initiates the wireless connection disconnection request to the bus wireless communication module and deletes the equipment information of the intelligent card.
4. The bus deduction method according to claim 1 or 2,
after the step 3, the method further comprises: the bus wireless communication module stores the equipment information of the intelligent card;
after the step 11, the method further comprises: and the bus wireless communication module deletes the equipment information of the intelligent card.
5. The bus deduction method as claimed in claim 1,
after the step 9 and before the step 11, the method further comprises:
the bus wireless communication module sends a notice of disconnecting the second communication connection to the smart card;
and after receiving the notice of disconnecting the second communication connection, the smart card disconnects the second communication connection with the bus wireless communication module.
6. A bus fee deduction system is characterized by comprising: the intelligent card, the bus card swiping module and the bus wireless communication module are arranged on the bus; wherein:
the intelligent card is used for establishing a first communication connection with the bus card swiping module; and sending the equipment information of the intelligent card to a bus card swiping module through the first communication connection, wherein the equipment information of the intelligent card comprises: a device address of the smart card, wherein the first communication connection is a short-range communication connection;
the bus wireless communication module is used for receiving the equipment information of the intelligent card sent by the bus card swiping module and sending a request for establishing wireless connection to the intelligent card;
the intelligent card is also used for establishing a second communication connection with the bus wireless communication module after receiving the request for establishing the wireless connection, and disconnecting the first communication connection with the bus card swiping module, wherein the second communication connection is medium-distance wireless communication;
the bus wireless communication module is also used for judging whether the bus is driven from the current station to the next station of the current station, if so, a transaction request is sent to the intelligent card, and the transaction request comprises the transaction amount from the current station to the next station and the information to be verified of the bus;
the intelligent card is also used for receiving the transaction request, verifying the information to be verified of the bus, and sending the digital currency corresponding to the transaction amount to the bus wireless communication module after the verification is passed;
the bus wireless communication module is further used for receiving digital currency corresponding to the transaction amount and detecting whether a wireless connection disconnection request initiated by the bus card swiping module is received or not, wherein the wireless connection disconnection request initiated by the bus card swiping module is sent to the bus wireless communication module by the bus card swiping module after a third communication connection is established between the intelligent card and the bus card swiping module, the wireless connection disconnection request carries equipment information of the intelligent card, and the third communication connection is short-distance communication connection; if not, judging whether the bus reaches the next station of the current station, if so, taking the next station of the current station as the current station, and repeatedly executing the operation of judging whether the bus is driven from the current station to the next station of the current station; and if so, disconnecting the second communication connection with the intelligent card according to the equipment information of the intelligent card carried by the wireless connection disconnection request.
7. The bus fare deduction system of claim 6,
the bus wireless communication module judges whether the bus is driven from the current station to the next station of the current station or not through the following modes:
whether the bus wireless communication module detects that a bus door is closed or not; alternatively, the first and second electrodes may be,
whether the bus wireless communication module detects that the station reporting module prompts that the next station is to arrive or not is judged;
whether the bus wireless communication module detects the position information prompted by the positioning module or not is judged, the distance between the position information and the current station is a first preset distance, or the distance between the position information and the next station of the current station is a second preset distance.
8. The bus deduction system as claimed in claim 6 or 7,
the bus card swiping module is further used for recording the equipment information of the intelligent card after receiving the equipment information of the intelligent card;
the bus card swiping module is further used for establishing a third communication connection with the smart card before the bus wireless communication module detects whether the wireless connection disconnection request initiated by the bus card swiping module is received, receiving the device information of the smart card sent by the smart card through the third communication connection, inquiring whether the device information of the smart card is recorded, if so, initiating the wireless connection disconnection request to the bus wireless communication module, and deleting the device information of the smart card.
9. The bus deduction system as claimed in claim 6 or 7,
the bus wireless communication module is also used for storing the equipment information of the intelligent card after receiving the equipment information of the intelligent card sent by the bus card swiping module;
the bus wireless communication module is further used for deleting the equipment information of the intelligent card after the equipment information of the intelligent card carried by the wireless connection disconnection request is disconnected from the second communication connection of the intelligent card.
10. The bus fare deduction system of claim 6,
the bus wireless communication module is further used for sending a notice of disconnecting the second communication connection to the intelligent card before disconnecting the second communication connection with the intelligent card according to the equipment information of the intelligent card carried by the wireless connection disconnection request;
and the intelligent card is also used for disconnecting the second communication connection with the bus wireless communication module after receiving the notice of disconnecting the second communication connection.
CN202011581324.0A 2020-12-28 2020-12-28 Bus fee deduction method and system Active CN112712634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011581324.0A CN112712634B (en) 2020-12-28 2020-12-28 Bus fee deduction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011581324.0A CN112712634B (en) 2020-12-28 2020-12-28 Bus fee deduction method and system

Publications (2)

Publication Number Publication Date
CN112712634A true CN112712634A (en) 2021-04-27
CN112712634B CN112712634B (en) 2022-04-08

Family

ID=75545866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011581324.0A Active CN112712634B (en) 2020-12-28 2020-12-28 Bus fee deduction method and system

Country Status (1)

Country Link
CN (1) CN112712634B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113744446A (en) * 2021-09-17 2021-12-03 安徽中科美络信息技术有限公司 Non-inductive interaction method, device and system based on Internet of vehicles and edge computing

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009098813A1 (en) * 2008-02-06 2009-08-13 Daishi Hiki Route-bus fare payment system
CN104200531A (en) * 2014-09-12 2014-12-10 吴慧 Intelligent bus card system
US20150294566A1 (en) * 2014-04-15 2015-10-15 Tomorrow's Transportation Today Trip planning and management methods for an intelligent transit system with electronic guided buses
CN105096485A (en) * 2015-06-30 2015-11-25 小米科技有限责任公司 Method for collecting riding and querying information, traffic scheduling method and device
CN105303622A (en) * 2015-09-17 2016-02-03 太仓苏易信息科技有限公司 Station dividing charging travel system
JP2017049631A (en) * 2015-08-31 2017-03-09 レシップホールディングス株式会社 Fare collection system and bus mounting the same
CN107358729A (en) * 2017-06-27 2017-11-17 苏州美天网络科技有限公司 Bus sectional fare system and method based on radio-frequency technique
CN108551651A (en) * 2018-04-08 2018-09-18 深圳卡通新技术有限公司 Bus block meter rate method based on mobile terminal
CN110910517A (en) * 2019-10-12 2020-03-24 武汉城市一卡通有限公司 Bus sectional pricing system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009098813A1 (en) * 2008-02-06 2009-08-13 Daishi Hiki Route-bus fare payment system
US20150294566A1 (en) * 2014-04-15 2015-10-15 Tomorrow's Transportation Today Trip planning and management methods for an intelligent transit system with electronic guided buses
CN104200531A (en) * 2014-09-12 2014-12-10 吴慧 Intelligent bus card system
CN105096485A (en) * 2015-06-30 2015-11-25 小米科技有限责任公司 Method for collecting riding and querying information, traffic scheduling method and device
JP2017049631A (en) * 2015-08-31 2017-03-09 レシップホールディングス株式会社 Fare collection system and bus mounting the same
CN105303622A (en) * 2015-09-17 2016-02-03 太仓苏易信息科技有限公司 Station dividing charging travel system
CN107358729A (en) * 2017-06-27 2017-11-17 苏州美天网络科技有限公司 Bus sectional fare system and method based on radio-frequency technique
CN108551651A (en) * 2018-04-08 2018-09-18 深圳卡通新技术有限公司 Bus block meter rate method based on mobile terminal
CN110910517A (en) * 2019-10-12 2020-03-24 武汉城市一卡通有限公司 Bus sectional pricing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113744446A (en) * 2021-09-17 2021-12-03 安徽中科美络信息技术有限公司 Non-inductive interaction method, device and system based on Internet of vehicles and edge computing
CN113744446B (en) * 2021-09-17 2023-02-03 中科美络科技股份有限公司 Non-inductive interaction method, device and system based on Internet of vehicles and edge computing

Also Published As

Publication number Publication date
CN112712634B (en) 2022-04-08

Similar Documents

Publication Publication Date Title
CN104915833A (en) Bus intelligent charging system and method based on cell phones
KR101862384B1 (en) beacon-based instant payment system using beacon coverage multiplexing
CN109509263A (en) Intelligent bus charge system and method based on recognition of face
US20150134428A1 (en) Connected toll pass
CN103198564A (en) Public transport system and public transport billing method
WO2018232903A1 (en) Method and system for managing charging parking space
KR101754747B1 (en) System and method for paying for vehicle using beacon
CN105957160A (en) Parking lot entrance/exit control method and parking lot entrance/exit control system based on Bluetooth
CN103177477B (en) The method of sectional fare by bus
CN103778675B (en) A kind of bus periodical charging device, charging method, radio-frequency card and card reader
CN110633975B (en) Travel control system, method and device in public transport and traffic payment method
CN103456184A (en) Parking billing navigation system
CN108053677B (en) Intelligent public transportation system based on two-dimensional code
WO2016055226A1 (en) Beacon-based mobile payments
CN103383779A (en) Method, device and system for electronic toll collection without stopping vehicle
CN104282168A (en) Parking management method, device and system
CN109886732A (en) A kind of charging method of public transport, storage medium and vehicle-mounted counting equipment
CN105374076B (en) A kind of road and bridge automatic toll method, charge station's system and terminal
CN106408293A (en) Riding information processing method and terminal equipment
CN105631651A (en) Payment method and system applied to bus
CN112712634B (en) Bus fee deduction method and system
CN106846514A (en) A kind of parking management method and device
CN207291712U (en) Electric bicycle charging system based on NB-IoT
CN103874023A (en) Mobile phone intelligent station reporting software method, device and system
CN104992474A (en) Vehicle-mounted automatic fee collection system for buses

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