Offline transaction method, apparatus, device and system

By integrating a digital currency application module and an ETC module into the ETC system and utilizing a dedicated short-range communication protocol, vehicles and toll station equipment can conduct rapid transactions in an offline environment, solving the problem of strict time requirements for ETC toll transactions and realizing efficient digital currency payment.

CN116434360BActive Publication Date: 2025-10-17THE PEOPLES BANK OF CHINA DIGITAL CURRENCY INST +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211732458.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2025-10-17
Estimated Expiration
2042-12-30

AI Technical Summary

Technical Problem

With strict time limits for existing ETC toll transactions, how to achieve fast transactions has become an urgent technical problem to be solved.

Method used

By integrating a digital currency application module and an ETC module into the vehicle's security chip, and utilizing a dedicated short-range communication protocol, a communication channel is established in an offline environment. The vehicle and the toll station equipment exchange information through only one external interface to generate and verify payment string information for rapid transactions.

Benefits of technology

It enables efficient and fast digital currency payment transactions in offline environments, reducing communication channel establishment time and improving transaction speed and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116434360B_ABST
    Figure CN116434360B_ABST
Patent Text Reader

Abstract

The application provides an offline transaction method, device, equipment and system, and relates to the technical field of digital currency transaction.In the application, a vehicle comprises an SE chip, the SE chip is integrated with a digital currency application module and an ETC module, after the vehicle arrives at a toll station, the vehicle calls the SE chip and an external first interface to request the first digital currency application module to acquire vehicle charging information; so that the first digital currency application module calls an internal second interface of the SE to request the ETC module to acquire vehicle information.Compared with the implementation mode that the vehicle utilizes two interfaces to respectively establish communication channels between the first digital currency application module and the toll station equipment and between the ETC module and the toll station equipment, in the application, the vehicle only needs to utilize the external first interface of the SE chip to establish a communication channel between the first digital currency application module and the toll station equipment.The application consumes less time in the establishment of the communication channel and is faster in transaction.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of digital currency transaction, in particular to an offline transaction method, device, equipment and system. BACKGROUND

[0002] Electronic toll collection (ETC) is an automatic toll collection method for highways or bridges. Communication between the vehicle and the toll station is achieved through an electronic tag installed on the windshield of the vehicle, so that the vehicle can pay the highway or bridge fee without stopping at the highway or bridge toll station.

[0003] ETC has the function of automatic toll collection without stopping, and has been widely used. ETC has strict requirements for transaction time when conducting toll transactions; how to provide an ETC toll collection method that can achieve fast transactions has become a technical problem to be solved. SUMMARY

[0004] Embodiments of the present application provide an offline transaction method, device, equipment and system to solve the technical problems existing in the prior art.

[0005] The first aspect of the embodiments of the present application provides an offline transaction method applied to a vehicle in an offline transaction system, the offline transaction system further comprising a toll station device, the toll station device and the vehicle communicating based on a dedicated short-range communication (DSRC) protocol, the vehicle comprising a secure chip (SE), the SE integrated with a digital currency application module and an electronic toll collection (ETC) module, the SE having a first interface connected to the digital currency application module, and the digital currency application module and the ETC module in the SE having a second interface, the method comprising:

[0006] After the vehicle arrives at the toll station, the first interface is called to request the digital currency application module to obtain vehicle billing information;

[0007] The second interface is called by the digital currency application module to request the ETC module to obtain vehicle information;

[0008] The vehicle billing information is obtained from the digital currency application module through the first interface; the vehicle billing information includes digital currency information and vehicle information, and the digital currency information is pre-stored in the digital currency application module;

[0009] The vehicle billing information is sent to the toll station device, so that the toll station device generates transaction initialization information based on the vehicle billing information, and the transaction initialization information at least includes the digital currency payment amount;

[0010] The transaction initialization information sent by the toll station device is received;

[0011] generate payment string information based on the digital currency payment amount in the transaction initialization information; the payment string information is used for performing payment transaction between the toll station device and the server;

[0012] send the payment string information to the toll station device, so that the toll station device performs a preset operation to indicate that the digital currency payment transaction corresponding to the payment string information is successful after successfully verifying the payment string information.

[0013] In the implementation mode, the vehicle includes an SE chip, and the SE chip integrates a digital currency application module and an ETC module. After the vehicle arrives at the toll station, the vehicle requests the first digital currency application module to obtain vehicle charging information by calling the first interface of the SE chip and the external interface. The first digital currency application module calls the second interface inside the SE to request the ETC module to obtain vehicle information. Compared with the implementation mode in which the vehicle establishes a communication channel between the first digital currency application module and the toll station device and between the ETC module and the toll station device by using two interfaces, the scheme provided in the embodiment of the application establishes a communication channel between the first digital currency application module and the toll station device by using only the external first interface of the SE chip of the vehicle, and the first digital currency application module calls the second interface inside the SE to request the ETC module to obtain vehicle information. The implementation mode consumes less time in establishing the communication channel and is faster in transaction speed. The first digital currency application module calls the second interface inside the SE to request the ETC module to obtain vehicle information, and then interacts with the toll station device by using the first interface. Further, the vehicle communicates with the toll station device based on the DSRC protocol. The communication process can be performed in an offline environment, and the digital currency payment transaction is considered to be successful after the payment string information is verified successfully without actually completing online payment. Therefore, the vehicle and the toll station device can perform efficient and fast digital currency payment transaction offline.

[0014] With reference to the first implementation mode of the first aspect, before the step of generating the payment string information, the offline transaction method further includes:

[0015] In response to receiving the transaction initialization information, it is determined that the digital currency payment amount in the transaction initialization information is less than or equal to a digital currency storage amount of the payment account corresponding to the vehicle, and the digital currency storage amount is stored in the digital currency application module.

[0016] With reference to the second implementation mode of the first aspect, the SE further has a third interface connected to the ETC module, and the method further includes:

[0017] If it is determined that the digital currency payment amount in the transaction initialization information is greater than the digital currency storage amount, the ETC module is called through the third interface to perform transaction payment.

[0018] With reference to the third implementation of the first aspect, the offline transaction method further includes:

[0019] In response to receiving the feedback information sent by the toll station device, the first interface is called to update the stored amount in the digital currency application module, the updated stored amount being equal to the difference between the original stored amount and the digital currency payment amount corresponding to the transaction initialization information, and the feedback information being information sent by the toll station device after successfully verifying the payment string information.

[0020] With reference to the fourth implementation of the first aspect, the offline transaction method further includes:

[0021] In response to receiving the feedback information sent by the toll station device, the first interface is called to update the stored amount in the digital currency application module, the updated stored amount being equal to the difference between the original stored amount and the digital currency payment amount corresponding to the transaction initialization information, and the feedback information being information sent by the toll station device after successfully verifying the payment string information.

[0022] With reference to the fifth implementation of the first aspect, the vehicle charging information further includes a first key, each ETC module corresponding to a first key, and the digital currency payment amount in the transaction initialization information being encrypted by the first key.

[0023] With reference to the sixth implementation of the first aspect, the transaction initialization information further includes a second key, the second key being generated by the toll station device, and the digital currency payment amount in the transaction initialization information being encrypted by the first key and the second key.

[0024] With reference to the seventh implementation of the first aspect, the step of calling the first interface to cause the digital currency application module to generate a payment string based on the received digital currency payment amount includes:

[0025] The digital currency application module is called through the first interface to decrypt the digital currency payment amount in the transaction initialization information based on the first key, or based on the first key and the second key;

