CN115731626B - Method and device for confirming charging information, storage medium and electronic device - Google Patents
Method and device for confirming charging information, storage medium and electronic device Download PDFInfo
- Publication number
- CN115731626B CN115731626B CN202111007840.7A CN202111007840A CN115731626B CN 115731626 B CN115731626 B CN 115731626B CN 202111007840 A CN202111007840 A CN 202111007840A CN 115731626 B CN115731626 B CN 115731626B
- Authority
- CN
- China
- Prior art keywords
- charging information
- information
- charging
- target vehicle
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000003993 interaction Effects 0.000 claims abstract description 31
- 230000006870 function Effects 0.000 claims description 25
- 238000012790 confirmation Methods 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 12
- 238000005516 engineering process Methods 0.000 abstract description 6
- 230000005540 biological transmission Effects 0.000 description 6
- 230000008901 benefit Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Devices For Checking Fares Or Tickets At Control Points (AREA)
Abstract
The invention discloses a method and a device for confirming charging information, a storage medium and an electronic device, wherein the method comprises the following steps: under the condition that the target vehicle and the mobile terminal finish card swiping interaction, first charging information fed back by the target vehicle is obtained, wherein the first charging information comprises: the first position information corresponding to the target vehicle and the first stop board information corresponding to the target vehicle; determining a comparison result of the first charging information and the second charging information, and determining whether to deduct fees according to the first charging information according to the comparison result, wherein the second charging information is used for indicating second position information corresponding to the terminal and stop board information corresponding to the second position information. By adopting the technical scheme, the problems that in the related technology, the charging information of the vehicle and the terminal cannot be compared, the charging accuracy is low and the like are solved.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to a method and apparatus for confirming charging information, a storage medium, and an electronic device.
Background
Along with the daily use of mobile phone riding APP and NFC functions, more and more users pay to ride the vehicle through the mobile phone APP code scanning or NFC functions. In the existing bus fee deduction system, the transaction and fee deduction are simply carried out by relying on the station information in the bus card swiping machine, and when the station information in the card swiping machine is wrong, the user can be deducted by mistake and is not easy to perceive, so that the user benefit is lost.
Aiming at the problems that in the related technology, the charging information of the vehicle and the terminal cannot be compared, the charging accuracy is low, and the like, no effective solution is proposed yet.
Disclosure of Invention
The embodiment of the invention provides a method and a device for confirming charging information, a storage medium and an electronic device, which at least solve the problems that in the related technology, the charging information of a vehicle and a terminal cannot be compared, the charging accuracy is higher and the like.
According to an embodiment of the present invention, there is provided a method for confirming charging information, including: under the condition that the target vehicle and the mobile terminal finish card swiping interaction, acquiring first charging information fed back by the target vehicle, wherein the first charging information comprises: the first position information corresponding to the target vehicle and the first stop board information corresponding to the target vehicle; determining a comparison result of the first charging information and the second charging information, and determining whether to deduct fees according to the first charging information according to the comparison result, wherein the second charging information is used for indicating second position information corresponding to a terminal and stop board information corresponding to the second position information.
In one exemplary embodiment, determining a comparison result of the first charging information and the second charging information, and determining whether to charge according to the first charging information according to the comparison result, includes: adding the first charging information to a registration record, wherein the registration record comprises at least one of the following, in case the comparison result indicates that the first charging information is the same as the second charging information: a get-on record of the target object on the target vehicle, and a get-off record of the target object on the target vehicle; and sending notification information for adding second charging information to a registration record to a target object and acquiring a confirmation instruction of the target object when the comparison result indicates that the first charging information is different from the second charging information, wherein the confirmation instruction is used for indicating that the second charging information is used for replacing the first charging information in the registration record.
In an exemplary embodiment, after obtaining the first charging information fed back by the target vehicle in a case that the target vehicle and the mobile terminal complete the card swiping interaction, the method further includes: transmitting the second charging information to a charging system of the target vehicle under the condition that the second charging information exists in the terminal; acquiring prompt information of the charging system, wherein the prompt information is used for indicating a matching result of preset charging information stored in the charging system by the second charging information, and part or all of the preset charging information comprises: first charging information; and re-acquiring the second charging information corresponding to the terminal under the condition that the prompt information indicates that the second charging information fails to match.
In an exemplary embodiment, before the target vehicle and the mobile terminal complete the card swiping interaction to obtain the first charging information fed back by the target vehicle, the method further includes: acquiring an operation instruction of a target object, wherein the operation instruction is used for indicating to start a target interface of a terminal; under the condition that a target interface is started according to an operation instruction, determining the starting state of a function at a position corresponding to the target interface; and collecting second charging information according to the opening state.
In an exemplary embodiment, the collecting of the second charging information according to the on state includes: under the condition that the function of the start state indication position is not started, determining second position information of the current position of the terminal and stop board information corresponding to the second position information through information interaction between the terminal and a base station corresponding to the terminal; and under the condition that the starting state indicates that the position function is started, positioning second position information of the current position of the terminal and stop board information corresponding to the second position information through the position function.
In an exemplary embodiment, after determining a comparison result of the first charging information and the second charging information, and determining whether to deduct a fee according to the first charging information according to the comparison result, the method further includes: generating a fee deduction bill of fee deduction, wherein the fee deduction bill comprises a fee starting time and fee deduction amount; sending the fee deduction bill to a charging system of the target vehicle; and acquiring a confirmation result of the charging system to determine that the fee deduction bill is valid.
According to another embodiment of the present invention, there is also provided a device for confirming charging information, including: the acquisition module is used for acquiring first charging information fed back by the target vehicle under the condition that the target vehicle and the mobile terminal finish card swiping interaction, wherein the first charging information comprises: the first position information corresponding to the target vehicle and the first stop board information corresponding to the target vehicle; the determining module is used for determining a comparison result of the first charging information and the second charging information and determining whether to deduct fees according to the first charging information according to the comparison result, wherein the second charging information is used for indicating second position information corresponding to the terminal and stop board information corresponding to the second position information.
In an exemplary embodiment, the determining module is further configured to, if the comparison result indicates that the first charging information is the same as the second charging information, add the first charging information to a registration record, where the registration record includes at least one of: a get-on record of the target object on the target vehicle, and a get-off record of the target object on the target vehicle; and sending notification information for adding second charging information to a registration record to a target object and acquiring a confirmation instruction of the target object when the comparison result indicates that the first charging information is different from the second charging information, wherein the confirmation instruction is used for indicating that the second charging information is used for replacing the first charging information in the registration record.
In an exemplary embodiment, the above apparatus further includes: the sending module is used for sending the second charging information to a charging system of the target vehicle under the condition that the second charging information exists in the terminal; the prompt module is configured to obtain prompt information of the charging system, where the prompt information is configured to indicate a matching result of preset charging information stored in the charging system by the second charging information, and part or all of the preset charging information includes: first charging information; and the updating module is used for re-acquiring the second charging information corresponding to the terminal under the condition that the prompt information indicates that the second charging information fails to match.
In an exemplary embodiment, the above apparatus further includes: the acquisition module is used for acquiring an operation instruction of a target object, wherein the operation instruction is used for indicating to open a target interface of the terminal; under the condition that a target interface is started according to an operation instruction, determining the starting state of a function at a position corresponding to the target interface; and collecting second charging information according to the opening state.
In an exemplary embodiment, the collecting module is further configured to determine, when the open state indicates that the position function is not open, second position information of a current position of the terminal and stop board information corresponding to the second position information through information interaction between the terminal and a base station corresponding to the terminal; and under the condition that the starting state indicates that the position function is started, positioning second position information of the current position of the terminal and stop board information corresponding to the second position information through the position function.
In an exemplary embodiment, the above apparatus further includes: the billing module is used for generating a fee deduction bill for fee deduction, wherein the fee deduction bill comprises a charging starting time and fee deduction amount; sending the fee deduction bill to a charging system of the target vehicle; and acquiring a confirmation result of the charging system to determine that the fee deduction bill is valid.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to perform the above-described method of confirming charging information when executed.
According to still another aspect of the embodiments of the present invention, there is further provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the method for confirming charging information described above through the computer program.
In the embodiment of the invention, under the condition that the target vehicle and the mobile terminal finish card swiping interaction, first charging information fed back by the target vehicle is obtained, wherein the first charging information comprises: the first position information corresponding to the target vehicle and the first stop board information corresponding to the target vehicle; determining a comparison result of the first charging information and the second charging information, and determining whether to deduct fees according to the first charging information according to the comparison result, wherein the second charging information is used for indicating second position information corresponding to a terminal and stop board information corresponding to the second position information. And comparing the first charging information corresponding to the target vehicle with the second charging information corresponding to the mobile terminal according to the interaction condition of the target vehicle and the mobile terminal, and further determining the charging information finally used for deducting fees. By adopting the technical scheme, the problems that in the related technology, the comparison of the charging information of the vehicle and the terminal cannot be carried out, the fee deduction accuracy is low and the like are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
Fig. 1 is a block diagram of a hardware structure of a mobile terminal of a method for confirming charging information according to an embodiment of the present invention;
fig. 2 is a flowchart of a method of confirming billing information according to an embodiment of the invention;
FIG. 3 is a user interaction flow chart of a method for confirming billing information according to an embodiment of the invention;
FIG. 4 is a vehicle interaction flow chart of a method of validating billing information in accordance with an alternative embodiment of the invention;
fig. 5 is a block diagram showing a structure of a device for confirming billing information according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method embodiment provided by the embodiment of the application can be executed in the mobile terminal or similar computing device. Taking the mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of the mobile terminal according to an embodiment of the present application. As shown in fig. 1, a mobile terminal may include one or more processors 102 (only one is shown in fig. 1) (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, and in one exemplary embodiment, a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, a mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than the equivalent functions shown in FIG. 1 or more than the functions shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a method for confirming charging information in an embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, implement the above-mentioned method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as a NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
In this embodiment, a method for confirming charging information is provided and applied to the mobile terminal, and fig. 2 is a flowchart of a method for confirming charging information according to an embodiment of the present invention, where the flowchart includes the following steps:
Step S202, under the condition that a target vehicle and a mobile terminal complete card swiping interaction, first charging information fed back by the target vehicle is obtained, wherein the first charging information comprises: the first position information corresponding to the target vehicle and the first stop board information corresponding to the target vehicle;
Optionally, under the condition that the target vehicle and the mobile terminal finish card swiping interaction, acquiring identification information fed back by the target vehicle; determining first charging information of the target vehicle according to the identification information, wherein the first charging information comprises: the first position information corresponding to the target vehicle and the first stop board information corresponding to the target vehicle, wherein the identification information carries the identification information of the target vehicle and the stop board information of the current position in the operation route corresponding to the target vehicle.
For example, after the mobile phone interacts with the charging terminal on the target vehicle, the charging terminal receives the identification information carrying the target vehicle and the stop board information of the current position in the operation route corresponding to the target vehicle, so as to determine the charging state of the user after the user logs on the target vehicle.
Step S204, determining a comparison result of the first charging information and the second charging information, and determining whether to deduct fees according to the first charging information according to the comparison result, wherein the second charging information is used for indicating second position information corresponding to a terminal and stop board information corresponding to the second position information.
Through the steps, under the condition that the target vehicle and the mobile terminal finish card swiping interaction, first charging information fed back by the target vehicle is obtained, wherein the first charging information comprises: the first position information corresponding to the target vehicle and the first stop board information corresponding to the target vehicle; determining a comparison result of the first charging information and the second charging information, and determining whether to deduct fees according to the first charging information according to the comparison result, wherein the second charging information is used for indicating second position information corresponding to a terminal and stop board information corresponding to the second position information. And comparing the first charging information corresponding to the target vehicle with the second charging information corresponding to the mobile terminal according to the interaction condition of the target vehicle and the mobile terminal, and further determining the charging information finally used for deducting fees. By adopting the technical scheme, the problems that in the related technology, the comparison of the charging information of the vehicle and the terminal cannot be carried out, the fee deduction accuracy is low and the like are solved.
In one exemplary embodiment, determining a comparison result of the first charging information and the second charging information, and determining whether to charge according to the first charging information according to the comparison result, includes: adding the first charging information to a registration record, wherein the registration record comprises at least one of the following, in case the comparison result indicates that the first charging information is the same as the second charging information: a get-on record of the target object on the target vehicle, and a get-off record of the target object on the target vehicle; and sending notification information for adding second charging information to a registration record to a target object and acquiring a confirmation instruction of the target object when the comparison result indicates that the first charging information is different from the second charging information, wherein the confirmation instruction is used for indicating that the second charging information is used for replacing the first charging information in the registration record.
For example, when the target object takes the target vehicle, the mobile phone terminal (corresponding to the mobile terminal in the implementation of the invention) interacts with the target vehicle, then the charging information corresponding to the target vehicle is acquired corresponding to the getting-on and getting-off of the target object, the charging information is compared with the charging information recorded by the mobile phone terminal, under the same condition, the charging information corresponding to the target vehicle is used for charging, and when the charging information is abnormal, namely, when the target vehicle is inconsistent with the mobile terminal, the stop board information determined by the geographic position corresponding to the target object acquired by the mobile terminal is selected to update the corresponding stop board information record, and then updated charging information is obtained.
In an exemplary embodiment, after obtaining the first charging information fed back by the target vehicle in a case that the target vehicle and the mobile terminal complete the card swiping interaction, the method further includes: transmitting the second charging information to a charging system of the target vehicle under the condition that the second charging information exists in the terminal; acquiring prompt information of the charging system, wherein the prompt information is used for indicating a matching result of preset charging information stored in the charging system by the second charging information, and part or all of the preset charging information comprises: first charging information; and re-acquiring the second charging information corresponding to the terminal under the condition that the prompt information indicates that the second charging information fails to match.
In short, in order to ensure the consistency of the charging information acquired by the terminal and the charging information corresponding to the target vehicle, the mobile terminal sends the determined second charging information to the charging system of the target vehicle, and determines the matching result of the preset charging information stored in the charging system by the second charging information, so that whether the second charging information in the mobile terminal is correct or not can be known, whether the second charging information accords with the stop board information in the operation route corresponding to the current target vehicle or not is further known, and the phenomenon that the second charging information for updating the first charging information determined by the mobile terminal is not matched with the target vehicle or the preset charging information in the charging system is wrong is avoided, and the charging information is changed due to temporary rerouting caused by road construction in the target vehicle.
In an exemplary embodiment, before the target vehicle and the mobile terminal complete the card swiping interaction to obtain the first charging information fed back by the target vehicle, the method further includes: acquiring an operation instruction of a target object, wherein the operation instruction is used for indicating to start a target interface of a terminal; under the condition that a target interface is started according to an operation instruction, determining the starting state of a function at a position corresponding to the target interface; and collecting second charging information according to the opening state.
In an exemplary embodiment, the collecting of the second charging information according to the on state includes: under the condition that the function of the start state indication position is not started, determining second position information of the current position of the terminal and stop board information corresponding to the second position information through information interaction between the terminal and a base station corresponding to the terminal; and under the condition that the starting state indicates that the position function is started, positioning second position information of the current position of the terminal and stop board information corresponding to the second position information through the position function.
For example, when the target object is riding, opening an APP interface or an NFC interface of the bus, the program automatically judges that the GPS function is started, if so, the position and the stop board information are acquired through the GPS function of the mobile phone; and when the mobile phone is not started, acquiring position and stop board information through the mobile phone base station. The base station can preset the stop board information in a certain range near the base station in advance.
In an exemplary embodiment, after determining a comparison result of the first charging information and the second charging information, and determining whether to deduct a fee according to the first charging information according to the comparison result, the method further includes: generating a fee deduction bill of fee deduction, wherein the fee deduction bill comprises a fee starting time and fee deduction amount; sending the fee deduction bill to a charging system of the target vehicle; and acquiring a confirmation result of the charging system to determine that the fee deduction bill is valid.
That is, in order to ensure the consistency of the terminal and the target vehicle in deduction, the terminal completes up-and-down registration, starts charging or completes deduction, sends the start charging or deduction record to the charging system of the target vehicle while notifying the user, and acquires the corresponding confirmation result of the charging system.
In order to better understand the process of the method for confirming the charging information, the following description is given with reference to the implementation method flow of the confirmation of the charging information in the alternative embodiment, but the implementation method flow is not limited to the technical scheme of the embodiment of the invention.
In the embodiment, the method for confirming the charging information is provided, the position and the stop board information can be obtained through the mobile phone riding APP of the user and the vehicle system, and the position and the stop board information are determined through the comparison of the positions of the two parties and the stop board information, so that the accuracy of bus deduction is ensured, the user benefit loss is avoided, and the riding experience of the user is improved.
As an alternative implementation manner, fig. 3 is a user interaction flow chart of a method for confirming charging information according to an alternative embodiment of the present invention, including the following steps:
step S302, an APP interface or an NFC interface of riding is opened, and the program automatically judges that the GPS function is opened. If the mobile phone is started, acquiring position and stop board information through a mobile phone GPS function; and when the mobile phone is not started, acquiring position and stop board information through the mobile phone base station.
And step S304, scanning a two-dimensional code or NFC of the bus and sending position and stop board information in the mobile phone to a bus system. And then acquiring the position and stop board information on the bus.
Step S306, comparing with the position of the vehicle and the stop board information. As the same, the mobile phone side completes up-down registration, starts charging or completes fee deduction, and notifies the user. And sending the record of starting charging or deducting the charge to upload the cloud server of the public transportation system. And displaying the position and stop board information of the vehicle and the user, enabling the user to select the geographic position according to the actual situation, finishing up-and-down registration, starting charging or finishing fee deduction at the mobile phone side, and informing the user. And sending the record of starting charging or deducting the charge to upload the cloud server of the public transportation system.
As an alternative implementation manner, fig. 4 is a vehicle interaction flow chart of a method for confirming charging information according to an alternative embodiment of the present invention, including the following steps:
step S402, starting the bus, automatically running the system,
Step S404, judging that the GPS function is on.
Step S406, when the device is not started, prompting a driver that the geographic position information cannot be acquired through the GPS, and overhauling the device. And acquiring the position and the stop board information through the mobile phone base station.
Step S408, starting, and acquiring position and stop board information through a mobile phone GPS function.
In step S410, the bus system automatically acquires stop board information according to the change of the geographic position information and automatically changes stops. The driver is prohibited from manually changing stops.
In step S412, when the user scans the code or registers information through NFC, the position and the stop board information in the mobile phone of the user are received and compared. If the information is the same, the boarding and alighting registration is completed, the cloud service is uploaded, the position of the boarding and alighting of all users at the station and the station board information are compared, and if the information is the same as the information of 80% of the users, the boarding and alighting registration is completed, and the cloud service is uploaded; and if the position of the vehicle is different from the stop board difference information, sending the position of the vehicle and the stop board difference information to a user, and selecting a get-on/off stop by the user. Uploading the position and the station board difference information to a cloud server.
Through the embodiment, the position and the stop board information in the mobile phone riding APP and the vehicle system of the user are acquired, and the position and the stop board information are determined through the comparison of the positions of the two parties and the stop board information, so that the accuracy of the bus deduction is ensured, the user benefit loss is avoided, and the riding experience of the user is improved. And further reduces the occurrence of false deduction events caused by inconsistent information.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the various embodiments of the present invention.
Fig. 5 is a block diagram showing a structure of a billing information confirmation system according to an embodiment of the present invention; as shown in fig. 5, includes:
the obtaining module 52 is configured to obtain first charging information fed back by the target vehicle when the target vehicle and the mobile terminal complete the card swiping interaction, where the first charging information includes: the first position information corresponding to the target vehicle and the first stop board information corresponding to the target vehicle;
the determining module 54 is configured to determine a comparison result of the first charging information and the second charging information, and determine whether to deduct fee according to the first charging information according to the comparison result, where the second charging information is used to indicate second location information corresponding to the terminal and stop board information corresponding to the second location information.
For example, the position and stop board information in the mobile phone taking APP and the vehicle system of the user are acquired, the position and stop board information are determined through the comparison of the position and the stop board information of the two parties, the accuracy of bus deduction is ensured, the user benefit loss is avoided, and the user taking experience is improved.
Through the module, under the condition that the target vehicle and the mobile terminal finish card swiping interaction, first charging information fed back by the target vehicle is obtained, wherein the first charging information comprises: the first position information corresponding to the target vehicle and the first stop board information corresponding to the target vehicle; determining a comparison result of the first charging information and the second charging information, and determining whether to deduct fees according to the first charging information according to the comparison result, wherein the second charging information is used for indicating second position information corresponding to a terminal and stop board information corresponding to the second position information. And comparing the first charging information corresponding to the target vehicle with the second charging information corresponding to the mobile terminal according to the interaction condition of the target vehicle and the mobile terminal, and further determining the charging information finally used for deducting fees. By adopting the technical scheme, the problems that in the related technology, the comparison of the charging information of the vehicle and the terminal cannot be carried out, the fee deduction accuracy is low and the like are solved.
In an exemplary embodiment, the determining module is further configured to, if the comparison result indicates that the first charging information is the same as the second charging information, add the first charging information to a registration record, where the registration record includes at least one of: a get-on record of the target object on the target vehicle, and a get-off record of the target object on the target vehicle; and sending notification information for adding second charging information to a registration record to a target object and acquiring a confirmation instruction of the target object when the comparison result indicates that the first charging information is different from the second charging information, wherein the confirmation instruction is used for indicating that the second charging information is used for replacing the first charging information in the registration record.
For example, when the target object takes the target vehicle, the mobile phone terminal (corresponding to the mobile terminal in the implementation of the invention) interacts with the target vehicle, then the charging information corresponding to the target vehicle is acquired corresponding to the getting-on and getting-off of the target object, the charging information is compared with the charging information recorded by the mobile phone terminal, under the same condition, the charging information corresponding to the target vehicle is used for charging, and when the charging information is abnormal, namely, when the target vehicle is inconsistent with the mobile terminal, the stop board information determined by the geographic position corresponding to the target object acquired by the mobile terminal is selected to update the corresponding stop board information record, and then updated charging information is obtained.
In an exemplary embodiment, the above apparatus further includes: the sending module is used for sending the second charging information to a charging system of the target vehicle under the condition that the second charging information exists in the terminal; the prompt module is configured to obtain prompt information of the charging system, where the prompt information is configured to indicate a matching result of preset charging information stored in the charging system by the second charging information, and part or all of the preset charging information includes: first charging information; and the updating module is used for re-acquiring the second charging information corresponding to the terminal under the condition that the prompt information indicates that the second charging information fails to match.
In short, in order to ensure the consistency of the charging information acquired by the terminal and the charging information corresponding to the target vehicle, the mobile terminal sends the determined second charging information to the charging system of the target vehicle, and determines the matching result of the preset charging information stored in the charging system by the second charging information, so that whether the second charging information in the mobile terminal is correct or not can be known, whether the second charging information accords with the stop board information in the operation route corresponding to the current target vehicle or not is further known, and the phenomenon that the second charging information for updating the first charging information determined by the mobile terminal is not matched with the target vehicle or the preset charging information in the charging system is wrong is avoided, and the charging information is changed due to temporary rerouting caused by road construction in the target vehicle.
In an exemplary embodiment, the above apparatus further includes: the acquisition module is used for acquiring an operation instruction of a target object, wherein the operation instruction is used for indicating to open a target interface of the terminal; under the condition that a target interface is started according to an operation instruction, determining the starting state of a function at a position corresponding to the target interface; and collecting second charging information according to the opening state.
In an exemplary embodiment, the collecting module is further configured to determine, when the open state indicates that the position function is not open, second position information of a current position of the terminal and stop board information corresponding to the second position information through information interaction between the terminal and a base station corresponding to the terminal; and under the condition that the starting state indicates that the position function is started, positioning second position information of the current position of the terminal and stop board information corresponding to the second position information through the position function.
For example, when the target object is riding, opening an APP interface or an NFC interface of the bus, the program automatically judges that the GPS function is started, if so, the position and the stop board information are acquired through the GPS function of the mobile phone; and when the mobile phone is not started, acquiring position and stop board information through the mobile phone base station. The base station can preset the stop board information in a certain range near the base station in advance.
In an exemplary embodiment, the above apparatus further includes: the billing module is used for generating a fee deduction bill for fee deduction, wherein the fee deduction bill comprises a charging starting time and fee deduction amount; sending the fee deduction bill to a charging system of the target vehicle; and acquiring a confirmation result of the charging system to determine that the fee deduction bill is valid.
That is, in order to ensure the consistency of the terminal and the target vehicle in deduction, the terminal completes up-and-down registration, starts charging or completes deduction, sends the start charging or deduction record to the charging system of the target vehicle while notifying the user, and acquires the corresponding confirmation result of the charging system.
An embodiment of the present invention also provides a storage medium including a stored program, wherein the program executes the method of any one of the above.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store program code for performing the steps of:
s1, under the condition that a target vehicle and a mobile terminal finish card swiping interaction, acquiring first charging information fed back by the target vehicle, wherein the first charging information comprises: the first position information corresponding to the target vehicle and the first stop board information corresponding to the target vehicle;
s2, determining a comparison result of the first charging information and the second charging information, and determining whether to deduct fees according to the first charging information according to the comparison result, wherein the second charging information is used for indicating second position information corresponding to a terminal and stop board information corresponding to the second position information.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, under the condition that a target vehicle and a mobile terminal finish card swiping interaction, acquiring first charging information fed back by the target vehicle, wherein the first charging information comprises: the first position information corresponding to the target vehicle and the first stop board information corresponding to the target vehicle;
s2, determining a comparison result of the first charging information and the second charging information, and determining whether to deduct fees according to the first charging information according to the comparison result, wherein the second charging information is used for indicating second position information corresponding to a terminal and stop board information corresponding to the second position information.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory RAM), a removable hard disk, a magnetic disk, or an optical disk, etc., which can store program codes.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (8)
1. A method for confirming charging information, comprising:
under the condition that the target vehicle and the mobile terminal finish card swiping interaction, acquiring first charging information fed back by the target vehicle, wherein the first charging information comprises: the first position information corresponding to the target vehicle and the first stop board information corresponding to the target vehicle;
determining a comparison result of the first charging information and the second charging information, and determining whether to deduct fees according to the first charging information according to the comparison result, wherein the second charging information is used for indicating second position information corresponding to a terminal and stop board information corresponding to the second position information;
Wherein the determining the comparison result of the first charging information and the second charging information, and determining whether to deduct fee according to the first charging information according to the comparison result comprises:
adding the first charging information to a registration record, wherein the registration record comprises at least one of the following, in case the comparison result indicates that the first charging information is the same as the second charging information: a get-on record of the target object on the target vehicle, and a get-off record of the target object on the target vehicle;
In case the comparison result indicates that the first charging information is not identical to the second charging information, notification information adding the second charging information to the registration record is sent to the target object, and acquiring a confirmation instruction of the target object, wherein the confirmation instruction is used for indicating to replace the first charging information in the registration record by the second charging information.
2. The method for confirming charging information according to claim 1, wherein after obtaining the first charging information fed back by the target vehicle in the case where the target vehicle and the mobile terminal complete the card swiping interaction, the method further comprises:
transmitting the second charging information to a charging system of the target vehicle under the condition that the second charging information exists in the terminal;
Acquiring prompt information of the charging system, wherein the prompt information is used for indicating a matching result of preset charging information stored in the charging system by the second charging information, and part or all of the preset charging information comprises: first charging information;
and re-acquiring the second charging information corresponding to the terminal under the condition that the prompt information indicates that the second charging information fails to match.
3. The method for confirming charging information according to claim 1, wherein before obtaining the first charging information fed back by the target vehicle in the case where the target vehicle and the mobile terminal complete the card swiping interaction, the method further comprises:
acquiring an operation instruction of a target object, wherein the operation instruction is used for indicating to open a target interface of a terminal;
under the condition that the target interface is started according to the operation instruction, determining the starting state of the function at the corresponding position of the target interface;
And collecting second charging information according to the starting state.
4. A method for confirming charging information according to claim 3, wherein the collecting of the second charging information according to the on state comprises:
Under the condition that the starting state indicates that the position function is not started, determining second position information of the current position of the terminal and stop board information corresponding to the second position information through information interaction between the terminal and a base station corresponding to the terminal;
And under the condition that the starting state indicates that the position function is started, positioning second position information of the current position of the terminal and stop board information corresponding to the second position information through the position function.
5. The method according to claim 1, wherein after determining a comparison result of the first charging information and the second charging information and determining whether to deduct a fee according to the first charging information according to the comparison result, the method further comprises:
generating a fee deduction bill of the fee deduction, wherein the fee deduction bill comprises a charging starting time and a fee deduction amount;
Sending the fee deduction bill to a charging system of a target vehicle;
And acquiring a confirmation result of the charging system to determine that the fee deduction bill is effective.
6. A device for confirming charging information, comprising:
The acquisition module is used for acquiring first charging information fed back by the target vehicle under the condition that the target vehicle and the mobile terminal finish card swiping interaction, wherein the first charging information comprises: the first position information corresponding to the target vehicle and the first stop board information corresponding to the target vehicle;
The determining module is used for determining a comparison result of the first charging information and the second charging information and determining whether to deduct fees according to the first charging information according to the comparison result, wherein the second charging information is used for indicating second position information corresponding to a terminal and stop board information corresponding to the second position information;
The determining module is further configured to, if the comparison result indicates that the first charging information is the same as the second charging information, add the first charging information to a registration record, where the registration record includes at least one of: a get-on record of the target object on the target vehicle, and a get-off record of the target object on the target vehicle; and sending notification information for adding second charging information to a registration record to a target object and acquiring a confirmation instruction of the target object when the comparison result indicates that the first charging information is different from the second charging information, wherein the confirmation instruction is used for indicating that the first charging information in the registration record is replaced by the second charging information.
7. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program when run performs the method of any of the preceding claims 1 to 5.
8. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1 to 5 by means of the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111007840.7A CN115731626B (en) | 2021-08-30 | 2021-08-30 | Method and device for confirming charging information, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111007840.7A CN115731626B (en) | 2021-08-30 | 2021-08-30 | Method and device for confirming charging information, storage medium and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115731626A CN115731626A (en) | 2023-03-03 |
CN115731626B true CN115731626B (en) | 2024-05-24 |
Family
ID=85291373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111007840.7A Active CN115731626B (en) | 2021-08-30 | 2021-08-30 | Method and device for confirming charging information, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115731626B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03216706A (en) * | 1990-01-22 | 1991-09-24 | Komatsu Forklift Co Ltd | Present position detecting method for unmanned carrier |
JP2012111400A (en) * | 2010-11-26 | 2012-06-14 | Hitachi Ltd | Train stop position display guide system |
CN103198564A (en) * | 2013-03-12 | 2013-07-10 | 东莞宇龙通信科技有限公司 | Public transport system and public transport billing method |
CN105843810A (en) * | 2015-01-13 | 2016-08-10 | 电信科学技术研究院 | Method and device for planning travel route |
CN106548522A (en) * | 2016-11-01 | 2017-03-29 | 西安培华学院 | A kind of buses intelligent toll system and method |
CN106571036A (en) * | 2016-11-14 | 2017-04-19 | 中国联合网络通信集团有限公司 | Public transportation stop determination method and apparatus thereof |
CN107705131A (en) * | 2017-09-30 | 2018-02-16 | 杭州数梦工场科技有限公司 | Public transport method of payment, device and public transport payment system |
CN108551651A (en) * | 2018-04-08 | 2018-09-18 | 深圳卡通新技术有限公司 | Bus block meter rate method based on mobile terminal |
CN109299928A (en) * | 2018-08-31 | 2019-02-01 | 阿里巴巴集团控股有限公司 | Charging method and device by bus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8660867B2 (en) * | 2012-01-17 | 2014-02-25 | Intuit Inc. | Method and system for automated transportation use tracking and billing |
-
2021
- 2021-08-30 CN CN202111007840.7A patent/CN115731626B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03216706A (en) * | 1990-01-22 | 1991-09-24 | Komatsu Forklift Co Ltd | Present position detecting method for unmanned carrier |
JP2012111400A (en) * | 2010-11-26 | 2012-06-14 | Hitachi Ltd | Train stop position display guide system |
CN103198564A (en) * | 2013-03-12 | 2013-07-10 | 东莞宇龙通信科技有限公司 | Public transport system and public transport billing method |
CN105843810A (en) * | 2015-01-13 | 2016-08-10 | 电信科学技术研究院 | Method and device for planning travel route |
CN106548522A (en) * | 2016-11-01 | 2017-03-29 | 西安培华学院 | A kind of buses intelligent toll system and method |
CN106571036A (en) * | 2016-11-14 | 2017-04-19 | 中国联合网络通信集团有限公司 | Public transportation stop determination method and apparatus thereof |
CN107705131A (en) * | 2017-09-30 | 2018-02-16 | 杭州数梦工场科技有限公司 | Public transport method of payment, device and public transport payment system |
CN108551651A (en) * | 2018-04-08 | 2018-09-18 | 深圳卡通新技术有限公司 | Bus block meter rate method based on mobile terminal |
CN109299928A (en) * | 2018-08-31 | 2019-02-01 | 阿里巴巴集团控股有限公司 | Charging method and device by bus |
Also Published As
Publication number | Publication date |
---|---|
CN115731626A (en) | 2023-03-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105631946A (en) | Parking lot fee collection method, parking lot fee collection system and terminal | |
CN106464519A (en) | Adapter and adapter upgrade method | |
CN103186853B (en) | A kind of server end and client method of mobile payment, Apparatus and system | |
CN109606165A (en) | A kind of charging method of electric vehicle, device and charging server | |
CN111861097B (en) | Information processing method and device | |
CN111861442B (en) | Vehicle charging fee deduction method, device and storage medium | |
CN107548054B (en) | Master-slave equipment switching method of eSIM card, slave equipment and eSIM card management server | |
KR101782939B1 (en) | The Call System and Method for Matching Living Serive | |
CN115731626B (en) | Method and device for confirming charging information, storage medium and electronic device | |
KR20140039847A (en) | Toll processing system connected hi-pass terminal and smart phone and toll processing method | |
CN112995909B (en) | SIM card distribution method, device, server and computer readable storage medium | |
CN109348472B (en) | OTA (over the air) upgrading method and system based on single-point pushing | |
CN113223198B (en) | Data processing method and device | |
JPWO2018155575A1 (en) | Wireless communication device and control method thereof | |
CN112995985B (en) | SIM card state information updating method and device and server | |
CN111861603B (en) | Riding order generation method and device | |
CN104732384A (en) | Processing method and system for application software online payment | |
CN103906025B (en) | A kind of processing method of third party charging business, apparatus and system | |
CN103441889A (en) | Statistical information generating method and system | |
CN108615305B (en) | Interaction method based on big data platform | |
CN112085539A (en) | Method, system and storage medium for rented battery offline charging | |
CN109995540B (en) | Charging method, system, equipment and medium for event value-added service | |
CN109756882B (en) | Communication method, system, SMSR and computer readable storage medium | |
CN105228259A (en) | The method of communication service resource sharing and device | |
CN101867918A (en) | Real-name system registration state acquiring method, device and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |