Vehicle encryption communication method and device

Through the encrypted communication method of negotiated quantum keys and session quantum keys, the problem of traditional vehicle communication encryption methods being unable to resist quantum computer attacks is solved, ensuring the security of communication between the vehicle and the outside world, and preventing information leakage and threats.

CN115484025BActive Publication Date: 2024-10-01CHINA AUTOMOTIVE INNOVATION CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211056715.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-31
Publication Date
2024-10-01
Estimated Expiration
2042-08-31

AI Technical Summary

Technical Problem

Traditional in-vehicle communication encryption methods cannot withstand quantum computer attacks, leaving cars at risk of cyber attacks and information leaks, threatening the lives of drivers and passengers.

Method used

The encrypted communication method of negotiated quantum keys and session quantum keys is adopted. Through the management and negotiation of the quantum key service center, the negotiated quantum keys are used to encrypt device information and generate session quantum keys for data exchange to ensure the security of communication. .

Benefits of technology

The use of quantum immeasurability makes the key unable to be eavesdropped and cracked, effectively resisting quantum computer attacks and ensuring the security of communication between the vehicle and the outside world.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115484025B_ABST
    Figure CN115484025B_ABST
Patent Text Reader

Abstract

The present invention relates to a vehicle encryption communication method and device, the method comprising: a vehicle communication terminal sends a connection request to a target terminal; receiving first device information of the target terminal returned by the target terminal; obtaining a first negotiated quantum key from a secure medium of the vehicle communication terminal, and using the first negotiated quantum key to encrypt the first device information and the second device information of the vehicle communication terminal to obtain negotiated encrypted information; sending the negotiated encrypted information to a quantum key service center; receiving a first session quantum key and a first key element generated by the quantum key service center based on the negotiated encrypted information, and sending the first key element to the target terminal; and performing encrypted data interaction with the target terminal based on the first session quantum key, the second session quantum key, the first key element, and the second key element. In this scheme, the negotiated quantum key and the session quantum key can resist the attack of quantum computers and ensure the security of communication between the vehicle and the outside world.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle communication, and in particular to a vehicle encryption communication method and device. Background Art

[0002] "Software-defined cars" has become the development trend of automobiles, and the complexity of automobile software has also increased greatly. Due to the large number of on-board ECUs (Electronic Control Units) and complex networks, once the vehicle establishes communication with the outside world, new network attacks emerge in an endless stream, increasing the possibility of invasion of the originally closed network.

[0003] When the traditional vehicle-mounted T-box (Telematics BOX) communicates with the target terminal, the RSA algorithm is used to encrypt the data. It is very difficult to crack the RSA algorithm with the computing power of traditional computers, but the advent of quantum computers in the future will break this difficulty. The computing power of quantum computers has increased exponentially, and traditional encrypted communication methods cannot resist the attacks of quantum computers. In the future, cars will be exposed to attacks, resulting in information leakage and even threatening the lives of drivers and passengers. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art.

[0005] To this end, a first aspect of the present invention provides a vehicle encryption communication method, which is applied to a vehicle communication terminal of a vehicle communication system, wherein the vehicle communication system further includes a target terminal and a quantum key service center, wherein the target terminal is a terminal for which the vehicle communication terminal requests communication, and the method includes:

[0006] Sending a connection request to the target terminal;

[0007] receiving first device information of the target terminal returned by the target terminal;

[0008] Acquire a first negotiated quantum key from the secure medium of the vehicle-mounted communication terminal, and use the first negotiated quantum key to encrypt the first device information and the second device information of the vehicle-mounted communication terminal to obtain negotiated encrypted information;

[0009] Sending the negotiated encryption information to the quantum key service center to apply for a session quantum key on the vehicle-mounted communication terminal side;

[0010] receiving a first session quantum key and a first key element generated by the quantum key service center based on the negotiated encryption information, and sending the first key element to the target terminal, where the first key element is used by the target terminal to apply to the quantum key service center for a second session quantum key and a second key element on the target terminal side;

[0011] Encrypted data is exchanged with the target terminal based on the first session quantum key, the second session quantum key, the first key element, and the second key element.

[0012] Optionally, before sending the connection request to the target terminal, the method further includes:

[0013] Acquire a first negotiated quantum key from a secure medium of the vehicle-mounted communication terminal;

[0014] The first registration information of the vehicle-mounted communication terminal is encrypted using the first negotiated quantum key, and the first registration information is sent to the quantum key service center for registration authentication at the quantum key service center.

[0015] Optionally, the secure medium stores a first negotiated quantum key, and the acquiring the first negotiated quantum key from the secure medium of the vehicle-mounted communication terminal includes:

[0016] determining a quantum key state in the secure medium;

[0017] When the quantum key state is in a normal state, a first negotiated quantum key is obtained from a secure medium of the vehicle-mounted communication terminal.

[0018] Optionally, after determining the quantum key state in the security medium, the method further includes:

[0019] When the quantum key state is an exhausted state, encrypted data is exchanged with the target terminal using a common encryption algorithm.

[0020] Optionally, the performing encrypted data interaction with the target terminal based on the first session quantum key, the second session quantum key, the first key element, and the second key element includes:

[0021] Sending first data encrypted by the first session quantum key to the target terminal;

[0022] receiving second data returned by the target terminal based on the content of the first data after the target terminal decrypts the first data based on the first key element; the second data is data encrypted using the second session quantum key;

[0023] The second data is decrypted using the second key element to obtain data content of the second data.

[0024] Optionally, the vehicle-mounted communication system also includes a quantum key distribution device and a quantum key charging machine, the quantum key distribution device is used to distribute the first negotiated quantum key to the quantum key charging machine, and the quantum key charging machine is used to charge the first negotiated quantum key into the secure medium.

[0025] A second aspect of an embodiment of the present invention provides a vehicle encryption communication method, which is applied to a target terminal of a vehicle-mounted communication system, wherein the vehicle-mounted communication system further includes a vehicle-mounted communication terminal and a quantum key service center, and the target terminal is any one of a cloud server, a mobile terminal, an intelligent transportation facility, and a vehicle-mounted communication terminal. The method includes:

[0026] In response to a connection request from the vehicle-mounted communication terminal, returning first device information of the target terminal to the vehicle-mounted communication terminal, wherein the first device information is used by the vehicle-mounted communication terminal to apply for a first session quantum key and a first key element from the quantum key service center;

[0027] Receiving the first key element obtained by the vehicle-mounted communication terminal from the quantum key service center, and using the first key element to apply to the quantum key service center for a second session quantum key and a second key element on the target terminal side;

[0028] Returning the second key element to the in-vehicle communication terminal;

[0029] Encrypted data is exchanged with the vehicle-mounted communication terminal based on the first session quantum key, the second session quantum key, the first key element, and the second key element.

[0030] Optionally, the target terminal is a cloud server, and before returning the first device information of the target terminal to the in-vehicle communication terminal, the method further includes:

[0031] Obtaining a second negotiated quantum key pre-imported into the target terminal by the quantum key service center;

[0032] The second registration information of the target terminal is encrypted using the second negotiated quantum key, and the second registration information is sent to the quantum key service center for registration authentication at the quantum key service center.

[0033] A third aspect of an embodiment of the present invention provides a vehicle encryption communication device, which is applied to a target terminal of a vehicle communication system, wherein the vehicle communication system further includes a vehicle communication terminal and a quantum key service center, and the device includes:

[0034] A connection request sending module, used to send a connection request to the target terminal;

[0035] A first device information receiving module, configured to receive first device information of the target terminal returned by the target terminal;

[0036] a first negotiated key acquisition module, configured to acquire a first negotiated quantum key from a secure medium of the vehicle-mounted communication terminal, and encrypt the first device information and the second device information of the vehicle-mounted communication terminal using the first negotiated quantum key to obtain negotiated encrypted information;

[0037] A negotiation encryption information sending module, used to send the negotiation encryption information to the quantum key service center to apply for a session quantum key on the vehicle communication terminal side;

[0038] a quantum key receiving module, configured to receive a first session quantum key and a first key element generated by the quantum key service center based on the negotiated encryption information, and send the first key element to the target terminal, wherein the first key element is used by the target terminal to apply to the quantum key service center for a second session quantum key and a second key element on the target terminal side;

[0039] The first interaction module is used to interact encrypted data with the target terminal based on the first session quantum key, the second session quantum key, the first key element, and the second key element.

[0040] Optionally, the device further comprises:

[0041] A first negotiated quantum key acquisition module, used to acquire a first negotiated quantum key from a secure medium of the vehicle-mounted communication terminal;

[0042] The first registration module is used to encrypt the first registration information of the vehicle-mounted communication terminal by using the first negotiated quantum key, and send the first registration information to the quantum key service center to perform registration authentication at the quantum key service center.

[0043] Optionally, the first negotiated quantum key acquisition module is specifically used to:

[0044] determining a quantum key state in the secure medium;

[0045] When the quantum key state is in a normal state, a first negotiated quantum key is obtained from a secure medium of the vehicle-mounted communication terminal.

[0046] Optionally, the device further comprises:

[0047] A common encryption communication module is used to perform encrypted data interaction with the target terminal using a common encryption algorithm when the quantum key state is an exhausted state.

[0048] Optionally, the first interaction module is specifically used to:

[0049] Sending first data encrypted by the first session quantum key to the target terminal;

[0050] receiving second data returned by the target terminal based on the content of the first data after the target terminal decrypts the first data based on the first key element; the second data is data encrypted using the second session quantum key;

[0051] The second data is decrypted using the second key element to obtain data content of the second data.

[0052] A fourth aspect of an embodiment of the present invention provides a vehicle encryption communication device, which is applied to a target terminal of a vehicle-mounted communication system, wherein the vehicle-mounted communication system further includes a vehicle-mounted communication terminal and a quantum key service center, wherein the target terminal is any one of a cloud server, a mobile terminal, an intelligent transportation facility, and a vehicle-mounted communication terminal, and wherein the method includes:

[0053] A first device information returning module, configured to return first device information of the target terminal to the vehicle-mounted communication terminal in response to a connection request of the vehicle-mounted communication terminal, wherein the first device information is used by the vehicle-mounted communication terminal to apply for a first session quantum key and a first key element from the quantum key service center;

[0054] A key element receiving module, configured to receive the first key element obtained by the vehicle-mounted communication terminal from the quantum key service center, and use the first key element to apply to the quantum key service center for a second session quantum key and a second key element on the target terminal side;

[0055] A key element returning module, used for returning the second key element to the vehicle-mounted communication terminal;

[0056] The second interaction module is used to interact with the vehicle-mounted communication terminal for encrypted data based on the first session quantum key, the second session quantum key, the first key element, and the second key element.

[0057] Optionally, the target terminal is a cloud server, and the device further includes:

[0058] A second negotiated quantum key acquisition module is used to acquire a second negotiated quantum key pre-imported into the target terminal by the quantum key service center;