[0026] The payment string information is generated based on the decrypted digital currency payment amount.

[0027] The second aspect of the embodiment of the application provides an offline transaction device, which is applied to an offline transaction system, the offline transaction system further comprises a toll station device, the toll station device communicates with the offline transaction device based on a dedicated short-range communication (DSRC) protocol, the offline transaction device comprises an on-board unit (OBU), the OBU comprises a secure element (SE), the SE is integrated with a digital currency application module and an electronic toll collection (ETC) module, the SE has a first interface, the first interface is connected with the digital currency application module, the digital currency application module and the ETC module in the SE have a second interface, and the OBU comprises:

[0028] The communication module is configured to call the first interface to request the digital currency application module to obtain vehicle charging information after the vehicle arrives at the toll station.

[0029] The communication module is configured to call the digital currency application module through the first interface.

[0030] The digital currency application module is configured to request the ETC module to obtain vehicle information through the second interface.

[0031] The communication module is configured to obtain the vehicle charging information from the digital currency application module through the first interface, the vehicle charging information comprises digital currency information and vehicle information, and the digital currency information is pre-stored in the digital currency application module.

[0032] The communication module is configured to send the vehicle charging information to the toll station device, so that the toll station device generates transaction initialization information based on the vehicle charging information, and the transaction initialization information at least comprises a digital currency payment amount.

[0033] The communication module is configured to receive the transaction initialization information sent by the toll station device.

[0034] The digital currency application module is configured to generate payment string information based on the digital currency payment amount in the transaction initialization information, and the payment string information is used for payment transaction between the toll station device and a server.

[0035] The communication module is configured to obtain the payment string information from the digital currency application module through the first interface, and send the payment string information to the toll station device, so that the toll station device successfully verifies the payment string information and performs a preset operation to indicate that a digital currency payment transaction corresponding to the payment string information is successful.

[0036] In combination with the first implementation manner of the second aspect, before the step of generating the payment string information, the digital currency application module is further configured to:

[0037] In response to receiving the transaction initialization information, it is determined that the digital currency payment amount in the transaction initialization information is less than or equal to a digital currency storage amount of a payment account corresponding to the vehicle, and the digital currency storage amount is stored in the digital currency application module.

[0038] With reference to the second implementation of the second aspect, the SE further has a third interface, and the third interface is connected to the ETC module.

[0039] The digital currency application module is further configured to determine that the digital currency payment amount in the transaction initialization information is greater than the digital currency storage amount, and the communication module is further configured to, if the digital currency payment amount is greater than the digital currency storage amount, call the ETC module to perform transaction payment through the third interface.

[0040] With reference to the third implementation of the second aspect, the digital currency application module is further configured to:

[0041] In response to receiving the transaction initialization information sent by the toll station device, update the storage amount, and the updated storage amount is equal to the difference between the original storage amount and the digital currency payment amount.

[0042] With reference to the fourth implementation of the second aspect, the digital currency application module is further configured to:

[0043] In response to receiving the feedback information sent by the toll station device, instruct the ETC module to delete the first sub-information in the stored vehicle information through the second interface, the feedback information is information sent by the toll station device after successfully verifying the payment string information, and the vehicle information includes the first sub-information, and the first sub-information changes with the driving process of the vehicle.

[0044] With reference to the fourth implementation of the second aspect, the vehicle charging information further includes a first key, each ETC module corresponds to a first key, the transaction initialization information further includes a second key, the second key is generated by the toll station device, the digital currency payment amount in the transaction initialization information is added by the first key and the second key, and the digital currency application module is further configured to:

[0045] Decrypt the digital currency payment amount in the transaction initialization information based on the first key and the second key;

[0046] Generate the payment string information based on the decrypted digital currency payment amount.

[0047] The third aspect of the embodiments of the present application further provides an offline transaction system, the offline transaction system includes a vehicle and a toll station device, the toll station device communicates with the vehicle based on a dedicated short-range communication (DSRC) protocol, and the vehicle is configured to execute the offline transaction method provided by the present application.

[0048] The fourth aspect of the embodiments of the present application further provides a computer readable storage medium, and the computer readable storage medium stores a computer program, when the computer program runs on an electronic device, the electronic device executes the offline transaction method provided by the present application.

[0049] The fifth aspect of the embodiment of the present application further provides an offline transaction device, comprising a processor and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the offline transaction method provided by the embodiment of the present application. BRIEF DESCRIPTION OF DRAWINGS

[0050] Figure 1 An application scenario diagram of an offline transaction system provided by a feasible embodiment;

[0051] Figure 2 A structural block diagram of an OBU provided by a feasible embodiment;

[0052] Figure 3 A structural block diagram of an RSU provided by a feasible embodiment;

[0053] Figure 4 An interaction diagram of a vehicle and a toll station device provided by a feasible embodiment;

[0054] Figure 5 A flow of a digital currency payment amount generation method provided by a feasible embodiment Figure 1 ;

[0055] Figure 6 A structural diagram of a form path provided by a feasible embodiment;

[0056] Figure 7 A flow of a digital currency payment amount generation method provided by a feasible embodiment Figure 2 ;

[0057] Figure 8 A structural block diagram of a toll station device provided by a feasible embodiment;

[0058] Figure 9 A flowchart of a digital currency processing method provided by a feasible embodiment;

[0059] Figure 10 A flowchart of an offline transaction method provided by a feasible embodiment;

[0060] Figure 11 A structural block diagram of an electronic device provided by a feasible embodiment. DETAILED DESCRIPTION

[0061] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments.

[0062] Electronic toll collection (ETC) is the automatic toll collection of expressway or bridge. The communication between the vehicle and the toll station is realized through the electronic tag installed on the windshield of the vehicle, so as to achieve the purpose that the vehicle can pay the expressway or bridge fee without stopping at the expressway or bridge toll station.

[0063] ETC has the function of automatic toll collection without stopping, and has been widely used. ETC has strict requirements on transaction time when conducting a transaction; how to provide an ETC toll collection method that can realize fast transaction has become a technical problem to be solved.

[0064] In order to solve the above technical problems, an offline transaction system is provided in the embodiments of the present application. The offline transaction system can include a payment device and a toll collection device. The payment device is used to pay currency, and the toll collection device is used to collect currency, wherein the fee can be but is not limited to digital currency and general currency. For example, referring to Figure 1 , the payment device and the toll collection device in the offline transaction system can be vehicle 1 and toll station device 2 respectively. In the embodiments of the present application, the toll station device 2 communicates with the vehicle 1 based on the dedicated short range communication (DSRC) protocol.

[0065] In the embodiments of the present application, the vehicle 1 includes an on board unit (OBU). Referring to Figure 2 , the OBU at least includes a first communication module 21, a digital currency application module (in order to facilitate the description of the embodiments of the present application, the digital currency application module included in the OBU is referred to as the first digital currency application module 22) and an electronic toll collection (ETC) module 23. In some embodiments, in order to improve security, the SE has a first interface, the first interface is connected with the first digital currency application module 22, the first digital currency application module 21 and the ETC module 23 in the SE have a second interface, and the SE also has a third interface, the third interface is connected with the ETC module 23. The second interface can be referred to as the internal interface of the SE, and the first interface and the third interface can be referred to as the external interface of the SE.

[0066] The first digital currency application module 22 is used to realize the digital currency payment business logic processing and offline payment function.

[0067] The ETC module 23 is used to realize the existing business logic function of ETC.

