Management method and system of quantum key in Internet of Things system

By generating keys using quantum random number chips and combining them with message verification codes, the application challenges of quantum key distribution in IoT devices have been solved, enabling secure and efficient key distribution and dynamic updates, while reducing system complexity and cost.

CN118972054APending Publication Date: 2024-11-15YIXUNTONG TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411239779.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

Quantum key distribution technology cannot be applied to miniaturized, low-cost, and low-power IoT devices, and there are security challenges in the key generation and distribution process and security management risks in the key usage process.

Method used

The first and second session keys are generated using a quantum random number chip. Through identity authentication and encrypted transmission between the IoT management center and the device, combined with the message verification code and the true randomness, integration, low power consumption and anti-interference capabilities of the quantum random number chip, the efficient distribution and dynamic updating of quantum keys are achieved.

Benefits of technology

It enables secure and efficient distribution and dynamic updating of quantum keys on IoT devices, reducing system complexity and cost, while improving the accuracy of identity authentication and information security, and reducing the risk of key leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972054A_ABST
    Figure CN118972054A_ABST
Patent Text Reader

Abstract

The invention provides a management method and system of a quantum key in an Internet of Things system, relates to the technical field of key data, and is applied to an Internet of Things management center, and the Internet of Things management center is in communication connection with a plurality of Internet of Things devices. The method comprises the following steps: in response to a data acquisition demand, obtaining an identity request instruction; based on the identity request instruction, obtaining equipment verification information corresponding to the to-be-verified Internet of Things equipment; generating a verification packet based on the device verification information; a message verification code is stored in the verification packet; sending a verification packet to the to-be-verified Internet of Things equipment, and if equipment verification information corresponding to the message verification code is consistent with equipment basic information of the to-be-verified Internet of Things equipment, obtaining a second session key generated by the to-be-verified Internet of Things equipment; storing a second session key encrypted with the first session key; the problem that an existing quantum key distribution technology cannot be applied to small-sized, low-cost and low-power-consumption Internet of Things equipment is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of key data technology, and in particular to a method and system for managing quantum keys in an Internet of Things system. Background Art

[0002] Quantum key distribution (QKD) technology has become an important encryption solution for IoT systems because of its unconditional security based on quantum true randomness.

[0003] However, since quantum key distribution must rely on optical fiber networks and expensive single-photon detection equipment, that is, the single photons of the transmitting terminal must be transmitted through the optical fiber channel and measured by the single-photon counter at the receiving terminal to generate truly random quantum keys, it cannot be applied to miniaturized, low-cost, and low-power IoT devices. If multiple IoT devices are used to distribute keys to a central management device, and then the central management device distributes them uniformly, the central management device cannot verify the identity information of each IoT device, resulting in the risk of leakage. How to achieve efficient distribution and dynamic update of quantum keys, and how to reduce system complexity and cost while ensuring security are issues that need to be solved urgently. Summary of the invention

[0004] The present application provides a method and system for managing quantum keys in an Internet of Things system to solve the technical problem that the current quantum key distribution technology cannot be applied to miniaturized, low-cost, and low-power Internet of Things devices.

[0005] The first aspect of the present application provides a method for managing a quantum key in an Internet of Things system, which is applied to an Internet of Things management center, wherein the Internet of Things management center is communicatively connected with a plurality of Internet of Things devices; comprising:

[0006] Responding to data collection requirements, obtaining identity request instructions;

[0007] Based on the identity request instruction, obtain device verification information corresponding to the IoT device to be verified; the device verification information is stored in the information base of the IoT management center, and the information base stores the device verification information of each IoT device; the device verification information includes: device number, serial number, MAC address information, and IP information;

[0008] Based on the device verification information, a verification package is generated; the verification package stores a message verification code;

[0009] Send the verification package to the IoT device to be verified. If the device verification information corresponding to the message verification code is consistent with the device basic information of the IoT device to be verified, obtain the second session key generated by the IoT device to be verified; the device basic information includes: device number, serial number, MAC address information, and IP information;

[0010] The second session key encrypted and transmitted using the first session key is stored; the first session key is generated by a quantum random number chip; and the quantum random number chip is arranged in the Internet of Things device.

[0011] In some embodiments, generating a verification package based on the device verification information includes:

[0012] Based on the identity request instruction, obtaining device verification information;

[0013] Based on the device verification information, generate a message verification code and generate a verification package using the message verification code;

[0014] Obtaining a first session key;

[0015] The verification package is encrypted and sent to the IoT device to be verified using the first session key, so that the IoT device to be verified encrypts the verification package using the first session key to generate an encrypted verification package.

[0016] In some embodiments, the second session key is generated by the quantum random number chip and stored in the IoT device.

[0017] In some embodiments, the method further comprises:

[0018] Get its own running status;

[0019] If the operating state is the initialization state, the first session key is generated by using the quantum random number chip;

[0020] If the operating state of the device is a non-initialized state, obtaining the second session key stored in the IoT device;

[0021] Based on the second session key, the first session key is obtained.

[0022] In some embodiments, the method further comprises:

[0023] Encrypting the collected data using the second session key to obtain ciphertext data;

[0024] The ciphertext data and the second session key corresponding to the ciphertext data are stored.

[0025] In some embodiments, the method further comprises:

[0026] Obtaining the operating status of the IoT device; the operating status includes: normal operating status and offline status;

[0027] If the IoT device is offline, the second session key stored in the IoT device is deleted.

[0028] In some embodiments, the method further comprises:

[0029] Obtaining the storage status of the ciphertext data encrypted by the IoT device;

[0030] If the ciphertext data is stored in the business system, the second session key corresponding to the ciphertext data is retained in the Internet of Things management center, and an interaction record of the second session key is generated; the interaction record includes: the generation, decryption, and encryption time of the second session key;

[0031] If the ciphertext data is not stored in the business system, the second session key, the ciphertext data, and the interaction record are deleted.

[0032] In some embodiments, the method further comprises:

[0033] Acquire a maximum amount of the ciphertext data encrypted by the second session key;

[0034] After encrypting the collected data of the maximum data volume using the second session key, an unused second session key is replaced to encrypt the collected data until all the collected data are encrypted.

[0035] The second aspect of the present application provides a management system for a quantum key in an Internet of Things system, which is applied to a management method for a quantum key in an Internet of Things system as described in any one of the first aspects above, including:

[0036] A first acquisition module is configured to acquire an identity request instruction in response to a data collection requirement;

[0037] The second acquisition module is configured to acquire device verification information corresponding to the IoT device to be verified based on the identity request instruction; the device verification information is stored in the information base of the IoT management center, and the information base stores the device verification information of each IoT device; the device verification information includes: device number, serial number, MAC address information, and IP information;

[0038] A generating module, configured to generate a verification package based on the device verification information; the verification package stores a message verification code;

[0039] A third acquisition module is used to send the verification package to the IoT device to be verified, and if the device verification information corresponding to the message verification code is consistent with the device basic information of the IoT device to be verified, then obtain the second session key generated by the IoT device to be verified; the device basic information includes: device number, serial number, MAC address information, IP information;

[0040] The first storage module is used to store the second session key encrypted by the first session key; the first session key is generated by a quantum random number chip; the quantum random number chip is arranged in the Internet of Things device.

[0041] In some embodiments, the system further comprises:

[0042] An encryption module, used to encrypt the collected data using the second session key to obtain ciphertext data;

[0043] The second storage module is used to store the ciphertext data and the second session key corresponding to the ciphertext data.

[0044] The present application provides a method and system for managing quantum keys in an Internet of Things system, which are applied to an Internet of Things management center, and the Internet of Things management center is connected to a number of Internet of Things devices in communication; the method includes: obtaining an identity request instruction in response to a data collection demand; obtaining device verification information corresponding to the Internet of Things device to be verified based on the identity request instruction; the device verification information is stored in an information base of the Internet of Things management center, and the information base stores the device verification information of each of the Internet of Things devices; the device verification information includes: device number, serial number, MAC address information, and IP information; based on the device verification information, a verification package is generated; a message verification code is stored in the verification package; the verification package is sent to the Internet of Things device to be verified, and if the device verification information corresponding to the message verification code is consistent with the device basic information of the Internet of Things device to be verified, a second session key generated by the Internet of Things device to be verified is obtained; the device basic information includes: device number, serial number, MAC address information, and IP information; the second session key encrypted by the first session key is stored; the first session key is generated by a quantum random number chip; the quantum random number chip is set in the Internet of Things device to realize that quantum key distribution technology can be applied to miniaturized, low-cost, and low-power Internet of Things devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0046] Figure 1 This is a flow chart of the method for managing quantum keys in the Internet of Things system in this application;

[0047] Figure 2 A flow chart of a method for obtaining a first session key in this application;

[0048] Figure 3 A flow chart of a method for storing and deleting a second session key in the present application;

[0049] Figure 4 This is a flow chart of the method for generating interaction records in this application and a flow chart of the method for encrypting collected data. DETAILED DESCRIPTION

[0050] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0051] Since in some technologies, quantum key distribution technology cannot be applied to miniaturized, low-cost, and low-power IoT devices, in order to solve this technical problem, this application provides a method and system for managing quantum keys in an IoT system. The following describes the method and system for managing quantum keys in an IoT system:

[0052] For example, quantum key distribution (QKD) technology has become an important encryption solution for IoT systems because of its unconditional security based on quantum true randomness. However, since quantum key distribution must rely on optical fiber networks and expensive single-photon detection equipment, that is, the single photons of the transmitting terminal must go through the optical fiber channel and be measured by the single-photon counter at the receiving terminal to generate truly random quantum keys, it cannot be applied to miniaturized, low-cost, and low-power IoT devices. How to achieve efficient distribution and dynamic update of quantum keys, and how to reduce system complexity and cost while ensuring security are all problems that need to be solved urgently.

[0053] For example, the current key management still has the following two problems: (1) The security of the key generation and distribution process faces challenges. In the communication model, public key encryption technology is used to distribute symmetric keys. The two communicating parties each generate a pair of public and private keys and make the public key public. One party uses the other party's public key to encrypt the symmetric key and sends it to the other party. The other party uses its own private key to decrypt and obtain the symmetric key. During the communication process, the two communicating parties can use public key encryption technology to verify the identity of the other party. One party uses the other party's public key to encrypt a piece of random data (challenge) and sends it to the other party. The other party uses its own private key to decrypt and return the decryption result (response). If the decryption is successful, the identity of the other party is verified. Since the key generation and distribution process are not encrypted, the possibility of communication key leakage increases with time. (2) There are hidden dangers in security management during the use of keys. In the key system, the key usage records and the traceability of security incidents are completed by the system administrator. There is a problem that the records are easy to tamper with and delete, so the credibility cannot be guaranteed when tracing and holding accountable for security incidents.

[0054] For example, in cryptography, the one-time pad is considered unconditionally secure because it relies on keys generated from true random numbers, and each key is used only once. This means that even if an attacker has unlimited computing power and time, he or she cannot recover the plaintext from the ciphertext. Achieving this premise faces the following challenges: (1) There needs to be a secure and reliable way to generate and distribute these keys. The key generation and management process must be secure enough to prevent the keys from being intercepted or leaked. (2) How to securely transfer the keys from the sender to the receiver. (3) For devices that communicate frequently, the devices may need to generate and store a large number of keys.

[0055] Depend on Figure 1 It can be seen that the first aspect of the present application provides a method for managing quantum keys in an Internet of Things system, which is applied to an Internet of Things management center, and the Internet of Things management center is communicatively connected with a number of Internet of Things devices; comprising the following steps:

[0056] S100: In response to data collection requirements, an identity request instruction is obtained; when there is a data collection requirement or a user control requirement, the corresponding IoT device sends an identity request instruction to the IoT management center, and the IoT management center receives the identity request instruction sent by the IoT device.