[0059] The second registration module is used to encrypt the second registration information of the target terminal by using the second negotiated quantum key, and send the second registration information to the quantum key service center to perform registration authentication at the quantum key service center.

[0060] The fifth aspect of the present invention proposes an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the vehicle encryption communication method as described in the first aspect or the second aspect.

[0061] The sixth aspect of the present invention proposes a computer-readable storage medium, which stores at least one instruction, at least one program, a code set or an instruction set. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the vehicle encryption communication method as described in the first aspect or the second aspect.

[0062] The embodiments of the present invention have the following beneficial effects:

[0063] In an embodiment of the present invention, the vehicle communication terminal sends a connection request to the target terminal; receives the first device information of the target terminal returned by the target terminal; obtains the first negotiated quantum key from the secure medium of the vehicle communication terminal, and uses the first negotiated quantum key to encrypt the first device information and the second device information of the vehicle communication terminal to obtain negotiated encrypted information; sends the negotiated encrypted information to the quantum key service center to apply for the session quantum key on the vehicle communication terminal side; receives the first session quantum key and the first key element generated by the quantum key service center based on the negotiated encrypted information, and sends the first key element to the target terminal, the first key element is used by the target terminal to apply for the second session quantum key on the target terminal side from the quantum key service center; based on the first session quantum key, the second session quantum key, the first key element, and the second key element, encrypted data is exchanged with the target terminal. This scheme uses the negotiated quantum key to encrypt the device information to obtain the negotiated encrypted information, applies for the session quantum key with the negotiated encrypted information, and uses the first session quantum key obtained by the application to exchange data with the second session quantum key obtained by the target terminal. Among them, the security of negotiated quantum keys and session quantum keys is based on the characteristic of quantum immeasurability, and quantum keys are randomly generated during communication, making them impossible to be eavesdropped and cracked, and can resist attacks from quantum computers, ensuring the security of communications between vehicles and the outside world.

[0064] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for use in the embodiments or prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without creative work.

[0066] Figure 1 A schematic diagram of a vehicle-mounted communication system provided by an embodiment of the present invention;

[0067] Figure 2 A flowchart of the steps of the first vehicle encryption communication method provided in an embodiment of the present invention.

[0068] Figure 3 A flowchart of the steps of a second vehicle encryption communication method provided by an embodiment of the present invention;

[0069] Figure 4 A timing diagram of encrypted communication between a vehicle-mounted communication terminal and a target terminal provided in an embodiment of the present invention;

[0070] Figure 5 A structural block diagram of a first vehicle encryption communication device provided by an embodiment of the present invention;

[0071] Figure 6 This is a structural block diagram of a second vehicle encryption communication device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0072] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0073] This specification provides method operation steps as described in the embodiments or flow charts, but more or fewer operation steps may be included based on conventional or non-creative work. When the actual system or server product is executed, the method shown in the embodiments or figures may be executed sequentially or in parallel (for example, in a parallel processor or multi-threaded processing environment).

[0074] An embodiment of the present invention is applied to a vehicle-mounted communication terminal of a vehicle-mounted communication system. The vehicle-mounted communication system also includes a target terminal and a quantum key service center. The target terminal is a terminal that the vehicle-mounted communication terminal requests communication with.

[0075] Specifically, the quantum key service center is mainly responsible for the registration management of the equipment and the management of the quantum keys. In the embodiment of the present invention, it is responsible for the registration management of the target terminal, the secure medium and the vehicle-mounted communication terminal, as well as the management of the injection of quantum keys and the negotiation management of session quantum keys.

[0076] The target terminal and vehicle-mounted communication terminal are subject to the management of the quantum key service center, and quantum encryption communication can only be carried out after applying for registration at the quantum key service center.

[0077] In a possible implementation, the target terminal is any one of a cloud server, a mobile terminal, an intelligent transportation facility, and a vehicle-mounted communication terminal.

[0078] Among them, the vehicle-mounted communication terminal includes the vehicle-mounted T-box (Telematics Box). T-box is an important part of the Internet of Vehicles. The full name of T-box is telematics box, which is one of the four major parts of the Internet of Vehicles system. The other three are the host, mobile APP and background system. The vehicle-mounted communication terminal can provide more network services for the vehicle. Its working principle is based on mobile 4G and 5G communications. In the case of the network, it completes the satellite positioning system, collects vehicle data in real time, records vehicle driving routes, monitors vehicle-related faults, and remotely controls vehicles through the network.

[0079] The cloud server is used to obtain the information of the preset quantum key file and bind it to it. The cloud server connects to the quantum key service center and uses the device information and the preset quantum key file information to register and authenticate with the quantum key service center. The quantum key service center can manage the cloud server and the preset quantum key file.

[0080] Mobile terminals include smart terminals such as mobile phones, mobile computers, tablets, and wearable devices.

[0081] Intelligent transportation facilities refer to transportation facilities based on modern electronic information technology, which may include traffic lights, checkpoints, electric police, cameras, speed meters, traffic toll collection equipment, vehicle rescue, traffic safety facilities, license plate recognition systems, smart parking lots and other intelligent transportation equipment.

[0082] The embodiments of the present invention can realize encrypted communication between a vehicle-mounted communication terminal and a cloud server, a vehicle-mounted communication terminal and a mobile terminal, a vehicle-mounted communication terminal and intelligent transportation facilities, and a vehicle-mounted communication terminal and a vehicle-mounted communication terminal.