[0068] Referring to Figure 3The toll station device 2 can be, but is not limited to, a road toll station device and a parking lot toll station device, and the like, and the toll station device 2 includes a road side unit (RSU). The RSU at least includes a second communication module 31 and a digital currency application module. For the convenience of describing the embodiments of the present application, the digital currency application module included in the RSU is referred to as a second digital currency application module 32.

[0069] The second digital currency application module 32 is configured to implement functions such as generation of transaction initialization information and verification of payment string information.

[0070] The second communication module 31 and the first communication module 21 of the vehicle 1 establish a near field communication channel based on a dedicated short-range communication (DSRC) protocol, and then implement information interaction between the OBU of the vehicle 1 and the RSU of the toll station device 2.

[0071] In the process of information interaction between the OBU of the vehicle 1 and the RSU of the toll station device 2, the OBU needs to send vehicle charging information to the RSU by using the first communication module.

[0072] In the embodiments of the present application, the vehicle charging information can include digital currency information and vehicle information. The digital currency information is pre-stored in the first digital currency application module 22, and the vehicle information is pre-stored in the electronic toll collection (ETC) module 23.

[0073] In the embodiments of the present application, the digital currency information can be, but is not limited to, the type of digital currency, the conversion method of digital currency and general currency, and the like. In the embodiments of the present application, the general currency can be, but is not limited to, the Renminbi. It should be noted that the embodiments of the present application only exemplarily introduce one kind of digital currency information, and the above-mentioned digital currency information does not constitute a specific limitation.

[0074] In the embodiments of the present application, the vehicle information is information related to the vehicle 1 and participating in the calculation of the payment. In the embodiments of the present application, the vehicle information includes the first sub-information and the second sub-information, and the first sub-information changes with the driving process of the vehicle.

[0075] In some feasible implementation manners, the second sub-information can be constant information, for example, the model of the vehicle 1. In some feasible implementation manners, the first sub-information includes information generated in the driving process of the vehicle 1, for example, the vehicle information can be entry information of the vehicle 1. The entry information can be, but is not limited to, the time when the vehicle 1 enters the road toll station, and for the convenience of describing the embodiments of the present application, the time when the vehicle 1 enters the toll station is referred to as the entry time. The entry information can also be the name of the road toll station where the vehicle 1 enters, and for the convenience of describing the embodiments of the present application, the name of the toll station where the vehicle 1 enters is referred to as the entry name.

[0076] It is worth noting that the embodiments of the present application only exemplarily introduce several vehicle information, and the above vehicle information does not constitute a specific limitation.

[0077] In the embodiment in which the vehicle information includes entry information, the generation manner of the vehicle information can be, but is not limited to, when the vehicle 1 enters from the entrance of the toll station, the RSU can transmit the entry information to the ETC module 23 through the first communication module 21.

[0078] The description of the vehicle charging information is completed.

[0079] In the process of information interaction between the OBU of the vehicle 1 and the RSU of the toll station device 2, the OBU needs to obtain the vehicle information in the ETC module 23 and obtain the digital currency information in the first digital currency application module 21. Then the vehicle charging information containing the digital currency information and the vehicle information is sent to the RSU.

[0080] As a feasible implementation manner, the OBU can establish a first communication channel with the first interface, and then obtain the digital currency information stored in the first digital currency application module 22 through the first communication channel. At the same time, the OBU can establish a second communication channel with the third interface, and then obtain the vehicle information stored in the ETC module 22 through the second communication channel.

[0081] In the above implementation manner, the OBU needs to establish a communication channel with the first interface and the third interface respectively, and the process of establishing the communication channel needs to consume a certain time, which affects the transaction speed between the vehicle 1 and the toll station device 2 and the user experience is poor.

[0082] In order to improve the transaction speed between the vehicle 1 and the toll station device 2, the offline transaction system provided in the above embodiment is further optimized in the embodiments of the present application, and the following will be described in combination with Figure 4 The interaction process between the vehicle 1 and the toll station device 2 of the road toll gate is described.

[0083] S41, after the vehicle 1 arrives at the toll station, the vehicle 1 calls the first digital currency application module through the first interface, so that the first digital currency application module calls the second interface to request the ETC module to obtain vehicle information;

[0084] S42, the vehicle 1 obtains the vehicle charging information from the first digital currency application module through the first interface.

[0085] In the present implementation, the vehicle requests the first digital currency application module to obtain vehicle charging information by calling the first interface of the SE chip and the external; so that the first digital currency application module calls the second interface inside the SE to request the ETC module to obtain vehicle information. Compared with the implementation mode that the vehicle establishes a communication channel between the first digital currency application module and the toll station device, and between the ETC module and the toll station device by using two interfaces, the scheme provided by the present application only uses the external first interface of the SE chip to establish a communication channel between the first digital currency application module and the toll station device. The scheme provided by the present application consumes less time in establishing the communication channel and has a faster transaction speed. The first digital currency application module can interact with the toll station device for vehicle information by using the first interface. The first digital currency application module calls the second interface inside the SE to request the ETC module to obtain vehicle information, and then interacts with the toll station device for vehicle information by using the first interface.

[0086] S43, the vehicle 1 sends the vehicle charging information to the toll station device. Correspondingly, the toll station device 2 receives the vehicle charging information sent by the vehicle 1.

[0087] The toll station device 2 or the vehicle 1 can detect whether it reaches the toll station. The present application does not make specific limitations on the detection mode of the vehicle 1 reaching the road toll station. For example, as a feasible implementation mode, the toll station device 2 can further include an image acquisition module 33, which can be but is not limited to a camera. The camera acquires images of the road toll station in real time, and when the acquired image is the image of the vehicle 1, it is detected that the vehicle 1 reaches the road toll station. For another example, as a feasible implementation mode, a sensor can be arranged at the road toll station, which can be but is not limited to an infrared sensor, so as to monitor the vehicle 1 reaching the road toll station through the sensor. When the toll station device 2 detects that the vehicle 1 reaches the road toll station, the second communication module 31 and the first communication module 21 establish a near field communication channel based on the dedicated short range communication DSRC protocol, so as to communicate based on the near field communication channel, so that the OBU and the RSU can interact information. It can be understood that the vehicle 1 can also detect whether it reaches the toll station, which is not described herein.

[0088] In the present implementation, the OBU on the vehicle side and the RSU on the toll station device side can quickly establish a near field communication channel based on the DSRC protocol, so as to interact information through the established near field communication channel. In the process of interacting information by using the near field communication channel, it is not necessary to be based on the Internet, which can also be called offline communication. Further, since the vehicle and the toll station device can both transmit information by using the near field communication channel, the transaction process of the vehicle and the toll station device can also be called double offline transaction.

[0089] S44, the toll station device 2 generates transaction initialization information according to the vehicle charging information, and the transaction initialization information at least includes the digital currency payment amount.

[0090] In response to receiving the vehicle charging information, the RSU calls the second digital currency application module 31 to execute step S44. The transaction initialization information is generated according to the vehicle charging information. The transaction initialization information is used to indicate the amount of digital currency that the vehicle needs to pay this time, and the transaction initialization information at least includes the digital currency payment amount.

[0091] There are many ways to generate the digital currency payment amount according to the vehicle charging information. For example, in some feasible implementations, the vehicle charging information can include the entry time and the conversion method of digital currency and general currency. The second digital currency application module 31 receives the vehicle charging information, calculates the parking duration of the vehicle 1 according to the current time and the entry time; then, the second digital currency application module 31 obtains the parking fee corresponding to the parking duration; and then the second digital currency application module 31 converts the parking fee into the digital currency payment amount according to the conversion method of digital currency and general currency.

