Intelligent vehicle key communication method based on quantum encryption and electronic equipment
Through the intelligent car key communication method based on quantum encryption, the vehicle control instructions are encrypted using quantum keys and high-dimensional lattice structures, the problem of insufficient security of existing car key technology is solved, and high-quality vehicle communication security and key uniqueness are achieved. reduces the risk of illegal copying and theft.
Patent Information
- Application Number
- CN202411137986.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-08-19
AI Technical Summary
The existing car key technology has shortcomings in terms of safety and is easy to be cracked and cannot meet modern security needs.
Using the intelligent car key communication method based on quantum encryption, quantum keys are generated and distributed through the quantum key management system, and encrypted instructions are generated using high-dimensional lattice structures and pseudo-random functions to realize the encryption and decryption of vehicle control instructions and ensure the security of communication. Sex and uniqueness.
It significantly improves the security of car key communication, prevents key copying and spoofing, realizes the "one password at a time" mechanism, reduces the risk of key cracking, and ensures the security of the vehicle and the privacy of the car owner.
Smart Images

Figure CN119052786A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a smart cockpit car key communication method and electronic equipment, and in particular to a smart car key communication method and electronic equipment based on quantum encryption. Background Art
[0002] The existing car key technical solutions are mainly as follows:
[0003] 1. Ordinary key: A traditional mechanical key that locks and unlocks the car door by switching the latch.
[0004] 2. Smart key: You need to approach the car to operate, and supports functions such as keyless start.
[0005] 3. Keyless technology: Unlock and start the car through mobile phone applications or identification technology (such as NFC), without the need to carry keys.
[0006] 4. Remote start system: remotely start the car engine through a mobile phone application or remote controller.
[0007] The above schemes are not very secure and can be easily cracked, leading to security problems. As the computing speed of modern computers develops rapidly, existing encryption schemes such as DES, AES and other algorithms may have unsafe factors, leading to various leaks. They can no longer meet people's requirements and are in urgent need of improvement. Summary of the invention
[0008] The purpose of the present invention is to provide a smart car key communication method and electronic device based on quantum encryption, which can improve the security of vehicle unlocking and unlocking based on quantum encryption communication.
[0009] The present invention provides the following scheme:
[0010] A smart car key communication method based on quantum encryption is applied to the communication interaction between the smart car key and the vehicle, comprising:
[0011] The smart car key is registered and authenticated in the cloud system, and paired and initialized with the vehicle controller. The smart car key downloads the quantum key from the quantum key management system through the quantum cryptography network. The smart car key uses the downloaded quantum key and quantum security algorithm to encrypt the vehicle control command to generate the corresponding encrypted command;
[0012] The quantum security algorithm further includes: constructing a high-dimensional lattice structure, defining basis vectors, using quantum keys to determine the transformation matrix in the encryption process, dynamically adjusting the value based on the quantum key and the random perturbation vector in the high-dimensional lattice structure, preprocessing the vehicle control instruction, mapping the vehicle control instruction to a vector form corresponding to the high-dimensional lattice structure, and applying a sequence generated by a pseudo-random function to expand the vehicle control instruction vector to generate a final encrypted instruction;
[0013] The encrypted instructions are sent to the vehicle controller through the Internet of Vehicles communication. After receiving the encrypted instructions, the vehicle controller downloads the corresponding quantum key from the quantum cryptography network, decrypts the encrypted instructions, obtains the decrypted instructions, and executes the corresponding operations through the decrypted instructions to control the car.
[0014] Furthermore, the smart car key uses the downloaded quantum key and quantum security algorithm to encrypt the car control command, further comprising:
[0015] The smart car key communicates with the quantum key management system QKMS through the quantum cryptography network to request and receive quantum keys, which are generated by QKMS using quantum key distribution QKD technology and quantum random number generator QRNG;
[0016] After receiving the quantum key, the smart car key combines it with the vehicle control command, uses a lattice-based encryption algorithm to encrypt the vehicle control command, and generates an encrypted command. After the encrypted command is generated, the smart car key sends the encrypted command to the vehicle controller through the Internet of Vehicles communication technology;
[0017] The on-board controller receives the encrypted command, decrypts the command using the same quantum key and quantum security algorithm as the smart car key, and performs the corresponding vehicle control operation;
[0018] Smart car keys and on-board controllers are based on a "one-time, one-pad" encryption mechanism, using different quantum keys during each communication process.
[0019] Furthermore, after receiving the quantum key, the smart car key combines it with the vehicle control command and uses a lattice-based encryption algorithm to encrypt the vehicle control command, further comprising:
[0020] Encoding the vehicle control instruction into a data structure suitable for a lattice-based encryption algorithm;
[0021] Encrypting the encoded vehicle control instruction, the encryption process includes translating, rotating or linearly transforming the instruction vector to generate an encrypted instruction corresponding to the vehicle control instruction;
[0022] After receiving the encrypted command, the on-board controller uses the quantum key pre-shared with the smart car key to execute a lattice-based decryption algorithm to restore the original vehicle control command;
[0023] The on-board controller parses the decrypted vehicle control instructions and executes corresponding vehicle control operations.
[0024] Furthermore, mapping the vehicle control instruction into a vector form corresponding to the high-dimensional lattice structure, and applying a sequence generated by a pseudo-random function to expand the vehicle control instruction vector to generate a final encrypted instruction further includes:
[0025] In the process of expanding the vehicle control instruction vector by using the sequence generated by the pseudo-random function, a multi-level encryption framework is introduced;
[0026] Encryption layers based on different lattice structures are arranged in the multi-level encryption framework, and each of the encryption layers is configured to use independent quantum keys and transformation matrices to achieve multi-layer encryption;
[0027] The final encryption instruction is generated, and the encryption instruction further includes: parameters of the transformation matrix, coordinates of the perturbation vector, and keys and parameters of each level in the multi-level encryption framework.
[0028] Furthermore, the encrypted instruction is sent to the vehicle controller through the vehicle networking communication, and after receiving the encrypted instruction, the vehicle controller downloads the corresponding quantum key from the quantum cryptography network, decrypts the encrypted instruction, obtains the decrypted instruction, and executes the corresponding operation to control the car through the decrypted instruction, further comprising:
[0029] Selecting an appropriate communication protocol between the vehicle controller and the smart car key to establish a communication connection with the vehicle controller;
[0030] After receiving the encrypted command, the on-board controller verifies the security of the communication connection to ensure that the command comes from a legitimate smart car key;
[0031] The vehicle controller parses the decrypted instructions, performs corresponding vehicle control operations and generates corresponding operation logs, and stores the operation logs in a secure storage unit. The vehicle control operations include: starting the engine and unlocking the doors;
[0032] A smart car key communication system based on quantum encryption, used to implement the smart car key communication method based on quantum encryption, comprising:
[0033] A quantum key generation module for a smart car key. The smart car key is registered and authenticated in a cloud system and paired and initialized with a vehicle controller. The smart car key downloads a quantum key from a quantum key management system through a quantum cryptography network. The smart car key uses the downloaded quantum key and a quantum security algorithm to encrypt a vehicle control command and generate a corresponding encrypted command.
[0034] A quantum security algorithm calculation module, wherein the quantum security algorithm further includes: constructing a high-dimensional lattice structure, defining a basis vector, using a quantum key to determine a transformation matrix in an encryption process, dynamically adjusting the value of the quantum key and a random perturbation vector in the high-dimensional lattice structure, preprocessing a vehicle control instruction, mapping the vehicle control instruction to a vector form corresponding to the high-dimensional lattice structure, and applying a sequence generated by a pseudo-random function to expand the vehicle control instruction vector to generate a final encrypted instruction;
[0035] The encrypted instruction decryption module sends the encrypted instruction to the vehicle controller through the Internet of Vehicles communication. After receiving the encrypted instruction, the vehicle controller downloads the corresponding quantum key from the quantum cryptography network, decrypts the encrypted instruction, obtains the decrypted instruction, and executes the corresponding operation through the decrypted instruction to control the car.
[0036] A smart car key, which establishes a communication connection with an on-board controller of a vehicle, and executes the smart car key communication method based on quantum encryption based on the smart car key communication system.
[0037] A smart cockpit is provided with a vehicle-mounted controller, and the vehicle-mounted controller establishes a communication connection with the smart car key.
[0038] An electronic device comprises: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the method described in any one of claims 1 to 5.
[0039] A computer-readable storage medium stores a computer program executable by an electronic device. When the computer program runs on the electronic device, the electronic device executes the steps of the method.
[0040] Compared with the prior art, the present invention has the following advantages:
[0041] The quantum encryption-based intelligent car key communication method provided by the present invention applies quantum encryption technology to the field of car keys, bringing a qualitative improvement to the security of vehicle communications. The communication between the car key and the controller is highly protected, and the generation of quantum keys is based on the basic principles of quantum mechanics, which enables any unauthorized monitoring or theft to be detected immediately, realizing the one-time use feature of the key, that is, "one-time one-key", ensuring that even if an attacker can intercept the communication, they cannot use these keys again in future communications, thereby greatly reducing the risk of the key being cracked.
[0042] The present invention applies quantum encryption technology to the key distribution mechanism, which fundamentally prevents illegal key copying. Due to the fragility of the quantum state, any attempt to measure or copy quantum information will lead to the collapse of the quantum state, making the copying behavior nowhere to hide, which not only protects the security of the key, but also ensures the uniqueness of the car key, making illegal copying impossible.
[0043] Through the entropy test and randomness of quantum bits in the process of quantum key distribution, the system can detect and reject any illegal authentication attempts. Even if the attacker manages to intercept the communication, he cannot deceive the system through forgery or replay attacks. This inherent characteristic of quantum encryption technology provides a high-level security protection layer for car keys, ensuring the safety of the vehicle and the privacy of the owner. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0045] Figure 1 It is a flow chart of the smart car key communication method based on quantum encryption.
[0046] Figure 1A It is a flow chart of the optimization technical solution of step S1.
[0047] Figure 1B It is a flow chart of the optimization technical solution of step S12.
[0048] Figure 1C It is a flow chart of the optimization technical solution of step S2.
[0049] Figure 1D It is a flow chart of the optimization technical solution of step S3.
[0050] Figure 2This is the architecture diagram of the smart car key communication system based on quantum encryption.
[0051] Figure 3 It is an architectural diagram of an implementation method of an embodiment of the present invention in a specific application scenario.
[0052] Figure 4 It is a workflow diagram of smart car keys in specific application scenarios.
[0053] Figure 5 It is a timing diagram of the cloud system managing the security status process of the vehicle controller.
[0054] Figure 6 It is a structural diagram of an electronic device. DETAILED DESCRIPTION
[0055] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. 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 creative work are within the scope of protection of the present invention.
[0056] like Figure 1 The smart car key communication method based on quantum encryption is applied to the communication interaction between the smart car key and the vehicle, including:
[0057] Step S1, the smart car key is registered and authenticated in the cloud system, and paired and initialized with the vehicle controller. The smart car key downloads the quantum key from the quantum key management system QKMS through the quantum cryptography network. The smart car key uses the downloaded quantum key and quantum security algorithm to encrypt the car control command and generate the corresponding encryption command. In step S1, the registration authentication includes the user's personal data, and the vehicle controller is used to communicate and interact with the smart car key.
[0058] Step S2, the quantum security algorithm further includes: constructing a high-dimensional lattice structure, defining basis vectors, using quantum keys to determine the transformation matrix in the encryption process, dynamically adjusting the value based on the quantum key and the random perturbation vector in the high-dimensional lattice structure, preprocessing the vehicle control instruction, mapping the vehicle control instruction to a vector form corresponding to the high-dimensional lattice structure, and applying a sequence generated by a pseudo-random function to expand the vehicle control instruction vector to generate a final encrypted instruction;
[0059] Step S3, sending the encrypted instruction to the vehicle controller through the Internet of Vehicles communication. After receiving the encrypted instruction, the vehicle controller downloads the corresponding quantum key from the quantum cryptography network, decrypts the encrypted instruction, obtains the decrypted instruction, and executes the corresponding operation through the decrypted instruction to control the car.
[0060] Steps S1 to S3 use quantum encryption technology to improve the security of communication between the smart car key and the vehicle controller. First, registration authentication and pairing initialization are performed. The smart car key is registered and authenticated in the cloud system and paired with the vehicle controller. Step S1 ensures the legitimacy of the smart car key and establishes a foundation for subsequent communication.
[0061] After establishing the communication channel, the smart car key downloads the quantum key from the quantum key management system (QKMS) through the quantum cryptography network, uses the key and quantum security algorithm to encrypt the vehicle control instructions, generates encrypted instructions, and uses the one-time use and high randomness of the quantum key to provide reliable security for communication.
[0062] The smart car key uses quantum security algorithms to perform calculations during the communication process, and uses high-dimensional lattice structures and dynamic transformation matrices based on quantum keys to perform complex encryption processing on vehicle control instructions. The increased complexity of encryption allows the security of communication to be maintained even in the face of quantum computing attacks. Finally, through vehicle networking communication technology (such as Bluetooth or Wi-Fi), the smart car key securely sends the encrypted instructions to the vehicle controller. After receiving the encrypted instructions, the vehicle controller downloads the corresponding quantum key and decrypts it, and executes the decrypted instructions to control the car.
[0063] Steps S1 to S4 achieve reliable communication security. Through the use of quantum keys, the security of the communication process is significantly improved, the communication content is protected from being stolen or tampered with, key duplication and deception can be prevented, and the unpredictability and one-time use characteristics of quantum keys are utilized to effectively prevent illegal duplication and deception of keys. Steps S1 to S4 utilize the complexity of high-dimensional encryption. The encryption algorithm based on the high-dimensional lattice structure increases the difficulty of cracking. Even for attackers with high computing power, it is difficult to crack within a reasonable time. The real-time and reliability of quantum communication are achieved, and the real-time transmission of instructions is ensured, providing a highly secure and difficult-to-crack communication mechanism for smart car keys, thereby significantly improving the security of car keys and reducing security risks.
[0064] like Figure 1A As shown, in the optimization technical solution of step S1, the smart car key uses the downloaded quantum key and quantum security algorithm to encrypt the car control command, further comprising:
[0065] Step S11, the smart car key communicates with the quantum key management system QKMS through the quantum cryptography network to request and receive a quantum key, where the quantum key is generated by the QKMS using quantum key distribution QKD technology and a quantum random number generator QRNG;
[0066] Step S12, after receiving the quantum key, the smart car key combines it with the vehicle control command, uses a lattice-based encryption algorithm to encrypt the vehicle control command, and generates an encrypted command. After the encrypted command is generated, the smart car key sends the encrypted command to the vehicle controller through the Internet of Vehicles communication technology;
[0067] Step S13, the vehicle controller receives the encrypted instruction, decrypts the instruction using the same quantum key and quantum security algorithm as the smart car key, and performs corresponding vehicle control operations;
[0068] In step S14, the smart car key and the vehicle controller use a different quantum key in each communication process based on a "one-time-one-pad" encryption mechanism.
[0069] Steps S11 to S14 implement secure communication between the smart car key and the vehicle controller through a quantum cryptographic network, using quantum key distribution (QKD) technology and quantum keys generated by a quantum random number generator (QRNG), combined with a lattice-based encryption algorithm, to ensure the security and integrity of vehicle control instructions during transmission.
[0070] The optimized technical solution provided in steps S11 to S14 realizes high-security key generation. The use of QKD technology and QRNG ensures the randomness and unpredictability of quantum keys, thereby improving the security of communication. Through end-to-end encrypted communication, the communication between the smart car key and the vehicle controller is encrypted by a lattice-based encryption algorithm, which can protect vehicle control instructions from being eavesdropped or tampered with even in a public network environment.
[0071] Smart car keys can dynamically update keys and adopt a "one-time, one-password" encryption mechanism. A different quantum key is used for each communication, which further enhances the security of communication. Even if the previous key is cracked, it will not affect the security of subsequent communications, realizing real-time vehicle control. The on-board controller can receive encrypted instructions in a timely manner, quickly decrypt and execute corresponding vehicle control operations, such as starting the engine, unlocking the door, etc., ensuring the real-time and reliability of vehicle control, preventing key copying and deception, and utilizing the non-replicability of quantum keys and the complexity of lattice-based encryption algorithms to effectively prevent illegal key copying and replay attacks, ensuring the authenticity and legality of vehicle control instructions.
[0072] The quantum encryption communication mechanism provided by steps S11 to S14 can adapt to different communication environments and requirements, providing a flexible and secure communication method for smart car keys. Through quantum cryptographic networks and lattice-based encryption algorithms, this technology realizes safe, reliable and real-time communication between smart car keys and on-board controllers, significantly improving the safety of vehicle control and user trust.
[0073] like Figure 1B As shown, preferably, further improvements can be made to step S12 to form a new optimization technical solution: Step S12, after receiving the quantum key, the smart car key combines it with the vehicle control command and uses a lattice-based encryption algorithm to encrypt the vehicle control command, further comprising:
[0074] Step S121, encoding the vehicle control instruction, encoding the vehicle control instruction into a data structure suitable for a lattice-based encryption algorithm; illustratively, the data structure may be a vector or a matrix;
[0075] Step S122, encrypting the encoded vehicle control instruction, the encryption process includes translating, rotating or linearly transforming the instruction vector to generate an encrypted instruction corresponding to the vehicle control instruction;
[0076] Step S123, after receiving the encrypted instruction, the onboard controller uses the quantum key pre-shared with the smart car key to execute a lattice-based decryption algorithm to restore the original vehicle control instruction;
[0077] In step S124, the vehicle controller parses the decrypted vehicle control instructions and performs corresponding vehicle control operations, including but not limited to: starting the engine, unlocking the door, etc., and records the operation log for security auditing and monitoring.
[0078] Steps S121 to S124 describe the encoding and encryption steps of quantum communication, ensuring the security and integrity of vehicle control instructions during transmission between the smart car key and the vehicle controller, while ensuring the traceability and monitorability of the operation.
[0079] In the optimization technical scheme of steps S121 to S124, the vehicle control instructions are encoded into a data structure (such as a vector or matrix) suitable for a lattice-based encryption algorithm, which provides the necessary format and structure for subsequent encryption processing. Through dynamic encryption processing means, the instruction vector is translated, rotated or linearly transformed, which increases the complexity of the encryption process and makes the encrypted instructions difficult to crack, ensuring the security of the quantum key. The on-board controller uses the quantum key shared with the smart car key to execute the decryption algorithm. The high security of the quantum key ensures that even if the encrypted instruction is intercepted, it cannot be decrypted by unauthorized parties.
[0080] The on-board controller can accurately restore the original vehicle control instructions, ensuring the integrity and authenticity of the instructions during transmission. After successful decryption, the on-board controller can promptly execute vehicle control Case No.: FAW041220-B-XCN1240522 10
[0081] Operations such as starting the engine and unlocking the doors ensure real-time response of vehicle control and improve resistance to quantum computing attacks: Lattice-based encryption algorithms have the potential to resist quantum computing attacks, providing future security for vehicle control instructions.
[0082] To summarize, the optimized technical solution of step S121 to step S124 realizes the secure transmission of vehicle control instructions and the safe and reliable execution of vehicle operations through precise encoding, dynamic encryption processing, the security of quantum keys, and decryption and operation execution of the on-board controller, while providing a security audit and monitoring mechanism to ensure the security and reliability of the entire system.
[0083] like Figure 1C As shown, further improvements can be made to part of step S2 to form the following optimization technical solution: the vehicle control instruction is mapped into a vector form corresponding to the high-dimensional lattice structure, and the vehicle control instruction vector is expanded by applying a sequence generated by a pseudo-random function to generate a final encrypted instruction, further comprising:
[0084] Step S21, in the process of applying the sequence generated by the pseudo-random function to expand the vehicle control instruction vector, a multi-level encryption framework is introduced;
[0085] Step S22, providing encryption layers based on different lattice structures in the multi-level encryption framework, wherein each encryption layer is configured to use an independent quantum key and transformation matrix to implement multi-layer encryption;
[0086] Step S23, generating a final encryption instruction, which further includes: parameters of the transformation matrix, coordinates of the perturbation vector, and keys and parameters of each level in the multi-level encryption framework.
[0087] The optimization technical scheme of step S21 to step S23 realizes multi-level encryption, application of high-dimensional lattice structure, sequence expansion of pseudo-random function, integration of parameters and keys, optimization of key management, etc. By setting multiple encryption layers based on different lattice structures in the encryption framework, each layer uses independent quantum keys and transformation matrices to achieve multi-level encryption. The design of the multi-level encryption framework allows the number and complexity of encryption layers to be adjusted according to different security requirements, providing system flexibility and scalability, and greatly increasing the difficulty of cracking; mapping vehicle control instructions to high-dimensional vectors, and performing complex mathematical transformations in high-dimensional space, such as translation, rotation or linear transformation, improves the complexity and security of encryption; using a sequence generated by a pseudo-random function to expand the instruction vector, increases the dimension of the vector and the randomness of encryption, making the encryption process more unpredictable; integrating the parameters of the transformation matrix, the coordinates of the perturbation vector, and the keys and parameters of each level in the final encryption instruction to ensure the integrity and consistency of the encryption process.
[0088] It can be seen that the optimization technical solution from step S21 to step S23 achieves deep protection of vehicle control instructions through a multi-level, lattice-based encryption method, ensuring the security and reliability of communication between the smart car key and the vehicle controller.
[0089] like Figure 1D As shown, step S3 can be further improved to form a new optimization technical solution: the encrypted instruction is sent to the vehicle controller through the Internet of Vehicles communication (such as Bluetooth function), and after the vehicle controller receives the encrypted instruction, it downloads the corresponding quantum key from the quantum cryptography network, decrypts the encrypted instruction, obtains the decrypted instruction, and executes the corresponding operation through the decrypted instruction to control the car, further including:
[0090] Step S31, selecting an appropriate communication protocol between the vehicle controller and the smart car key, and establishing a communication connection with the vehicle controller;
[0091] Step S32, after receiving the encrypted instruction, the vehicle controller verifies the security of the communication connection to ensure that the instruction comes from a legitimate smart car key;
[0092] In step S33, the vehicle controller parses the decrypted instruction, executes corresponding vehicle control operations and generates corresponding operation logs, and stores the operation logs in a secure storage unit. The vehicle control operations include: starting the engine and unlocking the door.
[0093] The optimized technical solution of step S31 to step S33 provides a method for ensuring a secure and reliable communication connection between the vehicle controller and the smart car key, realizing the secure reception, verification, decryption, execution and recording of vehicle control instructions. By selecting an appropriate communication protocol, a secure communication connection is established between the vehicle controller and the smart car key, providing a basis for subsequent instruction transmission. After receiving the encrypted instruction, the vehicle controller first verifies the security of the communication connection to ensure the legitimacy of the instruction source, prevents unauthorized access or instruction tampering, and ensures communication security; the vehicle controller decrypts the case number: FAW041220-B-XCN1240522 12
[0094] The on-board controller parses the instructions after the vehicle is driven and performs corresponding vehicle control operations, such as starting the engine and unlocking the doors, thereby achieving effective control of the vehicle. While performing vehicle control operations, the on-board controller generates corresponding operation logs and stores the logs in a secure storage unit, providing a basis for security auditing and monitoring.
[0095] The optimized technical solution of step S31 to step S33 enhances the reliability and traceability of the system by recording operation logs, so that each vehicle control operation can be recorded, which is convenient for subsequent analysis and problem location. From the establishment of communication connection to the reception, verification, decryption, and execution of instructions, and then to the recording of logs, a complete security control process is formed, which significantly improves the security of the system and provides user privacy protection and vehicle safety guarantee. By ensuring the security of communication and the traceability of operations, it effectively protects the privacy of users and the safety of vehicles and prevents potential security risks.
[0096] For the method steps disclosed in the above embodiments, the method steps are described as a series of action combinations for the purpose of simple description, but those skilled in the art should know that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0097] Any process or method description described in a flowchart or other manner may be understood as representing a module, fragment or portion of a code including one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations, in which the order shown or discussed may not be followed, including executing and implementing the functions in a substantially simultaneous manner or in a reverse order according to the functions involved, or executing computer instructions and implementing the corresponding functions according to program structures such as loops and branches, which can be naturally understood by those skilled in the art when implementing the embodiments of the present invention.
[0098] like Figure 2 The smart car key communication system based on quantum encryption is used to implement the smart car key communication method based on quantum encryption, including:
[0099] A quantum key generation module for a smart car key. The smart car key is registered and authenticated in a cloud system and paired and initialized with a vehicle controller. The smart car key downloads a quantum key from a quantum key management system through a quantum cryptography network. The smart car key uses the downloaded quantum key and a quantum security algorithm to encrypt a vehicle control command and generate a corresponding encrypted command.
[0100] A quantum security algorithm calculation module, wherein the quantum security algorithm further includes: constructing a high-dimensional lattice structure, defining a basis vector, using a quantum key to determine a transformation matrix in an encryption process, dynamically adjusting the value of the quantum key and a random perturbation vector in the high-dimensional lattice structure, preprocessing a vehicle control instruction, mapping the vehicle control instruction to a vector form corresponding to the high-dimensional lattice structure, and applying a sequence generated by a pseudo-random function to expand the vehicle control instruction vector to generate a final encrypted instruction;
[0101] The encrypted instruction decryption module sends the encrypted instruction to the vehicle controller through the Internet of Vehicles communication. After receiving the encrypted instruction, the vehicle controller downloads the corresponding quantum key from the quantum cryptography network, decrypts the encrypted instruction, obtains the decrypted instruction, and executes the corresponding operation through the decrypted instruction to control the car.
[0102] The implementation methods of the system described above are merely illustrative, for example, the various functional modules, units or subsystems in the system may or may not be physically separated, or may or may not be physical units, that is, they may be located in the same place, or they may be distributed to multiple different systems and their subsystems or modules. Those skilled in the art may select some or all of the functional modules, units or subsystems according to actual needs to achieve the purpose of the embodiments of the present invention, and those of ordinary skill in the art may understand and implement the above-mentioned situations without creative work.
[0103] like Figure 3 The architecture diagram of the implementation method of the embodiment of the present invention in a specific application scenario is shown in FIG.
[0104] Includes the following:
[0105] 1. Smart car key: download the key from the quantum network and send encrypted instructions to the vehicle controller via Bluetooth
[0106] 2. Quantum cryptography network: realizing the remote distribution of quantum keys
[0107] 3. Quantum Key Management System (QKMS): Ensure the secure distribution and management of quantum keys
[0108] 4. Cloud system: register smart car keys and vehicle controllers, record usage, and monitor smart car key status
[0109] 5. On-board controller: Download the key from the quantum key network, decrypt and process the control instructions issued by the smart car key
[0110] like Figure 4 The following is a workflow diagram of the smart car key in a specific application scenario. The implementation process is as follows:
[0111] Smart car keys / vehicle controllers need to be registered and authenticated in the cloud system, paired and initialized, and user personal data must be registered at the same time;
[0112] The quantum key management system (QKMS) distributes keys to smart car keys and vehicle controllers through a quantum key network. Smart car keys use keys and quantum security algorithms (Lattice-based Cryptography) to encrypt vehicle control commands, and then send encrypted commands through Bluetooth.
[0113] The Quantum Key Management System (QKMS) uses quantum key distribution (QKD) technology to generate, distribute and manage encryption keys to ensure the absolute security of the keys. QKMS combines the classical key management mechanism with the principles of quantum mechanics to provide users with a highly secure key management solution.
[0114] Quantum key generation: Quantum key distribution (QKD) uses the principles of quantum mechanics to generate and distribute keys. QKD protocols are used, including BB84 and E91. In the BB84 protocol, the sender (Alice) uses four different quantum states (two basis sets, each with two states) to send bits. The receiver (Bob) randomly selects a basis set for measurement and records the measurement results. Alice and Bob compare some basis set selection results through a classical communication channel, and the measurement results of the same basis set constitute the key.
[0115] Quantum Random Number Generator (QRNG): QRNG uses quantum physics phenomena to generate true random numbers for generating initial key materials. QRNG can be based on a variety of quantum phenomena, such as quantum decoherence, photon scattering, etc.
[0116] After receiving the encrypted command, the on-board controller downloads the key from the quantum cryptography network, decrypts the encrypted command, and then processes the command to realize the function of the smart car key controlling the car;
[0117] The password for encryption and decryption is new each time to implement "one-time one-password" to ensure data security.
[0118] Quantum Key Management System:
[0119] System components include:
[0120] QKD equipment: responsible for the generation and distribution of quantum keys.
[0121] Key Management Server (KMS): manages the storage, distribution, and lifecycle of keys.
[0122] Client module: Integrate the QKMS client module in the client device to handle key requests and updates.
[0123] The workflow can be briefly described as:
[0124] Key generation: Generate keys through QKD and use QRNG to generate true random numbers.
[0125] Key distribution: The key is distributed to both communicating parties through a quantum communication link and negotiated and synchronized through a classical channel.
[0126] Key storage: Securely store the generated keys in KMS and protect the keys using HSM.
[0127] Key request: The client device requests a key from the KMS, and the KMS distributes the key through a secure channel.
[0128] Key update: Update keys regularly or as needed to ensure key security and validity.
[0129] The above content builds a comprehensive quantum key management process to ensure that both parties in communication can securely generate, distribute, store and update keys at the quantum level: the keys generated by quantum key distribution QKD technology use the basic principles of quantum mechanics to ensure the security of the keys. Any unauthorized key acquisition behavior will be detected immediately. The random numbers generated by the quantum random number generator QRNG add additional uncertainty and complexity to the key generation process, further enhancing the security of the keys. The keys are distributed through quantum communication links to ensure the security of the keys during transmission. At the same time, they are negotiated and synchronized through classical channels to ensure that both parties in communication can accurately obtain and use the keys. In the process of secure key storage,
[0130] Case No.: FAW041220-B-XCN1240522 16
[0131] The generated keys are securely stored in the key management server KMS and protected by the hardware security module HSM to prevent key leakage or unauthorized access. Client devices can request keys from the KMS as needed. The KMS distributes keys through a secure channel to achieve on-demand allocation and use of keys. By updating keys regularly or on demand, the timeliness and effectiveness of the keys are ensured, reducing the risk of keys being cracked or reused.
[0132] Glossary of QKD, QRNG and KMS:
[0133] -QKD (Quantum Key Distribution): Quantum key distribution is a technology that uses the principles of quantum mechanics to securely generate and distribute keys.
[0134] -QRNG (Quantum Random Number Generator): A quantum random number generator is a device that generates true random numbers based on quantum physics phenomena and is commonly used in encryption and security protocols.
[0135] -KMS (Key Management Service): A service for key generation, distribution, storage, management, and update, usually including a hardware security module (HSM) to provide additional security protection.
[0136] like Figure 5 The cloud system management process of the vehicle controller security status shown includes the following steps:
[0137] 1. An illegal car key attempts to send commands to the vehicle controller;
[0138] 2. The on-board controller receives the command. If the decryption fails, the secret text will be sent to the cloud system via the Http protocol;
[0139] 3. When decrypting the command, if the decryption process fails, the vehicle controller will perform the following steps:
[0140] Record ciphertext: record the ciphertext that cannot be decrypted and related metadata (such as timestamp, ID of the vehicle controller, etc.).
[0141] Send ciphertext: This information is sent to the cloud system via the secure HTTP protocol. This transmission process may use HTTPS or other encrypted transmission protocols to ensure that the data is not stolen or tampered with during transmission.
[0142] 4. The cloud system will notify the user after receiving illegal secret texts. The user can set up security policies in the cloud system in advance (when receiving illegal commands multiple times, the car will be locked directly through the cloud)
[0143] Case No.: FAW041220-B-XCN1240522 17
[0144] like Figure 6 As shown, the present invention not only provides a smart car key communication method and system based on quantum encryption, but also provides a corresponding smart cockpit, smart car key, electronic device and storage medium:
[0145] A smart car key, which establishes a communication connection with an on-board controller of a vehicle, and executes the smart car key communication method based on quantum encryption based on the smart car key communication system.
[0146] A smart cockpit is provided with a vehicle-mounted controller, and the vehicle-mounted controller establishes a communication connection with the smart car key.
[0147] An electronic device comprises: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the method.
[0148] A computer-readable storage medium stores a computer program executable by an electronic device. When the computer program runs on the electronic device, the electronic device executes the steps of the method.
[0149] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, Figure 6 A block diagram of an exemplary electronic device suitable for implementing an exemplary embodiment of the present invention is shown. Figure 6 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present invention. The electronic device can typically be a device in an electronic product based on the intelligent car key communication method based on quantum encryption in the above embodiments.
[0150] like Figure 6 As shown, the electronic device 500 is in the form of a general purpose computing device. The components of the electronic device 500 may include, but are not limited to: one or more processing units or processors 516, memory 528, and a bus 518 that connects various system components (including the memory 528 and the processor 516). The bus 518 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or any bus using a variety of bus structures. Case number: FAW041220-B-XCN1240522 18
[0151] The electronic device 500 may include a computer system readable medium in the form of a local bus of a structure. For example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus. The electronic device 500 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 500, including volatile and non-volatile media, removable and non-removable media. The memory 528 may include a computer system readable medium in the form of a volatile memory, such as a random access memory (RAM) 530 and / or a cache memory 532. The electronic device 500 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 534 may be used to read and write non-removable, non-volatile magnetic media (not shown in the figure, commonly referred to as a "hard drive"). Although not shown in the figure, the storage system 534 can provide a disk drive for reading and writing to a removable non-volatile disk (e.g., a floppy disk, a removable hard disk, a hot-swappable storage medium), and an optical drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media). In these cases, each drive can be connected to the bus 518 via one or more data medium interfaces. The memory 528 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of each embodiment of the present invention. A program / utility 540 having a set (at least one) of program modules 542 can be stored in, for example, the memory 528, such program modules 542 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include the implementation of a network environment. The program module 542 generally performs the functions and / or methods in the embodiments described in the embodiments of the present invention. The electronic device 500 may also communicate with one or more external devices 514 (e.g., keyboard, pointing device, display 524, etc.), one or more devices that enable a user to interact with the electronic device 500, and / or any device that enables the electronic device 500 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 522. Furthermore, the electronic device 500 may also communicate with one or more networks (e.g., a network adapter 520) through a network adapter 520.
[0152] The processor 516 may communicate with other modules of the electronic device 500 through a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet. The network adapter 520 communicates with other modules of the electronic device 500 through the bus 518. It should be understood that although not shown in the figure, those skilled in the art may use other hardware and / or software modules in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems. The processor 516 executes various functional applications and data processing by running programs stored in the memory 528, such as implementing the methods provided by any one or more embodiments of the present invention.
[0153] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0154] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, any one of the embodiments claimed in the claims can be used in any combination in the embodiments of the present invention.
[0155] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0156] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0157] All features disclosed in this specification, or steps in all methods or processes disclosed, except mutually exclusive features and / or steps, can be combined in any way. Any feature disclosed in this specification, unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features. Throughout the specification, the same reference numerals indicate the same elements.
[0158] Those skilled in the art will appreciate that the modules in the devices in the embodiments can be adaptively changed and set in one or more devices different from the embodiments. The modules or units or components in the embodiments can be combined into one module or unit or component, and in addition they can be divided into multiple submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including corresponding claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner can be combined in any combination. Unless otherwise explicitly stated, each feature disclosed in this specification (including corresponding claims, abstracts and drawings) can be replaced by an alternative feature that provides the same, equivalent or similar purpose.
[0159] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A smart car key communication method based on quantum encryption, applied to the communication interaction between the smart car key and the vehicle, characterized in that: include: The smart car key is registered and authenticated in the cloud system, and paired and initialized with the vehicle controller. The smart car key downloads the quantum key from the quantum key management system through the quantum cryptography network. The smart car key uses the downloaded quantum key and quantum security algorithm to encrypt the vehicle control command to generate the corresponding encrypted command; The quantum security algorithm further includes: constructing a high-dimensional lattice structure, defining basis vectors, using quantum keys to determine the transformation matrix in the encryption process, dynamically adjusting the value based on the quantum key and the random perturbation vector in the high-dimensional lattice structure, preprocessing the vehicle control instruction, mapping the vehicle control instruction to a vector form corresponding to the high-dimensional lattice structure, and applying a sequence generated by a pseudo-random function to expand the vehicle control instruction vector to generate a final encrypted instruction; The encrypted instructions are sent to the vehicle controller through the Internet of Vehicles communication. After receiving the encrypted instructions, the vehicle controller downloads the corresponding quantum key from the quantum cryptography network, decrypts the encrypted instructions, obtains the decrypted instructions, and executes the corresponding operations through the decrypted instructions to control the car.
2. The intelligent car key communication method based on quantum encryption according to claim 1 is characterized in that: The smart car key uses the downloaded quantum key and quantum security algorithm to encrypt the car control command, further comprising: The smart car key communicates with the quantum key management system QKMS through the quantum cryptography network to request and receive quantum keys, which are generated by QKMS using quantum key distribution QKD technology and quantum random number generator QRNG; After receiving the quantum key, the smart car key combines it with the vehicle control command, uses a lattice-based encryption algorithm to encrypt the vehicle control command, and generates an encrypted command. After the encrypted command is generated, the smart car key sends the encrypted command to the vehicle controller through the Internet of Vehicles communication technology; The on-board controller receives the encrypted command, decrypts the command using the same quantum key and quantum security algorithm as the smart car key, and performs the corresponding vehicle control operation; Smart car keys and on-board controllers are based on a "one-time, one-pad" encryption mechanism, using different quantum keys during each communication process.
3. The intelligent car key communication method based on quantum encryption according to claim 2 is characterized in that: After receiving the quantum key, the smart car key combines it with the vehicle control command and encrypts the vehicle control command using a lattice-based encryption algorithm, further comprising: Encoding the vehicle control instruction into a data structure suitable for a lattice-based encryption algorithm; Encrypting the encoded vehicle control instruction, the encryption process includes translating, rotating or linearly transforming the instruction vector to generate an encrypted instruction corresponding to the vehicle control instruction; After receiving the encrypted command, the on-board controller uses the quantum key pre-shared with the smart car key to execute a lattice-based decryption algorithm to restore the original vehicle control command; The on-board controller parses the decrypted vehicle control instructions and executes corresponding vehicle control operations.
4. The intelligent car key communication method based on quantum encryption according to claim 1 is characterized in that: The mapping of the vehicle control instruction into a vector form corresponding to the high-dimensional lattice structure and applying a sequence generated by a pseudo-random function to expand the vehicle control instruction vector to generate a final encrypted instruction further includes: In the process of expanding the vehicle control instruction vector by using the sequence generated by the pseudo-random function, a multi-level encryption framework is introduced; Encryption layers based on different lattice structures are arranged in the multi-level encryption framework, and each of the encryption layers is configured to use independent quantum keys and transformation matrices to achieve multi-layer encryption; The final encryption instruction is generated, and the encryption instruction further includes: parameters of the transformation matrix, coordinates of the perturbation vector, and keys and parameters of each level in the multi-level encryption framework.
5. The intelligent car key communication method based on quantum encryption according to claim 1 is characterized in that: The encrypted instruction is sent to the vehicle controller through the vehicle network communication. After receiving the encrypted instruction, the vehicle controller downloads the corresponding quantum key from the quantum cryptography network, decrypts the encrypted instruction, obtains the decrypted instruction, and executes the corresponding operation to control the car through the decrypted instruction, further comprising: Selecting an appropriate communication protocol between the vehicle controller and the smart car key to establish a communication connection with the vehicle controller; After receiving the encrypted command, the on-board controller verifies the security of the communication connection to ensure that the command comes from a legitimate smart car key; The vehicle controller parses the decrypted instructions, executes corresponding vehicle control operations and generates corresponding operation logs, and stores the operation logs in a secure storage unit. The vehicle control operations include: starting the engine and unlocking the doors.
6. A smart car key communication system based on quantum encryption, used to implement the smart car key communication method based on quantum encryption as claimed in any one of claims 1 to 5, characterized in that: include: A quantum key generation module for a smart car key. The smart car key is registered and authenticated in a cloud system and paired and initialized with a vehicle controller. The smart car key downloads a quantum key from a quantum key management system through a quantum cryptography network. The smart car key uses the downloaded quantum key and a quantum security algorithm to encrypt a vehicle control command and generate a corresponding encrypted command. A quantum security algorithm calculation module, wherein the quantum security algorithm further includes: constructing a high-dimensional lattice structure, defining a basis vector, using a quantum key to determine a transformation matrix in an encryption process, dynamically adjusting the value of the quantum key and a random perturbation vector in the high-dimensional lattice structure, preprocessing a vehicle control instruction, mapping the vehicle control instruction to a vector form corresponding to the high-dimensional lattice structure, and applying a sequence generated by a pseudo-random function to expand the vehicle control instruction vector to generate a final encrypted instruction; The encrypted instruction decryption module sends the encrypted instruction to the vehicle controller through the Internet of Vehicles communication. After receiving the encrypted instruction, the vehicle controller downloads the corresponding quantum key from the quantum cryptography network, decrypts the encrypted instruction, obtains the decrypted instruction, and executes the corresponding operation through the decrypted instruction to control the car.
7. A smart car key, characterized in that: The intelligent car key establishes a communication connection with the vehicle's on-board controller, and based on the quantum encryption-based intelligent car key communication system described in claim 6, executes the quantum encryption-based intelligent car key communication method described in any one of claims 1 to 5.
8. A smart cockpit, characterized in that: The smart cockpit is provided with an on-board controller, and the on-board controller establishes a communication connection with the smart car key described in claim 7.
9. An electronic device, characterized in that: include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the method described in any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that: It stores a computer program executable by an electronic device, and when the computer program runs on the electronic device, the electronic device executes the steps of the method described in any one of claims 1 to 5.
Citation Information
Patent Citations
Internet of vehicles system based on quantum encryption and vehicle-mounted terminal
CN115190154A
Automobile key data interaction method and device
CN117315826A
Digital key security management system based on quantum encryption technology
CN117640086A
Anti -theft system is encrypted to PKE car based on quantum key card
CN206551993U