[0057] S200: Based on the identity request instruction, obtain the device verification information corresponding to the IoT device to be verified; the device verification information is stored in the information base of the IoT management center, and the information base stores the device verification information of each IoT device; the device verification information includes: device number, serial number, MAC address information, IP information; when the IoT device is installed for the first time and communicates with the IoT management center, the corresponding basic device information of the IoT device is stored in the IoT management center as device verification information, and when the IoT management center obtains the IoT device at the corresponding position, the device verification information at the corresponding position is obtained to verify the device identity.

[0058] S300: Generate a verification package based on the device verification information; the verification package stores a message verification code; illustratively, in cryptography, a message authentication code is the message authentication code (abbreviated as MAC), which is also translated as a message authentication code, a file message authentication code, a message authentication code, and an information authentication code. It is a small piece of information generated after a specific algorithm, which is used to check the integrity of a certain message and perform identity verification. It can be used to check whether the content of a message has been changed during the message transmission process, whether the reason for the change is accidental or intentional attack. At the same time, the message verification code can be used as an identity verification of the source of the message to confirm the source of the message.

[0059] The generating of the verification package based on the device verification information comprises the following sub-steps:

[0060] S310: Based on the identity request instruction, obtain device verification information; S320: Based on the device verification information, generate a message verification code and use the message verification code to generate a verification package; S330: Obtain a first session key; the first session key is used to encrypt and transmit the second session key, and the first session key is deleted after the second session key is encrypted. S340: Use the first session key to encrypt and send the verification package to the IoT device to be verified, so that the IoT device to be verified uses the first session key to encrypt the verification package and generate an encrypted verification package. The verification package is sent to the IoT device to be verified by encrypting it with the first session key to prevent the risk of the verification package being stolen and modified during the sending process; by encrypting the verification package with the first session key to generate an encrypted verification package, it is prevented that when the IoT device performs device authentication, an external user tampering with the message verification code in the verification package is prevented, thereby ensuring the accuracy of identity authentication.

[0061] S400: Send the verification package to the IoT device to be verified, determine whether the device verification information corresponding to the message verification code is consistent with the device basic information of the IoT device to be verified, if the device verification information corresponding to the message verification code is consistent with the device basic information of the IoT device to be verified, then obtain the second session key generated by the IoT device to be verified; the device basic information includes: device number, serial number, MAC address information, IP information; when the device verification information corresponding to the message verification code is consistent with the device basic information of the IoT device to be verified, it means that the IoT device identity at the corresponding position of the message verification code is correct, and there is no change or theft, and a communication link between the IoT device to be verified and the IoT management center can be established to distribute keys. Among them, if the device verification information corresponding to the message verification code is inconsistent with the device basic information of the IoT device to be verified, it means that the IoT device information pre-stored by the IoT management center does not correspond to the acquired device basic information, indicating that the IoT device has changed or information has been stolen, and no subsequent key encryption work will be performed to ensure the security of information and keys.

[0062] S500: Storing the second session key encrypted and transmitted using the first session key; the first session key is generated by a quantum random number chip; the quantum random number chip is set in the IoT device. The second session key is generated by the quantum random number chip and stored in the IoT device. The first session key and the second session key are generated by the quantum random number chip in the IoT device, wherein the first session key is used to encrypt and transmit the second session key, which is transmitted to the IoT management center for storage and used for subsequent encryption of collected data. The quantum random number chip is set on the IoT device, which effectively avoids the risk of the key being compromised by the center, resulting in large-scale key leakage.

[0063] Exemplarily, the quantum random number chip has true randomness: based on the principles of quantum mechanics, the quantum random number chip can generate true random numbers, namely the first session key and the second session key. This randomness is completely unpredictable, thereby ensuring the security of information. High integration: The quantum random number chip is highly integrated and can realize complex quantum random number generation functions in a very small volume. For example, the size of some quantum random number chips is only 4×4 mm, which greatly reduces the application cost and improves convenience. Low power consumption: The quantum random number chip consumes less energy during operation, which helps to reduce the energy consumption of the overall system. Strong anti-interference ability: Due to the use of advanced quantum technology and anti-interference measures such as metal packaging, the quantum random number chip can work stably in a complex environment and is not affected by external interference. High stability: The quantum random number chip shows extremely high stability during operation and can continuously and stably generate high-quality random numbers.