[0083] In a possible implementation, the vehicle-mounted communication system further includes a quantum key distribution device and a quantum key charging machine, wherein the quantum key distribution device is used to distribute the first negotiated quantum key to the quantum key charging machine, and the quantum key charging machine is used to charge the first negotiated quantum key into the secure medium.

[0084] Figure 1 A schematic diagram of a vehicle-mounted communication system provided by an embodiment of the present invention.

[0085] like Figure 1 As shown in the figure, the quantum key service center is mainly responsible for the registration management of the equipment and the management of quantum keys. In this solution, it is responsible for the registration management of cloud servers, secure media and vehicle-mounted communication terminals, the management of quantum key injection and the negotiation management of session quantum keys. The quantum key service center and quantum key distribution equipment are deployed on the cloud server side, and the quantum key distribution equipment and quantum key injection machine are deployed on the terminal side. When the car leaves the factory or is sold, the secure medium is used to inject quantum keys, and the vehicle-mounted communication terminal uses the negotiated quantum key in the secure medium to negotiate the quantum encryption secure channel with the quantum key service center to achieve device registration authentication and negotiation of quantum session keys.

[0086] Figure 2 A flowchart of the steps of the first vehicle encryption communication method provided in an embodiment of the present invention.

[0087] The method is applied to a vehicle-mounted communication terminal of a vehicle-mounted communication system, wherein the vehicle-mounted communication system further comprises a target terminal and a quantum key service center, wherein the target terminal is a terminal for which the vehicle-mounted communication terminal requests communication, and the method may comprise the following steps:

[0088] Step 101: Send a connection request to the target terminal.

[0089] When the vehicle-mounted communication terminal needs to communicate with the target terminal, the vehicle-mounted communication terminal sends a connection request to the target terminal. The target terminal can be any one of a cloud server, a mobile terminal, an intelligent transportation facility, and a vehicle-mounted communication terminal.

[0090] For example, a user turns on a smart entertainment device through an in-vehicle communication terminal, and the in-vehicle communication terminal sends a connection request to a cloud server that provides smart entertainment functions, and the request carries the requested content information.

[0091] Step 102: Receive first device information of the target terminal returned by the target terminal.

[0092] In the case of non-encrypted communication, the target terminal directly returns the requested content information to the in-vehicle communication terminal.

[0093] When encrypted communication is performed in the embodiment of the present invention, the target terminal returns the device information of the target terminal, ie, the first device information, to the vehicle-mounted communication terminal so that the vehicle-mounted communication terminal can perform subsequent encryption processing procedures.

[0094] Step 103: Obtain a first negotiated quantum key from the secure medium of the vehicle-mounted communication terminal, and use the first negotiated quantum key to encrypt the first device information and the second device information of the vehicle-mounted communication terminal to obtain negotiated encrypted information.

[0095] The security medium can be a secure TF card, U shield, etc. The security medium is quantum key charged at the vehicle service center, such as a 4S store, and the security medium is inserted into the vehicle communication terminal. Each vehicle communication terminal corresponds to a security medium.

[0096] After the vehicle-mounted communication terminal obtains the first device information, the vehicle-mounted communication terminal obtains the first negotiated quantum key from the secure medium and obtains its own second device information, and then uses the first negotiated quantum key to encrypt the first device information and the second device information, and the obtained encrypted information is the negotiated encrypted information.

[0097] In this way, the negotiated quantum key is used to encrypt the first device information and the second device information, so that the device information of the communicating parties is encrypted, ensuring that the device information of the communicating parties is not stolen.

[0098] Step 104: Send the negotiated encryption information to the quantum key service center to apply for a session quantum key on the vehicle-mounted communication terminal side.

[0099] The negotiated quantum key is not used for the final communication interaction. Before the vehicle communication terminal establishes communication with the cloud server, the negotiated quantum key interaction will be used to generate a session quantum key, which is used for subsequent data interaction.

[0100] Therefore, the vehicle-mounted communication terminal sends the negotiated encryption information to the quantum key service center. The quantum key service center parses the negotiated quantum key information, obtains the corresponding negotiated quantum key, decrypts the first device information, and queries the registration authentication information of the first device. After the query is passed, the quantum key generator is used to generate the first session quantum key and the first key element, which are encrypted and returned to the vehicle-mounted communication terminal.

[0101] Step 105: Receive a first session quantum key and a first key element generated by the quantum key service center based on the negotiated encryption information, and send the first key element to the target terminal, where the first key element is used by the target terminal to apply to the quantum key service center for a second session quantum key and a second key element on the target terminal side.

[0102] The quantum key service center generates a first session quantum key and a first key element based on the negotiated encryption information. The first session quantum key is used for encrypted communication on the vehicle communication terminal side. The first key element is used for the target terminal to generate a second session quantum key.

[0103] The first key element and the second key element refer to data information that can be expanded to generate quantum keys, and may include basic random numbers, hash value algorithms to be expanded and generated, and encryption algorithms.

[0104] Specifically, after receiving the first key element, the target terminal applies to the quantum key service center for a second session quantum key and a second key element for communication based on the first key element.

[0105] Step 106: Exchange encrypted data with the target terminal based on the first session quantum key, the second session quantum key, the first key element, and the second key element.

[0106] Specifically, during the data interaction process, the on-vehicle communication terminal encrypts data with the first session quantum key and decrypts data with the second key element, and the target terminal encrypts data with the second session quantum key and decrypts data with the first key element.

[0107] In addition, after the data interaction is completed, the vehicle communication terminal and the target terminal destroy the first session quantum key and the second session quantum key respectively to prevent theft.