[0092] For another example, Figure 5 The flowchart of the method for generating the digital currency payment amount provided for a feasible embodiment; the second digital currency application module 31 in the toll station device 2 is configured to execute steps S51-S53:

[0093] S51, obtaining entry information in the vehicle charging information;

[0094] S52, determining the driving path information based on the entry information and the toll station information;

[0095] In this implementation, the entry information is the entry name, and the toll station information is pre-stored on the toll station device 2; in this embodiment, the toll station information can be but is not limited to the name of the toll station.

[0096] In this implementation, the second digital currency application module 31 can determine the driving path information of the vehicle 1 according to the entry name and the toll station name. Wherein, the implementation of the second digital currency application module 31 determining the driving path information of the vehicle 1 according to the entry name and the toll station name can be but is not limited to that each pair of entry name and toll station name corresponds to at least one driving path information, and the second digital currency application module 31 can determine the driving path information of the vehicle 1 according to the above correspondence.

[0097] S53, determining the digital currency payment amount according to the driving path information.

[0098] The second digital currency application module 31 may determine the digital currency payment amount based on the driving route information by, but is not limited to, pre-storing a correspondence between the driving route information and the universal currency. Based on this correspondence, the second digital currency application module 31 may determine the universal currency payment amount corresponding to the driving route information. The second digital currency application module 31 converts the universal currency payment amount into the digital currency payment amount based on the digital currency-to-universal currency conversion method in the vehicle billing information.

[0099] In this implementation, steps S51-S53 provide a novel method for calculating the digital currency payment amount. The second digital currency application module 31 in the toll booth device 2 can calculate the digital currency payment amount simply based on the received entry information. Therefore, the vehicle information transmitted by vehicle 1 only needs to include the entry information. Consequently, the vehicle information file is smaller, and the time spent transmitting the vehicle information is shorter, further shortening the transaction time between the vehicle and the toll booth device.

[0100] In some application scenarios, each pair of entrance name and toll station name can correspond to multiple driving path information. For details, please refer to Figure 6 , where there are three corresponding driving paths between the entrance and the toll station. The second digital currency application module 31 cannot uniquely determine the driving path information based on the entrance name A and the toll station name A; in order to be applicable to the application scenario where each pair of entrance name and toll station name can correspond to multiple driving path information, the embodiment of the application also provides a digital currency payment amount generation method, which can be specifically referred to in Figure 7 , the second digital currency application module 31 is configured to execute steps S71 to S73:

[0101] S71. Obtain entrance information and gantry information from vehicle billing information;

[0102] In this implementation, Figure 5 Based on the implementation provided, the vehicle information further includes: gantry information. In the embodiment of the present application, the gantry information is used to identify the locations that the vehicle 1 passes through during travel; the gantry information can be, but is not limited to, the gantry name.

[0103] Please continue reading Figure 6 If the driving path of vehicle 1 is path A, then during the driving process, vehicle 1 passes through location A and location B. The corresponding gantry information received by the vehicle during the driving process may include: gantry A, gantry B. The corresponding vehicle information may include: gantry A, gantry B and entrance name A.

[0104] S72. Determine driving path information based on gantry information, entrance information, and toll station information;

[0105] The implementation mode of determining the driving path information of the vehicle 1 according to the entrance name, the gantry information and the toll station name can be, but is not limited to, that the second digital currency application module 31 determines the driving path information of the vehicle 1 according to the correspondence between the entrance name, the gantry information, the toll station name and the driving path information.

[0106] S73, determining the digital currency payment amount according to the driving path information.

[0107] The implementation mode of determining the digital currency payment amount according to the driving path information can refer to the above-mentioned embodiments, which will not be described here.

[0108] In the implementation mode, the vehicle information includes the gantry information and the entrance information. Even in the application scenario in which the entrance name and the toll station name correspond to multiple pieces of driving path information, the second digital currency application module 31 uniquely determines the driving path information of the vehicle 1 according to the received gantry information, entrance information and toll station information existing locally, and then can determine the digital currency payment amount according to the driving path information. In the implementation mode, the digital currency payment amount has a high matching degree with the vehicle driving path, and therefore the digital currency payment amount paid by the vehicle is relatively accurate.

[0109] The present embodiment is only exemplary to introduce several generation modes of the digital currency payment amount, and in the actual application process, the generation mode of the digital currency payment amount can be, but is not limited to, the above-mentioned several modes.

[0110] In order to prevent the digital currency payment amount from being leaked, as a feasible mode, the digital currency payment amount can be transmitted in an encrypted form.

[0111] The implementation mode of the encrypted digital currency payment amount will be described below.

[0112] In some feasible implementation modes, the vehicle charging information further includes a first key. In the present embodiment of the application, each vehicle 1 corresponds to a first key.

[0113] Please continue to refer to Figure 3 As a feasible implementation mode, the RSU can further include a purchase secure access module (PSAM). The PSAM is responsible for communication interaction security authentication with the OBU. Specifically, in some feasible implementation modes, after the step of generating the digital currency payment amount, the RSU calls the PSAM 34 to read the first key in the vehicle charging information, and then the PSAM 34 encrypts the digital currency payment amount by using the first key to obtain transaction initialization information.

[0114] In the present embodiment, each vehicle 1 corresponds to a first key, and thus the one-card-one-key generated symmetric encryption algorithm can be implemented. In the one-card-one-key, the one card refers to the ETC card installed on the vehicle 1.

[0115] In the present embodiment, the first key is used to encrypt the digital currency payment amount. Even if the transaction initialization information is stolen during the transmission between the toll station device and the vehicle, the digital currency payment amount will not be directly exposed. Further, since each vehicle 1 corresponds to a first key, the risk of the first key being leaked can be reduced, and thus the risk of the digital currency payment amount being leaked can be further reduced.

[0116] In some feasible embodiments, the transaction initialization information further includes a second key, and the second key is generated by the PSAM 34. The second key can be, but is not limited to, a random string. During each transaction, the PSAM 34 can randomly generate a random string. After the step of generating the digital currency payment amount, the RSU calls the PSAM 34 to read the first key in the vehicle charging information and generates the second key; and then the PSAM 34 encrypts the digital currency payment amount using the first key and the second key to obtain the transaction initialization information.

[0117] The implementation of encrypting the digital currency payment amount can use the encryption method in the art, for example, the symmetric encryption algorithm can be used to encrypt the digital currency payment amount.

[0118] In the present embodiment, the first key and the second key are used to encrypt the digital currency payment amount. Even if the transaction initialization information is stolen during the transmission between the toll station device and the vehicle, the digital currency payment amount will not be directly exposed. Further, to decrypt the digital currency payment amount, the first key and the second key need to be known at the same time, and thus the difficulty of decrypting the digital currency payment amount can be increased to a certain extent, and thus the risk of the digital currency payment amount being leaked can be reduced to a certain extent.

[0119] In some feasible embodiments, the transaction initialization information can further include indication information, which is used to guide the required preparation information in the vehicle 1 payment process.

[0120] The description of the transaction initialization information is completed.

[0121] S45, the toll station device 2 sends the transaction initialization information to the vehicle 1. Correspondingly, the vehicle 1 receives the transaction initialization information sent by the toll station device 2.

[0122] The RSU uses the second communication module 31 to perform step S45, and sends the transaction initialization information to the OBU.

