Vehicle charging settlement method and system, terminal equipment and medium
By establishing a soft bus connection when the booth fails, taking over the business of the failed booth and checking vehicle fees normally, the problem of reducing vehicle charge settlement efficiency caused by the booth failure is solved, and efficient settlement in the case of a fault is achieved.
Patent Information
- Application Number
- CN202410907493.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-11-26
AI Technical Summary
When the booth at the toll station fails, the vehicle fees cannot be settled normally, resulting in a reduction in vehicle fees settlement efficiency.
When a faulty booth is detected, the faulty booth is determined and the connected normal booth is used as the target booth, a soft bus connection is established, the vehicle information is transmitted to calculate the fee, and the release instructions are passed after the charge is completed to ensure the normal operation of the lane.
When the job failure occurs, the vehicle fees can be settled normally by taking over the business, and the efficiency of vehicle charging settlement can be improved and the stagnation time caused by the failure can be reduced.
Smart Images

Figure CN119028033A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data communication technology, and in particular to a vehicle fee settlement method, system, terminal equipment and medium. Background Art
[0002] In toll booths, there are multiple booths for toll settlement. Usually, the booth is connected to a device that can identify vehicle information. After identifying the vehicle information, the corresponding to-be-settled fee for the vehicle can be calculated. However, when the booth fails, normal settlement cannot be performed, thereby reducing the efficiency of vehicle toll settlement.
[0003] Therefore, how to improve the efficiency of vehicle fee settlement is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0004] The main purpose of this application is to provide a vehicle fee settlement method, system, terminal device and medium, aiming to solve the technical problem of how to improve the efficiency of vehicle fee settlement.
[0005] To achieve the above purpose, the present application proposes a vehicle fee settlement method, the method comprising:
[0006] When a faulty booth is detected, the faulty booth is determined among the booths, and the booth connected to the faulty booth is used as the target booth, wherein the target booth is connected to the faulty booth via a soft bus, and vehicle information in the lane of the faulty booth is transmitted to the target booth based on the soft bus;
[0007] The target booth is controlled to calculate the fee based on the vehicle information, and after detecting that the charging is completed, the lane release instruction is transmitted to the lane guardrail corresponding to the fault booth through the target booth and the soft bus, so that the lane guardrail releases the vehicle based on the lane release instruction.
[0008] In one embodiment, before the step of determining the faulty booth among the booths when a faulty booth is detected, the method further comprises:
[0009] When receiving the heartbeat information corresponding to each booth, obtaining the receiving time corresponding to each heartbeat information, wherein the heartbeat information is the information output by the booth to indicate that it is in a normal operating state;
[0010] According to each of the receiving times and a preset time threshold, it is detected whether there is any malfunctioning booth among the booths.
[0011] In one embodiment, the step of detecting whether there is a faulty booth in each of the booths according to each of the receiving times and a preset time threshold comprises:
[0012] Add the preset duration threshold to each of the receiving times to obtain the next receiving time corresponding to each of the booths;
[0013] If the heartbeat information corresponding to each of the booths is not received within the next receiving time corresponding to each of the booths, it is determined that there is a faulty booth among the booths;
[0014] If the heartbeat information corresponding to each of the booths is received within the next receiving time corresponding to each of the booths, it is determined that there is no faulty booth among the booths.
[0015] In one embodiment, the step of determining a faulty booth among the booths includes:
[0016] Identify the booth identifiers in each of the heartbeat information, and use the booths corresponding to each of the booth identifiers as normal booths;
[0017] Based on the normal booths, a faulty booth is determined among the booths.
[0018] In one embodiment, the step of determining a faulty booth among the booths includes:
[0019] Determine whether there is a fault mark of a nearby booth in each of the heartbeat information, wherein the fault mark of the nearby booth is used to indicate whether a booth connected to the booth corresponding to the heartbeat information has a fault;
[0020] If it is determined that the adjacent booth fault identifier exists in each of the heartbeat information, the booth corresponding to the adjacent booth fault identifier is used as the faulty booth.
[0021] In one embodiment, after the step of transmitting the lane release instruction to the lane barrier corresponding to the faulty booth through the target booth and the soft bus after detecting completion of the toll collection, the method further comprises:
[0022] If the fault repair information transmitted by the fault booth is received, the step of controlling the target booth to calculate the fee based on the vehicle information is stopped.
[0023] In one embodiment, after the step of determining the faulty booth in each booth, the method further comprises:
[0024] Based on the address information corresponding to each of the fault booths, the maintenance platform corresponding to each of the fault booths is determined, and the address information corresponding to each of the fault booths is output to the maintenance platform corresponding to each of the fault booths.
[0025] In addition, to achieve the above purpose, the present application also proposes a vehicle fee settlement system, the vehicle fee settlement system comprising:
[0026] A target booth confirmation module is used to determine the faulty booth among the various booths when a faulty booth is detected, and to use the booth connected to the faulty booth as the target booth, wherein the target booth is connected to the faulty booth via a soft bus, and the vehicle information in the lane of the faulty booth is transmitted to the target booth based on the soft bus;
[0027] The charging takeover module is used to control the target booth to calculate the fee based on the vehicle information, and after detecting that the charging is completed, transmit the lane release instruction to the lane guardrail corresponding to the faulty booth through the target booth and the soft bus, so that the lane guardrail releases the vehicle based on the lane release instruction.
[0028] In addition, to achieve the above-mentioned purpose, the present application also proposes a terminal device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vehicle fee settlement method as described above.
[0029] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the vehicle fee settlement method described above are implemented.
[0030] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the vehicle fee settlement method described above are implemented.
[0031] In the present application, when a faulty booth is detected, the faulty booth is determined among the booths, and the booth connected to the faulty booth is used as the target booth, wherein the target booth is connected to the faulty booth via a soft bus, and the vehicle information in the lane of the faulty booth is transmitted to the target booth based on the soft bus. When a faulty booth is detected, a target booth for taking over the toll collection service can be determined for the faulty booth; then the target booth is controlled to calculate the fee based on the vehicle information, and after detecting that the toll collection is completed, the lane release instruction is transmitted to the lane guardrail corresponding to the faulty booth via the target booth and the soft bus, so that the lane guardrail releases the lane based on the lane instruction, and the toll collection service of the faulty booth can be settled based on the target booth. Therefore, when a faulty booth exists, the service can be settled normally based on the booth operating normally, so as to achieve the purpose of improving the efficiency of vehicle toll settlement. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0033] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0034] Figure 1 A flow chart of the first embodiment of the vehicle fee settlement method of the present application;
[0035] Figure 2 A schematic diagram of the layout of a specific embodiment of the vehicle fee settlement method of the present application;
[0036] Figure 3 A brief flowchart of a specific embodiment of the vehicle fee settlement method of the present application;
[0037] Figure 4 This is a schematic diagram of the module structure of the vehicle fee settlement system according to an embodiment of the present application;
[0038] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the vehicle fee settlement method in the embodiment of the present application.
[0039] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0040] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0041] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0042] The main solution of the embodiment of the present application is: when a faulty booth is detected, the faulty booth is determined among the various booths, and the booth connected to the faulty booth is used as the target booth, wherein the target booth is connected to the faulty booth via a soft bus, and the vehicle information in the lane of the faulty booth is transmitted to the target booth based on the soft bus; the target booth is controlled to calculate the fee based on the vehicle information, and after detecting that the charging is completed, the lane release instruction is transmitted to the lane guardrail corresponding to the faulty booth via the target booth and the soft bus, so that the lane guardrail releases the vehicle based on the lane release instruction.
[0043] In the prior art, it takes time to repair a booth when it fails, and during the failure period, vehicles in the lane of the failed booth cannot settle fees normally, thereby reducing the efficiency of vehicle fee settlement. To solve this problem, the present application proposes a vehicle fee settlement method.
[0044] It should be noted that the execution subject of this embodiment may be a terminal device with data processing, network communication and program running functions, such as a server, a computer, etc. The following takes a server as an example to illustrate various embodiments of the vehicle fee settlement method of this application.
[0045] Based on this, the present application embodiment provides a vehicle fee settlement method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the vehicle fee settlement method of the present application.
[0046] In this embodiment, the vehicle fee settlement method includes steps S10 to S20:
[0047] Step S10, when a faulty booth is detected, the faulty booth is determined among the booths, and the booth connected to the faulty booth is used as the target booth, wherein the target booth is connected to the faulty booth via a soft bus, and the vehicle information in the lane of the faulty booth is transmitted to the target booth based on the soft bus;
[0048] It should be noted that the target booth refers to the booth that is connected to the faulty booth and operates normally. When there is a faulty booth, the target booth corresponding to the faulty booth can take over the business of the faulty booth. Vehicle information refers to information related to vehicle toll settlement, for example, vehicle information can be a license plate number. Soft bus is a software-based communication mechanism used to realize data transmission and communication within a computer system or between external devices. Soft bus technology connects different devices and components through software protocols to achieve data sharing and interaction.
[0049] It is understandable that each toll station is equipped with multiple booths, each corresponding to a different lane. In order to facilitate the booth adjacent to the faulty booth to take over the business of the faulty booth when a booth fails, communication can be established in advance between adjacent booths through soft bus communication. Thus, each booth can not only receive the vehicle information collected in the lane corresponding to it, but also receive the vehicle information in the lane corresponding to the adjacent booth.
[0050] When it is detected that there is no faulty booth, each booth operates normally. The vehicle information transmitted by the adjacent booths through the soft bus can be stored for a preset time. If a faulty booth is detected, settlement can be performed based on the received vehicle information.
[0051] In a feasible implementation, adjacent booths can be pre-connected via a soft bus. For example, booth 1 is connected to booth 2 via a soft bus, and booth 3 is connected to booth 4 via a soft bus. If a failure of booth 1 is detected, booth 2 can be used as the target booth, and booth 2 can take over the business of booth 1.
[0052] Step S20, controls the target booth to calculate the fee based on the vehicle information, and after detecting that the charging is completed, transmits the lane release instruction to the lane guardrail corresponding to the faulty booth through the target booth and the soft bus, so that the lane guardrail releases the vehicle based on the lane release instruction.
[0053] It should be noted that the lane release instruction refers to an instruction used to indicate vehicle release.
[0054] In this embodiment, the target booth can be controlled to calculate the fee for the vehicle in the lane where the fault booth is located based on the vehicle information obtained from the fault booth. Then, after detecting that the charging is completed, the lane release instruction can be transmitted to the lane barrier corresponding to the fault booth through the target booth based on the soft bus, so that the vehicle that has paid the fee can be released.
[0055] In this embodiment, when a faulty booth is detected, the faulty booth is determined among the booths, and the booth connected to the faulty booth is used as the target booth, wherein the target booth is connected to the faulty booth via a soft bus, and the vehicle information in the lane of the faulty booth is transmitted to the target booth based on the soft bus. When a faulty booth is detected, a target booth for taking over the toll collection service can be determined for the faulty booth; then the target booth is controlled to calculate the fee based on the vehicle information, and after detecting that the toll collection is completed, the lane release instruction is transmitted to the lane guardrail corresponding to the faulty booth via the target booth and the soft bus, so that the lane guardrail releases the lane based on the lane instruction, and the toll collection service of the faulty booth can be settled based on the target booth. Therefore, when a faulty booth exists, the service can be settled normally based on the booth operating normally, so as to achieve the purpose of improving the efficiency of vehicle toll settlement.
[0056] Based on the first embodiment of the vehicle fee settlement method of the present application, a second embodiment of the vehicle fee settlement method of the present application is proposed. In the second embodiment of the present application, the same or similar contents as those of the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated later. In this embodiment, before step S10, the vehicle fee settlement method further includes steps S100 to S200:
[0057] Step S100, when receiving the heartbeat information corresponding to each booth, obtaining the receiving time corresponding to each heartbeat information, wherein the heartbeat information is information output by the booth to indicate that it is in a normal operating state;
[0058] It can be understood that if the heartbeat information can be received, it indicates that the booth is in a normal operating state. Correspondingly, if the heartbeat information is not received, it indicates that the booth is in a faulty operating state.
[0059] Step S200, based on the receiving time and the preset time threshold, detect whether there is any malfunctioning booth among the booths.
[0060] It should be noted that the duration threshold refers to a pre-set duration. In a feasible implementation, the duration threshold may be set based on experience, or the duration threshold may also be determined based on the distance between the sentry booth and the server, which is not limited in this application.
[0061] In this embodiment, after receiving the heartbeat information corresponding to each booth, the corresponding reception time of each heartbeat information can be recorded, and the corresponding relationship between each heartbeat information and the booth can be determined. Among them, the corresponding relationship between the heartbeat information and the booth can be determined by extracting the ID of the booth in the heartbeat information and determining it based on the ID, or it can be determined based on the IP address of the computer in the booth, and this application does not limit this.
[0062] Then, the heartbeat information transmitted by each booth can be sorted in order of receiving time from small to large, so that based on the maximum receiving time and duration threshold, it can be detected whether there is a faulty booth among the booths.
[0063] In a feasible implementation manner, the above step S200 includes:
[0064] Step S2001, adding the preset duration threshold to each of the receiving times to obtain the next receiving time corresponding to each of the booths;
[0065] It can be understood that in this embodiment, for each booth, the maximum receiving time and the duration threshold can be superimposed to obtain the next receiving time corresponding to each booth.
[0066] Step S2002, if the heartbeat information corresponding to each of the booths is not received within the next receiving time corresponding to each of the booths, it is determined that there is a faulty booth among the booths;
[0067] Step S2003: If the heartbeat information corresponding to each of the booths is received within the next receiving time corresponding to each of the booths, it is determined that there is no faulty booth among the booths.
[0068] It can be understood that if the newly transmitted heartbeat information of each booth can be received within the next receiving time corresponding to each booth, it indicates that each booth is in normal operation; correspondingly, if there is a booth that does not receive the new heartbeat information within the next receiving time corresponding to each booth, it indicates that there is a faulty booth.
[0069] In a feasible implementation, the maximum next reception time can also be determined among each next reception time, and when the maximum next reception time expires, the number of newly received heartbeat information can be counted. If the counted number is less than the total number of booths, it can also be determined that there are faulty booths among the booths.
[0070] The above steps are used to detect in real time whether there is a faulty booth. In a feasible implementation method, regular detection can also be performed to reduce the amount of data processing.
[0071] In this embodiment, the present application determines whether there is a faulty booth by the reception time of the heartbeat information, so that the faulty booth can be determined in time, thereby facilitating the control of the target booth to take over the faulty booth.
[0072] In a feasible implementation manner, the above step S10 further includes:
[0073] Step S101, identifying the booth identification in each of the heartbeat information, and taking the booth corresponding to each of the booth identifications as a normal booth;
[0074] It should be noted that the booth identification refers to information that can identify the booth, such as the booth ID or booth number. It is understandable that the booth identification is unique, and different booths have different booth identifications.
[0075] In this embodiment, after determining that there is a faulty booth based on the heartbeat information, the booth identifier in each heartbeat information can also be identified, so that the booth corresponding to the identified booth identifier is used as a normal booth.
[0076] Step S102, based on the normal booths, determine the faulty booths among the booths.
[0077] In this embodiment, the booths other than the normal booths among the booths can be regarded as faulty booths.
[0078] In this embodiment, the present application can quickly identify a faulty booth based on the identifier in the heartbeat information, thereby improving the efficiency of taking over the booth business.
[0079] In a feasible implementation manner, the above step S10 may further include:
[0080] Step S103, determining whether there is a fault mark of a nearby booth in each of the heartbeat information, wherein the fault mark of the nearby booth is used to indicate whether a booth connected to the booth corresponding to the heartbeat information has a fault;
[0081] It is understandable that since the adjacent booths communicate with each other via a soft bus, if an adjacent connected booth fails, the faulty booth information can be transmitted to the adjacent booth via the soft bus, so that the faulty booth information can be stored in the heartbeat information reported by the adjacent normal booth. Then, after receiving the heartbeat information, the server can determine whether there is a faulty booth identification in the heartbeat information to determine whether there is a faulty booth.
[0082] Step S104: If it is determined that the adjacent booth fault identifier exists in each of the heartbeat information, the booth corresponding to the adjacent booth fault identifier is used as a faulty booth.
[0083] It can be understood that, compared with the above method of determining the faulty booth by heartbeat information, reception time and duration threshold, this embodiment can determine the faulty booth based on the fault identification of the adjacent booth in the heartbeat information, thereby avoiding waiting for the duration threshold to determine the faulty booth. Therefore, compared with the above method of determining the faulty booth, the present application proposes a method of determining based on the identification of the adjacent faulty booth, which takes less time and is more efficient.
[0084] In a feasible implementation manner, after the above step S20, the method further includes:
[0085] Step S30: If the fault repair information transmitted by the fault booth is received, the step of controlling the target booth to calculate the fee based on the vehicle information is stopped.
[0086] It should be noted that the fault repair information is used to indicate that the faulty booth has returned to normal.
[0087] In this embodiment, after it is detected that the faulty booth has returned to normal, the step of allowing the target booth to take over the business of the faulty booth can be stopped, thereby alleviating the business pressure of the target booth.
[0088] In a feasible implementation manner, after the above step S20, the method further includes:
[0089] Step S40, based on the address information corresponding to each of the fault booths, determining the maintenance platform corresponding to each of the fault booths, and outputting the address information corresponding to each of the fault booths to the maintenance platform corresponding to each of the fault booths.
[0090] In this embodiment, different maintenance platforms can be pre-set for the booths in different regions. For example, the maintenance platform closest to the booth can be used as the maintenance platform corresponding to the booth. Therefore, after the faulty booth is determined, the address information of the faulty booth can be transmitted to the maintenance platform corresponding to the faulty booth, so that the maintenance personnel can receive the fault information and repair the faulty booth.
[0091] Compared with the method of reporting repairs manually, this application can realize automatic takeover and automatic repair reporting when a faulty booth is detected, thereby reducing labor costs while improving the efficiency of fee settlement.
[0092] Based on the first embodiment and the second embodiment proposed in the present application, a specific embodiment of the vehicle fee settlement method of the present application is proposed.
[0093] Please refer to Figure 2 .exist Figure 2 In the example, each booth is equipped with a lane controller (a device used to control and manage the lane toll collection process in the highway toll collection system) and a lane adapter. Booth i and booth i+1 are connected via a soft bus. Specifically, the lane controller in booth i (referring to any booth) is connected to the lane controller in booth i+1 (referring to the booth connected to booth i). When booth i fails, the server can control booth i+1 to take over the business of booth i.
[0094] For details on the takeover process, please refer to Figure 3 . Lane controller i can create a fault status service thread in advance, and then establish communication with the adjacent lane controller i+1 through the soft bus. After detecting a fault, lane controller i can transmit the fault information to lane controller i+1 through the soft bus. Lane controller i+1 can report the fault information of lane controller i through heartbeat information. Then, after determining that lane controller i has a fault, the server can control lane controller i+1 to initialize the charging reference of lane controller i backup, and establish soft bus communication with the lane adapter corresponding to lane controller i, so that the vehicle information of the faulty booth can be obtained based on lane controller i+1, and the charging business of lane i can be taken over through lane controller i+1. Thereby, the efficiency of vehicle charging can be improved under the premise of the existence of a faulty booth.
[0095] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the vehicle fee settlement method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0096] This application also provides a vehicle fee settlement system, please refer to Figure 4 , the vehicle fee settlement system comprises:
[0097] The target booth confirmation module 10 is used to determine the faulty booth among the various booths when a faulty booth is detected, and use the booth connected to the faulty booth as the target booth, wherein the target booth is connected to the faulty booth via a soft bus, and the vehicle information in the lane of the faulty booth is transmitted to the target booth based on the soft bus;
[0098] The charging takeover module 20 is used to control the target booth to calculate the fee based on the vehicle information, and after detecting that the charging is completed, transmit the lane release instruction to the lane guardrail corresponding to the faulty booth through the target booth and the soft bus, so that the lane guardrail releases the vehicle based on the lane release instruction.
[0099] In one embodiment, the vehicle fee settlement system further includes:
[0100] A first receiving module is used to obtain the receiving time corresponding to each heartbeat information when receiving the heartbeat information corresponding to each booth, wherein the heartbeat information is the information output by the booth to indicate that it is in a normal operating state;
[0101] The fault determination module is used to detect whether there is a faulty booth among the booths based on the receiving time and the preset time threshold.
[0102] In one embodiment, the fault determination module is further used to:
[0103] Add the preset duration threshold to each of the receiving times to obtain the next receiving time corresponding to each of the booths;
[0104] If the heartbeat information corresponding to each of the booths is not received within the next receiving time corresponding to each of the booths, it is determined that there is a faulty booth among the booths;
[0105] If the heartbeat information corresponding to each of the booths is received within the next receiving time corresponding to each of the booths, it is determined that there is no faulty booth among the booths.
[0106] In one embodiment, the target booth confirmation module 10 is further used for:
[0107] Identify the booth identifiers in each of the heartbeat information, and use the booths corresponding to each of the booth identifiers as normal booths;
[0108] Based on the normal booths, a faulty booth is determined among the booths.
[0109] In one embodiment, the target booth confirmation module 10 is further used for:
[0110] Determine whether there is a fault mark of a nearby booth in each of the heartbeat information, wherein the fault mark of the nearby booth is used to indicate whether a booth connected to the booth corresponding to the heartbeat information has a fault;
[0111] If it is determined that the adjacent booth fault identifier exists in each of the heartbeat information, the booth corresponding to the adjacent booth fault identifier is used as the faulty booth.
[0112] In one embodiment, the vehicle fee settlement system further includes:
[0113] The stop takeover module is used to stop executing the step of controlling the target booth to calculate the fee based on the vehicle information if the fault repair information transmitted by the fault booth is received.
[0114] In one embodiment, the vehicle fee settlement system further includes:
[0115] The fault information transmission module is used to determine the maintenance platform corresponding to each fault booth based on the address information corresponding to each fault booth, and output the address information corresponding to each fault booth to the maintenance platform corresponding to each fault booth.
[0116] The vehicle fee settlement system provided by the present application adopts the vehicle fee settlement method in the above embodiment, which can solve the technical problem of how to improve the efficiency of vehicle fee settlement. Compared with the prior art, the beneficial effects of the vehicle fee settlement system provided by the present application are the same as the beneficial effects of the vehicle fee settlement method provided by the above embodiment, and other technical features in the vehicle fee settlement system are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0117] The present application provides a terminal device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle fee settlement method in the above-mentioned embodiment one.
[0118] Reference below Figure 5 , which shows a schematic diagram of the structure of a terminal device suitable for implementing an embodiment of the present application. Figure 5The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0119] like Figure 5 As shown, the terminal device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the terminal device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the terminal device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a terminal device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0120] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0121] The terminal device provided by the present application adopts the vehicle fee settlement method in the above embodiment, which can solve the technical problem of how to improve the efficiency of vehicle fee settlement. Compared with the prior art, the beneficial effects of the terminal device provided by the present application are the same as the beneficial effects of the vehicle fee settlement method provided by the above embodiment, and the other technical features in the terminal device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0122] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0123] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0124] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the vehicle fee settlement method in the above-mentioned embodiment.
[0125] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0126] The computer-readable storage medium may be included in the terminal device; or may exist independently without being installed in the terminal device.
[0127] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the terminal device, the terminal device: when detecting the existence of a faulty booth, determines the faulty booth among various booths, and takes the booth connected to the faulty booth as the target booth, wherein the target booth is connected to the faulty booth via a soft bus, and the vehicle information in the lane of the faulty booth is transmitted to the target booth based on the soft bus; controls the target booth to calculate the fee based on the vehicle information, and after detecting that the charging is completed, transmits the lane release instruction to the lane guardrail corresponding to the faulty booth via the target booth and the soft bus, so that the lane guardrail releases the vehicle based on the lane release instruction.
[0128] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0129] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0130] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0131] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned vehicle fee settlement method, and can solve the technical problem of how to improve the efficiency of vehicle fee settlement. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the vehicle fee settlement method provided by the above-mentioned embodiment, and will not be repeated here.
[0132] The present application also provides a computer program product, including a computer program, which implements the steps of the vehicle fee settlement method as described above when executed by a processor.
[0133] The computer program product provided by this application can solve the technical problem of how to improve the efficiency of vehicle fee settlement. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the vehicle fee settlement method provided by the above embodiment, which will not be repeated here.
[0134] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A vehicle fee settlement method, characterized in that: The vehicle fee settlement method comprises: When a faulty booth is detected, the faulty booth is determined among the booths, and the booth connected to the faulty booth is used as the target booth, wherein the target booth is connected to the faulty booth via a soft bus, and vehicle information in the lane of the faulty booth is transmitted to the target booth based on the soft bus; The target booth is controlled to calculate the fee based on the vehicle information, and after detecting that the charging is completed, the lane release instruction is transmitted to the lane guardrail corresponding to the fault booth through the target booth and the soft bus, so that the lane guardrail releases the vehicle based on the lane release instruction.
2. The vehicle fee settlement method according to claim 1, characterized in that: Before the step of determining the faulty booth among the booths when a faulty booth is detected, the method further comprises: When receiving the heartbeat information corresponding to each booth, obtaining the receiving time corresponding to each heartbeat information, wherein the heartbeat information is the information output by the booth to indicate that it is in a normal operating state; According to each of the receiving times and a preset time threshold, it is detected whether there is any malfunctioning booth among the booths.
3. The vehicle fee settlement method according to claim 2, characterized in that: The step of detecting whether there is a faulty booth in each of the booths according to each of the receiving times and the preset time threshold comprises: Add the preset duration threshold to each of the receiving times to obtain the next receiving time corresponding to each of the booths; If the heartbeat information corresponding to each of the booths is not received within the next receiving time corresponding to each of the booths, it is determined that there is a faulty booth among the booths; If the heartbeat information corresponding to each of the booths is received within the next receiving time corresponding to each of the booths, it is determined that there is no faulty booth among the booths.
4. The vehicle fee settlement method according to claim 3, characterized in that: The step of determining the faulty booth in each booth comprises: Identify the booth identifiers in each of the heartbeat information, and use the booths corresponding to each of the booth identifiers as normal booths; Based on the normal booths, a faulty booth is determined among the booths.
5. The vehicle fee settlement method according to claim 3, characterized in that: The step of determining the faulty booth in each booth comprises: Determine whether there is a fault mark of a nearby booth in each of the heartbeat information, wherein the fault mark of the nearby booth is used to indicate whether a booth connected to the booth corresponding to the heartbeat information has a fault; If it is determined that the adjacent booth fault identifier exists in each of the heartbeat information, the booth corresponding to the adjacent booth fault identifier is used as the faulty booth.
6. The vehicle fee settlement method according to claim 1, characterized in that: After the step of transmitting the lane release instruction to the lane barrier corresponding to the faulty booth through the target booth and the soft bus after detecting completion of charging, the method further includes: If the fault repair information transmitted by the fault booth is received, the step of controlling the target booth to calculate the fee based on the vehicle information is stopped.
7. The vehicle fee settlement method according to claim 1, characterized in that: After the step of determining the faulty booth in each booth, the method further comprises: Based on the address information corresponding to each of the fault booths, the maintenance platform corresponding to each of the fault booths is determined, and the address information corresponding to each of the fault booths is output to the maintenance platform corresponding to each of the fault booths.
8. A vehicle fee settlement system, characterized in that: The vehicle fee settlement system comprises: A target booth confirmation module is used to determine the faulty booth among the various booths when a faulty booth is detected, and to use the booth connected to the faulty booth as the target booth, wherein the target booth is connected to the faulty booth via a soft bus, and the vehicle information in the lane of the faulty booth is transmitted to the target booth based on the soft bus; The charging takeover module is used to control the target booth to calculate the fee based on the vehicle information, and after detecting that the charging is completed, transmit the lane release instruction to the lane guardrail corresponding to the faulty booth through the target booth and the soft bus, so that the lane guardrail releases the vehicle based on the lane release instruction.
9. A terminal device, characterized in that: The terminal device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vehicle fee settlement method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle fee settlement method according to any one of claims 1 to 7 are implemented.