[0108] In summary, in an embodiment of the present invention, the vehicle communication terminal sends a connection request to the target terminal; receives the first device information of the target terminal returned by the target terminal; obtains the first negotiated quantum key from the secure medium of the vehicle communication terminal, and uses the first negotiated quantum key to encrypt the first device information and the second device information of the vehicle communication terminal to obtain negotiated encrypted information; sends the negotiated encrypted information to the quantum key service center to apply for the session quantum key on the vehicle communication terminal side; receives the first session quantum key and the first key element generated by the quantum key service center based on the negotiated encrypted information, and sends the first key element to the target terminal, the first key element is used by the target terminal to apply for the second session quantum key on the target terminal side from the quantum key service center; based on the first session quantum key, the second session quantum key, the first key element, and the second key element, encrypted data is exchanged with the target terminal. This scheme uses the negotiated quantum key to encrypt the device information to obtain the negotiated encrypted information, applies for the session quantum key with the negotiated encrypted information, and uses the first session quantum key obtained by the application to exchange data with the second session quantum key obtained by the target terminal. Among them, the security of negotiated quantum keys and session quantum keys is based on the characteristic of quantum immeasurability, and quantum keys are randomly generated during communication, making them impossible to be eavesdropped and cracked, ensuring the security of communication between vehicles and the outside world.

[0109] In a possible implementation manner, before step 101, the method further includes:

[0110] Step 201: Obtain a first negotiated quantum key from a secure medium of the vehicle-mounted communication terminal;

[0111] Step 202: Use the first negotiated quantum key to encrypt the first registration information of the vehicle-mounted communication terminal, and send the first registration information to the quantum key service center to perform registration authentication at the quantum key service center.

[0112] In step 201-step 202, both the vehicle-mounted communication terminal and the target terminal need to be pre-registered at the quantum key service center. Only after passing the authentication can they apply for quantum keys for encrypted communication. Quantum key encrypted communication can only be performed between terminals that have been authenticated by the quantum key service center.

[0113] During specific registration, the on-vehicle communication terminal obtains the first negotiated quantum key from the secure medium in advance, uses the first negotiated quantum key to encrypt its registration information, and sends the encrypted first registration information to the quantum key service center for registration authentication.

[0114] In a possible implementation manner, the secure medium stores the first negotiated quantum key, and the acquiring the first negotiated quantum key from the secure medium of the vehicle-mounted communication terminal includes:

[0115] Step 1031, determining the quantum key state in the secure medium;

[0116] Step 1032: When the quantum key state is in a normal state, obtain a first negotiated quantum key from the secure medium of the vehicle-mounted communication terminal.

[0117] In step 1031-step 1032, the quantum key information in the secure medium will be consumed after each use. When the quantum key is exhausted, the quantum key cannot be obtained. The charging of quantum keys can be online charging and offline charging. Online charging refers to online update charging, and offline charging refers to charging at a 4S store.

[0118] The quantum key status in the secure medium can be queried at a remote key service center or displayed on the interface of the vehicle communication terminal. When the quantum key status is exhausted, the interface will indicate the exhaustion status and remind the user to refill it.

[0119] When the quantum key status is normal, the normal status will also be displayed on the interface. When it is determined that the quantum key status is normal, the on-board communication terminal directly obtains the first negotiated quantum key from the secure medium.

[0120] In a possible implementation manner, after step 1031, the method further includes:

[0121] Step 1033: When the quantum key state is an exhausted state, use a common encryption algorithm to perform encrypted data interaction with the target terminal.

[0122] In an embodiment of the present invention, when the quantum key state is in an exhausted state, the quantum key cannot be used for communication. In order to ensure smooth communication, a common encryption algorithm can be used for communication.

[0123] Ordinary encryption algorithms refer to algorithms other than quantum encryption algorithms, such as the RSA encryption algorithm.

[0124] In a possible implementation, step 106 includes:

[0125] Step 1061: Send first data encrypted by using the first session quantum key to the target terminal;

[0126] Step 1062: receiving second data returned by the target terminal based on the content of the first data after the target terminal decrypts the first data based on the second key element; the second data is data encrypted using the second session quantum key;

[0127] Step 1063: Use the first key element to decrypt the second data to obtain the data content of the second data.

[0128] In steps 1061 to 1063, the vehicle communication terminal encrypts the first data using the first session quantum key, and the target terminal decrypts the received first data using the first key element. After the target terminal generates the second data based on the content of the first data, it encrypts the second data using the second session quantum key and returns it to the vehicle communication terminal. The vehicle communication terminal decrypts the second data using the second key element to obtain the data content of the second data.

[0129] Figure 3 A flowchart of the steps of the second vehicle encryption communication method provided by an embodiment of the present invention. The method is applied to a vehicle-mounted communication terminal of a vehicle-mounted communication system, the vehicle-mounted communication system further comprising a target terminal and a quantum key service center, the target terminal being the terminal that the vehicle-mounted communication terminal requests communication with, the method comprising:

[0130] Step 301: In response to a connection request from the vehicle-mounted communication terminal, first device information of the target terminal is returned to the vehicle-mounted communication terminal, where the first device information is used by the vehicle-mounted communication terminal to apply for a first session quantum key and a first key element from the quantum key service center;

[0131] Step 302: receiving the first key element obtained by the vehicle-mounted communication terminal from the quantum key service center, and using the first key element to apply to the quantum key service center for a second session quantum key and a second key element on the target terminal side;

[0132] Step 303: Return the second key element to the vehicle-mounted communication terminal;