[0064] The present application provides a method for managing quantum keys in an Internet of Things system. By responding to data collection requirements, the Internet of Things management center obtains an identity request instruction; based on the identity request instruction, the device verification information corresponding to the Internet of Things device to be verified is obtained; based on the device verification information, a verification package is generated; the verification package stores a message verification code; the verification package is sent to the Internet of Things device to be verified by the Internet of Things management center. If the device verification information corresponding to the message verification code is consistent with the basic device information of the Internet of Things device to be verified, it means that the identity authentication of the Internet of Things device is successful, and then the second session key generated by the Internet of Things device to be verified is used; finally, the second session key encrypted and transmitted using the first session key is stored by the Internet of Things management center. Through the identity authentication process between the Internet of Things management center and the Internet of Things device, and the method of generating keys through the quantum random number chip, the key distribution between the Internet of Things device and the Internet of Things management center is realized, and the key is encrypted during the key transmission process to prevent the risk of key leakage.

[0065] Depend on Figure 2 It can be seen that the method also includes:

[0066] S600: Obtain the self-operation state; obtain the self-operation state of the Internet of Things Management Center, the self-operation state includes: initialization state and non-initialization state. S610: If the self-operation state is the initialization state, the first session key is generated by using the quantum random number chip; if the Internet of Things Management Center is in the initialization state, it means that the Internet of Things Management Center and the corresponding Internet of Things device have not performed quantum distribution work, so the system has not generated the first session key and the second session key. At this time, the first session key is generated by using the quantum random number chip for identity authentication. S620: If the self-operation state is the non-initialization state, the second session key stored in the Internet of Things device is obtained; S630: Based on the second session key, the first session key is obtained. If the Internet of Things Management Center is in the non-initialization state, it means that the Internet of Things Management Center and the corresponding Internet of Things device have performed quantum distribution work, and the Internet of Things Management Center has stored the second session key, then the second session key stored in the Internet of Things Management Center is used as the first session key. It can be understood that the first session key is used for device authentication and encrypted transmission of the second session key, and is deleted after the encrypted transmission is completed. The second session key subsequently stored in the Internet of Things management center can be used as the first session key again, and the above work is repeated to perform key distribution work back and forth.

[0067] Depend on Figure 3 It can be seen that the method further includes: S700: encrypting the collected data using the second session key to obtain ciphertext data; S710: storing the ciphertext data and the second session key corresponding to the ciphertext data. The ciphertext data is used for collection by the user, and the second session key is used to decrypt the ciphertext data.

[0068] Depend on Figure 3 It can be seen that the method also includes: S800: obtaining the operating status of the IoT device; the operating status includes: normal operating status and offline status; when the operating status of the IoT device is in the normal operating status, the system performs key distribution work normally. S810: If the IoT device is in the offline state, delete the second session key stored in the IoT device. Deleting the second session key stored in the IoT device is used to prevent key leakage: if the IoT device is stolen, lost or hacked, the second session key stored therein may be obtained by malicious users. Reduce security risks: Even if the device eventually comes back online, using the old second session key, that is, the second session key stored in the IoT device, may also bring security risks because the attacker may have obtained the second session key stored in the IoT device.

[0069] Depend on Figure 4 It can be seen that the method also includes:

[0070] S900: Obtain the storage status of the ciphertext data encrypted by the IoT device; S910: If the ciphertext data is stored in the business system, retain the second session key corresponding to the ciphertext data in the IoT management center, and generate an interaction record of the second session key; the interaction record includes: the generation, decryption, and encryption time of the second session key; it can be understood that the interaction record is the system based on the generation time, decryption time, and encryption time of the second session key, that is, the decryption call record of the second session key, rather than the manual record based on the use of the second session key by the operator, avoiding the problem that the key usage record and the traceability of security incidents are both manually recorded by the system administrator, and there is a problem that the record is easy to tamper with and delete, thereby improving the credibility of the traceability of security incidents. S920: If the ciphertext data is not stored in the business system, delete the second session key, ciphertext data, and interaction record. It can be understood that if the ciphertext data no longer exists in the business system, the session key associated with the data is no longer needed, so it should be deleted; deleting the session key can prevent unauthorized users from using the key to decrypt the deleted ciphertext data. Deleting ciphertext data can ensure that unauthorized users cannot access the ciphertext data, reducing the risk of data leakage. Interaction records may contain detailed information about the encrypted communication process, such as communication time, participants, protocols used, and keys. Deleting interaction records can further reduce the risk of sensitive information exposure and increase system security.

[0071] Depend on Figure 4 It can be seen that the method also includes:

[0072] S1000: Obtain the maximum amount of the ciphertext data encrypted by the second session key; S1010: Use the second session key to encrypt the maximum amount of the collected data, then replace the unused second session key to encrypt the collected data, until all the collected data are encrypted. It can be understood that the amount of data that can be encrypted by the second session key is limited. In this application, after encrypting the maximum amount of collected data that can be encrypted by the second session key, the second session key is directly destroyed, and the new second session key is used to encrypt the collected data, thereby further ensuring the security of the collected data.

[0073] The second aspect of the present application provides a management system for a quantum key in an Internet of Things system, which is applied to a management method for a quantum key in an Internet of Things system described in any of the above embodiments, including: a first acquisition module, configured to obtain an identity request instruction in response to a data collection requirement; a second acquisition module, configured to obtain device verification information corresponding to an Internet of Things device to be verified based on the identity request instruction; the device verification information is stored in an information base of the Internet of Things management center, and the information base stores device verification information of each of the Internet of Things devices; the device verification information includes: device number, serial number, MAC address information, IP information; a generation module, configured to obtain device verification information corresponding to an Internet of Things device to be verified based on the identity request instruction; the device verification information is stored in an information base of the Internet of Things management center, and the information base stores device verification information of each of the Internet of Things devices; the device verification information includes: device number, serial number, MAC address information, IP information; a generation module, configured to obtain device verification information corresponding to an Internet of Things device to be verified based on the identity request instruction; the device verification information is stored in an information base of the Internet of Things management center, and the device verification information of each of the Internet of Things devices is stored in the information base ... It is configured to generate a verification package based on the device verification information; the verification package stores a message verification code; a third acquisition module is used to send the verification package to the IoT device to be verified, and if the device verification information corresponding to the message verification code is consistent with the device basic information of the IoT device to be verified, then the second session key generated by the IoT device to be verified is obtained; the device basic information includes: device number, serial number, MAC address information, IP information; a first storage module is used to store the second session key encrypted with the first session key; the first session key is generated by a quantum random number chip; the quantum random number chip is set in the IoT device. The effects of the above system embodiment when running can refer to the effects of the above method embodiment, which will not be repeated here.

[0074] In this embodiment, the system further includes: an encryption module, used to encrypt the collected data using the second session key to obtain ciphertext data; and a second storage module, used to store the ciphertext data and the second session key corresponding to the ciphertext data. The effects of the above system embodiment when running can refer to the effects of the above method embodiment, which will not be repeated here.

[0075] The above specific implementation methods further explain in detail the purpose, technical solutions and beneficial effects of the embodiments of the present application. It should be understood that the above are only specific implementation methods of the embodiments of the present application and are not used to limit the protection scope of the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.

Claims

1. A method for managing quantum keys in an Internet of Things system, applied to an Internet of Things management center, wherein the Internet of Things management center is communicatively connected with a plurality of Internet of Things devices; characterized in that: include: Responding to data collection requirements, obtaining identity request instructions; Based on the identity request instruction, obtain device verification information corresponding to the IoT device to be verified; The device verification information is stored in the information base of the Internet of Things management center, and the information base stores the device verification information of each of the Internet of Things devices; The device verification information includes: device number, serial number, MAC address information, and IP information; Based on the device verification information, a verification package is generated; the verification package stores a message verification code; Send the verification package to the IoT device to be verified. If the device verification information corresponding to the message verification code is consistent with the device basic information of the IoT device to be verified, obtain the second session key generated by the IoT device to be verified; the device basic information includes: device number, serial number, MAC address information, and IP information; The second session key encrypted and transmitted using the first session key is stored; the first session key is generated by a quantum random number chip; and the quantum random number chip is arranged in the Internet of Things device.