[0123] S46, the vehicle 1 generates payment string information based on the digital currency payment amount in the transaction initialization information, and the payment string information is used for payment transaction between the toll station device 2 and the server. Correspondingly, the toll station device 2 receives the payment string information sent by the vehicle 1.

[0124] The OBU calls the first digital currency application module 22 to execute S46, and generates the payment string information based on the digital currency payment amount sent by the RSU.

[0125] In the embodiment in which the transaction initialization information contains the encrypted digital currency payment amount, the OBU can also include an embedded secure control module 24 (eSAM).

[0126] The eSAM 24 is responsible for security authentication work in communication with the RSU. Specifically, after receiving the transaction initialization information, the OBU calls the eSAM 24 to decrypt the encrypted digital currency payment amount to obtain the digital currency payment amount.

[0127] For example, in the embodiment in which the digital currency payment amount is encrypted by the first key, the eSAM 24 calls the first key stored in it to decrypt the digital currency payment amount.

[0128] For another example, in the embodiment in which the digital currency payment amount is encrypted by the first key and the second key, the transaction initialization information also includes the second key. The eSAM 24 calls the first key stored in it and reads the second key in the transaction initialization information to decrypt the digital currency payment amount.

[0129] After obtaining the digital currency payment amount, the OBU calls the first digital currency application module 22 to generate the payment string information based on the digital currency payment amount and the account information.

[0130] In the embodiment of the application, the account information is used to identify the general currency payment account corresponding to the digital currency recorded in the first digital currency application module 22, and the account information can be but is not limited to a bank card number.

[0131] There are many implementation manners of generating the payment string information, for example: in some feasible implementation manners, the first digital currency application module 22 encrypts the digital currency payment amount and the account information by the first key to obtain the payment string information.

[0132] In the implementation manner, the digital currency payment amount is encrypted by the first key, so even if the transaction initialization information is stolen in the process of transmission between the toll station device and the vehicle, the digital currency payment amount will not be directly exposed, and therefore the risk of leakage of the digital currency payment amount can be reduced to a certain extent.

[0133] For another example: In some feasible implementations, the first digital currency application module 22 uses the first key and the second key to encrypt the digital currency payment amount and account information to obtain payment string information.

[0134] In this implementation, the first key and the second key are used to encrypt the digital currency payment amount. Even if the transaction initialization information is stolen during the transmission between the toll station equipment and the vehicle, the digital currency payment amount will not be directly exposed. Furthermore, decrypting the digital currency payment amount requires knowing the first key and the second key at the same time. Therefore, the difficulty of decrypting the digital currency payment amount can be increased to a certain extent, thereby reducing the risk of leakage of the digital currency payment amount.

[0135] This embodiment is merely an exemplary introduction to several implementation methods for generating payment string information, and the above implementation methods do not constitute a specific limitation.

[0136] S47 , the vehicle 1 sends the payment string information to the toll station device 2 . Correspondingly, the toll station device 2 receives the payment string information sent by the vehicle 1 .

[0137] The OBU calls the first communication module 21 to execute S47.

[0138] As a feasible implementation method, the payment string information does not include the first key and / or the second key to reduce the risk of information leakage.

[0139] S48. If the payment string information is successfully verified, the toll booth device 2 performs a preset operation to indicate that the digital currency payment transaction corresponding to the payment string information is successful.

[0140] In this implementation, if the payment string information is successfully verified, the transaction process between vehicle 1 and the toll station equipment is completed, and the vehicle can pass through the toll station without actually completing the payment transaction online. This makes the transaction faster and more efficient.

[0141] The RSU calls the second digital currency application module 32 to execute S48 and verify the payment string information; if the payment string information verification is successful, a preset operation is executed to indicate that the digital currency payment transaction corresponding to the payment string information is successful.

[0142] The process of the second digital currency application module 32 verifying the payment string information may be that the second digital currency application module 32 decrypts the payment string information. If the decryption is successful, the payment string information verification is successful.

[0143] In some feasible implementations, the second digital currency application module 32 can use the first key to decrypt the payment string information to obtain the account information and the digital currency payment amount.

[0144] In some possible implementation manners, the second digital currency application module 32 can decrypt the payment string information by using the first key and the second key to obtain the account information and the digital currency payment amount.

[0145] There are various implementation manners for performing the preset operation:

[0146] Please refer to Figure 8 In a possible implementation manner, the toll station device 2 further includes a vehicle control device 81, and the vehicle control device 81 is configured to perform the preset operation: the RSU sends a release notification to the vehicle control device 81 to inform the vehicle control device 81 to allow the vehicle 1 to pass.

[0147] In a possible implementation manner, the RSU sends a release notification to the vehicle control device 81 to inform the vehicle control device 81 that the payment string information verification is successful or the digital currency payment transaction corresponding to the payment string information is successful, so that the vehicle control device 81 allows the vehicle 1 to pass.

[0148] In a possible implementation manner, the RSU sends a feedback message to the OBU to inform the vehicle 1 that the digital currency payment transaction corresponding to the payment string information is successful.

[0149] The embodiments of the present application are only exemplary and introduce several implementation manners for performing the preset operation, and in actual application, the implementation manner for performing the preset operation can be, but is not limited to, the above several manners.

[0150] In the implementation manner, the offline transaction system includes the vehicle 1 and the toll station device 2, the vehicle includes an SE chip, and the SE chip is integrated with a digital currency application module and an ETC module. After the vehicle arrives at the toll station, the vehicle requests the first digital currency application module to obtain vehicle charging information by calling the first interface of the SE chip and an external interface. The first digital currency application module calls the second interface of the SE chip to request the ETC module to obtain vehicle information. Compared with the implementation manner that the vehicle establishes a communication channel between the first digital currency application module and the toll station device and between the ETC module and the toll station device by using two interfaces, the scheme provided in the embodiments of the present application only uses the external first interface of the SE chip to establish a communication channel between the first digital currency application module and the toll station device, and the scheme provided in the embodiments of the present application consumes less time in establishing the communication channel and is faster in transaction speed. The first digital currency application module calls the second interface of the SE chip to request the ETC module to obtain vehicle information, and then uses the first interface to interact with the toll station device for vehicle information. Further, the vehicle communicates with the toll station device based on the DSRC protocol. The communication process can be performed in an offline environment, and after the payment string information verification is successful, the digital currency payment transaction is considered to be successful without actually completing the online payment, so that the vehicle and the toll station device can perform the efficient and fast digital currency payment transaction offline.

[0151] Please continue to refer to Figure 8 In a feasible implementation manner, the toll station device 2 further comprises a toll management device 82. The toll management device 82 is configured to send the payment information to the server asynchronously.

[0152] In the embodiments of the present application, the asynchronous in the sending of the payment information to the server means that the time when the vehicle 1 and the toll station device 2 complete the transaction is different from the time when the toll management device 82 sends the payment information to the server, or the interval is far apart; rather than that the vehicle 1 sends the payment information to the server in real time in the process of ETC toll collection at the toll station.

[0153] There are various implementation manners of sending the payment information to the server asynchronously:

[0154] In a feasible implementation manner, the toll management device 82 sends the payment information to the server asynchronously in response to a trigger instruction. The trigger instruction can be, but is not limited to, a manually issued trigger instruction.

[0155] In a feasible implementation manner, the toll management device 82 can send the payment information to the server asynchronously according to a preset period. The preset period is not specifically limited in the embodiments of the present application. For example, in some feasible embodiments, the preset period can be once a day.