[0133] Step 304: Perform encrypted data exchange with the vehicle-mounted communication terminal based on the first session quantum key, the second session quantum key, the first key element, and the second key element.

[0134] In step 301-step 304, the target terminal returns the device information of the target terminal, i.e., the first device information, to the vehicle communication terminal so that the vehicle communication terminal can perform subsequent encryption processing. After the vehicle communication terminal obtains the first device information, the vehicle communication terminal obtains the first negotiated quantum key from the secure medium and obtains its own second device information, and then uses the first negotiated quantum key to encrypt the first device information and the second device information, and the obtained encrypted information is the negotiated encrypted information.

[0135] The vehicle communication terminal sends the negotiated encryption information to the quantum key service center. The quantum key service center parses the negotiated quantum key information, obtains the corresponding negotiated quantum key, decrypts the first device information, and queries the registration authentication information of the first device. After the query is passed, the quantum key generator is used to generate the first session quantum key and the first key element, which are encrypted and returned to the vehicle communication terminal.

[0136] The quantum key service center generates a first session quantum key and a first key element based on the negotiated encryption information.

[0137] After receiving the first key element, the target terminal applies to the quantum key service center for a second session quantum key and a second key element for communication based on the first key element.

[0138] After the target terminal obtains the second session quantum key and the second key element, the target terminal sends the second key element to the vehicle-mounted communication terminal, so that the vehicle-mounted communication terminal and the target terminal can exchange encrypted data.

[0139] Specifically, during the data interaction process, the on-vehicle communication terminal encrypts data with the first session quantum key and decrypts data with the second key element, and the target terminal encrypts data with the second session quantum key and decrypts data with the first key element.

[0140] In a possible implementation manner, the target terminal is a cloud server, and before step 301, the method further includes:

[0141] Step 401: Obtain a second negotiated quantum key pre-imported into the target terminal by the quantum key service center;

[0142] Step 402: Use the second negotiated quantum key to encrypt the second registration information of the target terminal, and send the second registration information to the quantum key service center to perform registration authentication at the quantum key service center.

[0143] Both the vehicle-mounted communication terminal and the target terminal need to be pre-registered at the quantum key service center. Only after passing the authentication can they apply for quantum keys for encrypted communication. Quantum key encrypted communication can only be carried out between terminals that have been authenticated by the quantum key service center.

[0144] If the target terminal is a cloud server, the target terminal obtains the second negotiated quantum key that is pre-imported into the cloud server by the quantum key service center.

[0145] If the target terminal is a vehicle-mounted communication terminal, a mobile terminal or an intelligent transportation device, etc., the second negotiated quantum key is obtained from a secure medium.

[0146] Then, the registration information is encrypted using the second negotiated quantum key, and the encrypted second registration information is sent to the quantum key service center for registration authentication.

[0147] In summary, in an embodiment of the present invention, in response to the connection request of the vehicle communication terminal, the first device information of the target terminal is returned to the vehicle communication terminal, and the first device information is used by the vehicle communication terminal to apply for the first session quantum key and the first key element from the quantum key service center; the first key element obtained by the vehicle communication terminal from the quantum key service center is received, and the second session quantum key and the second key element on the target terminal side are applied to the quantum key service center using the first key element; the second key element is returned to the vehicle communication terminal; based on the first session quantum key, the second session quantum key, the first key element, and the second key element, encrypted data is exchanged with the vehicle communication terminal. This scheme uses the negotiated quantum key to encrypt the device information to obtain the negotiated encryption information, and uses the negotiated encryption information to apply for the session quantum key, and uses the first session quantum key obtained by the application to exchange data with the second session quantum key obtained by the target terminal. Among them, the security of the negotiated quantum key and the session quantum key is based on the characteristic of quantum unmeasurability, and the quantum key is randomly generated during communication, so that the quantum key cannot be eavesdropped and cracked, ensuring the security of communication between the vehicle and the outside world.

[0148] Figure 4 This is a timing diagram of encrypted communication between the vehicle-mounted communication terminal and the target terminal provided in an embodiment of the present invention.

[0149] like Figure 4 As shown in the figure, the vehicle communication terminal first performs self-binding of the secure medium, and the target terminal also performs self-binding of the preset quantum key file. Then, both parties register and authenticate at the quantum key service center. After registration and authentication, encrypted data interaction can be carried out.

[0150] Specifically, the vehicle communication terminal sends a connection request to the cloud server. In response to the connection request of the vehicle communication terminal, the cloud server returns the first device information of the target terminal to the vehicle communication terminal. The vehicle communication terminal receives the first device information of the target terminal returned by the target terminal; the vehicle communication terminal obtains the first negotiated quantum key from the secure medium of the vehicle communication terminal, and uses the first negotiated quantum key to encrypt the first device information and the second device information of the vehicle communication terminal to obtain the negotiated encrypted information; the vehicle communication terminal sends the negotiated encrypted information to the quantum key service center to apply for the session quantum key on the vehicle communication terminal side; the vehicle communication terminal receives the first session quantum key and the first key element generated by the quantum key service center based on the negotiated encrypted information, and sends the first key element to the target terminal; the target terminal receives the first key element obtained by the vehicle communication terminal from the quantum key service center, and uses the first key element to apply to the quantum key service center for the second session quantum key and the second key element on the target terminal side. The target terminal returns the second key element to the vehicle communication terminal.

[0151] Finally, the vehicle-mounted communication terminal and the target terminal exchange encrypted data with the target terminal based on the first session quantum key, the second session quantum key, the first key element, and the second key element.

