Intelligent car key communication method and electronic device based on quantum encryption
By generating and managing quantum keys through quantum encryption technology and using high-dimensional lattice structures and pseudo-random functions to encrypt vehicle control instructions, the problem of insufficient security of existing car keys is solved and highly secure vehicle communications are achieved.
Patent Information
- Application Number
- CN202411137986.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2044-08-19
AI Technical Summary
Existing car key technology solutions have security deficiencies, are easily cracked, and cannot meet the challenges of modern computer computing speeds, leading to security issues.
A smart car key communication method based on quantum encryption is adopted. Quantum keys are generated and managed through a quantum cryptography network. High-dimensional lattice structures and pseudo-random functions are used for encryption processing to achieve encryption and decryption of vehicle control instructions, ensuring the security and uniqueness of communication.
It improves the security of vehicle communications, prevents keys from being cracked and copied, ensures the uniqueness of car keys and the unpredictability of communications, reduces the risk of illegal copying and theft, and provides a high level of security protection.
Smart Images

Figure CN119052786B_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: requires proximity to the car to operate, 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 rapidly develops, 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 improves the security of vehicle unlocking and unlocking based on quantum encryption communication.
[0009] The present invention provides the following solutions:
[0010] A quantum cryptography-based smart car key communication method, applied to the communication interaction between the smart car key and the vehicle, includes:
[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-safe algorithm further includes: constructing a high-dimensional lattice structure, defining basis vectors, determining a transformation matrix in an encryption process using a quantum key, dynamically adjusting a value based on the quantum key and a random perturbation vector in the high-dimensional lattice structure, preprocessing a vehicle control instruction, mapping the vehicle control instruction into a vector form corresponding to the high-dimensional lattice structure, and expanding the vehicle control instruction vector using a sequence generated by a pseudo-random function to generate a final encrypted instruction;
[0013] The encrypted instruction is sent 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 according to the decrypted instruction 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 and uses a lattice-based encryption algorithm to encrypt the vehicle control command to generate an encrypted command. After the encrypted command is generated, the smart car key sends the encrypted command to the vehicle controller through the vehicle network communication technology;
[0017] The onboard controller receives the encrypted command, decrypts it 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 encrypts the vehicle control command using a lattice-based encryption algorithm, further comprising:
[0020] Encoding the vehicle control instructions into a data structure suitable for a lattice-based encryption algorithm;
[0021] Encrypting the encoded vehicle control instruction, wherein 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 using a sequence generated by a pseudo-random function, a multi-level encryption framework is introduced;
[0026] Encryption layers based on different lattice structures are provided in the multi-level encryption framework, and each encryption layer is configured to use an independent quantum key and transformation matrix to implement 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 network communication. After receiving the encrypted instruction, the vehicle controller downloads the corresponding quantum key from the quantum cryptography network, decrypts the encrypted instruction to obtain a decrypted instruction, and executes a corresponding operation to control the vehicle according to 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 onboard 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 smart car keys. The smart car keys are registered and authenticated in the cloud system and paired and initialized with the vehicle controller. The smart car keys download quantum keys from the quantum key management system via a quantum cryptography network. The smart car keys use the downloaded quantum keys and quantum security algorithms to encrypt vehicle control commands and generate corresponding encrypted commands.
[0034] A quantum-safe algorithm calculation module, wherein the quantum-safe algorithm further includes: constructing a high-dimensional lattice structure, defining basis vectors, determining a transformation matrix in an encryption process using a quantum key, dynamically adjusting a value based on the quantum key and a random perturbation vector in the high-dimensional lattice structure, preprocessing a vehicle control instruction, mapping the vehicle control instruction into a vector form corresponding to the high-dimensional lattice structure, and expanding the vehicle control instruction vector using a sequence generated by a pseudo-random function to generate a final encrypted instruction;
[0035] The encrypted instruction decryption module sends the encrypted instruction to the on-board controller through the Internet of Vehicles communication. After receiving the encrypted instruction, the on-board controller downloads the corresponding quantum key from the quantum cryptography network, decrypts the encrypted instruction, obtains the decrypted instruction, and executes the corresponding operation according to the decrypted instruction to control the car.
[0036] A smart car key 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 an on-board controller, which establishes a communication connection with the smart car key.
[0038] An electronic device comprising: 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; the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to 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 intelligent car key communication method based on quantum encryption provided by the application applies quantum encryption technology in the field of car keys, which brings qualitative improvement to the security of vehicle communication. The communication between the car key and the controller is well protected, and the generation of quantum keys is based on the basic principles of quantum mechanics, which makes any unauthorized monitoring or stealing behavior immediately detected, realizes the one-time use feature of the key, that is, "one-time pad", and ensures that even if the attacker can intercept the communication, the keys cannot be used again in future communication, thereby greatly reducing the risk of key cracking.
[0042] The application applies quantum encryption technology to the key distribution mechanism, which fundamentally prevents illegal copying of the key. Due to the vulnerability of quantum states, any attempt to measure or copy quantum information will cause the collapse of quantum states, making the copying behavior impossible to escape, not only protecting the security of the key, but also ensuring the uniqueness of the car key, making illegal copying impossible.
[0043] Through the entropy test and randomness of quantum bits in the quantum key distribution process, the system can detect and reject any attempt of illegal authentication, even if the attacker manages to intercept the communication, it is impossible to deceive the system through forgery or replay attacks. This inherent feature of quantum encryption technology provides a high-level security protection layer for the car key, ensuring the security of the vehicle and the privacy of the owner. BRIEF DESCRIPTION OF DRAWINGS
[0044] In order to more clearly illustrate the specific embodiments of the application or the technical solutions in the prior art, the drawings needed in the specific embodiments or prior art description will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the application, and those skilled in the art can also obtain other drawings according to these drawings without creative labor.
[0045] Figure 1 It is a flowchart of the intelligent car key communication method based on quantum encryption.
[0046] Figure 1A It is a flowchart of the optimization technical solution of step S1.
[0047] Figure 1B It is a flowchart of the optimization technical solution of step S12.
[0048] Figure 1C It is a flowchart of the optimization technical solution of step S2.
[0049] Figure 1D It is a flowchart 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 This is an architectural diagram of an implementation 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 This is a timing diagram of the cloud system managing the security status 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 clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0056] like Figure 1 The quantum encryption-based smart car key communication method shown is applied to the communication interaction between the smart car key and the vehicle, including:
[0057] In 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 vehicle control instructions to generate corresponding encrypted instructions. 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 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;
[0059] Step S3: Send 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 according to the decrypted instruction to control the car.
[0060] Steps S1 through S3 utilize quantum cryptography to enhance the security of communication between the smart key and the vehicle controller. First, registration, authentication, and pairing are initiated. The smart key is registered and authenticated in the cloud system and paired with the vehicle controller. Step S1 ensures the legitimacy of the smart key and establishes the 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] During communication, the smart car key utilizes quantum-safe algorithms for computation, employing a high-dimensional lattice structure and a dynamic transformation matrix based on quantum keys to perform complex encryption on vehicle control commands. This increased encryption complexity ensures communication security even in the face of quantum computing attacks. Finally, the smart car key securely transmits the encrypted commands to the vehicle controller via connected vehicle communication technologies (such as Bluetooth or Wi-Fi). Upon receiving the encrypted commands, the controller downloads the corresponding quantum key, decrypts them, and executes the decrypted commands to control the vehicle.
[0063] Steps S1 to S4 achieve reliable communication security. The use of quantum keys significantly improves the security of the communication process, protects the communication content from being stolen or tampered with, and prevents key duplication and deception. The unpredictability and one-time use characteristics of quantum keys effectively prevent illegal key duplication and deception. Steps S1 to S4 utilize the complexity of high-dimensional encryption. The encryption algorithm based on a 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. This achieves the real-time and reliability of quantum communication and ensures the real-time transmission of instructions. This provides a highly secure and difficult-to-crack communication mechanism for smart car keys, significantly improving the security of car keys and reducing security risks.
[0064] like Figure 1A As shown, in the optimized 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 a quantum cryptography network to request and receive a quantum key. 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 and encrypts the vehicle control command using a lattice-based encryption algorithm to generate an encrypted command. After the encrypted command is generated, the smart car key sends the encrypted command to the vehicle controller via 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 the corresponding vehicle control operation;
[0068] In step S14, the smart car key and the vehicle controller use a different quantum key in each communication process based on the "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 cryptography 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 on-board 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-pad" encryption mechanism. A different quantum key is used for each communication, further enhancing 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 needs, providing a flexible and secure communication method for smart car keys. Through quantum cryptography 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, step S12 can be further improved to form a new optimization technical solution: Step S12, after the smart car key receives the quantum key, it combines it with the vehicle control instruction and uses a lattice-based encryption algorithm to encrypt the vehicle control instruction, 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, wherein the encryption process includes performing translation, rotation, or linear transformation on the instruction vector to generate an encrypted instruction corresponding to the vehicle control instruction;
[0076] Step S123: After receiving the encrypted command, 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 command;
[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 doors, etc., and records the operation log for security auditing and monitoring.
[0078] Steps S121 to S124 illustrate 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 on-board controller, while ensuring the traceability and monitorability of operations.
[0079] In the optimized technical solution 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, the instruction vector is translated, rotated, or linearly transformed, which increases the complexity of the encryption process, making the encrypted instructions difficult to crack and 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 onboard controller can accurately restore the original vehicle control instructions, ensuring the integrity and authenticity of the instructions during transmission. After successful decryption, the onboard 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] In summary, the optimized technical solution of steps S121 to S124 achieves the secure transmission of vehicle control instructions and the safe and reliable execution of vehicle operations through precise encoding, dynamic encryption processing, quantum key security, and decryption and operation execution of the on-board controller. It also provides a security audit and monitoring mechanism to ensure the security and reliability of the entire system.
[0083] like Figure 1C As shown, part of step S2 can be further improved 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, introducing a multi-level encryption framework in the process of expanding the vehicle control instruction vector using a sequence generated by a pseudo-random function;
[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: Generate 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 technology scheme from step S21 to step S23 implements multi-level encryption, the application of high-dimensional lattice structures, the sequence expansion of pseudo-random functions, the integration of parameters and keys, the optimization of key management, etc. By setting multiple encryption layers based on different lattice structures in the encryption framework, each layer uses an independent quantum key and transformation matrix, multi-layer encryption is achieved. 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. The vehicle control instructions are mapped into high-dimensional vectors and complex mathematical transformations such as translation, rotation, or linear transformation are performed in high-dimensional space, which improves the complexity and security of encryption. The instruction vector is expanded using a sequence generated by a pseudo-random function, which increases the dimension of the vector and the randomness of the encryption, making the encryption process more difficult to predict. The parameters of the transformation matrix, the coordinates of the perturbation vector, and the keys and parameters of each layer are integrated into the final encryption instruction to ensure the integrity and consistency of the encryption process.
[0088] It can be seen that the optimized technical solution of steps S21 to 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 vehicle network communication (such as Bluetooth function). 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 according to the decrypted instruction, 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 command, the vehicle controller verifies the security of the communication connection to ensure that the command comes from a legitimate smart car key;
[0092] In step S33, the vehicle controller parses the decrypted instruction, 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.
[0093] The optimized technical solution of steps S31 to 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 instruction. Case No.: FAW041220-B-XCN1240522 12
[0094] The vehicle controller parses the instructions after the vehicle is detected 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 steps S31 to 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, execution of instructions, and then to log recording, a complete security control process is formed, which significantly improves the security of the system and provides user privacy protection and vehicle safety assurance. 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, for the purpose of simple description, the method steps are expressed as a series of action combinations. However, those skilled in the art should be aware 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, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware 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 can be understood as: a module, fragment or part of a code that includes one or more executable instructions for implementing a specific logical function or process step, and the scope of the preferred embodiment 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 naturally be understood by those skilled in the art when implementing the embodiments of the present invention.
[0098] like Figure 2 The quantum encryption-based smart car key communication system shown is used to implement the quantum encryption-based smart car key communication method, including:
[0099] A quantum key generation module for smart car keys. The smart car keys are registered and authenticated in the cloud system and paired and initialized with the vehicle controller. The smart car keys download quantum keys from the quantum key management system via a quantum cryptography network. The smart car keys use the downloaded quantum keys and quantum security algorithms to encrypt vehicle control commands and generate corresponding encrypted commands.
[0100] A quantum-safe algorithm calculation module, wherein the quantum-safe algorithm further includes: constructing a high-dimensional lattice structure, defining basis vectors, determining a transformation matrix in an encryption process using a quantum key, dynamically adjusting a value based on the quantum key and a random perturbation vector in the high-dimensional lattice structure, preprocessing a vehicle control instruction, mapping the vehicle control instruction into a vector form corresponding to the high-dimensional lattice structure, and expanding the vehicle control instruction vector using a sequence generated by a pseudo-random function to generate a final encrypted instruction;
[0101] The encrypted instruction decryption module sends the encrypted instruction to the on-board controller through the Internet of Vehicles communication. After receiving the encrypted instruction, the on-board controller downloads the corresponding quantum key from the quantum cryptography network, decrypts the encrypted instruction, obtains the decrypted instruction, and executes the corresponding operation according to the decrypted instruction to control the car.
[0102] The above-described system implementations are merely illustrative. For example, the various functional modules, units, or subsystems in the system may or may not be physically separate, or may or may not be physical units. They may be located in the same location or distributed across 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 to achieve the objectives of the embodiments of the present invention based on actual needs. In these cases, those of ordinary skill in the art can understand and implement them without inventive effort.
[0103] like Figure 3 The architecture diagram of the embodiment of the present invention in a specific application scenario is shown.
[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): Ensures the secure distribution and management of quantum keys
[0108] 4. Cloud System: Implements smart key registration and records usage, monitors the status of the smart key
[0109] 5. Vehicle Controller: Downloads keys from the quantum key network, decrypts and processes control instructions from the smart key
[0110] As Figure 4 shown is the workflow diagram of the smart key in specific application scenarios, the implementation process is as follows:
[0111] Smart key / vehicle controller needs to be registered and authenticated in the cloud system, and paired and initialized, and the user's personal data is also registered;
[0112] Quantum Key Management System (QKMS) distributes keys to smart keys and vehicle controllers through quantum key network, and smart keys use keys and quantum security algorithms (lattice-based encryption algorithm) to encrypt car control instructions, and then send encrypted instructions through Bluetooth function;
[0113] 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 classical key management mechanisms and quantum mechanics principles to provide users with highly secure key management solutions.
[0114] Quantum Key Generation: Quantum Key Distribution (QKD) uses quantum mechanics principles to generate and distribute keys. QKD protocols, including BB84 and E91, are used. In the BB84 protocol, the sender (Alice) uses four different quantum states (two base groups, each with two states) to send bits. The receiver (Bob) randomly selects the base group to measure and records the measurement results. Alice and Bob compare some base group selection results through a classical communication channel, and the measurement results of the same base group constitute the key.
[0115] Quantum Random Number Generator (QRNG): QRNG uses quantum physics phenomena to generate true random numbers for generating initial key material. QRNG can be based on various quantum phenomena, such as quantum decoherence, photon scattering, etc.
[0116] After receiving the encrypted instructions, the vehicle controller downloads the keys from the quantum cryptography network, decrypts the encrypted instructions, and then processes the instructions to implement the function of the smart key controlling the car;
[0117] The password for each encryption and decryption is new, implementing "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 them with 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 communicating parties 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, and 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, negotiation and synchronization through classical channels ensure that both communicating parties 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, realizing on-demand allocation and use of keys. By updating keys regularly or on demand, the timeliness and validity of the keys are ensured, reducing the risk of keys being cracked or reused.
[0132] Explanation of terms for QKD, QRNG, and KMS:
[0133] -QKD (Quantum Key Distribution): Quantum key distribution, 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 generating, distributing, storing, managing, and updating keys, typically including a hardware security module (HSM) to provide additional security protection.
[0136] like Figure 5 The cloud system management process for 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 decryption fails, it will send the secret text 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 encrypted data: This information is sent to the cloud system via secure HTTP protocol. This transmission process may use HTTPS or other encrypted transmission protocols to ensure that the data cannot be stolen or tampered with during transmission.
[0142] 4. The cloud system will notify the user when it receives an illegal secret message. The user can set up security policies in the cloud system in advance (if illegal commands are received 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 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 an on-board controller, which 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; the memory stores a computer program, 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 is provided. Figure 6 A block diagram is shown of an exemplary electronic device suitable for implementing exemplary embodiments of the present invention. Figure 6 The electronic device shown is merely an example and should not limit the functionality and scope of use of the embodiments of the present invention. The electronic device may typically be a device in an electronic product based on the quantum encryption-based smart car key communication method described in the above embodiments.
[0150] like Figure 6 As shown, electronic device 500 is implemented as a general-purpose computing device. Components of 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 memory 528 and processor 516). Bus 518 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or any bus that utilizes a variety of bus architectures. Case No.: FAW041220-B-XCN1240522 18
[0151] 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 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 530 and / or cache memory 532. The electronic device 500 can further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 534 can 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) program module that is configured to perform the functions of each embodiment of the present invention. A program / utility 540 having a set (e.g., at least one) program module 542 can be stored in, for example, the memory 528. Such program modules 542 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each of these examples or some combination may include the implementation of a network environment. The program module 542 generally performs the functions and / or methods of 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., a keyboard, a pointing device, a display 524, etc.), one or more devices that allow a user to interact with the electronic device 500, and / or any device that allows the electronic device 500 to communicate with one or more other computing devices (e.g., a network card, a 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 executes programs stored in the memory 528 to execute various functional applications and data processing, such as implementing the methods provided by any one or more embodiments of the present invention.
[0153] The technical features of the above embodiments can 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] Furthermore, those skilled in the art will appreciate that although some embodiments described herein include certain features that are included in other embodiments but not other features, combinations of features from different embodiments are intended to be within the scope of the present invention and to form different embodiments. For example, any one of the embodiments claimed in the claims may be used in any combination in the embodiments of the present invention.
[0155] Throughout this specification, references to terms such as "one embodiment," "example," or "specific example" indicate that the specific features, structures, materials, or characteristics described in conjunction with that embodiment or example are included in at least one embodiment or example of the present invention. In this specification, schematic representations of these terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[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 this field can implement it. When the combination of technical solutions is mutually contradictory or cannot be implemented, it should be deemed that such a 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 for mutually exclusive features and / or steps, may be combined in any manner. Any feature disclosed in this specification, unless otherwise stated, may be replaced by an alternative feature that is equivalent or serves a similar purpose. That is, unless otherwise stated, each feature is merely an example of a set of equivalent or similar features. Throughout this specification, like reference numerals indicate like 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 expressly stated, each feature disclosed in this specification (including corresponding claims, abstracts and drawings) can be replaced by an alternative feature providing 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 above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above 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-safe algorithm further includes: constructing a high-dimensional lattice structure, defining basis vectors, determining a transformation matrix in an encryption process using a quantum key, dynamically adjusting a value based on the quantum key and a random perturbation vector in the high-dimensional lattice structure, preprocessing a vehicle control instruction, mapping the vehicle control instruction into a vector form corresponding to the high-dimensional lattice structure, and expanding the vehicle control instruction vector using a sequence generated by a pseudo-random function to generate a final encrypted instruction; The encrypted instruction is sent 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 according to the decrypted instruction to control the car.
2. The intelligent car key communication method based on quantum encryption according to claim 1, 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 and uses a lattice-based encryption algorithm to encrypt the vehicle control command to generate an encrypted command. After the encrypted command is generated, the smart car key sends the encrypted command to the vehicle controller through the vehicle network communication technology; The onboard controller receives the encrypted command, decrypts it 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, 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 instructions into a data structure suitable for a lattice-based encryption algorithm; Encrypting the encoded vehicle control instruction, wherein 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, characterized in that: 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: In the process of expanding the vehicle control instruction vector using a sequence generated by a pseudo-random function, a multi-level encryption framework is introduced; Encryption layers based on different lattice structures are provided in the multi-level encryption framework, and each encryption layer is configured to use an independent quantum key and transformation matrix to implement 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, 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 to obtain a decrypted instruction, and executes a corresponding operation to control the vehicle according to 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 onboard 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, 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.
6. A smart car key communication system based on quantum encryption, used to implement the smart car key communication method based on quantum encryption according to any one of claims 1 to 5, characterized in that: include: A quantum key generation module for smart car keys. The smart car keys are registered and authenticated in the cloud system and paired and initialized with the vehicle controller. The smart car keys download quantum keys from the quantum key management system via a quantum cryptography network. The smart car keys use the downloaded quantum keys and quantum security algorithms to encrypt vehicle control commands and generate corresponding encrypted commands. A quantum-safe algorithm calculation module, wherein the quantum-safe algorithm further includes: constructing a high-dimensional lattice structure, defining basis vectors, determining a transformation matrix in an encryption process using a quantum key, dynamically adjusting a value based on the quantum key and a random perturbation vector in the high-dimensional lattice structure, preprocessing a vehicle control instruction, mapping the vehicle control instruction into a vector form corresponding to the high-dimensional lattice structure, and expanding the vehicle control instruction vector using a sequence generated by a pseudo-random function to generate a final encrypted instruction; The encrypted instruction decryption module sends the encrypted instruction to the on-board controller through the Internet of Vehicles communication. After receiving the encrypted instruction, the on-board controller downloads the corresponding quantum key from the quantum cryptography network, decrypts the encrypted instruction, obtains the decrypted instruction, and executes the corresponding operation according to 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 according to claim 6, executes the quantum encryption-based intelligent car key communication method according to any one of claims 1 to 5.
8. A smart cockpit, characterized in that: The smart cockpit is provided with an onboard controller, and the onboard controller establishes a communication connection with the smart car key according to 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; the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of the method according to any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that It stores a computer program that can be executed by an electronic device. When the computer program runs on the electronic device, the electronic device executes the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Automobile key data interaction method and device
CN117315826A
Digital key security management system based on quantum encryption technology
CN117640086A