[0156] The embodiments of the present application only exemplarily introduce several implementation manners of sending the payment information to the server asynchronously, and the above implementation manners do not constitute specific limitations.

[0157] In the existing ETC transaction process, when the toll station device completes the verification of the payment string information, the toll station device needs to send a charge request to the server. After the server deducts the corresponding general currency at the target account based on the charge request, the server will feed back a notification. The toll station device allows the vehicle to pass only after receiving the notification fed back by the server. In this process, the toll station device needs to wait for the feedback notification of the server, which increases the transaction time to a certain extent. In the present application, the vehicle can be allowed to pass after the toll station device completes the verification of the payment string information. In this process, there is no need to wait for the feedback notification of the server, so the waiting time of the user is shortened to a certain extent, and the user experience is good.

[0158] Please continue to refer to Figure 4 In order to reduce the data storage amount of the vehicle, in response to receiving the feedback information sent by the toll station device, S49 is performed, that is, the vehicle 1 calls the digital currency application module through the first interface, so that the digital currency application module deletes the first sub-information in the vehicle information in the ETC module through the second interface. The feedback information is the information sent by the toll station device after successfully verifying the payment string information.

[0159] In the technical scheme provided by the embodiment, if the vehicle receives the feedback information, it is proved that the vehicle and the toll station device have completed the transaction, in which case the vehicle information stored in the ETC module is useless information and will not be used in the future. In order to reduce the data storage amount of the ETC module, the vehicle calls the digital currency application module through the first interface after completing the transaction with the toll station device, so that the digital currency application module deletes the first sub-information in the ETC module through the second interface, in order to reduce the data storage amount of the ETC module.

[0160] Please continue to refer to Figure 4 In order to ensure that the stored amount in the first digital currency application module can reflect the user's digital currency in real time, the embodiment of the application further provides an updating scheme for the stored amount in the first digital currency application module. For details, please continue to refer to Figure 4 In response to receiving the feedback information sent by the toll station device, S410 is performed:

[0161] S410, the vehicle 1 updates the stored amount in the first digital currency application module through the first interface.

[0162] In the implementation mode, the updated stored amount is equal to the difference between the original stored amount and the first digital currency payment amount.

[0163] In the implementation mode, the stored amount in the first digital currency application module is updated when the vehicle 1 and the toll station device 2 complete the transaction, which can ensure that the stored amount in the first digital currency application module can reflect the user's digital currency in real time.

[0164] There is a case that the amount of digital currency stored in the first digital currency application module is not enough to pay the digital currency payment amount, in which case the vehicle cannot complete the transaction by applying digital currency. In the above case, if the first digital currency application module continues to generate payment string information, it is undoubtedly a waste of the computing resources of the first digital currency application module.

[0165] In order to reduce the computing amount of the first digital currency application module, the embodiment of the application further improves the vehicle 1 on the basis of the offline transaction system provided in the above embodiment.

[0166] Please refer to Figure 9 As a feasible implementation mode, the vehicle 1 responds to the receipt of the transaction initialization information, and the vehicle performs S91-S93:

[0167] S91, the vehicle 1 calls the first digital currency application module through the first interface to determine whether the digital currency payment amount in the transaction initialization information is less than or equal to the digital currency storage amount of the payment account corresponding to the vehicle, and the digital currency storage amount is stored in the digital currency application module.

[0168] S92, if it is determined that the digital currency payment amount in the transaction initialization information is greater than the digital currency storage amount, the calling of the first digital currency application module is stopped.

[0169] In the present implementation, if it is determined that the digital currency payment amount in the transaction initialization information is greater than the digital currency storage amount, the vehicle cannot complete the transaction by using digital currency, and the vehicle stops calling the first digital currency application module, so that the first digital currency application module stops the calculation of the string information. The technical scheme provided by the present application can terminate the calling of the first digital currency application module by the vehicle 1 when it is determined that the digital currency payment amount in the transaction initialization information is greater than the digital currency storage amount, so as to avoid invalid calculation of the first digital currency application module, and thus the calculation amount of the first digital currency application module can be reduced.

[0170] S93, if it is determined that the digital currency payment amount in the transaction initialization information is greater than the digital currency storage amount, the vehicle 1 calls the ETC module through the third interface to perform transaction payment.

[0171] In the present implementation, when the vehicle cannot use digital currency transaction, in order to ensure that the vehicle can pass through the toll station, the vehicle 1 calls the ETC module through the third interface to perform transaction payment, so as to ensure that the vehicle can pass through the toll station.

[0172] In the present implementation, the vehicle includes an SE chip, the SE chip integrates a digital currency application module and an ETC module, after the vehicle arrives at the toll station, the vehicle requests the first digital currency application module to obtain vehicle charging information by calling the first interface of the SE chip and the external interface; so that the first digital currency application module calls the second interface inside the SE to request the ETC module to obtain vehicle information. Compared with the implementation mode that the vehicle establishes a communication channel between the first digital currency application module and the toll station device, and between the ETC module and the toll station device by using two interfaces, the scheme provided in the present application establishes only one communication channel between the first digital currency application module and the toll station device by using the external first interface of the SE chip. The scheme provided in the present application consumes less time in establishing the communication channel and has a faster transaction speed. The first digital currency application module calls the second interface inside the SE to request the ETC module to obtain vehicle information, and then interacts with the toll station device for vehicle information by using the first interface. The first digital currency application module can interact with the toll station device for vehicle information by using the first interface. Further, the vehicle communicates with the toll station device based on the DSRC protocol. The communication process can be performed offline, and after the payment string information is verified successfully, the digital currency payment transaction is considered to be successful without actually completing the online payment, so that the vehicle and the toll station device can perform efficient and fast digital currency payment transaction offline.

[0173] It can be understood that, in order to realize the above functions, the offline transaction system includes hardware and / or software modules / units / devices corresponding to each function. Each example / unit / device / method step described in conjunction with the embodiments disclosed herein can be implemented in hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of the present application.

[0174] The present application embodiment can divide the functions of the offline transaction system into functional modules / units / devices according to the above method examples. For example, each functional module / unit / device can be divided according to each function, or two or more functions can be integrated into one processing module / unit / device. The above integrated module / unit / device can be realized in the form of hardware or software functional module / unit / device. It should be noted that the division of modules in the present application embodiment is illustrative, and is only a logical functional division. Actual implementation can have another division method.

[0175] Please refer to Figure 10The first aspect of the embodiment of the application provides a kind of offline transaction method, vehicle applied to offline transaction system, offline transaction system further includes toll station equipment, toll station equipment and vehicle are communicated based on dedicated short-range communication DSRC agreement, vehicle includes security chip SE, SE is integrated with digital currency application module and electronic non-stop parking fee ETC module, SE has first interface, first interface is connected with digital currency application module, the digital currency application module and ETC module between the inside of SE has second interface, offline transaction method includes:

[0176] S101, vehicle 1 after vehicle arrives toll station, calls first interface and requests to obtain vehicle billing information from digital currency application module;

[0177] S102, vehicle 1 obtains vehicle information by calling second interface to ETC module through digital currency application module;

[0178] S103, vehicle 1 obtains vehicle billing information from digital currency application module through first interface;Vehicle billing information includes digital currency information and vehicle information, and digital currency information is stored in digital currency application module in advance;

[0179] S104, vehicle 1 sends vehicle billing information to toll station equipment, so that toll station equipment generates transaction initialization information based on vehicle billing information, and transaction initialization information at least includes digital currency payment amount and collection digital currency wallet information;