2. According to claim 1, a method for managing quantum keys in an Internet of Things system is characterized in that: The generating a verification package based on the device verification information includes: Based on the identity request instruction, obtaining device verification information; Based on the device verification information, generate a message verification code and generate a verification package using the message verification code; Obtaining a first session key; The verification package is encrypted and sent to the IoT device to be verified using the first session key, so that the IoT device to be verified encrypts the verification package using the first session key to generate an encrypted verification package.

3. According to claim 1, a method for managing quantum keys in an Internet of Things system is characterized in that: The second session key is generated by the quantum random number chip and stored in the Internet of Things device.

4. A method for managing quantum keys in an Internet of Things system according to claim 3, characterized in that: The method further comprises: Get its own running status; If the operating state is the initialization state, the first session key is generated by using the quantum random number chip; If the operating state of the device is a non-initialized state, obtaining the second session key stored in the IoT device; Based on the second session key, the first session key is obtained.

5. According to claim 1, a method for managing quantum keys in an Internet of Things system is characterized in that: The method further comprises: Encrypting the collected data using the second session key to obtain ciphertext data; The ciphertext data and the second session key corresponding to the ciphertext data are stored.

6. A method for managing quantum keys in an Internet of Things system according to claim 5, characterized in that: The method further comprises: Obtaining the operating status of the IoT device; the operating status includes: normal operating status and offline status; If the IoT device is offline, the second session key stored in the IoT device is deleted.

7. A method for managing quantum keys in an Internet of Things system according to claim 5, characterized in that: The method further comprises: Obtaining the storage status of the ciphertext data encrypted by the IoT device; If the ciphertext data is stored in the business system, the second session key corresponding to the ciphertext data is retained in the Internet of Things management center, and an interaction record of the second session key is generated; the interaction record includes: the generation, decryption, and encryption time of the second session key; If the ciphertext data is not stored in the business system, the second session key, the ciphertext data, and the interaction record are deleted.

8. A method for managing quantum keys in an Internet of Things system according to claim 5, characterized in that: The method further comprises: Acquire a maximum amount of the ciphertext data encrypted by the second session key; After encrypting the collected data of the maximum data volume using the second session key, an unused second session key is replaced to encrypt the collected data until all the collected data are encrypted.

9. A management system for quantum keys in an Internet of Things system, applied to a management method for quantum keys in an Internet of Things system as described in any one of claims 1 to 8, characterized in that: include: A first acquisition module is configured to acquire an identity request instruction in response to a data collection requirement; A second acquisition module is configured to acquire device verification information corresponding to the IoT device to be verified based on the identity request instruction; The device verification information is stored in the information base of the Internet of Things management center, and the information base stores the device verification information of each of the Internet of Things devices; The device verification information includes: device number, serial number, MAC address information, and IP information; A generating module, configured to generate a verification package based on the device verification information; the verification package stores a message verification code; A third acquisition module is used to send the verification package to the IoT device to be verified, and if the device verification information corresponding to the message verification code is consistent with the device basic information of the IoT device to be verified, then obtain the second session key generated by the IoT device to be verified; the device basic information includes: device number, serial number, MAC address information, IP information; The first storage module is used to store the second session key encrypted by the first session key; the first session key is generated by a quantum random number chip; the quantum random number chip is arranged in the Internet of Things device.

10. A quantum key management system in an Internet of Things system according to claim 9, characterized in that: The system further comprises: An encryption module, used to encrypt the collected data using the second session key to obtain ciphertext data; The second storage module is used to store the ciphertext data and the second session key corresponding to the ciphertext data.

Citation Information

Cited By

  • Data transmission method for law enforcement recorder and related device

    CN120110736A