[0152] After the communication is completed, both ends destroy the session quantum key.

[0153] Figure 5 This is a structural block diagram of a first encryption communication device provided in an embodiment of the present invention.

[0154] The device is applied to a target terminal of a vehicle-mounted communication system, wherein the vehicle-mounted communication system further includes a vehicle-mounted communication terminal and a quantum key service center. The device 500 includes:

[0155] A connection request sending module 501, configured to send a connection request to the target terminal;

[0156] A first device information receiving module 502, configured to receive first device information of the target terminal returned by the target terminal;

[0157] A first negotiated key acquisition module 503 is used to obtain a first negotiated quantum key from the secure medium of the vehicle-mounted communication terminal, and use the first negotiated quantum key to encrypt the first device information and the second device information of the vehicle-mounted communication terminal to obtain negotiated encrypted information;

[0158] A negotiation encryption information sending module 504 is used to send the negotiation encryption information to the quantum key service center to apply for a session quantum key on the vehicle communication terminal side;

[0159] A quantum key receiving module 505 is used to receive a first session quantum key and a first key element generated by the quantum key service center based on the negotiated encryption information, and send the first key element to the target terminal, where the first key element is used by the target terminal to apply to the quantum key service center for a second session quantum key and a second key element on the target terminal side;

[0160] The first interaction module 506 is used to interact with the target terminal for encrypted data based on the first session quantum key, the second session quantum key, the first key element, and the second key element.

[0161] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0162] Figure 6 This is a structural block diagram of a first encryption communication device provided in an embodiment of the present invention.

[0163] The device is applied to a target terminal of a vehicle-mounted communication system, wherein the vehicle-mounted communication system further includes a vehicle-mounted communication terminal and a quantum key service center, and the target terminal is any one of a cloud server, a mobile terminal, an intelligent transportation facility, and a vehicle-mounted communication terminal. The device 600 includes:

[0164] A first device information returning module 601 is used to return the first device information of the target terminal to the vehicle-mounted communication terminal in response to the connection request of the vehicle-mounted communication terminal, where the first device information is used by the vehicle-mounted communication terminal to apply for a first session quantum key and a first key element from the quantum key service center;

[0165] The key element receiving module 602 is used to receive the first key element obtained by the vehicle-mounted communication terminal from the quantum key service center, and use the first key element to apply to the quantum key service center for the second session quantum key and the second key element of the target terminal side;

[0166] A key element returning module 603, configured to return the second key element to the vehicle-mounted communication terminal;

[0167] The second interaction module 604 is used to interact with the vehicle-mounted communication terminal for encrypted data based on the first session quantum key, the second session quantum key, the first key element, and the second key element.

[0168] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0169] In another embodiment provided by the present invention, a device is also provided, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the vehicle encryption communication method described in the embodiment of the present invention.

[0170] In another embodiment provided by the present invention, a computer-readable storage medium is also provided, in which at least one instruction, at least one program, a code set or an instruction set is stored. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the vehicle encryption communication method described in the embodiment of the present invention.

[0171] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0172] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0173] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0174] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A vehicle encryption communication method, characterized in that: A vehicle-mounted communication terminal applied to a vehicle-mounted communication system, wherein the vehicle-mounted communication system further comprises a target terminal and a quantum key service center, wherein the target terminal is a terminal for which the vehicle-mounted communication terminal requests communication, and the method comprises: Sending a connection request to the target terminal; receiving first device information of the target terminal returned by the target terminal; Acquire a first negotiated quantum key from the secure medium of the vehicle-mounted communication terminal, and use the first negotiated quantum key to encrypt the first device information and the second device information of the vehicle-mounted communication terminal to obtain negotiated encrypted information; Sending the negotiated encryption information to the quantum key service center to apply for a session quantum key on the vehicle-mounted communication terminal side; receiving a first session quantum key and a first key element generated by the quantum key service center based on the negotiated encryption information, and sending the first key element to the target terminal, where the first key element is used by the target terminal to apply to the quantum key service center for a second session quantum key and a second key element on the target terminal side; Performing encrypted data interaction with the target terminal based on the first session quantum key, the second session quantum key, the first key element, and the second key element; The first key element and the second key element refer to data information that can be expanded to generate a quantum key; The step of performing encrypted data interaction with the target terminal based on the first session quantum key, the second session quantum key, the first key element, and the second key element includes: Sending first data encrypted by the first session quantum key to the target terminal; receiving second data returned by the target terminal based on the content of the first data after the target terminal decrypts the first data based on the first key element; the second data is data encrypted using the second session quantum key; The second data is decrypted using the second key element to obtain data content of the second data.

2. The method according to claim 1, characterized in that Before sending the connection request to the target terminal, the method further includes: Acquire a first negotiated quantum key from a secure medium of the vehicle-mounted communication terminal; The first registration information of the vehicle-mounted communication terminal is encrypted using the first negotiated quantum key, and the first registration information is sent to the quantum key service center for registration authentication at the quantum key service center.

3. The method according to claim 2, characterized in that The first negotiated quantum key is stored in the secure medium, and the first negotiated quantum key is obtained from the secure medium of the vehicle-mounted communication terminal, including: determining a quantum key state in the secure medium; When the quantum key state is in a normal state, a first negotiated quantum key is obtained from a secure medium of the vehicle-mounted communication terminal.

4. The method according to claim 3, characterized in that After determining the quantum key state in the security medium, the method further includes: When the quantum key state is an exhausted state, encrypted data is exchanged with the target terminal using a common encryption algorithm.

