Disclosure of Invention
In view of this, embodiments of the present application provide a vehicle charging system, a method, an apparatus, and an electronic device, which can ensure normal payment and passage of a vehicle to be paid when a communication connection between the vehicle charging system and a cloud server is interrupted, and improve reliability of use of the vehicle charging system.
In a first aspect, an embodiment of the present application provides a vehicle toll system, including: the control device is used for generating a payment code when the communication connection with the cloud server is interrupted, and sending the payment code to the display device, wherein the payment code is used for the payment operation of the mobile terminal for executing the payment to be paid based on the payment code, and the cloud server is used for charging the vehicle to be paid through the barrier gate; the display device is used for receiving the payment code sent by the control device and displaying the payment code; the control device is also used for receiving payment confirmation information generated by the mobile terminal after payment is completed so as to confirm whether the payment operation is successful.
In some embodiments of the present application, the data information carried by the payment code includes at least one of parking lot information, vehicle identification information, payment amount, and a random number, and the payment confirmation information includes the data information carried by the payment code.
In some embodiments of the present application, the payment confirmation information is encrypted data obtained by encrypting data information carried by the payment code by using RSA algorithm.
In certain embodiments of the present application, the system further comprises: and the two-dimensional code reading device is used for reading the two-dimensional code generated based on the payment confirmation information and sending the read data information to the control device.
In certain embodiments of the present application, the system further comprises: and the NFC reading device is used for reading the payment confirmation information and sending the read data information to the control device.
In some embodiments of the present application, the system further includes a plurality of vehicle information collecting devices, the control device is one of the plurality of vehicle information collecting devices, and the plurality of vehicle information collecting devices are connected to each other through a local area network, so as to enable the plurality of vehicle information collecting devices to share the vehicle data information, so that any one of the plurality of vehicle information collecting devices generates the payment code based on the shared vehicle data information, wherein the vehicle data information includes at least one of vehicle identity information and vehicle residence time information.
In some embodiments of the present application, the system further comprises a barrier bar, and the control device is further configured to control the lifting or lowering of the barrier bar after confirming the success of the payment operation.
In a second aspect, an embodiment of the present application provides a vehicle charging method, including: when the communication connection between the vehicle charging system and the cloud server is interrupted, generating a payment code, wherein the payment code is used for the payment operation of the to-be-paid fee executed by the mobile terminal based on the payment code, and the cloud server is used for charging the to-be-paid vehicle passing through the gateway; sending the payment code to the display device; and receiving payment confirmation information generated by the mobile terminal after the payment is completed so as to confirm whether the payment operation is successful.
In some embodiments of the present application, the data information carried by the payment code includes at least one of parking lot information, vehicle identification information, payment amount, and a random number, and the payment confirmation information includes the data information carried by the payment code.
In some embodiments of the present application, the payment confirmation information is encrypted data obtained by encrypting data information carried by the payment code by using RSA algorithm.
In some embodiments of the present application, receiving payment confirmation information generated by a mobile terminal after payment is completed to confirm whether a payment operation is successful includes: and receiving payment confirmation information sent by the two-dimensional code reading device to confirm whether the payment operation is successful or not.
In some embodiments of the present application, receiving payment confirmation information generated by a mobile terminal after payment is completed to confirm whether a payment operation is successful includes: and receiving payment confirmation information sent by the NFC reading device to confirm whether the payment operation is successful or not.
In a third aspect, an embodiment of the present application provides a vehicle charging method, including: when the communication connection between the vehicle charging system and the cloud server is interrupted, reading a payment code displayed by the display device, wherein the payment code is used for the payment operation of the to-be-paid fee executed by the mobile terminal based on the payment code, and the cloud server is used for charging the to-be-paid vehicle passing through the gateway; and after the payment operation is finished, sending the generated payment confirmation information to the vehicle charging system, wherein the payment confirmation information is used for confirming whether the payment operation is successful or not.
In some embodiments of the present application, the payment confirmation information is a two-dimensional code generated by the mobile terminal after the payment operation is completed, and the generated payment confirmation information is sent to the vehicle charging system, including: and displaying the two-dimensional code at a readable position of the two-dimensional code reading device so that the two-dimensional code is read.
In some embodiments of the present application, the generated payment confirmation information is transmitted to a vehicle charging system, including: the mobile terminal is placed in a readable position of the NFC reading device so that the payment confirmation information is read.
In a fourth aspect, an embodiment of the present application provides a vehicle charging method, including: when the communication connection between the vehicle charging system and the cloud server is interrupted, judging whether the vehicle to be paid is a protocol user, wherein the protocol user means that a vehicle owner of the vehicle to be paid opens a protocol account in the cloud server connected with the vehicle charging system; and if the vehicle to be paid is a protocol user, controlling the barrier bar to lift up or fall down so that the vehicle to be paid can pass through under the condition that the mobile terminal does not perform payment operation.
In a fifth aspect, an embodiment of the present application provides a vehicle toll device, including: the execution module is used for generating a payment code when the communication connection between the vehicle charging system and the cloud server is interrupted, wherein the payment code is used for the payment operation of the to-be-paid fee executed by the mobile terminal based on the payment code, and the cloud server is used for charging the to-be-paid vehicle passing through the gateway; the sending module is used for sending the payment code to the display device; and the reading module is used for receiving payment confirmation information generated by the mobile terminal after payment is completed so as to confirm whether the payment operation is successful.
In a sixth aspect, an embodiment of the present application provides a vehicle toll device, including: the system comprises a judging module, a cloud server and a payment module, wherein the judging module is used for judging whether a vehicle to be paid is a protocol user when the communication connection between a vehicle charging system and the cloud server is interrupted, and the protocol user means that a vehicle owner of the vehicle to be paid opens a protocol account in the cloud server connected with the vehicle charging system; and the control module is used for controlling the barrier gate rod to lift up or fall down so that the vehicle to be paid can pass through under the condition that the mobile terminal does not perform payment operation if the vehicle to be paid is the agreement user.
In a seventh aspect, an embodiment of the present application provides an electronic device, including: a processor; a memory for storing processor executable instructions, wherein the processor is configured to perform the vehicle charging method of the second, third or fourth aspect.
In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program for executing the vehicle charging method according to the second, third, or fourth aspect.
The embodiment of the application provides a vehicle charging system and method, device and electronic equipment, when the communication connection of the vehicle charging system and a cloud server is interrupted, a control device generates a payment code, and after a mobile terminal completes payment, the control device confirms payment operation based on payment confirmation information received from the mobile terminal, so that normal payment and passing of a vehicle to be paid when the communication connection of the vehicle charging system and the cloud server is interrupted are realized, and the phenomenon of vehicle detention or congestion is avoided. Meanwhile, the use reliability of the vehicle charging system is improved.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the rapid development of internet technology, in order to realize the intelligent management of a parking lot, a vehicle charging system based on a cloud platform is widely used. The parking lot adopting the cloud platform vehicle charging system can establish communication connection with a cloud server through a local server or a set top box when a vehicle enters, and utilizes a cloud end to perform interaction to complete parking payment. However, when the network connection between the local server of the parking lot and the cloud server is interrupted, the local server cannot perform data information interaction of the vehicle with the cloud server, for example, the staying time of the vehicle, the license plate number of the vehicle, the parking cost of the vehicle, and the like, the vehicle that wants to drive out cannot complete payment, or the local server cannot confirm the payment information after the payment is completed, and the barrier bar in the parking lot cannot receive an instruction to release the vehicle, so that the problems that the vehicle in the parking lot cannot normally pay and cannot timely drive out of the parking lot occur, and serious problems such as vehicle detention and congestion in the parking lot are caused.
In order to solve the above problems, embodiments of the present application provide a vehicle charging system, a method, an apparatus, and an electronic device, which can realize normal payment and passage of a vehicle to be paid when a communication connection between the vehicle charging system and a cloud server is interrupted, thereby not only avoiding the phenomena of vehicle detention and congestion in a parking lot, but also improving the use reliability and user experience of the vehicle charging system.
Fig. 1 is a block diagram of a vehicle toll collection system according to an exemplary embodiment of the present application.
As shown in fig. 1, the vehicle charging system 100 is a local system, such as a parking lot or a vehicle toll station, provided with a gateway installed for charging vehicle parking or passing fees, and the vehicle charging system 100 includes a control device 110 and a display device 120, where the control device 110 is configured to generate a payment code when a communication connection with a cloud server is interrupted, and to transmit the payment code to the display device 120, where the payment code is used for a mobile terminal to perform a payment operation of a fee to be paid based on the payment code, and the cloud server is configured to charge the vehicle to be paid through the gateway; the display device 120 is used for receiving the payment code sent by the control device 110 and displaying the payment code; the control device 110 is further configured to receive payment confirmation information generated by the mobile terminal after the payment is completed, so as to confirm whether the payment operation is successful.
In this embodiment, when the communication connection between the control device 110 of the vehicle charging system 100 and the cloud server is interrupted, the control device 110 cannot upload data information to the cloud server, for example, data information of the vehicle, including a license plate number, a vehicle entrance time, a vehicle exit time, lane information where the vehicle passes, parking lot information, and the like; the data information transmitted from the cloud server, for example, the amount of money to be paid for the vehicle, a confirmation message of completion of payment for the vehicle, and an instruction signal for controlling the lifting of the barrier bar, etc., cannot be received, and in this case, the control device 110 generates a payment code based on the data information of the vehicle recorded by the vehicle charging system 100 and transmits the payment code to the display device 120. Specifically, the control device 110 searches for data information related to the vehicle and calculates the fee to be paid based on the license plate number of the vehicle to be paid, and generates a payment code, which may be a two-dimensional code or a barcode. The control device 110 sends the payment code to the display device 120, the display device 120 displays the payment code, and the mobile terminal can perform payment operation of the fee to be paid by scanning the payment code. After the payment of the mobile terminal of the vehicle to be paid is completed, the control device 110 receives payment confirmation information sent by the mobile terminal, determines whether the payment operation of the mobile terminal is successful, and confirms that the payment operation of the mobile terminal is successful when the payment confirmation information meets the confirmation condition of the control device 110.
Optionally, the display device 120 may further have a voice broadcast function, and may broadcast the license plate number and the fee to be paid while displaying the payment code.
It should be noted that the control device 110 may be a local computer device, such as a computer or a server, or an electronic device integrated with a controller, such as a camera, or other device integrated with a controller.
This embodiment of the application provides a vehicle charging system, when the communication connection of vehicle charging system and high in the clouds server breaks down, controlling means generates the payment code, and after mobile terminal accomplished the payment, this controlling means confirms the payment operation based on the payment acknowledgement information that receives from mobile terminal to realized waiting to pay the normal payment and pass of vehicle when the communication connection of vehicle charging system and high in the clouds server breaks down, avoided the vehicle to be detained or the phenomenon of blocking up. Meanwhile, the use reliability of the vehicle charging system is improved.
According to an embodiment of the application, the data information carried by the payment code includes at least one of parking lot information, vehicle identity information, payment amount and a random number, and the payment confirmation information includes the data information carried by the payment code.
In this embodiment, the parking lot information may be a parking lot number, a lane number of the parking lot, the vehicle identification information may be a license plate number, and the random number may be a number combination composed of 8 digits. In one embodiment, the random number may be a combination of 11 digits, and the generation of the 11-digit random number may be combined with a time stamping technique to generate a combination of 11 digits, for example, a number of milliseconds representing time is added to the 8-digit random number to generate an 11-digit random number.
In an embodiment, the data information carried by the payment code generated by the control device 110 includes a parking lot number, a license plate number, a payment amount, and a random number, and the payment confirmation information received by the control device 110 includes the parking lot number, the license plate number, the payment amount, and the random number. The setting of the payment confirmation information in the embodiment can improve the authenticity and the safety of the payment confirmation information.
According to an embodiment of the present application, the payment confirmation information is encrypted data obtained by encrypting data information carried by the payment code by using an RSA algorithm.
Specifically, the cloud server encrypts data information carried by the payment code according to the public key to obtain encrypted payment confirmation information, and sends the encrypted payment confirmation information to the mobile terminal, the control device 110 receives the encrypted payment confirmation information sent by the mobile terminal, decrypts the encrypted payment confirmation information based on the private key, and if the data information obtained after decryption is consistent with the data information carried by the payment code, it can be confirmed that the payment operation of the mobile terminal is successful. The payment code on the cloud server can be obtained by sending the payment code to the cloud server through the mobile terminal. Because the payment confirmation information is encrypted in the embodiment, the payment confirmation information is prevented from being forged, and the authenticity and the safety of the payment confirmation information are further improved.
Further, the system further includes a two-dimensional code reading device for reading a two-dimensional code generated based on the payment confirmation information, and sending data information obtained after reading to the control device 110.
Specifically, the vehicle charging system 100 includes a two-dimensional code reading device, such as a two-dimensional code scanner, which may be embedded, fixed, or handheld, and is configured to scan a two-dimensional code generated by the payment confirmation information displayed on the mobile terminal, and send data information obtained after scanning to the control device 110. It should be noted that the two-dimensional code reading device may be a part of the control device 110 or may be a separate device. In this embodiment, since the mobile terminal can directly place the two-dimensional code at the readable position of the two-dimensional code reading device, the payment confirmation information can be sent to the control device 110 without any other steps, thereby simplifying the operation flow of sending and receiving the payment confirmation information, shortening the time required by the payment process, and the method has the advantages of simple, fast and safe operation process and simultaneously improving the efficiency.
Optionally, the system further comprises: and the NFC reading device is configured to read the payment confirmation information, and send the read data information to the control device 110.
Specifically, the vehicle toll collection system 100 includes an NFC reading device, i.e., a near field communication device, and can support a peer-to-peer mode, a card reader mode, and a card simulation mode, and information transmission by an NFC technology can be implemented by contacting two devices having an NFC function with each other. The NFC reading device is configured to receive payment confirmation information transmitted by the mobile terminal, and send the information to the control device 110. It should be noted that the NFC reading device may be a part of the control device 110 or may be a separate device. In this embodiment, since the mobile terminal can directly place the device with the NFC function in the readable position of the NFC reading device, the payment confirmation information can be sent to the control device 110 without any other steps, thereby simplifying the operation procedure of sending and receiving the payment confirmation information, shortening the time required for the payment process, and the method has a simple, fast and safe operation process and can improve efficiency.
According to an embodiment of the present application, the system includes a plurality of vehicle information collecting devices, the control device 110 is one of the plurality of vehicle information collecting devices, and the plurality of vehicle information collecting devices are connected to each other through a local area network, so as to enable the plurality of vehicle information collecting devices to share vehicle data information, so that any one of the plurality of vehicle information collecting devices generates a payment code based on the shared vehicle data information, wherein the vehicle data information includes at least one of vehicle identity information and vehicle residence time information.
In this embodiment, the plurality of vehicle information collection devices may be a plurality of cameras, or ground coils, and the plurality of vehicle information collection devices are connected to each other through a local area network to share the collected vehicle data information among the plurality of vehicle information collection devices, wherein one or more of the vehicle information collection devices are connected to the cloud server to transmit the vehicle data information. Specifically, when the communication connection between the vehicle information collection device and the cloud server is interrupted, the vehicle information collection device at the exit generates a payment code based on the shared vehicle data information, and sends the payment code to the display device 120, for example, after the exit camera scans the license plate and the exit time, the exit camera obtains the entry time of the license plate by sharing the entry time of the entrance camera, and calculates the retention time and the amount of money to be paid. The method can realize that when the communication between the vehicle charging system and the cloud server is interrupted, the camera at the outlet generates the payment code based on the shared information, and the payment code is used for the vehicle to be paid to carry out the payment operation.
According to an embodiment of the present application, the system further comprises a barrier bar, and the control device 110 is further configured to control the lifting or lowering of the barrier bar after confirming that the payment operation is successful.
In this embodiment, the control device 110 confirms that the payment operation of the mobile terminal is successful, and sends a signal command to the barrier rod, the barrier rod is lifted up to enable the vehicle to exit through the barrier gate, and after the vehicle exits, the barrier rod is lowered, thereby effectively ensuring the normal order of vehicle passing.
Fig. 2 is a schematic flow chart of a vehicle charging method according to an exemplary embodiment of the present application. The method shown in fig. 2 is applied to a vehicle toll collection system, and is executed by a local server (specifically, by a controller of the server), or an electronic device integrated with the controller, such as a camera or a camera. As shown in fig. 2, the vehicle charging method includes the following.
210: when the communication connection between the vehicle charging system and the cloud server is interrupted, a payment code is generated, the payment code is used for the payment operation of the to-be-paid fee executed by the mobile terminal based on the payment code, and the cloud server is used for charging the to-be-paid vehicle passing through the gateway.
When the communication connection between the control device of the vehicle charging system and the cloud server is interrupted, the control device may not upload data information to the cloud server, for example, the data information of the vehicle, including a license plate number, vehicle entrance time, vehicle exit time, lane information and parking lot information where the vehicle passes through, and the like; the data information sent by the cloud server, such as the amount of money to be paid by the vehicle, a confirmation message of the completion of the vehicle payment, and an instruction signal for controlling the lifting of the barrier gate rod, may not be received. When the communication connection between the vehicle charging system and the cloud server is interrupted, the controller searches the data information related to the vehicle and calculates the fee to be paid based on the license plate number of the vehicle to be paid, and generates a payment code, wherein the payment code can be a two-dimensional code or a bar code.
220: the payment code is sent to the display device.
The controller sends the generated payment code to the display device, and the vehicle charging system is provided with a local area network, so that data communication among a plurality of local devices in the local area network can be realized. The display device displays the payment code, and the mobile terminal can carry out payment operation of the fee to be paid by scanning the payment code.
230: and receiving payment confirmation information generated by the mobile terminal after the payment is completed so as to confirm whether the payment operation is successful.
And the payment confirmation information is used for judging whether the payment operation of the mobile terminal is successful or not, and when the payment confirmation information meets the confirmation condition preset by the controller, the payment operation of the mobile terminal is confirmed to be successful.
The embodiment of the application provides a vehicle charging method, which comprises the steps of generating a payment code when the communication connection between a vehicle charging system and a cloud server is interrupted, and receiving payment confirmation information sent by a mobile terminal to confirm payment operation after the mobile terminal completes payment, so that normal payment and passing of a vehicle to be paid when the communication connection between the vehicle charging system and the cloud server is interrupted are realized, and the phenomenon of vehicle detention or congestion is avoided. Meanwhile, the use reliability of the vehicle charging system is improved.
According to an embodiment of the application, the data information carried by the payment code includes at least one of parking lot information, vehicle identity information, payment amount and a random number, and the payment confirmation information includes the data information carried by the payment code.
In this embodiment, the parking lot information may be a parking lot number, a lane number of the parking lot, the vehicle identification information may be a license plate number, and the random number may be a number combination composed of 8 digits. In one embodiment, the random number may be a combination of 11 digits, and the generation of the 11-digit random number may be combined with a time stamping technique to generate a combination of 11 digits, for example, a number of milliseconds representing time is added to the 8-digit random number to generate an 11-digit random number. The setting of the payment confirmation information in the embodiment can improve the authenticity and the safety of the payment confirmation information.
Further, the payment confirmation information is encrypted data obtained by encrypting data information carried by the payment code through an RSA algorithm.
In the embodiment, the payment confirmation information is obtained by encrypting the data information carried by the payment code by the cloud server according to the public key, and because the payment confirmation information is encrypted in the embodiment, the payment confirmation information is prevented from being forged, and the authenticity and the safety of the payment confirmation information are further improved.
According to an embodiment of the application, receiving payment confirmation information generated by a mobile terminal after payment is completed to confirm whether payment operation is successful or not includes: and receiving payment confirmation information sent by the two-dimensional code reading device to confirm whether the payment operation is successful or not.
In this embodiment, the two-dimensional code reading device, for example, the two-dimensional code scanner, may be an embedded type, a fixed type, or a handheld type, the payment confirmation information is a two-dimensional code generated by the payment confirmation information and read by the two-dimensional code reading device, and is displayed by the mobile terminal, and scans the two-dimensional code, and sends data information obtained after scanning to the controller, and the controller confirms whether the payment operation is successful based on the received data information. According to the method, the mobile terminal can directly place the two-dimensional code at the readable position of the two-dimensional code reading device, and the payment confirmation information can be sent to the controller without any other steps, so that the operation process of sending and receiving the payment confirmation information is simplified, the time required by the payment process is shortened, the operation process is simple, quick and safe, and meanwhile, the efficiency can be improved.
According to an embodiment of the application, receiving payment confirmation information generated by a mobile terminal after payment is completed to confirm whether payment operation is successful or not includes: and receiving payment confirmation information sent by the NFC reading device to confirm whether the payment operation is successful or not.
In this embodiment, the NFC reading apparatus, i.e., the near field communication device, may support a peer-to-peer mode, a card reader mode, and a card simulation mode, and two devices having an NFC function contact each other, so that information transmission by an NFC technology may be implemented. The controller receives payment confirmation information read by the NFC reading device to confirm whether the payment operation is successful. The method of the embodiment simplifies the operation flow of sending and receiving the payment confirmation information, shortens the time required by the payment process, is simple, quick and safe in operation process, and can improve the efficiency.
Fig. 3 is a schematic flow chart of a vehicle charging method according to another exemplary embodiment of the present application. The embodiment of fig. 3 is an example of the embodiment of fig. 2, and the same parts are not described again to avoid repetition. As shown in fig. 3, the vehicle charging method includes the following.
310: when the communication connection between the vehicle charging system and the cloud server is interrupted, the control device generates a payment code.
In one embodiment, the payment code includes a parking lot number, a license plate number, and a payment amount.
In another embodiment, the payment code includes a parking lot number, a license plate number, a payment amount, and a random number.
320: the payment code is sent to the display device.
330: and receiving payment confirmation information sent by the reading device, confirming the payment confirmation information, and if the payment confirmation information is confirmed to pass, executing step 340.
In one embodiment, the reading device is a two-dimensional code scanner, and can read a two-dimensional code generated by payment confirmation information and displayed by the mobile terminal, and send the read data information to the controller.
In another embodiment, the reading device is an NFC reading device, and can read payment confirmation information sent by the mobile terminal and send data information obtained by reading to the controller.
In one embodiment, the payment confirmation information includes a parking lot number, a license plate number, a payment amount, and a random number.
In another embodiment, the payment confirmation information includes encrypted data obtained by encrypting the parking lot number, the license plate number, the payment amount, and the random number by the RSA algorithm.
340: and sending a rod lifting command to the barrier gate rod, and sending a rod falling command to the barrier gate rod after the vehicle passes.
350: the charging process is completed.
Fig. 4 is a schematic flow chart of a vehicle charging method according to another exemplary embodiment of the present application. As shown in fig. 4, the vehicle charging method is performed by a mobile terminal. The method of fig. 4 corresponds to the method of the above embodiment, and the same points can be referred to the description of the above embodiment. As shown in fig. 4, the vehicle charging method includes the following.
410: when the communication connection between the vehicle charging system and the cloud server is interrupted, the payment code displayed by the display device is read, the payment code is used for the payment operation of the fee to be paid executed by the mobile terminal based on the payment code, and the cloud server is used for charging the vehicle to be paid through the gateway.
A user of a vehicle to be paid can scan a payment code through a mobile terminal, and jump to a payment page after scanning the payment code, wherein the payment page can be a disconnected network payment page preset by a cloud server, and the page can comprise at least one of data information carried in the payment code, parking lot information, vehicle identity information, payment amount and a random number.
420: and after the payment operation is finished, sending the generated payment confirmation information to the vehicle charging system, wherein the payment confirmation information is used for confirming whether the payment operation is successful or not.
After the payment operation is completed, the payment page generates payment confirmation information, and the mobile terminal sends the payment confirmation information to the vehicle charging system for confirming the payment operation.
The embodiment of the application provides a vehicle charging method, when the communication connection between a vehicle charging system and a cloud server is interrupted, payment is carried out by scanning a payment code, and payment confirmation information of successful payment is sent to the vehicle charging system, so that normal payment and passing of a vehicle to be paid are realized when the communication connection between the vehicle charging system and the cloud server is interrupted, and the phenomenon of vehicle detention or congestion is avoided. Meanwhile, the use reliability of the vehicle charging system is improved.
According to an embodiment of the application, the payment confirmation information is a two-dimensional code generated by the mobile terminal after the payment operation is completed, and the generated payment confirmation information is sent to the vehicle charging system, and the payment confirmation information comprises: and displaying the two-dimensional code at a readable position of the two-dimensional code reading device so that the two-dimensional code is read.
In this embodiment, after the payment operation is successful, the mobile terminal receives the two-dimensional code generated by the payment confirmation information, and displays the two-dimensional code at a readable position of the two-dimensional code reading device, for example, aligning the device on which the two-dimensional code is displayed with the two-dimensional code reading device, so that the two-dimensional code is read by the two-dimensional code reading device. The method simplifies the operation flow of sending and receiving the payment confirmation information, shortens the time required by the payment process, is simple, quick and safe in operation process, and can improve the efficiency.
According to an embodiment of the present application, sending the generated payment confirmation information to a vehicle charging system includes: the mobile terminal is placed in a readable position of the NFC reading device so that the payment confirmation information is read.
In this embodiment, after the payment operation is successful, the mobile terminal receives the payment confirmation information, and places the mobile terminal at a readable position of the NFC reading device, so that the payment confirmation information is read by the reading device. It should be understood that the mobile terminal has an NFC function. The method simplifies the operation flow of sending and receiving the payment confirmation information, shortens the time required by the payment process, is simple, quick and safe in operation process, and can improve the efficiency.
Fig. 5 is a schematic flow chart of a vehicle charging method according to another exemplary embodiment of the present application. The embodiment of fig. 5 is an example of the embodiment of fig. 4, and the same parts are not described again to avoid repetition. As shown in fig. 5, the vehicle charging method includes the following.
510: when the communication connection between the vehicle charging system and the cloud server is interrupted, the payment code displayed by the display device is read, the payment code is used for the payment operation of the fee to be paid executed by the mobile terminal based on the payment code, and the cloud server is used for charging the vehicle to be paid through the gateway.
520: the two-dimensional code generated from the payment confirmation information is placed at a readable position of the two-dimensional code reading device so that the two-dimensional code is read.
Optionally, the generated payment confirmation information is placed in a readable position of the NFC reading device, and the payment confirmation information is read by the NFC technology.
530: the payment operation is completed.
Fig. 6 is a schematic flow chart of a vehicle charging method according to another exemplary embodiment of the present application. The method shown in fig. 6 is applied to a control device of a vehicle toll collection system, such as a local server (specifically, a controller of the server), or an electronic device integrated with the controller, such as a camera or a video camera. As shown in fig. 6, the vehicle charging method includes the following.
610: when the communication connection between the vehicle charging system and the cloud server is interrupted, whether the vehicle to be paid is a protocol user is judged, and the protocol user refers to a user who opens a protocol account in the cloud server connected with the vehicle charging system when an owner of the vehicle to be paid is.
When the communication connection between the vehicle charging system and the cloud server is interrupted, when a vehicle needs to pay for parking, the control device receives information of the vehicle to be paid, such as a license plate number, sent by the scanning device, searches information associated with the license plate number based on the information recorded by the vehicle charging system, judges the vehicle to be paid, and can judge whether the vehicle to be paid is a protocol user or not according to the recorded information. The protocol user can register an account in the cloud server, the account is associated with a license plate number or an owner of the vehicle, and the local server records synchronous account related information, account balance and the like.
620: if the vehicle to be paid is the agreement user, the barrier gate rod is controlled to lift or fall so that the vehicle to be paid can pass through without payment operation.
Specifically, if the vehicle to be paid is the agreement user, the mobile terminal of the vehicle to be paid does not need to carry out payment operation immediately, and can directly roll out, and meanwhile, the control device records relevant information of the payment operation of the vehicle to be paid, including a license plate number, the fee to be paid, the leaving time and the like, and when the network between the control device and the cloud server is recovered, the cloud server deducts the account of the agreement user based on the recorded information uploaded by the control device.
The embodiment of the application provides a vehicle charging method, when the communication connection between a vehicle charging system and a cloud server is interrupted, whether a vehicle to be paid is a protocol user is judged, and a mobile terminal of the protocol user is allowed to pass through a passage gate without payment operation, so that normal payment and passing of the vehicle to be paid are realized when the communication connection between the vehicle charging system and the cloud server is interrupted, and the phenomenon of vehicle detention or congestion is avoided. Meanwhile, the use reliability of the vehicle charging system is improved.
Fig. 7 is a schematic structural diagram of a vehicle toll collection device according to an exemplary embodiment of the present application. As shown in fig. 7, the vehicle toll device 700 includes: an execution module 710, a sending module 720 and a reading module 730.
The execution module 710 is configured to generate a payment code when the communication connection between the vehicle charging system and the cloud server is interrupted, where the payment code is used for the mobile terminal to execute a payment operation of the fee to be paid based on the payment code, and the cloud server is used for charging the vehicle to be paid through the gateway.
A sending module 720, configured to send the payment code to the display device.
The reading module 730 is configured to receive payment confirmation information generated by the mobile terminal after the payment is completed, so as to confirm whether the payment operation is successful.
This embodiment of the application provides a vehicle charging device, when the communication connection of vehicle charging system and high in the clouds server breaks down, controlling means generates the payment code, and after mobile terminal accomplished the payment, this controlling means confirms the payment operation based on the payment acknowledgement information that receives from mobile terminal to realized waiting to pay the normal payment and pass of vehicle when the communication connection of vehicle charging system and high in the clouds server breaks down, avoided the vehicle to be detained or the phenomenon of blocking up. Meanwhile, the use reliability of the vehicle charging system is improved.
According to an embodiment of the application, the data information carried by the payment code includes at least one of parking lot information, vehicle identity information, payment amount and a random number, and the payment confirmation information includes the data information carried by the payment code.
According to an embodiment of the present application, the payment confirmation information is encrypted data obtained by encrypting data information carried by the payment code by using an RSA algorithm.
According to an embodiment of the present application, the reading module 730 is further configured to receive payment confirmation information sent by the two-dimensional code reading device, so as to confirm whether the payment operation is successful.
Optionally, as another embodiment, the reading module 730 is further configured to receive payment confirmation information sent by the NFC reading device, so as to confirm whether the payment operation is successful.
It should be understood that, for the specific working processes and functions of the executing module 710, the sending module 720 and the reading module 730 in the foregoing embodiment, reference may be made to the description of the vehicle charging method provided in the foregoing embodiments of fig. 2 and fig. 3, and in order to avoid repetition, detailed description is not repeated here.
Fig. 8 is a schematic structural diagram of a vehicle toll collection device according to another exemplary embodiment of the present application. As shown in fig. 8, the vehicle toll collection apparatus 800 includes: a decision block 810 and a control block 820.
The determining module 810 is configured to determine whether the vehicle to be paid is a protocol user when the communication connection between the vehicle charging system and the cloud server is interrupted, where the protocol user indicates that a protocol account is opened in the cloud server connected to the vehicle charging system by an owner of the vehicle to be paid.
And the control module 820 is used for controlling the barrier bar to be lifted or lowered so that the vehicle to be paid can pass through without payment operation of the mobile terminal if the vehicle to be paid is a protocol user.
This embodiment of the application provides a vehicle charging device, when the communication connection of vehicle charging system and high in the clouds server was interrupted, through treating whether the vehicle of paying judges for the agreement user, allows agreement user's vehicle to lead to the passageway gate under the condition that mobile terminal did not carry out the payment operation to realized waiting to pay the normal payment and pass of vehicle when the communication connection of vehicle charging system and high in the clouds server was interrupted, avoided the vehicle to be detained or the phenomenon of blocking up. Meanwhile, the use reliability of the vehicle charging system is improved.
FIG. 9 is a block diagram of an electronic device for vehicle toll collection provided by an exemplary embodiment of the present application.
Referring to fig. 9, electronic device 900 includes a processing component 910 that further includes one or more processors, and memory resources, represented by memory 920, for storing instructions, such as applications, that are executable by processing component 910. The application programs stored in memory 920 may include one or more modules that each correspond to a set of instructions. Further, the processing component 910 is configured to execute instructions to perform the vehicle charging method described above.
The electronic device 900 may also include a power component configured to perform power management for the electronic device 900, a wired or wireless network interface configured to connect the electronic device 900 to a network, and an input-output (I/O) interface. The electronic device 900 may be operated based on an operating system, such as Windows Server, stored in the memory 920TM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTMOr the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of the electronic device 900, enable the electronic device 900 to perform a vehicle charging method, comprising: when the communication connection between the vehicle charging system and the cloud server is interrupted, generating a payment code, wherein the payment code is used for the payment operation of the to-be-paid fee executed by the mobile terminal based on the payment code, and the cloud server is used for charging the to-be-paid vehicle passing through the gateway; sending the payment code to the display device; and receiving payment confirmation information generated by the mobile terminal after the payment is completed so as to confirm whether the payment operation is successful. Alternatively, when the instructions in the storage medium are executed by the processor of the electronic device 900, the electronic device 900 may be enabled to perform a vehicle charging method, including: when the communication connection between the vehicle charging system and the cloud server is interrupted, reading a payment code displayed by the display device, wherein the payment code is used for the payment operation of the to-be-paid fee executed by the mobile terminal based on the payment code, and the cloud server is used for charging the to-be-paid vehicle passing through the gateway; and after the payment operation is finished, sending the generated payment confirmation information to the vehicle charging system, wherein the payment confirmation information is used for confirming whether the payment operation is successful or not. Alternatively, when the instructions in the storage medium are executed by the processor of the electronic device 900, the electronic device 900 may be enabled to perform a vehicle charging method, including: when the communication connection between the vehicle charging system and the cloud server is interrupted, judging whether the vehicle to be paid is a protocol user, wherein the protocol user means that a vehicle owner of the vehicle to be paid opens a protocol account in the cloud server connected with the vehicle charging system; if the vehicle to be paid is the agreement user, the barrier gate rod is controlled to lift or fall so that the vehicle to be paid can pass through under the condition that the mobile terminal does not perform payment operation.
All the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program check codes, such as a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in the description of the present application, the terms "first", "second", "third", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modifications, equivalents and the like that are within the spirit and principle of the present application should be included in the scope of the present application.