WO2020228771A1 - 一种生成计费信息的方法,以及终端、服务器和系统 - Google Patents
一种生成计费信息的方法,以及终端、服务器和系统 Download PDFInfo
- Publication number
- WO2020228771A1 WO2020228771A1 PCT/CN2020/090230 CN2020090230W WO2020228771A1 WO 2020228771 A1 WO2020228771 A1 WO 2020228771A1 CN 2020090230 W CN2020090230 W CN 2020090230W WO 2020228771 A1 WO2020228771 A1 WO 2020228771A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- information
- charging
- bus
- server
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 142
- 238000012544 monitoring process Methods 0.000 claims description 21
- 238000004891 communication Methods 0.000 description 32
- 238000012545 processing Methods 0.000 description 17
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 10
- 230000000694 effects Effects 0.000 description 7
- 230000003993 interaction Effects 0.000 description 6
- 238000007726 management method Methods 0.000 description 4
- 230000004622 sleep time Effects 0.000 description 4
- 238000013459 approach Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/04—Billing or invoicing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/023—Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/42—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for mass transport vehicles, e.g. buses, trains or aircraft
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/44—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/20—Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
Definitions
- This application relates to but is not limited to the field of communication technology, and in particular refers to a method for generating charging information, as well as a terminal, a server, and a system.
- NFC Near Field Communication
- NFC technology is a short-distance and high-frequency wireless communication method that can realize identification and data interaction with compatible devices within a short distance.
- Common applications include swiping cards for buses and company access cards.
- the current public transportation billing method using NFC technology is to perform NFC card swiping operations when passengers get on and off the bus, and charge by swiping the number of stations or distance traveled to get on and off the bus.
- passengers need to swipe their cards once at the beginning and end of the trip to determine the beginning and end of the trip.
- the embodiments of the present disclosure provide a method for generating charging information, a terminal, a server, and a system.
- the embodiment of the present disclosure provides a method for generating charging information, including:
- the first terminal whose distance from the public transportation is greater than the distance threshold is performed to terminate the charging operation and generate charging information.
- the charging termination operation is performed on the first terminal whose distance to the public transportation is greater than a distance threshold according to the location information of the terminal and the public transportation information, include:
- the method further includes:
- the performing the charging termination operation on the first terminal includes:
- the charging result information including the ending charging information sent to the first terminal and the second terminal whose distance from the public transportation means is less than or equal to the distance threshold
- the terminal's rejection ends the charging message.
- the embodiment of the present disclosure also provides a method for generating charging information, including:
- the terminal that got off the car and did not swipe the card is inquired, and the current travel of the terminal is ended and charging information is generated.
- the embodiment of the present disclosure also provides a method for generating charging information, including:
- the server Sending an end billing request to the server, where the end billing request includes location information of the terminal and public transportation information, where the public transportation information is information in the current itinerary of the terminal;
- the charging result information returned by the server is received and the charging information is generated.
- the charging result information includes the charging termination information or the charging termination rejection message, wherein the charging termination information is the server according to the terminal.
- the location information and the public transportation information determine that the distance between the terminal and the public transportation is greater than the distance threshold, and the terminal performs a charging operation on the terminal, and then the terminal is sent to the terminal.
- the method before the sending the end charging request to the server, the method further includes:
- the real-time monitoring of whether the terminal gets off the vehicle without swiping the card includes:
- the terminal gets off the vehicle without swiping the card.
- a prompt message for instructing the terminal to get off the vehicle without swiping the card is displayed.
- the embodiment of the present disclosure further provides a server, including: a memory and a processor;
- the memory is configured to store executable instructions
- the processor is configured to, when executing the executable instructions stored in the memory, implement any one of the methods for generating charging information executed by the server.
- An embodiment of the present disclosure also provides a terminal, including: a memory and a processor;
- the memory is configured to store executable instructions
- the processor is configured to, when executing the executable instructions stored in the memory, implement any one of the above-mentioned methods for generating charging information executed by the terminal.
- the embodiment of the present disclosure also provides a charging system, including: the server according to any one of the above, the terminal according to any one of the above, and a public transportation card machine;
- the public transportation card machine is configured to write public transportation information to a terminal that performs a card swipe and boarding operation, and delete the stored public transportation information from a terminal that performs a swipe card and get off operation;
- the public transportation card machine is also configured to upload information to the server that the terminal performs the operation of swiping in and getting off the car by swiping the card.
- the embodiment of the present disclosure also provides a computer-readable storage medium, the computer-readable storage medium stores executable instructions, and when the executable instructions are executed by a processor, it can realize any generation of any item executed by the server.
- the method for charging information, or, when the executable instruction is executed by the processor, the method for generating charging information can be implemented as any one of the above-mentioned terminal executions.
- FIG. 1 is a flowchart of a method for generating charging information according to an embodiment of the disclosure
- FIG. 2 is a flowchart of another method for generating charging information according to an embodiment of the disclosure
- FIG. 3 is a flowchart of another method for generating charging information provided by an embodiment of the disclosure.
- FIG. 4 is a flowchart of another method for generating charging information provided by an embodiment of the disclosure.
- FIG. 5 is a flowchart of another method for generating charging information provided by an embodiment of the disclosure.
- FIG. 6 is a flowchart of another method for generating charging information provided by an embodiment of the disclosure.
- FIG. 7 is a flowchart of another method for generating charging information provided by an embodiment of the disclosure.
- FIG. 8 is an interaction flowchart of a method for generating charging information provided by an embodiment of the disclosure.
- FIG. 9 is a schematic structural diagram of a server provided by an embodiment of the disclosure.
- FIG. 10 is a schematic structural diagram of another server provided by an embodiment of the disclosure.
- FIG. 11 is a schematic structural diagram of a terminal provided by an embodiment of the disclosure.
- FIG. 12 is a schematic structural diagram of another terminal provided by an embodiment of the disclosure.
- FIG. 13 is a schematic structural diagram of a system for generating charging information provided by an embodiment of the disclosure.
- Fig. 1 is a flowchart of a method for generating charging information provided by an embodiment of the disclosure.
- the present disclosure can be applied to a city bus system to generate charging information according to the distance and/or time the user actually rides, so as to obtain fee information consistent with the actual use of the user, that is, the current Disclosure can be used to bill users.
- the system for generating charging information involved in other embodiments may be referred to as "charging system" for short.
- the method for generating billing information provided in this embodiment is applicable to a situation where passengers take a bus and bill the passenger’s journey.
- the method for generating billing information may be executed by a server for charging for a ride.
- the charging information is generated through communication with the card swiping terminal used by the passengers.
- the method for generating charging information provided by the embodiment of the present disclosure may include the following steps:
- S110 Receive a charging end request sent by the terminal, where the charging end request includes location information of the terminal and bus information;
- the method for generating billing information provided by the embodiment of the present disclosure is a processing manner in which the server for performing bus billing performs charging for the passenger based on the getting on and off of the bus.
- the way that the server learns the passenger's getting on and off the bus may be based on the swiping on board operation and/or the swiping off operation performed by the bus swiping terminal used by the passenger.
- the terminal used by the passenger has performed the swiping and boarding operation, but the swiping and disembarking operation has not been performed, it is considered that the passenger is currently riding on the bus on which the passenger has swiped the card; for another example, the terminal used by the passenger has performed the swiping and boarding operation, And the passenger is deemed to have completed the trip by swiping the card to get off the same bus; for another example, the terminal used by the passenger has a record of the swiping and getting on the bus during the previous trip, and the passenger has been in the previous trip If the itinerary does not perform the swipe card and get off operation, if the current ride itinerary is executed, it will be considered that the passenger's previous ride trip has forgotten to perform the swipe and get off operation.
- the previous ride trip is usually recorded
- the cost of the whole journey is to end the previous trip, so that it is convenient to record the current trip.
- the server will perform the swiping and boarding operations next time the passengers use the terminal, that is, when starting a new ride, the The itinerary is fully billed, which causes relatively large economic losses to passengers.
- the terminal used to perform bus swiping in the embodiment of the present disclosure is, for example, a mobile phone with NFC function, and an application that performs swiping interactive operations with the bus card machine and server can be installed in the mobile phone (Application , Abbreviated as: APP), to realize the swiping operation and the way of charging through the information interaction with the server, open the APP in the mobile phone and approach the bus card machine to perform the swipe and boarding operations, and perform the swipe and boarding operations
- the program can also be a small program in an existing APP in a mobile phone, such as a ride code in WeChat or Alipay.
- the terminal used to perform bus swiping in the embodiments of the present disclosure can also be used in conjunction with a NFC bus card and a mobile phone.
- a NFC bus card In the way of binding the NFC bus card in the mobile phone APP, charging is realized by the information exchange between the mobile phone and the server.
- the terminal used to perform the bus swiping can exchange information with the server, and the server can receive an end billing request actively sent by the terminal, and the end billing request can be when the passenger finds that he has got off the bus. And in the case of not swiping the card, through the operation performed on the terminal side to send the end billing request to the server, the operation performed by the passenger on the terminal side is, for example, clicking on the option of forcibly ending billing in the mobile phone APP.
- the method of ending charging can be set as follows: after the server receives the request for ending charging, it can first determine whether the terminal that sent the request meets the conditions for ending the charging, for example, judge whether the terminal that sent the request meets the end based on the distance between the terminal and the bus Billing conditions.
- the charging termination request sent by the terminal in the embodiment of the present disclosure may carry the current location information of the terminal to provide the server with basic information for judgment.
- the bus card machine can write the bus information into the terminal through the NFC communication with the terminal, and the terminal billing request sent by the terminal can also carry the stored bus Bus information, the bus information includes, for example, the line name of the bus, the license plate number, and the number of the bus card machine.
- the server can learn the current location information of the bus based on the bus information , Thereby judging whether the terminal meets the conditions for ending charging according to the location information of the bus and the terminal’s location information.
- the distance between the terminal and the bus can be determined based on the location information of the terminal and the bus information.
- the distance threshold can be set to not less than the length of the bus, and the passenger is considered to have got off the bus.
- the distance threshold in the embodiment of the present disclosure may be the distance information set in the server to determine whether the passenger has got off the bus. Due to different bus models, different distance thresholds can be set for different buses. The distance threshold is also It can be reflected in the bus information in the charging end request sent by the terminal. For example, if the bus information has the model of the bus, the server can determine the appropriate distance threshold according to the model of the bus to determine the passengers Have you gotten off?
- the terminal that the server determines that the charging termination condition is met is defined as the first terminal, and the first terminal is the terminal that sends a charging termination request to the server and whose distance from the bus is greater than the distance threshold.
- the server receives the terminal's location information and bus information sent by the terminal to end the charging request, and according to the location information of the terminal and bus information in the request, the The first terminal whose distance of the bus is greater than the distance threshold executes an ending charging operation.
- the above method for generating billing information provided by the embodiments of the present disclosure does not deduct the full fee for passengers who take a bus and forget to swipe their card when getting off the bus. Instead, the billing can be forced to end according to the location of the passenger (that is, the end of the terminal sending The location information of the terminal in the billing request) deducts the cost of the corresponding station or the mileage.
- the embodiment of the present disclosure provides The method of generating billing information can greatly reduce the economic loss caused by passengers forgetting to swipe their card when getting off the bus, and has a great market prospect.
- FIG. 2 is a flowchart of another method for generating charging information provided by an embodiment of the disclosure.
- the implementation of S120 may include the following steps:
- S122 Determine whether the distance between the terminal and the bus is greater than the distance threshold according to the location information of the terminal and the location information of the bus; when the distance is greater than the distance threshold, execute S123;
- S123 Perform an ending charging operation on the first terminal whose distance from the bus is greater than the distance threshold.
- the end billing request received by the server includes bus information
- the server can interact with the corresponding bus card machine according to the known bus information, that is, according to the above-mentioned bus information
- the server can obtain the current location information of the bus in the journey for which the terminal requests to end charging.
- the server combines the location information of the bus acquired in real time and the location information of the terminal in the request to calculate the current distance between the terminal that sent the request and the bus, and compare the calculated distance with a known distance threshold If the calculated current distance is greater than the distance threshold, it is considered that the passenger using the terminal (that is, the first terminal) has got off the vehicle, and the charging operation can be performed on the first terminal.
- the server determines that the distance between the terminal and the bus is less than or equal to the distance threshold, it considers that the passenger using the terminal (that is, the second terminal) is not currently getting off the bus, and it will not execute the operation on the first terminal End the billing operation. At this time, the server may send a reminder message to the second terminal to remind the passenger using the second terminal that the distance between the current bus and the bus is too close, and the billing cannot be forcibly terminated temporarily. Please try again later.
- the server can send it the end of charging information, thereby instructing the first terminal to clear the bus information written by the terminal when swiping the card to board the bus, and deduct the corresponding travel itinerary cost of.
- S124 Send a charging rejection end message to a second terminal whose distance from the bus is less than or equal to a distance threshold;
- S125 Send charging end information to the first terminal.
- the charging result information sent by the server to the terminal includes information sent to two types of terminals in different situations.
- the charging result information sent by the server to it is End billing information
- the end billing information can be returned to the APP of the first terminal
- the APP will access the end billing information into the NFC bus card or the NFC module of the machine, and deduct the corresponding travel expenses.
- the server sends the charging result information as a rejection to end the charging message, which is also returned to the terminal
- the APP reminds the passenger that the billing cannot be forcibly terminated for the time being, please try again later, that is, the passenger can send the billing termination request again through the second terminal later. Therefore, after S124 in the embodiment shown in FIG. 2, it is possible to return to perform S110.
- the terminal that sends the charging end request to the server may include the second terminal that received the message of refusing to end the charging in S124.
- FIG. 3 is a flowchart of another method for generating charging information provided by an embodiment of the disclosure.
- the method provided in this embodiment of the present invention may further include:
- S111 Determine whether the terminal sending the end charging request has an unfinished journey; when it is determined that the terminal has an unfinished journey, the server performs subsequent judgments according to the end charging request, and performs corresponding operations based on the judgment structure.
- Figure 3 shows an example based on the process shown in Figure 2 above.
- the passengers of these terminals are considered to have the prerequisite for getting off the bus and forgetting to swipe their card, that is, these passengers The operation of swiping the card to get on the bus has been performed, but the operation of swiping the card to get off the bus has not been performed.
- the server can continue to perform the operation of S120.
- the server executes the judgment result of S111, when some terminals sending the request have unfinished itineraries, the server executes S120 on these terminals (that is, the first terminal and the second terminal in the above embodiment); when the server executes S111 In the judgment result, when some terminals sending the request do not have unfinished itineraries, the server executes S126 on these terminals (for example, the third terminal).
- the method for generating billing information adopts the APP technology of the terminal, the NFC communication technology of the terminal (or bus card) and the bus card machine, and the billing system of the server.
- the passenger can actively initiate a request to the server through the operation performed on the terminal side to request the server to end the billing of the current trip.
- the server After the server receives the end billing request from the terminal, it can be
- the actual situation obtained determines whether the terminal meets the conditions for ending charging, such as determining whether the terminal has a trip that needs to be charged, and whether the terminal has got off the vehicle and has not yet swiped the card, so that the first terminal that meets the conditions for ending the charging is executed for the ending calculation. Fee operation.
- the foregoing method of generating billing information can be operated by the three entities of a terminal with NFC function, a bus card machine, and a server.
- a terminal with NFC function For passengers who take the bus and forget to swipe their card when getting off the bus, it will not The full cost is deducted, but the cost of the corresponding station or mileage can be deducted according to the location where the passenger is forced to end the billing.
- the full fee is deducted for the passenger who forgets to get off and swipe the card Compared with the method, it can greatly reduce the economic loss caused by passengers getting off the bus and forgetting to swipe their card. Therefore, this billing method has a greater market prospect.
- FIG. 4 is a flowchart of another method for generating charging information provided by an embodiment of the disclosure.
- the method for generating billing information provided in this embodiment is applicable to a situation where passengers take a bus and bill the passenger’s journey.
- the method for generating billing information can be executed by a server for charging for a ride.
- the server performs ride charging through communication with the card swiping terminal used by passengers.
- the method for generating charging information provided by the embodiment of the present disclosure may include the following steps:
- S140 Receive travel end information sent by the bus card machine, where the travel end information includes terminal information that has performed the operation of swiping the card to board the bus.
- the method of generating billing information provided in any of the above-mentioned embodiments shown in Figs. 1 to 3 of the present disclosure is that when a passenger who uses a terminal to perform a swipe to board the vehicle finds that he has got off the vehicle and has not performed the swipe to get off operation, take the initiative
- the terminal sends an end billing request to the server to end the passenger's current journey through this method.
- the passenger has got off the bus and has not performed the swipe card to get off the car, and has not found that the card has been forgotten to perform the swipe to get off the car, or the terminal has not been actively used. Request the server to end the billing for this trip.
- the terminal information of the terminal used by the passenger is still stored on the bus card machine, and the terminal also always stores the information of this unfinished trip, such as bus information and Information to perform the operation of swiping on the car.
- the terminal will detect that the terminal has an unfinished itinerary when the terminal is swiped to board the bus next time, and the full amount of the unfinished itinerary will be deducted, which not only causes a relatively large impact on passengers
- the terminal, server and bus card machine have always stored relevant information about the terminal’s unfinished trip, which is not conducive to the management of the server, bus card machine and the internal storage information of the terminal.
- the bus card will send the trip end information to the server. Since the terminal swipes and gets on and off the bus, the passengers who swipe the card are executed once. After getting off the bus and swiping the card, the bus card will clear the information of the terminal, that is, after the bus arrives, the information of the terminal that normally performs swiping on and off the bus has been deleted, and for the terminal that performs swiping on the bus and not performing the swipe to get off the bus , The information of the card-swiping and boarding operations it has performed is still recorded in the bus card machine. Therefore, the trip end information received by the server may include the terminal information that has performed the card-swiping and boarding operations.
- S150 Find out the terminal that has not swiped the card to get off the car according to the travel end information, and end the current travel of the terminal.
- the server receives the trip end information sent by the bus card machine, and knows that the current trip of the corresponding bus has ended, and all passengers of the current trip get off the bus. When it reads the content of the trip end information It can be queried that some passengers have got off the bus and did not use the terminal to perform the swipe card and get off operation. At this time, the server can actively end the current trip of these terminals for the terminals that have not been swiped by the server.
- the method provided in the embodiment of the present disclosure may further include the following steps:
- S160 Send end billing information to the terminal, so that the terminal clears the stored bus information according to the end billing information, and deducts the cost of the current trip.
- the server after the server ends the current trip of the terminal that has not performed the swipe card to get off the bus, it can send the end billing information to these terminals, so that the terminal deducts the cost of the current trip at the local end and clears the stored bus information . Since the trip end information received by the server in the embodiment of the present disclosure records the information of the terminal's swiping and boarding operations, the charging standard for the terminal can be: from the station where the card is swiped and boarding to the corresponding station or boarding at the end of the trip The cost of mileage.
- the server receives the trip end information sent by the bus card machine.
- the trip end information includes the terminal information that performs the card swiping and boarding operation, and according to the above trip end information, the query finds out Swipe to get off the terminal and end the current journey of these terminals.
- the fee will not be deducted when the passenger uses the terminal next time to swipe the card to board the bus, but a server based on the received
- the trip end information actively determines which terminals are performing the swipe card and get off operation, and the server actively terminates the current trips of these terminals.
- the cost of the corresponding station or mileage can be deducted according to the station where the passenger uses the terminal to swipe the card to get on the bus, not only to a certain extent It also reduces the economic loss of passengers, and does not need to wait until the next time the terminal swipes the card to board the bus.
- the current trip can be ended, avoiding the recording of redundant information, which is beneficial to the information management and optimization of the bus billing system. market expectation.
- Fig. 5 is a flowchart of another method for generating charging information provided by an embodiment of the disclosure.
- the method for generating billing information provided in this embodiment is applicable to a situation where passengers take a bus and actively initiate billing for the ride through a terminal.
- the method for generating billing information can be executed by the terminal used by the passenger, and the terminal is connected with The NFC communication of the bus card machine and the communication with the server complete the charging for the current journey.
- the method for generating charging information provided by the embodiment of the present disclosure may include the following steps:
- S210 Send a billing termination request to the server, where the billing termination request includes location information of the terminal and bus information, and the bus information is information in the current itinerary of the terminal.
- the method for generating billing information is a processing manner in which a terminal for swiping a card for a ride requests a server to charge a ride for its current trip.
- a terminal for swiping a card for a ride requests a server to charge a ride for its current trip.
- passengers board and get off the bus, they can use the bus swiping terminal to perform swiping on and off operations, and all the swiping and getting off operations performed by passengers can be reported to the server by the bus card machine. Therefore, the server Based on the swipe card boarding operation and/or the swiping card getting off operation performed by the bus swiping terminal used by the passenger, the passenger's getting on and off the bus can be known, so as to realize the ride billing.
- the terminal used by the passenger has performed the swiping and boarding operation, but the swiping and disembarking operation has not been performed, it is considered that the passenger is currently riding on the bus on which the passenger has swiped the card; for another example, the terminal used by the passenger has performed the swiping and boarding operation, And the passenger is deemed to have completed the trip by swiping the card to get off the same bus; for another example, the terminal used by the passenger has a record of the swiping and getting on the bus during the previous trip, and the passenger has been in the previous trip If the itinerary does not perform the swipe card and get off operation, if the current ride itinerary is executed, it will be considered that the passenger's previous ride trip has forgotten to perform the swipe and get off operation.
- the previous ride trip is usually recorded
- the cost of the whole journey is to end the previous trip, so that it is convenient to record the current trip.
- the server will perform the swiping and boarding operations next time the passengers use the terminal, that is, when starting a new ride, the The itinerary is fully billed, which causes relatively large economic losses to passengers.
- the terminal used to perform bus swiping in the embodiments of the present disclosure can exchange information with the server.
- passengers using the terminal find that they have got off the bus and have not swiped the card, they can perform operations on the terminal side ,
- the terminal actively sends a billing termination request to the server, and the operation performed by the passenger on the terminal side is, for example, clicking on the option of forcibly ending billing in the APP of the mobile phone.
- the charging end request can carry the current location information of the terminal and the bus information in the current unfinished journey of the terminal.
- the bus information is the current journey opened by the terminal (execute the journey opened when the card was swiped last time) When the time, the bus card machine writes the information in the terminal.
- the terminal used to perform bus swiping in the embodiment of the present disclosure is, for example, a mobile phone with NFC function, which can be implemented by installing an APP that performs swiping interactive operations with the bus card machine and the server in the mobile phone.
- Swipe card operation and billing through information interaction with the server open the APP in the mobile phone and approach the bus card machine to perform the swipe card boarding and boarding operations, the program to execute the card swiping boarding and boarding can also be an existing APP in the phone
- the terminal used to perform bus swiping in the embodiments of the present disclosure can also be used in conjunction with an NFC bus card and a mobile phone.
- the NFC bus card can be used for boarding and swiping operations.
- charging is realized by the information exchange between the mobile phone and the server.
- S220 Receive the charging result information returned by the server, where the charging result information includes the ending charging information or the ending charging rejection message, where the ending charging information is that the server determines that the terminal is connected to the terminal according to the location information of the terminal and the bus information.
- the bus is sent to the terminal after the distance of the bus is greater than the distance threshold and the charging operation is performed on the terminal.
- the server performs billing termination in the same manner as the above embodiment, that is, after the server receives the billing termination request, it can first determine whether the terminal sending the billing termination request meets the conditions for termination of billing, for example, by the distance between the terminal and the bus Determine whether the terminal sending the request meets the conditions for ending charging.
- the terminal that the server determines that the charging condition is qualified is defined as the first terminal, and the terminal that does not meet the charging condition is defined as the second terminal.
- the terminal in the embodiment of the present disclosure may be It is the above-mentioned first terminal or second terminal.
- the first case is to determine that the terminal meets the conditions for ending charging, and the terminal is the first terminal mentioned above.
- the terminal receives
- the billing result information includes end billing information.
- the terminal's APP can clear the bus information written by the terminal when swiping the card to get on the bus, and deduct the cost of the corresponding trip; the second case is to determine If the terminal does not meet the conditions for ending charging, the terminal is the above-mentioned second terminal.
- the charging result information received by the terminal includes a refusing to end charging message, which can be returned to the terminal’s APP through the terminal’s
- the APP reminds the passenger that the billing cannot be forcibly terminated for the time being, please try again later, that is, the passenger can send the billing termination request again through the operation performed on the terminal, that is, if the terminal receives the server sent in S220 If the end of charging message is rejected, S210 and S220 can be repeated subsequently.
- the charging termination request sent by the terminal in the embodiment of the present disclosure may carry the current location information of the terminal to provide the server with basic information for judgment.
- the bus card machine can write the bus information into the terminal through the NFC communication with the terminal, and the terminal billing request sent by the terminal can also carry the stored bus Bus information
- the bus information includes, for example, the bus line name, license plate number, and bus card machine number, so that the server can learn the current location information of the bus based on the bus information.
- the location information and the location information of the terminal determine whether the terminal meets the conditions for ending billing.
- the distance between the terminal and the bus can be determined based on the location information of the terminal and the bus information.
- the distance threshold can be set to be no less than the length of the bus, and the passenger is considered to have got off the bus.
- the distance threshold in the embodiment of the present disclosure may be the distance information set in the server to determine whether the passenger has got off the bus. Due to different bus models, different distance thresholds can be set for different buses. The distance threshold is also It can be reflected in the bus information in the charging end request sent by the terminal. For example, if the bus information has the model of the bus, the server can determine the appropriate distance threshold according to the model of the bus to determine the passengers Have you gotten off?
- the terminal sends a request for ending charging including the location information of the terminal and bus information to the server, and receives the charging result information returned by the server.
- the charging result information includes End billing information or refuse end billing message, where the end billing information is that the server judges that the distance between the terminal and the bus is greater than the distance threshold according to the location information of the terminal and the bus information in the above request, and the execution of the terminal ends Sent to the terminal after the charging operation.
- the above method for generating billing information provided by the embodiments of the present disclosure does not deduct the full fee for passengers who take a bus and forget to swipe their card when getting off the bus.
- the billing can be forced to end according to the location of the passenger (that is, the end of the terminal sending The location information of the terminal in the billing request) deducts the cost of the corresponding station or the mileage.
- the embodiment of the present disclosure provides The method of generating billing information can greatly reduce the economic loss caused by passengers forgetting to swipe their card when getting off the bus, and has a great market prospect.
- FIG. 6 is a flowchart of another method for generating charging information provided by an embodiment of the disclosure. Based on the embodiment shown in FIG. 5, the method for generating charging information provided by the embodiment of the present disclosure may further include before S210:
- the terminal will start the current ride only after the terminal uses its NFC function and the bus card machine to perform the operation of swiping and boarding the bus, that is, it has the prerequisite for compulsory termination of billing.
- the bus card machine and the terminal execute During NFC communication, it can be known that the terminal is performing the operation of swiping the card to board the bus.
- the bus card machine writes the corresponding bus information into the terminal's memory, and the bus information can be used by the server to subsequently board the terminal Charging can also be used by the server to determine whether the terminal meets the conditions for ending charging by combining the bus information when receiving the charging end information.
- the terminal can start real-time monitoring of whether it gets off the car and does not swipe the card by triggering the operation of swiping the card to get on the car by itself.
- This monitoring operation can be performed through a preset program.
- the monitoring method is for example:
- the car operation triggers the start of monitoring, which can be the thread that starts the monitoring program, and the program enters the sleep state after the program is started.
- the sleep time can be set by the designer or can be set according to user requirements. After the sleep time is reached, it wakes up and monitors whether the terminal When you get off the car and do not swipe your card, the sleep time can be a set period of time, for example, the monitoring will be awakened every 1 minute (min) of sleep, and the sleep time will continue after the monitoring is completed.
- the method for generating billing information provided by the embodiments of the present disclosure can be monitored in real time by the terminal on its own card swiping and disembarking operations, that is, passengers can actively learn through the terminal whether the swiping and disembarking operations have been performed. If the passenger has not got off the car, then You can ignore the monitored results of not performing swipe to get off the bus. If the passenger has got off the bus and finds that the terminal monitors to get the result of not performing the card to get off, you can actively initiate a billing termination request, that is, you can actively perform the above implementation based on the monitoring results S210 ⁇ S220 in the example.
- the foregoing real-time monitoring of whether the terminal gets off the vehicle without swiping the card may include the following steps:
- Step 1 Read the stored bus information in real time
- Step 2 Obtain the location information of the terminal when the bus information is read, and obtain the location information of the bus from the server;
- Step 3 When the distance between the terminal and the bus is greater than the distance threshold, it is determined that the terminal gets off the bus without swiping the card.
- monitoring whether the terminal gets off the bus without swiping the card refers to monitoring that the passenger using the terminal has got off the bus and has not performed the swipe card to get off operation.
- the terminal can actively prompt the passenger that the card is not swiped. Get off the bus, so that the passengers know the current riding situation, and actively initiate a request to end the billing to the server through the operation of the terminal.
- the implementation of S210 may be: after the monitoring terminal gets off the vehicle and has not swiped the card, it sends a charging end request to the server;
- the terminal may further include:
- S202 Display a prompt message for instructing the terminal to get off the vehicle without swiping the card. Subsequently, S210 to S220 can be executed according to the prompt message.
- FIG. 7 is a flowchart of another method for generating charging information provided by an embodiment of the disclosure.
- the method for generating charging information provided by the embodiment shown in FIG. 7 may include the following steps:
- the passenger uses the terminal to perform the operation of swiping the card to board the bus, and stores the bus information;
- S303 Enter a sleep state of the monitoring mode, for example, sleep for 1 minute;
- S305 Determine whether the bus information can be read; when the valid bus information is read, execute S306; when the bus information is not read, it means that the terminal has no unfinished itinerary, that is, it means the passengers using the terminal Swipe to get off the car, the process ends;
- S306 Obtain location information of the terminal, and obtain location information of the bus from the server;
- S307 Determine that the distance between the terminal and the bus is greater than the distance threshold; when the judgment result is that the distance between the two is greater than the distance threshold, execute S308; when the judgment result is that the distance between the two is less than or equal to the distance threshold, return to execute S303, that is, continue Carrying out the monitoring module;
- S308 Display a prompt message on the terminal.
- the prompt message is used to instruct the terminal to get off the bus without swiping the card, that is, to prompt the passenger that the terminal currently has an unfinished trip, and instruct the passenger to initiate an operation to end billing actively.
- the passenger may use the terminal to perform the following steps S309 to S310, or may ignore the prompt message and cause excessive vehicle billing. That is, after S308, the passenger can also return to execute S303.
- S309 Send a charging end request to the server, where the charging end request also includes the location information of the terminal and the bus information.
- S310 Receive charging result information returned by the server, where the charging result information includes the charging end information or the charging end rejection message.
- S311 Clear the bus information according to the ending billing information, and deduct the cost of the current trip.
- the terminal may receive the message of denying the end of charging, that is, S309 may be continued after S310; in addition, before the terminal clears the bus information, the terminal may repeat S303 after performing S308 until the terminal clears the bus At this time, valid bus information cannot be read when S304 is executed, and the process ends after the judgment of S305.
- FIG. 8 it is an interaction flowchart of a method for generating charging information provided by an embodiment of the present disclosure.
- the method for generating charging information provided by the embodiment shown in FIG. 8 is executed by a terminal with NFC function, a bus card machine, and a server.
- two terminals, terminal A and terminal B, are shown for generating charging information. It can include the following steps:
- the passenger opens the APP of the terminal and executes the operation of swiping and boarding, that is, the above-mentioned swiping and boarding operation is performed through the NFC communication between the terminal and the bus card machine;
- the terminal turns on the monitoring mode
- S403 Enter the sleep state of the monitoring mode, for example, sleep for 1 minute;
- S405 Determine whether the bus information can be read; when it is read, execute S406; when it is not read, it means that the passenger using the terminal has performed the operation of swiping the card to get off the bus, and the process ends;
- S408 Determine that the distance between the terminal and the bus is greater than the distance threshold; when it is greater than the distance threshold, execute S409; when it is less than or equal to the distance threshold, return to execute S403, that is, continue the monitoring module;
- the bus card machine communicates with the terminal through NFC, and after recording the terminal's swiping and boarding operations, the bus card machine performs the following steps:
- S502 The bus card machine uploads the terminal information to the server.
- the bus card machine performs the following steps:
- S503 The bus card machine deletes the bus information in the terminal, and ends the process.
- S401 and S503 are selectively executed. If the terminal does not actively perform the swipe card and get off operation, S401 and S503 are not executed, but the steps after S402 are executed.
- S410 The passenger clicks on the APP of the terminal to forcibly end the billing operation, so that the terminal sends a billing end request to the server, and the billing end request includes the location information of the terminal and the bus information.
- the server in the embodiment of the present disclosure After receiving the charging end request sent by the terminal, the server in the embodiment of the present disclosure performs the following steps:
- S601 The server judges whether the terminal has an unfinished itinerary; when it judges that there is no unfinished itinerary, it means that the terminal has performed the swipe card and get off operation, then executes S602; when it judges that there is an unfinished itinerary, executes S603;
- S602 The server returns a prompt message to the APP of the terminal for prompting the passenger that there is no unfinished itinerary currently;
- S603 The server obtains current location information of the bus
- S604 The server determines whether the distance between the terminal and the bus is greater than the distance threshold; when it is less than or equal to the distance threshold, execute S605; when it is greater than the distance threshold, execute S606;
- S605 The server sends a message to the terminal to refuse to end the billing, which is used to remind the passenger that the terminal used by the passenger cannot end the billing temporarily and can try again later;
- S606 The server ends the trip of the terminal
- S607 The server sends end charging information to the terminal.
- the terminal After the terminal receives the foregoing charging termination information, it performs the following operations:
- S411 The terminal clears the bus information and deducts the cost of the trip.
- the bus jam machine can also perform the following steps:
- the bus card machine uploads the arrival information to the server
- the operations performed by the server include:
- S608 The server queries the information of the terminals that have not swiped the card while getting off the car, and ends the trip of these terminals;
- S609 The server sends charging end information to the terminal that ended charging in S608;
- the terminal that receives the foregoing charging termination information can also execute:
- S412 The terminal clears the bus information and deducts the cost of the trip. In this case, the deducted fee is different from the fee for sending an end billing request actively in S411, such as deducting the full fee, or deducting the fee from the point where the card is swiped on the bus to the destination. It should be noted that S608 to S609 and S412 in the process shown in FIG. 8 are selectively executed, and the above steps are executed only when the bus arrives at the stop and the terminal does not always charge the current itinerary.
- the terminal used by the passenger can actively initiate a billing termination request, and the terminal can monitor in real time whether the passenger has got off the bus and has not swiped the card according to the trigger of the card swiping and boarding operation, and In the case of monitoring that the passenger gets off the bus without swiping the card, the passenger is actively reminded that the passenger currently has the itinerary to be completed, so that the passenger who uses the terminal actively initiates an end billing request to end the current trip and deduct the corresponding fee, and Compared with the existing billing method of getting off the bus without swiping the card, it can greatly reduce the economic loss caused by passengers who forget to swipe the card when getting off the bus, and has a larger market prospect.
- an embodiment of the present disclosure also provides a server for executing the method shown in Figs. 1 to 4 above.
- the hardware structure of the method for generating charging information provided in any embodiment is also the server in the method for generating charging information shown in FIG. 8.
- the server provided by the embodiment of the present disclosure may include a memory and a processor
- the memory is configured to store executable instructions
- the processor is configured to implement the method of generating charging information in any of the embodiments shown in FIGS. 1 to 3 and FIG. 8 when executing the executable instructions stored in the memory,
- the processor is also configured to implement the method of generating charging information in any of the embodiments shown in FIG. 4 and FIG. 8 when executing the executable instructions stored in the memory.
- FIG. 9 it is a schematic structural diagram of a server provided by an embodiment of the present disclosure.
- the server 700 provided by the embodiment of the present disclosure is applicable to a situation in which passengers take a bus and charge for the passenger’s journey.
- the server 700 performs the charge for the ride through communication with the card swiping terminal used by the passenger. It may include: a receiving module 710 and a processing module 720;
- the receiving module 710 is configured to receive a charging end request sent by the terminal, and the charging end request includes location information of the terminal and bus information.
- the server provided by the embodiment of the present disclosure is used to charge the passenger in the bus charging process according to the getting on and off the bus.
- the way that the server learns the passenger's getting on and off the bus may be based on the swiping on board operation and/or the swiping off operation performed by the bus swiping terminal used by the passenger.
- the billing method of the existing server For passengers who perform swiping and boarding operations without swiping and getting off the bus, the server will perform the next time the passengers use the terminal to perform the swiping and boarding, that is, when a new ride is started, the previous trip will be completed.
- the itinerary is billed in full, which causes relatively large economic losses to passengers.
- the terminal used to execute card swiping on a bus is, for example, a mobile phone with NFC function.
- the terminal used to perform bus swiping in the embodiments of the present disclosure can also be used in conjunction with an NFC bus card and a mobile phone.
- the NFC bus card can be used for boarding and swiping operations.
- charging is realized by the information exchange between the mobile phone and the server.
- the terminal used to perform bus swiping can exchange information with the server, and the receiving module 710 of the server 700 can receive the terminal charging request actively sent by the terminal, and the charging ending request may be a passenger.
- the operation performed on the terminal side is used to send an end billing request to the server.
- the operation performed by the passenger on the terminal side is, for example, clicking the option to force end billing in the mobile phone APP .
- the processing module 720 is configured to perform an ending charging operation on the first terminal whose distance from the bus is greater than the distance threshold according to the location information of the terminal and the bus information.
- the processing module 720 can first determine whether the terminal sending the request meets the conditions for ending the billing, for example, through the terminal and the bus. The distance determines whether the terminal sending the request meets the conditions for ending charging.
- the charging termination request sent by the terminal in the embodiment of the present disclosure may carry the current location information of the terminal to provide the server with basic information for judgment .
- the bus card machine can write the bus information into the terminal through the NFC communication with the terminal, and the terminal billing request sent by the terminal can also carry the stored bus Bus information, the bus information includes, for example, the line name of the bus, the license plate number, and the number of the bus card machine.
- the processing module 720 determines whether the terminal meets the conditions for ending the billing according to the location information of the bus and the location information of the terminal. For example, the processing module 720 can determine the relationship between the terminal and the bus based on the location information of the terminal and the bus information. When the distance between the bus and the terminal is greater than a set distance threshold, the distance threshold can be set to not less than the length of the bus, and the passenger is considered to have got off the bus.
- the distance threshold in the embodiment of the present disclosure may be the distance information set in the server to determine whether the passenger has got off the bus. Due to different bus models, different distance thresholds can be set for different buses. The distance threshold is also It can be reflected in the bus information in the end billing request sent by the terminal. For example, if the bus information has the model of the bus, the processing module 720 can determine the appropriate distance threshold according to the model of the bus for Determine whether the passenger has got off the bus.
- the server 700 in the embodiment of the present disclosure there may be multiple terminals that send the end charging request to the server. Some of these terminals meet the conditions for ending the charging, and some do not meet the conditions for ending the charging.
- the terminal that the server determines that the charging termination condition is met is defined as the first terminal, and the first terminal is the terminal that sends a charging termination request to the server and whose distance from the bus is greater than the distance threshold.
- the receiving module 710 in the server 700 in the embodiment of the present disclosure is, for example, a receiver
- the processing module 720 is, for example, a processor.
- the server 700 provided in the disclosed embodiment is used to execute the method for generating charging information provided in the embodiment shown in FIG. 1 of the present disclosure, and has corresponding functional modules.
- the implementation principles and technical effects are similar, and will not be repeated here.
- FIG. 10 is a schematic structural diagram of another server provided by an embodiment of the disclosure.
- the processing module 720 may include:
- the location obtaining unit 721 is configured to obtain location information of the bus according to bus information
- the judging unit 722 is configured to judge whether the distance between the terminal and the bus is greater than the distance threshold according to the location information of the terminal and the location information of the bus;
- the charging unit 723 is configured to perform an ending charging operation on the first terminal whose distance from the bus is greater than the distance threshold.
- the server 700 provided in the embodiment of the present disclosure may further include:
- the sending module 730 is configured to send charging result information to the terminal, where the charging result information includes the charging end information sent to the first terminal and the charging rejection end message sent to the second terminal.
- the sending module 730 in the embodiment of the present disclosure may be a transmitter.
- the server 700 provided in the disclosed embodiment is used to execute the method for generating charging information provided in the embodiment shown in FIG. 2 of the present disclosure, and has corresponding functional modules.
- the implementation principles and technical effects are similar, and will not be repeated here.
- the judgment unit 722 in the processing module 720 thereof is further configured to judge whether the terminal sending the end charging request has an unfinished trip;
- the implementation manner for the charging unit 723 to perform an ending charging operation on the first terminal may include:
- the billing unit 723 is configured to perform an end billing operation on the first terminal that is determined to have an unfinished trip and whose distance from the bus is greater than a distance threshold.
- the sending module 730 in the embodiment of the present disclosure is also configured to send a prompt message without charging to a third terminal that does not have an unfinished trip.
- the server 700 provided in the disclosed embodiment is used to execute the method for generating charging information provided in the embodiment shown in FIG. 3 of the present disclosure, and has corresponding functional modules.
- the implementation principles and technical effects are similar, and will not be repeated here.
- the billing method executed by the server in any of the embodiments shown in FIG. 9 to FIG. 10 of the present disclosure is that the passenger who uses the terminal to execute the swipe card to board the vehicle finds that he has got off the vehicle and has not performed the swipe card to get off operation.
- the terminal actively sends an end billing request to the server to end the passenger's current journey through this method.
- the passenger has got off the bus and has not performed the swipe card to get off the car, and has not found that the card has been forgotten to perform the swipe to get off the car, or the terminal has not been actively used. Request the server to end the billing for this trip.
- the terminal information of the terminal used by the passenger is still stored on the bus card machine, and the terminal also always stores the information of this unfinished trip, such as bus information and Information to perform the operation of swiping on the car.
- the terminal will detect that the terminal has an unfinished itinerary when the terminal is swiped to board the bus next time, and the full amount of the unfinished itinerary will be deducted, which not only causes a relatively large impact on passengers
- the terminal, server and bus card machine have always stored relevant information about the terminal’s unfinished trip, which is not conducive to the management of the server, bus card machine and the internal storage information of the terminal.
- each module in the server 700 is further configured with the following functions.
- the receiving module 710 is also configured to receive travel end information sent by the bus card machine, where the travel end information includes terminal information that has performed the operation of swiping the card to board the bus;
- the processing module 720 is also configured to query the terminal that has not executed the swipe card to get off the car according to the travel end information, and end the current travel of the terminal.
- the sending module 730 is also configured to send end billing information to the terminal that has not executed the card to get off the bus, so that the terminal clears the stored bus information according to the end billing information and deducts the cost of the current trip.
- the server 700 provided in the disclosed embodiment is used to execute the method for generating charging information provided in the embodiment shown in FIG. 4 of the present disclosure, and has corresponding functional modules.
- the implementation principles and technical effects are similar, and will not be repeated here.
- an embodiment of the present disclosure also provides a terminal for performing the above-mentioned Figs. 5 to 7
- the hardware structure of the method for generating charging information provided in any embodiment is also the terminal in the method for generating charging information shown in FIG. 8.
- the terminal may include a memory and a processor
- the memory is configured to store executable instructions
- the processor is configured to implement the method of generating charging information in any of the embodiments shown in FIGS. 5 to 7 and FIG. 8 when executing executable instructions stored in the memory.
- FIG. 11 it is a schematic structural diagram of a terminal provided by an embodiment of the present disclosure.
- the terminal 800 provided by the embodiment of the present disclosure is suitable for passengers taking a bus and actively initiates charging through the terminal.
- the terminal 800 completes the current journey through the NFC communication with the bus card machine and the communication with the server
- the terminal 800 may include: a communication module 810, a sending module 820, and a receiving module 830.
- the communication module 810 is configured to perform the operation of swiping on the bus or the operation of getting off the bus through the communication with the bus card machine;
- the sending module 820 is configured to send a billing end request to the server.
- the billing end request includes the location information of the terminal and bus information, and the bus information is information in the current itinerary of the terminal.
- the terminal 800 provided by the embodiment of the present disclosure is used to request the server to charge the current trip by the bus during the bus charging process.
- passengers board and get off the bus, they can use the bus swiping terminal to perform swiping on and off operations, and all the swiping and getting off operations performed by passengers can be reported to the server by the bus card machine. Therefore, the server Based on the swipe card boarding operation and/or the swiping card getting off operation performed by the bus swiping terminal used by the passenger, the passenger's getting on and off the bus can be known, so as to realize the ride billing.
- the way that the server learns the passenger's getting on and off the bus may be based on the swiping on board operation and/or the swiping off operation performed by the bus swiping terminal used by the passenger.
- the billing method of the existing server For passengers who perform swiping and boarding operations without swiping and getting off the bus, the server will perform the next time the passengers use the terminal to perform the swiping and boarding, that is, when a new ride is started, the previous trip will be completed.
- the itinerary is billed in full, which causes relatively large economic losses to passengers.
- the terminal 800 used to perform bus card swiping in the embodiment of the present disclosure can communicate with the bus card machine through the communication module 810 for NFC communication, and its sending module 820 and receiving module 830 can exchange information with the server.
- the sending module 820 of the terminal 800 can actively send a billing termination request to the server through an operation performed on the terminal side.
- the operation performed by the passenger on the terminal side is, for example, Click the option to force end billing in the mobile phone APP.
- the billing termination request sent by the sending module 820 may carry the current location information of the terminal and the bus information of the terminal's current unfinished trip.
- the bus information is the terminal to start the current trip (the last time the card was swiped to board the bus) When opening the trip), the bus card machine writes the information in the terminal.
- the terminal used to execute card swiping on a bus is, for example, a mobile phone with NFC function.
- the terminal used to perform bus swiping in the embodiments of the present disclosure can also be used in conjunction with an NFC bus card and a mobile phone.
- the NFC bus card can be used for boarding and swiping operations.
- charging is realized by the information exchange between the mobile phone and the server.
- the communication module 810 in the terminal 800 is, for example, an NFC communication device.
- the receiving module 830 is configured to receive the charging result information returned by the server, the charging result information includes ending charging information or refusing to end charging messages, where the ending charging information is the server according to the location information of the terminal and bus information It is sent to the terminal after it is determined that the distance between the terminal and the bus is greater than the distance threshold, and the charging operation is performed on the terminal.
- the method of ending charging can be set as follows: after the server receives the request for ending charging, it can first determine whether the terminal that sent the request meets the conditions for ending the charging, for example, judge whether the terminal that sent the request meets the end based on the distance between the terminal and the bus Billing conditions.
- the sending module 820 in 800 is, for example, a transmitter
- the receiving module 830 is, for example, a receiver
- the terminal that the server determines that the charging condition is qualified is defined as the first terminal, and the terminal that does not meet the charging condition is defined as the second terminal.
- the terminal in the embodiment of the present disclosure may be It is the above-mentioned first terminal or second terminal.
- the first case is to determine that the terminal meets the conditions for ending charging, and the terminal is the first terminal mentioned above.
- the terminal receives
- the billing result information includes end billing information.
- the terminal's APP can clear the bus information written by the terminal when swiping the card to get on the bus, and deduct the cost of the corresponding trip; the second case is to determine If the terminal does not meet the conditions for ending charging, the terminal is the above-mentioned second terminal.
- the charging result information received by the terminal includes a refusing to end charging message, which can be returned to the terminal’s APP through the terminal’s
- the APP reminds the passenger that the billing cannot be forcibly terminated for the time being, please try again later, that is, the passenger can send a billing termination request by the sending module 820 again through an operation performed on the terminal 800 in the future.
- the charging termination request sent by the sending module 820 of the terminal 800 in the embodiment of the present disclosure may carry the current location information of the terminal to provide the server with basic information for judgment.
- the bus card machine can write the bus information into the terminal through the NFC communication with the communication module 810, and send the end charging request sent by the module 820 It can also carry stored bus information, so that the server can learn the current location information of the bus based on the bus information, so as to determine whether the terminal meets the end of charging according to the location information of the bus and the location information of the terminal.
- the distance between the terminal and the bus can be determined based on the location information of the terminal and the bus information.
- the distance threshold can be set to not less than The length of the bus is considered that the passengers have got off the bus.
- the distance threshold in the embodiment of the present disclosure may be the distance information set in the server to determine whether the passenger has got off the bus. Due to different bus models, different distance thresholds can be set for different buses. The distance threshold is also It can be reflected in the bus information in the charging end request sent by the terminal. For example, if the bus information has the model of the bus, the server can determine the appropriate distance threshold according to the model of the bus to determine the passengers Have you gotten off?
- the terminal 800 provided in the disclosed embodiment is configured to execute the method for generating charging information provided in the embodiment shown in FIG. 5 of the present disclosure, and has corresponding functional modules.
- the implementation principles and technical effects are similar, and will not be repeated here.
- FIG. 12 is a schematic structural diagram of another terminal provided by an embodiment of the present disclosure. Based on the structure of the terminal 800 shown in FIG. 11, the terminal 800 provided by the embodiment of the present disclosure may further include: a storage module 840 and a processing module 850;
- the storage module 840 is configured to store bus information when the communication module 810 performs a card swiping and boarding operation;
- the processing module 850 is configured to be triggered by the operation of swiping the card to get on the car to monitor in real time whether the terminal gets off the car without swiping the card.
- the storage module 840 in the embodiment of the present disclosure is, for example, a memory
- the processing module 850 is, for example, a processor.
- the processing module 850 may include:
- the reading unit is configured to read the bus information stored in the storage module in real time
- the location obtaining unit is configured to obtain the location information of the terminal when the bus information read by the unit is read, and obtain the location information of the bus from the server;
- the monitoring unit is configured to monitor that the terminal gets off the bus without swiping the card when the distance between the terminal and the bus is greater than the distance threshold.
- the terminal 800 provided in the embodiment of the present disclosure may further include:
- the display module 860 is configured to display a prompt message for instructing the terminal to get off the vehicle without swiping the card.
- the terminal 800 provided in the disclosed embodiment is used to execute the method for generating charging information provided in the embodiments shown in FIG. 6 and FIG. 7 of the present disclosure, and has corresponding functional modules.
- the implementation principles and technical effects are similar, and will not be repeated here.
- FIG. 13 it is a schematic structural diagram of a charging system provided by an embodiment of the present disclosure.
- the charging system provided by the embodiment of the present disclosure may include: the server 700 in any embodiment shown in FIGS. 9 and 10, the terminal 800 in any embodiment shown in FIGS. 11 and 12, and a bus Car card machine 900.
- the bus card machine 900 is configured to write bus information to the terminal 800 that performs the swiping and boarding operation, and to delete the stored bus information for the terminal 800 that performs the swiping and getting off operation;
- the bus card machine 900 is also configured to upload to the server 700 information that the terminal performs a swipe card boarding operation and a swiping card getting off operation.
- the bus card machines 900a and 900b of the two buses are shown, and the five terminals 800a ⁇ e are shown.
- the current trips of the terminals 800a ⁇ c are the same as those of the bus
- the card machine 900a executes swiping to board the bus
- the terminal 800c gets off the bus without swiping the card
- the current travel itinerary of the terminals 800d-e is to execute the card swiping board with the bus card machine 900b, and both get off the bus.
- there are a large number of bus card machines 900 and terminals 800 and the getting on and off of the terminal 800 is also reflected by the NFC communication with the bus card machine 900 of the current trip.
- each network element performs charging in the charging system provided by the embodiment of the present disclosure is the same as the manner in which the corresponding network element performs charging in the embodiment shown in FIG. 9 to FIG.
- the method for generating charging information provided by any of the embodiments shown in 1 to FIG. 8 has a corresponding physical device, and its implementation principles and technical effects are similar, and will not be repeated here.
- the embodiments of the present disclosure also provide a computer-readable storage medium, the computer-readable storage medium stores executable instructions, and when the executable instructions are executed by a processor, any one of the implementations shown in FIGS. 1 to 4 of the present disclosure can be implemented.
- the method for generating charging information provided in the example, or, when the executable instruction is executed by a processor, the method for generating charging information provided by any one of the embodiments shown in FIG. 5 to FIG. 7 of the present disclosure can be implemented.
- the implementation of the computer-readable storage medium provided by the embodiment of the present disclosure is basically the same as the fault detection method provided by the foregoing embodiment of the present disclosure, and will not be repeated here.
- Such software may be distributed on a computer-readable medium
- the computer-readable medium may include a computer storage medium (or non-transitory medium) and a communication medium (or transitory medium).
- the term computer storage medium includes volatile and non-volatile memory implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data).
- Computer storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, tape, magnetic disk storage or other magnetic storage device, or Any other medium used to store desired information and that can be accessed by a computer.
- communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media .
- the method for generating charging information, as well as the terminal, the server and the charging system provided by the embodiments of the present disclosure the server receives the terminal's location information and bus information sent by the terminal to end the charging request, and according to the above request Location information and bus information, and perform an ending charging operation on the first terminal whose distance from the bus is greater than the distance threshold.
- the above method for generating billing information provided by the embodiments of the present disclosure does not deduct the full fee for passengers who take a bus and forget to swipe their card when getting off the bus. Instead, the billing can be forced to end according to the location of the passenger (that is, the end of the terminal sending The location information of the terminal in the billing request) deducts the cost of the corresponding station or the mileage.
- the embodiment of the present disclosure provides The method of generating billing information can greatly reduce the economic loss caused by passengers getting off the bus and forgetting to swipe their card, and has a great market prospect.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Economics (AREA)
- Aviation & Aerospace Engineering (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Devices For Checking Fares Or Tickets At Control Points (AREA)
- Electric Propulsion And Braking For Vehicles (AREA)
Abstract
Description
Claims (15)
- 一种生成计费信息的方法,包括:接收终端发送的结束计费请求,所述结束计费请求中包括所述终端的位置信息和公共交通工具信息;根据所述终端的位置信息和所述公共交通工具信息,对与公共交通工具的距离大于距离阈值的第一终端执行结束计费操作并生成计费信息。
- 根据权利要求1所述的方法,其中,所述根据所述终端的位置信息和所述公共交通工具信息,对与公共交通工具的距离大于距离阈值的所述第一终端执行结束计费操作并生成计费信息,包括:根据所述公共交通工具信息获取所述公共交通工具的位置信息;根据所述终端的位置信息和所述公共交通工具的位置信息,判断所述终端与所述公共交通工具的距离是否大于所述距离阈值;对与所述公共交通工具的距离大于所述距离阈值的所述第一终端执行结束计费操作并生成计费信息。
- 根据权利要求1所述的方法,其中,所述接收终端发送的结束计费请求之后,所述方法还包括:判断发送所述结束计费请求的终端是否具有未完成的行程;所述对所述第一终端执行结束计费操作并生成计费信息,包括:对判断出具有未完成的行程、且与所述公共交通工具的距离大于所述距离阈值的第一终端执行结束计费操作并生成计费信息。
- 根据权利要求1所述的方法,其中,还包括:向所述终端发送计费结果信息并根据所述计费结果信息生成计费信息,所述计费结果信息包括发送给所述第一终端的结束计费信息和发送给与所述公共交通工具的距离小于或等于所述距离阈值的第二终端的拒绝结束计费消息。
- 一种生成计费信息的方法,包括:接收公共交通工具卡机发送的行程结束信息,所述行程结束信息中包括已执行刷卡上车操作的终端信息;根据所述行程结束信息查询出下车且未刷卡的终端,结束所述终端的当前行程并生成计费信息。
- 根据权利要求5所述的方法,其中,还包括:向所述终端发送结束计费信息,以使得所述终端根据所述结束计费信息清除已存储的公共交通工具信息。
- 一种生成计费信息的方法,包括:向服务器发送结束计费请求,所述结束计费请求中包括终端的位置信息和公共交通工具信息,所述公共交通工具信息为所述终端的当前行程中的信息;接收所述服务器返回的计费结果信息并生成计费信息,所述计费结果信息包括结束计费信息或拒绝结束计费消息,其中,所述结束计费信息为所述服务器根据所述终端的位置信息和所述公共交通工具信息判断出所述终端与公共交通工具的距离大于距离阈值、且对所述终端执行结束计费操作后,向所述终端发送的。
- 根据权利要求7所述的方法,其中,所述向服务器发送结束计费请求之前,所述方法还包括:执行刷卡上车操作,并存储所述公共交通工具信息;通过所述刷卡上车操作的触发,实时监控所述终端是否下车且未刷卡。
- 根据权利要求8所述的方法,其中,所述实时监控终端是否下车且未刷卡,包括:实时读取已存储的所述公共交通工具信息;在读取到的所述公共交通工具信息时,获取所述终端的位置信息,并从所述服务器中获取所述公共交通工具的位置信息;在所述终端与所述公共交通工具的距离大于距离阈值时,确定出所述终端下车且未刷卡。
- 根据权利要求8所述的方法,其中,还包括:显示用于指示所述终端下车且未刷卡的提示消息。
- 一种服务器,包括:存储器和处理器;所述存储器,被配置为保存可执行指令;所述处理器,被配置为在执行所述存储器保存的所述可执行指令时实现如权利要求1所述的方法。
- 一种服务器,包括:存储器和处理器;所述存储器,被配置为保存可执行指令;所述处理器,被配置为在执行所述存储器保存的所述可执行指令时实现如权利要求5所述的方法。
- 一种终端,包括:存储器和处理器;所述存储器,被配置为保存可执行指令;所述处理器,被配置为在执行所述存储器保存的所述可执行指令时实现如权利要求7所述的方法。
- 一种生成计费信息的系统,包括:如权利要求11所述的服务器,以及公共交通工具卡机;所述公共交通工具卡机,被配置为对执行刷卡上车操作的终端写入公共交通工具信息,对执行刷卡下车操作的终端删除已存储的公共交通工具信息;所述公共交通工具卡机,还被配置为向所述服务器上传终端执行刷卡上车操作和刷卡下车操作的信息,其中,所述终端向服务器发送结束计费请求,所述结束计费请求中包括终端的位置信息和公共交通工具信息,所述公共交通工具信息为所述终端的当前行程中的信息;以及接收所述服务器返回的计费结果信息并根据所述计费结果信息生成计费信息,所述计费结果信息包括结束计费信息或拒绝结束计费消息,其中,所述结束计费信息为所述服务器根据所述终端的位置信息和所述公共交通工具信息判断出所述终端与公共交通工具的距离大于距离阈值、且对所述终端执行结束计费操作后,向所述终端发送的。
- 一种生成计费信息的系统,包括:如权利要求12所述的服务器,以及公共交通工具卡机;所述公共交通工具卡机,被配置为对执行刷卡上车操作的终端写入公共交通工具信息,对执行刷卡下车操作的终端删除已存储的公共交通工具信息;所述公共交通工具卡机,还被配置为向所述服务器上传终端执行刷卡上车操作和刷卡下车操作的信息,其中,所述终端向服务器发送结束计费请求,所述结束计费请求中包括终端的位置信息和公共交通工具信息,所述公共交通工具信息为所述终端的当前行程中的信息;以及接收所述服务器返回的计费结果信息并根据所述计费结果信息生成计费信息,所述计费结果信息包括结束计费信息或拒绝结束计费消息,其中,所述结束计费信息为所述服务器根据所述终端的位置信息和所述公共交通工具信息判断出所述终端与公共交通工具的距离大于距离阈值、且对所述终端执行结束计费操作后,向所述终端发送的。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/298,091 US12086850B2 (en) | 2019-05-14 | 2020-05-14 | Method for generating billing information, terminal, server, and system |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910399315.0 | 2019-05-14 | ||
CN201910399315.0A CN110113710B (zh) | 2019-05-14 | 2019-05-14 | 一种计费方法,以及终端、服务器和计费系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020228771A1 true WO2020228771A1 (zh) | 2020-11-19 |
Family
ID=67489873
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/090230 WO2020228771A1 (zh) | 2019-05-14 | 2020-05-14 | 一种生成计费信息的方法,以及终端、服务器和系统 |
Country Status (3)
Country | Link |
---|---|
US (1) | US12086850B2 (zh) |
CN (1) | CN110113710B (zh) |
WO (1) | WO2020228771A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110113710B (zh) | 2019-05-14 | 2022-01-18 | 京东方科技集团股份有限公司 | 一种计费方法,以及终端、服务器和计费系统 |
CN112419529A (zh) * | 2020-10-29 | 2021-02-26 | 中电信用服务有限公司 | 一种用户补打卡的系统及方法 |
CN113744446B (zh) * | 2021-09-17 | 2023-02-03 | 中科美络科技股份有限公司 | 基于车联网与边缘计算的无感交互方法、装置及系统 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018089446A1 (en) * | 2016-11-11 | 2018-05-17 | Operr Technologies, Inc. | System and method for geo-aware transportation billing verification |
CN108551651A (zh) * | 2018-04-08 | 2018-09-18 | 深圳卡通新技术有限公司 | 基于移动终端的公交车分段计费方法 |
CN108834048A (zh) * | 2018-06-14 | 2018-11-16 | 武汉斑马快跑科技有限公司 | 一种乘客下车行为识别方法及装置 |
CN109168130A (zh) * | 2018-08-16 | 2019-01-08 | 北京三快在线科技有限公司 | 营运车辆计费方法及装置、电子设备、存储介质 |
CN110113710A (zh) * | 2019-05-14 | 2019-08-09 | 京东方科技集团股份有限公司 | 一种计费方法,以及终端、服务器和计费系统 |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102890832A (zh) * | 2012-09-18 | 2013-01-23 | 深圳创维数字技术股份有限公司 | 一种公交车分段计费方法及装置、系统 |
US10332162B1 (en) * | 2013-09-30 | 2019-06-25 | Square, Inc. | Using wireless beacons for transit systems |
CN105631945B (zh) * | 2014-10-30 | 2018-11-23 | 国际商业机器公司 | 用于识别起点/终点配对的方法和装置 |
JP6602683B2 (ja) * | 2016-02-05 | 2019-11-06 | 株式会社東芝 | 充電装置および位置ずれ検出方法 |
CN105894272A (zh) * | 2016-04-05 | 2016-08-24 | 南昌大学 | 一种基于手机app的公交即时支付方法及支付、充值和查询系统 |
CN111340464B (zh) * | 2016-09-20 | 2023-12-12 | 徐蔚 | 一种数字人的支付方法、装置与移动终端 |
CN106651337A (zh) * | 2016-11-29 | 2017-05-10 | 湖州朗讯信息科技有限公司 | 一种公交车付费方法及系统 |
CN108492098B (zh) | 2018-01-30 | 2022-04-22 | 青岛中兴智能交通有限公司 | 一种跨区域公交卡统一结算方法和装置 |
CN109685492A (zh) * | 2018-12-25 | 2019-04-26 | 杭州琛华科技有限公司 | 一种公共交通付款方法和装置 |
CN109685577A (zh) * | 2018-12-25 | 2019-04-26 | 杭州琛华科技有限公司 | 一种公共交通自助计费方法和装置 |
CN109658202A (zh) * | 2018-12-27 | 2019-04-19 | 浙江言川科技有限公司 | 一种基于公共交通的自助乘车方法和装置 |
-
2019
- 2019-05-14 CN CN201910399315.0A patent/CN110113710B/zh active Active
-
2020
- 2020-05-14 US US17/298,091 patent/US12086850B2/en active Active
- 2020-05-14 WO PCT/CN2020/090230 patent/WO2020228771A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018089446A1 (en) * | 2016-11-11 | 2018-05-17 | Operr Technologies, Inc. | System and method for geo-aware transportation billing verification |
CN108551651A (zh) * | 2018-04-08 | 2018-09-18 | 深圳卡通新技术有限公司 | 基于移动终端的公交车分段计费方法 |
CN108834048A (zh) * | 2018-06-14 | 2018-11-16 | 武汉斑马快跑科技有限公司 | 一种乘客下车行为识别方法及装置 |
CN109168130A (zh) * | 2018-08-16 | 2019-01-08 | 北京三快在线科技有限公司 | 营运车辆计费方法及装置、电子设备、存储介质 |
CN110113710A (zh) * | 2019-05-14 | 2019-08-09 | 京东方科技集团股份有限公司 | 一种计费方法,以及终端、服务器和计费系统 |
Also Published As
Publication number | Publication date |
---|---|
US20220020068A1 (en) | 2022-01-20 |
CN110113710B (zh) | 2022-01-18 |
US12086850B2 (en) | 2024-09-10 |
CN110113710A (zh) | 2019-08-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020228771A1 (zh) | 一种生成计费信息的方法,以及终端、服务器和系统 | |
CA3084854C (en) | Processing method and apparatus for fee calculation, and vehicle payment system | |
CN108346042B (zh) | 车费缴纳方法、装置、终端及计算机可读存储介质 | |
CN105429200A (zh) | 一种基于移动智能终端的电动汽车智能充电方法 | |
CN106114251A (zh) | 一种基于移动终端的充电桩预约充电方法 | |
EP3528193A1 (en) | Method and device for in-vehicle payment | |
CN105956905A (zh) | 一种无人值守的汽车分时租赁系统 | |
CN109886732A (zh) | 一种公共交通的计费方法、存储介质和车载计费设备 | |
CN109816391A (zh) | 公共交通工具的客票支付方法及系统、存储介质 | |
CN110667431B (zh) | 电动车辆的支援系统 | |
CN108334965A (zh) | 一种停车场车位预约的方法和装置 | |
CN108422882A (zh) | 充电方法及装置 | |
WO2023060902A1 (zh) | 公共交通工具的乘车方法及装置、设备、存储介质和计算机程序产品 | |
CN112232797B (zh) | 一种无人驾驶汽车的乘车付费方法、装置及电子设备 | |
KR20200028277A (ko) | 전기차 대여 서비스 제공 서버, 방법 및 프로그램 | |
CN107610351A (zh) | 一种实现汽车共享的设备、云平台及系统 | |
CN108777002A (zh) | 停车场收费方法、系统及计算机可读存储介质 | |
US20190164355A1 (en) | Fee setting server, fee setting method, and fee setting system for car sharing fee | |
CN110852851B (zh) | 基于区块链的交通工具共享方法、装置及可读存储介质 | |
CN109887326A (zh) | 车位预约控制方法及车位预约控制装置 | |
CN109903401A (zh) | 车辆支付管理方法、车载终端及电子设备 | |
CN110853157B (zh) | 一种停车场出入场支付管理系统及方法 | |
CN110414737B (zh) | 多种公共交通工具的统一行程处理方法及装置 | |
CN112669112B (zh) | 一种停车月卡自动续费的方法及系统 | |
CN111275836A (zh) | 基于二维码的乘车收费方法、装置、系统以及终端 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20805284 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20805284 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20805284 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 25/07/2022) |