[0180] S105, vehicle 1 receives transaction initialization information sent by toll station equipment;

[0181] S106, vehicle 1 generates payment string information based on digital currency payment amount in transaction initialization information;Payment string information is used for payment transaction between toll station equipment and server;

[0182] S107, vehicle 1 sends payment string information to toll station equipment, so that toll station equipment successfully verifies payment string information and executes preset operation to indicate that the digital currency payment transaction corresponding to payment string information is successful.

[0183] The off-line transaction method provided by the present implementation is applicable to a vehicle, the vehicle comprising an SE chip, the SE chip integrating a digital currency application module and an ETC module, after the vehicle arrives at a toll station, the vehicle requests the first digital currency application module to obtain vehicle charging information by calling the first interface of the SE chip and an external interface; so that the first digital currency application module calls the second interface inside the SE to request the ETC module to obtain vehicle information. Compared with the implementation mode in which the vehicle establishes a communication channel between the first digital currency application module and the toll station device and between the ETC module and the toll station device by using two interfaces, the scheme provided by the present application only uses the external first interface of the SE chip to establish a communication channel between the first digital currency application module and the toll station device, and the scheme provided by the present application consumes less time in establishing the communication channel and has a faster transaction speed. The first digital currency application module can interact with the toll station device for vehicle information by using the first interface. The first digital currency application module calls the second interface inside the SE to request the ETC module to obtain vehicle information, and then interacts with the toll station device for vehicle information by using the first interface. Further, the vehicle communicates with the toll station device based on the DSRC protocol. The communication process can be performed in an off-line environment, and after the payment string information is verified successfully, the digital currency payment transaction is considered to be successful without actually completing the online payment, so that the vehicle and the toll station device can perform efficient and fast digital currency payment transaction offline.

[0184] The present application also provides an off-line transaction device, which is applied to an off-line transaction system, the off-line transaction system further comprising a toll station device, the toll station device and the off-line transaction device communicating based on a dedicated short-range communication (DSRC) protocol, the off-line transaction device comprising an SE chip, the SE chip integrating a digital currency application module and an electronic toll collection (ETC) module, the SE having a first interface, the first interface being connected to the digital currency application module, and the digital currency application module and the ETC module inside the SE having a second interface:

[0185] The first communication module is configured to call the first interface to request the digital currency application module to obtain vehicle charging information after the vehicle arrives at the toll station.

[0186] The first communication module is configured to call the digital currency application module through the first interface.

[0187] The first digital currency application module is configured to request the ETC module to obtain vehicle information through the second interface.

[0188] The first communication module is configured to obtain vehicle charging information from the digital currency application module through the first interface; the vehicle charging information comprises digital currency information and vehicle information, and the digital currency information is pre-stored in the digital currency application module.

[0189] The first communication module is configured to send the vehicle charging information to the toll station device, so that the toll station device generates transaction initialization information based on the vehicle charging information, and the transaction initialization information at least includes a digital currency payment amount;

[0190] The first communication module is configured to receive the transaction initialization information sent by the toll station device.

[0191] The first communication module is configured to call the digital currency application module to generate payment string information based on the digital currency payment amount in the transaction initialization information through the first interface; and the payment string information is used for payment transaction between the toll station device and the server.

[0192] The first digital currency application module is configured to generate payment string information based on the digital currency payment amount in the transaction initialization information; and the payment string information is used for payment transaction between the toll station device and the server.

[0193] The first communication module is configured to obtain the payment string information from the digital currency application module through the first interface, and send the payment string information to the toll station device, so that the toll station device performs a preset operation to indicate that the digital currency payment transaction corresponding to the payment string information is successful after successfully verifying the payment string information.

[0194] Optionally, before the step of generating the payment string information, the first digital currency application module is further configured to:

[0195] In response to receiving the transaction initialization information, it is determined that the digital currency payment amount in the transaction initialization information is less than or equal to a digital currency storage amount of a payment account corresponding to the vehicle, and the digital currency storage amount is stored in the digital currency application module.

[0196] Optionally, the SE further has a third interface connected with the ETC module.

[0197] The first digital currency application module is further configured to determine that the digital currency payment amount in the transaction initialization information is greater than the digital currency storage amount, and the communication module is further configured to call the ETC module to perform transaction payment through the third interface if the digital currency payment amount is greater than the digital currency storage amount.

[0198] Optionally, the first digital currency application module is further configured to:

[0199] In response to receiving the transaction initialization information sent by the toll station device, the storage amount is updated, and the updated storage amount is equal to the difference between the original storage amount and the digital currency payment amount.

[0200] Optionally, the first digital currency application module is further configured to:

[0201] In response to receiving the feedback information sent by the toll station device, the ETC module is instructed to delete the stored first sub-information through the second interface, and the feedback information is information sent after the toll station device successfully verifies the payment string information.

[0202] Alternatively, the vehicle charging information further includes a first key, each ETC module corresponds to a first key, the transaction initialization information further includes a second key, the second key is generated by the toll station device, and the digital currency payment amount in the transaction initialization information is added by the first key and the second key. The OBU further includes a PSAM, and the PSAM is used to:

[0203] decrypt the digital currency payment amount in the transaction initialization information based on the first key and the second key;

[0204] generate the payment string information based on the decrypted digital currency payment amount.

[0205] The embodiments of the present application also provide a computer readable storage medium, and the computer readable storage medium stores a computer program. When the computer program runs on an electronic device, the electronic device executes the offline transaction method provided by the embodiments of the present application.

[0206] Please refer to Figure 11 The embodiments of the present application also provide a transaction device (which can also be referred to as an electronic device 110), including a processor 111 and a memory 112 for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the offline transaction method provided by the embodiments of the present application.

[0207] Alternatively, the computer readable storage medium can be a non-transitory computer readable storage medium, for example, the non-transitory computer readable storage medium can be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a CD-ROM, a magnetic tape, a floppy disk and an optical data storage device, etc.

[0208] In the exemplary embodiments, the embodiments of the present application also provide a computer program product including one or more instructions executable by the processor 111 of the electronic device 110 to complete the offline transaction method in the above embodiments.

[0209] It should be noted that the instructions in the above computer readable storage medium or the one or more instructions in the computer program product are executed by the processor 111 of the electronic device 110 to realize each process of the above offline transaction method embodiments, and can achieve the same technical effects as the above offline transaction method. To avoid repetition, it will not be repeated here.

[0210] Through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of functional modules is taken as an example, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete the whole classification or part of the functions described above.

[0211] In several embodiments provided in the present application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of modules or units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units or components shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0212] The units described as separate components can or can not be physically separated, and the components shown as units can be one physical unit or multiple physical units, that is, can be located in one place or can be distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0213] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0214] When the integrated unit is realized in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical scheme of the embodiment of the present application essentially or the part that contributes to the prior art or the whole classification or part of the technical scheme can be embodied in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for making a device (which can be a single chip, a chip, etc.) or a processor execute all or part of the steps of the method of each embodiment of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk, and various storage program codes.