5. The method according to any one of claims 1 to 3, characterized in that: The vehicle-mounted communication system also includes a quantum key distribution device and a quantum key charging machine, wherein the quantum key distribution device is used to distribute the first negotiated quantum key to the quantum key charging machine, and the quantum key charging machine is used to charge the first negotiated quantum key into the secure medium.

6. A vehicle encryption communication method, characterized in that: A target terminal applied to a vehicle-mounted communication system, wherein the vehicle-mounted communication system further comprises a vehicle-mounted communication terminal and a quantum key service center, wherein the target terminal is any one of a cloud server, a mobile terminal, an intelligent transportation facility, and a vehicle-mounted communication terminal, and wherein the method comprises: In response to a connection request from the vehicle-mounted communication terminal, returning first device information of the target terminal to the vehicle-mounted communication terminal, wherein the first device information is used by the vehicle-mounted communication terminal to apply for a first session quantum key and a first key element from the quantum key service center; receiving the first key element obtained by the vehicle-mounted communication terminal from the quantum key service center, and applying to the quantum key service center for a second session quantum key and a second key element of the target terminal side by using the first key element; Returning the second key element to the in-vehicle communication terminal; Performing encrypted data interaction with the vehicle-mounted communication terminal based on the first session quantum key, the second session quantum key, the first key element, and the second key element; The first key element and the second key element refer to data information that can be expanded to generate a quantum key; The step of performing encrypted data interaction with the target terminal based on the first session quantum key, the second session quantum key, the first key element, and the second key element includes: Receiving first data sent by the vehicle-mounted communication terminal and encrypted using the first session quantum key; decrypting the first data based on the first key element; Generate second data based on the content of the first data, and encrypt the second data using the second session quantum key; The encrypted second data is returned to the vehicle-mounted communication terminal, so that the vehicle-mounted communication terminal decrypts the second data using the second key element to obtain data content of the second data.

7. The method according to claim 6, characterized in that The target terminal is a cloud server, and before returning the first device information of the target terminal to the in-vehicle communication terminal, the method further includes: Obtaining a second negotiated quantum key pre-imported into the target terminal by the quantum key service center; The second registration information of the target terminal is encrypted using the second negotiated quantum key, and the second registration information is sent to the quantum key service center for registration authentication at the quantum key service center.

8. A vehicle encryption communication device, characterized in that: A target terminal applied to a vehicle-mounted communication system, wherein the vehicle-mounted communication system further comprises a vehicle-mounted communication terminal and a quantum key service center, and the device comprises: A connection request sending module, used to send a connection request to the target terminal; A first device information receiving module, configured to receive first device information of the target terminal returned by the target terminal; a first negotiated key acquisition module, configured to acquire a first negotiated quantum key from a secure medium of the vehicle-mounted communication terminal, and encrypt the first device information and the second device information of the vehicle-mounted communication terminal using the first negotiated quantum key to obtain negotiated encrypted information; A negotiation encryption information sending module, used to send the negotiation encryption information to the quantum key service center to apply for a session quantum key on the vehicle communication terminal side; a quantum key receiving module, configured to receive a first session quantum key and a first key element generated by the quantum key service center based on the negotiated encryption information, and send the first key element to the target terminal, wherein the first key element is used by the target terminal to apply to the quantum key service center for a second session quantum key and a second key element on the target terminal side; A first interaction module, configured to interact with the target terminal for encrypted data based on the first session quantum key, the second session quantum key, the first key element, and the second key element; The first key element and the second key element refer to data information that can be expanded to generate a quantum key; The first interaction module is specifically used for: Sending first data encrypted by the first session quantum key to the target terminal; receiving second data returned by the target terminal based on the content of the first data after the target terminal decrypts the first data based on the first key element; the second data is data encrypted using the second session quantum key; The second data is decrypted using the second key element to obtain data content of the second data.

9. A vehicle encryption communication device, characterized in that: A target terminal applied to a vehicle-mounted communication system, wherein the vehicle-mounted communication system further comprises a vehicle-mounted communication terminal and a quantum key service center, wherein the target terminal is any one of a cloud server, a mobile terminal, an intelligent transportation facility, and a vehicle-mounted communication terminal, and wherein the device comprises: A first device information returning module, configured to return first device information of the target terminal to the vehicle-mounted communication terminal in response to a connection request of the vehicle-mounted communication terminal, wherein the first device information is used by the vehicle-mounted communication terminal to apply for a first session quantum key and a first key element from the quantum key service center; A key element receiving module, used to receive the first key element obtained by the vehicle-mounted communication terminal from the quantum key service center, and use the first key element to apply to the quantum key service center for a second session quantum key and a second key element on the target terminal side; A key element returning module, used for returning the second key element to the vehicle-mounted communication terminal; A second interaction module, configured to interact with the vehicle-mounted communication terminal for encrypted data based on the first session quantum key, the second session quantum key, the first key element, and the second key element; The first key element and the second key element refer to data information that can be expanded to generate a quantum key; The second interaction module is specifically used for: Receiving first data sent by the vehicle-mounted communication terminal and encrypted using the first session quantum key; decrypting the first data based on the first key element; Generate second data based on the content of the first data, and encrypt the second data using the second session quantum key; The encrypted second data is returned to the vehicle-mounted communication terminal, so that the vehicle-mounted communication terminal decrypts the second data using the second key element to obtain data content of the second data.

10. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the vehicle encryption communication method as described in any one of claims 1-7.

11. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the vehicle encryption communication method as described in any one of claims 1-7.