[0215] The above merely provides the specific implementation of the present application, but the protection scope of the present application is not limited to this. Any change or replacement within the technical scope disclosed by the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. An offline transaction method, characterized in that: A vehicle used in an offline transaction system, wherein the offline transaction system further includes a toll booth device, wherein the toll booth device communicates with the vehicle based on a dedicated short-range communication (DSRC) protocol, wherein the vehicle includes a security chip SE, wherein the SE integrates a digital currency application module and an electronic toll collection (ETC) module, wherein the SE has a first interface connected to the digital currency application module, and a second interface is provided between the digital currency application module and the ETC module within the SE. The offline transaction method includes: After the vehicle arrives at the toll station, calling the first interface to request the digital currency application module to obtain vehicle billing information; Calling the second interface through the digital currency application module to obtain vehicle information from the ETC module; obtaining the vehicle billing information from the digital currency application module through the first interface; the vehicle billing information includes digital currency information and the vehicle information, and the digital currency information is pre-stored in the digital currency application module; Sending the vehicle billing information to the toll station device, so that the toll station device generates transaction initialization information based on the vehicle billing information, the transaction initialization information including at least the digital currency payment amount and the receiving digital currency wallet information; receiving transaction initialization information sent by the toll station device; Generate payment string information based on the digital currency payment amount and the receiving digital currency wallet information in the transaction initialization information; the payment string information is used for payment transactions between the toll station device and the server; Sending the payment string information to the toll station device, so that the toll station device performs a preset operation after successfully verifying the payment string information to indicate that the digital currency payment transaction corresponding to the payment string information is successful; In response to receiving the feedback information sent by the toll station device, the digital currency application module is called through the first interface, so that the digital currency application module instructs the ETC module to delete the first sub-information in the stored vehicle information through the second interface. The feedback information is the information sent by the toll station device after successfully verifying the payment string information. The vehicle information includes the first sub-information, and the first sub-information changes as the vehicle travels.

2. The offline transaction method according to claim 1, characterized in that: Before the step of generating the payment string information, the offline transaction method further includes: In response to receiving the transaction initialization information, it is determined that the digital currency payment amount in the transaction initialization information is less than or equal to the digital currency storage amount of the payment account corresponding to the vehicle, and the digital currency storage amount is stored in the digital currency application module.

3. The offline transaction method according to claim 2, characterized in that: The SE further has a third interface, which is connected to the ETC module. The offline transaction method further includes: If it is determined that the digital currency payment amount in the transaction initialization information is greater than the digital currency storage amount, the ETC module is called through the third interface to perform transaction payment.

4. The offline transaction method according to any one of claims 1 to 3, characterized in that: The offline transaction method further includes: In response to receiving the transaction initialization information sent by the toll station device, the first interface is called to update the stored amount in the digital currency application module, and the updated stored amount is equal to the difference between the original stored amount and the digital currency payment amount corresponding to the transaction initialization information.

5. The offline transaction method according to claim 4, characterized in that: The vehicle billing information also includes a first key, each ETC module corresponds to a first key, and the digital currency payment amount in the transaction initialization information is encrypted by the first key.

6. The offline transaction method according to claim 5, characterized in that: The transaction initialization information also includes a second key, which is generated by the toll booth device, and the digital currency payment amount in the transaction initialization information is encrypted by the first key and the second key.

7. The offline transaction method according to claim 5 or 6, characterized in that: The step of calling the first interface to enable the digital currency application module to generate a payment string based on the received digital currency payment amount includes: Calling the digital currency application module through the first interface to decrypt the digital currency payment amount in the transaction initialization information based on the first key, or decrypting the digital currency payment amount in the transaction initialization information based on the first key and the second key; Payment string information is generated based on the decrypted digital currency payment amount.

8. An offline transaction device, characterized in that: Applied to an offline transaction system, the offline transaction system also includes a toll booth device, the toll booth device communicates with the offline transaction device based on a dedicated short-range communication (DSRC) protocol, the offline transaction device includes a security chip SE, the SE integrates a digital currency application module and an electronic toll collection (ETC) module, the SE has a first interface connected to the digital currency application module, and a second interface is provided between the digital currency application module and the ETC module within the SE; the offline transaction device also includes a communication module; a communication module, configured to conduct external communication and to call the first interface to request the digital currency application module to obtain vehicle billing information after the vehicle arrives at the toll station; The digital currency application module is configured to request the ETC module to obtain vehicle information through the second interface; The communication module is configured to obtain the vehicle billing information from the digital currency application module via the first interface; the vehicle billing information includes digital currency information and vehicle information, and the digital currency information is pre-stored in the digital currency application module; and transmit the vehicle billing information to the toll station device, so that the toll station device generates transaction initialization information based on the vehicle billing information, the transaction initialization information including at least the digital currency payment amount and the receiving digital currency wallet information; The communication module is used to receive transaction initialization information sent by the toll station equipment; The digital currency application module is used to generate payment string information based on the digital currency payment amount in the transaction initialization information; the payment string information is used to perform payment transactions between the toll station device and the server; The communication module is configured to obtain the payment string information from the digital currency application module through the first interface and transmit the payment string information to the toll station device, so that the toll station device performs a preset operation after successfully verifying the payment string information to indicate that the digital currency payment transaction corresponding to the payment string information is successful; The digital currency application module is also used to: In response to receiving feedback information sent by the toll station device, the ETC module is instructed through the second interface to delete the first sub-information in the stored vehicle information. The feedback information is the information sent by the toll station device after successfully verifying the payment string information. The vehicle information includes the first sub-information, and the first sub-information changes with the driving process of the vehicle.

9. The offline transaction device according to claim 8, characterized in that: Before the step of generating the payment string information, the digital currency application module is further used to: In response to receiving the transaction initialization information, it is determined that the digital currency payment amount in the transaction initialization information is less than or equal to the digital currency storage amount of the payment account corresponding to the vehicle, and the digital currency storage amount is stored in the digital currency application module.

10. The offline transaction device according to claim 9, characterized in that: The SE also has a third interface, which is connected to the ETC module; The digital currency application module is further configured to determine that the digital currency payment amount in the transaction initialization information is greater than the digital currency storage amount; The communication module is further configured to call the ETC module through the third interface to perform transaction payment if the digital currency payment amount is greater than the digital currency storage amount.

11. The offline transaction device according to any one of claims 8 to 10, characterized in that: The digital currency application module is also used to: In response to receiving the transaction initialization information sent by the toll booth device, the stored amount is updated, and the updated stored amount is equal to the difference between the original stored amount and the digital currency payment amount.

12. The offline transaction device according to claim 11, characterized in that: The vehicle billing information also includes a first key, each ETC module corresponds to a first key, the transaction initialization information also includes a second key, the second key is generated by the toll station equipment, the digital currency payment amount in the transaction initialization information is added by the first key and the second key, and the digital currency application module is further used to: decrypting the digital currency payment amount in the transaction initialization information based on the first key and the second key; Payment string information is generated based on the decrypted digital currency payment amount.

13. An offline trading system, characterized in that: The offline transaction system includes a vehicle and a toll station device, wherein the toll station device communicates with the vehicle based on a dedicated short-range communication (DSRC) protocol, and the vehicle is used to execute the offline transaction method according to any one of claims 1 to 7.

14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed on an electronic device, the electronic device executes the offline transaction method according to any one of claims 1 to 7.

15. An offline transaction device, characterized in that: comprising a processor and a memory for storing instructions executable by said processor; The processor is configured to execute the instructions to implement the offline transaction method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Traffic information processing method and device, electronic equipment and storage medium

    CN111724494A

  • Vehicle-mounted payment device, method and system

    CN114386962A

  • Vehicle-mounted payment method, device and system based on digital currency

    CN114819952A

  • Expressway off-line and on-line charging method and device based on digital RMB

    CN115424362A