Group device registration and identity authentication method, system, device and storage medium

Through the combination of physical unclonable technology and PKI technology, IoT device registration and identity authentication without key storage are realized, which solves the key management complexity and security risks in communication between IoT devices, and improves device security and management. flexibility.

CN118432826BActive Publication Date: 2024-08-30STATE GRID ZHEJIANG ELECTRIC POWER CO LTD HANGZHOU POWER SUPPLY CO
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410896301.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-08-30
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

The existing symmetric key encryption communication mechanism in communication between IoT devices has complexity in key production management and storage security risks, and it is difficult to meet the needs of flexible regional management and group management.

Method used

Adopt physical unclonable technology, PKI technology and third-party authentication technology to realize IoT group device registration and identity authentication mode without key storage, obtain device key pairs through physical unclonable technology, and use administrator terminals to register devices and signature verification, complete device registration authentication, and re-obtain the key pair for signature and verification during data transmission.

Benefits of technology

Simplify the key production process, reduce key storage and management risks, improve the security of IoT devices, support flexible regional management and group management, reduce device information storage requirements, and enhance network security and management efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118432826B
    Figure CN118432826B
Patent Text Reader

Abstract

The present invention provides a registration and identity authentication method, system, device and storage medium for group devices, which are applied to an Internet of Things device group including an administrator terminal and multiple Internet of Things devices, including obtaining a device key pair according to a physical unclonable technology in response to the power-on startup of the Internet of Things device, and requesting registration from the administrator terminal according to the device public key in the device key pair, so that the administrator terminal performs a device registration operation according to the device public key and encapsulates the corresponding device signature information and the administrator public key certificate into a registration response message and sends it to the Internet of Things device; receiving the registration response message, the Internet of Things device verifies the device signature information according to the administrator public key certificate, and after the verification is passed, stores the administrator public key certificate and the device signature information to complete the device registration. The present invention can effectively reduce the key storage and management risks, improve the device security, and also facilitate flexible regional management and group management of Internet of Things devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technology, and in particular to a registration and identity authentication method, system, computer equipment and storage medium for group devices based on physical unclonable technology. Background Art

[0002] With the rise and development of IoT applications, a large number of IoT devices will be connected to public networks or enterprise private networks. In this context, massive IoT devices will inevitably face various risks, such as the risk of leakage of user personal information, privacy and sensitive data, the risk of devices being remotely controlled by hackers, and node devices being vulnerable to hijacking and destruction by malicious attackers. These risks may lead to the theft or illegal replacement of user information, thereby interfering with the normal operation of the network and business. To this end, how to strengthen device authentication, access control and data encryption transmission has become a hot research issue in the field.

[0003] Symmetric key algorithms are usually used for communication between existing IoT devices to ensure data security and identity authentication. However, the normal operation of the symmetric key encryption communication mechanism requires distribution and storage, which not only increases the complexity of the production management process, but also these keys are usually stored in flash chips, which are very vulnerable to targeted physical attacks or brute force cracking, leading to security risks such as key leakage or tampering; in addition, since the device has determined the usage mode or logical area when it goes online, it does not support flexible configuration, making it difficult to achieve effective regional management and group management of IoT devices based on different security and management needs. Summary of the invention

[0004] The purpose of the present invention is to provide a registration and identity authentication method for group devices, which realizes a registration and identity authentication mode for IoT group devices without key storage based on physical unclonable technology, PKI (Public Key Infrastructure) technology and third-party authentication technology. It can not only simplify the key production process, effectively reduce the key storage and management risks, and improve the security of IoT devices, but also complete device registration and authentication without storing device information, which is convenient for flexible regional management and group management of IoT devices.

[0005] In order to achieve the above objectives, it is necessary to provide a group device registration and identity authentication method, system, computer device and storage medium in response to the above technical problems.

[0006] In a first aspect, an embodiment of the present invention provides a group device registration and identity authentication method, which is applied to an Internet of Things device group, wherein the Internet of Things device group includes an administrator terminal and multiple Internet of Things devices; the method includes the following steps:

[0007] In response to the power-on startup of the IoT device, a device key pair is obtained according to the physical unclonable technology, and a registration request is made to the administrator terminal according to the device public key in the device key pair, so that the administrator terminal performs a device registration operation according to the device public key, and encapsulates the corresponding device signature information and the administrator public key certificate into a registration response message and sends it to the IoT device;

[0008] The registration response message is received, and the IoT device verifies the device signature information according to the administrator public key certificate. After the verification is passed, the administrator public key certificate and the device signature information are stored to complete the device registration.

[0009] Furthermore, the step of the administrator terminal performing a device registration operation according to the device public key includes:

[0010] The administrator terminal obtains the corresponding group trusted root through a preset certificate management agency, and obtains the corresponding administrator public key certificate and administrator private key based on the group trusted root;

[0011] The device public key is signed based on the administrator's private key to obtain corresponding device signature information.

[0012] Furthermore, the step of verifying the device signature information according to the administrator public key certificate includes:

[0013] According to the administrator public key certificate, obtain the corresponding administrator public key, and decrypt the device signature information according to the administrator public key to obtain the corresponding plaintext summary value;

[0014] Performing digest calculation on the device public key in the device key pair according to a preset digest algorithm to obtain a corresponding base digest value;

[0015] The plaintext digest value is compared with the reference digest value. If they are consistent, the signature verification passes. Otherwise, the signature verification fails.

[0016] Furthermore, the method further comprises:

[0017] In response to a data transmission request, the IoT device reacquires the device key pair according to the physical unclonable technology, signs the target transmission data according to the device private key in the device key pair to obtain a corresponding data signature value, and packages the target transmission data, the data signature value, the device signature information and the device public key in the device key pair into corresponding communication data information and sends it to the target IoT device in the group, so that the target IoT device verifies the communication data information according to the stored administrator public key certificate, and after the verification is passed, performs a communication response according to the target transmission data.

[0018] Furthermore, the step of obtaining the device key pair according to the physical unclonable technology includes:

[0019] The IoT device generates corresponding device identity information through the physical unclonable technology, and uses the device identity information as a device private key;

[0020] Based on the device private key, the public key is calculated using the PKI public key algorithm to generate the corresponding device public key.

[0021] Furthermore, the step of the target IoT device verifying the communication data information according to the stored administrator public key certificate includes:

[0022] The target IoT device parses the communication data information to obtain the corresponding source device signature information, the source device public key, the transmission data to be verified and the corresponding transmission data signature value to be verified;

[0023] According to the stored administrator public key certificate, obtain the corresponding administrator public key, and verify the signature information of the source device according to the administrator public key;

[0024] When the signature information of the source device is verified, the signature of the transmission data to be verified is verified according to the public key of the source device and the signature value of the transmission data to be verified.

[0025] In a second aspect, an embodiment of the present invention provides a group device registration and identity authentication system, which is applied to an IoT device group, wherein the IoT device group includes an administrator terminal and multiple IoT devices; the system includes:

[0026] The IoT device is configured to, in response to power-on startup, obtain a device key pair according to a physically unclonable technology, request registration from the administrator terminal according to a device public key in the device key pair, receive a registration response message sent by the administrator terminal, and store the administrator public key certificate and the device signature information after verifying the signature of the device according to the administrator public key certificate in the registration response message, thereby completing device registration;

[0027] The administrator terminal is used to perform a device registration operation according to the device public key sent by the IoT device, and encapsulate the corresponding device signature information and the administrator public key certificate into a registration response message and send it to the IoT device.

[0028] Furthermore, the IoT device is also used for:

[0029] In response to a data transmission request, the device key pair is retrieved according to the physical unclonable technology, and the target transmission data is signed according to the device private key in the device key pair to obtain a corresponding data signature value, and the target transmission data, the data signature value, the device signature information and the device public key in the device key pair are packaged into corresponding communication data information and sent to the target IoT device in the group, so that the target IoT device verifies the communication data information according to the stored administrator public key certificate, and after the verification is passed, performs a communication response according to the target transmission data.

[0030] In a third aspect, an embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0031] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.

[0032] The above-mentioned application provides a registration and identity authentication method, system, computer device and storage medium for a group device, which is applied to an IoT device group including an administrator terminal and multiple IoT devices. The method realizes that in response to the power-on startup of the IoT device, a device key pair is obtained according to the physical unclonable technology, and a registration request is made to the administrator terminal according to the device public key in the device key pair, so that the administrator terminal performs a device registration operation according to the device public key and encapsulates the corresponding device signature information and the administrator public key certificate into a registration response message and sends it to the IoT device; after receiving the registration response message, the IoT device verifies the device signature information according to the administrator public key certificate, and after the verification is passed, stores the administrator public key certificate and the device signature information to complete the device registration technical solution. Compared with the existing technology, the registration and authentication method of group devices in this method realizes the registration and authentication mode of IoT group devices without key storage by cooperating with physical unclonable technology, PKI (Public Key Infrastructure) technology and third-party authentication technology. It can not only simplify the key production process, effectively reduce the key storage and management risks, and improve the security of IoT devices, but also complete device registration and authentication without storing device information, which facilitates flexible regional management and group management of IoT devices, and can better meet different network security needs and management needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 is a flow chart of a registration and identity authentication method for a group device in an embodiment of the present invention;

[0034] Figure 2 is a schematic diagram of a registration process of a group device in an embodiment of the present invention;

[0035] Figure 3 is another flow chart of the registration and identity authentication method of a group device in an embodiment of the present invention;

[0036] Figure 4 is a schematic diagram of the data communication process between group devices in an embodiment of the present invention;

[0037] Figure 5 It is a schematic diagram of a process of verifying received communication data information by a target IoT device in an embodiment of the present invention;

[0038] Figure 6 is a schematic diagram of the structure of a registration and identity authentication system for group devices in an embodiment of the present invention;

[0039] Figure 7 It is a diagram of the internal structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical scheme and beneficial effects of the present application clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. Obviously, the embodiments described below are part of the embodiments of the present invention and are only used to illustrate the present invention, but are not used to limit the scope of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0041] The registration and identity authentication method of the group device provided by the present invention can be understood as a registration and identity authentication mode of the Internet of Things group device without key storage based on the current application status of the mechanism of using symmetric key algorithm for data security authentication and identity authentication in the communication of existing Internet of Things devices, which has complex key production management process, high key storage security risk and difficulty in meeting the flexible regional management and group management requirements. The following embodiment will explain the registration and identity authentication method of the group device of the present invention in detail.

[0042] In one embodiment, Figure 1 As shown, a registration and identity authentication method for group devices is provided, which is applied to an IoT device group, wherein the IoT device group includes an administrator terminal and multiple IoT devices; wherein the division of each IoT device group and the administrator terminal and all IoT devices included in the group can be set according to actual application requirements, and only needs to meet the conditions of using the administrator terminal (group administrator) as the trust root of the IoT device group to control the registration of devices in the entire group and the release of the trust chain, which is not specifically limited here; specifically, the method includes the following steps:

[0043] S11. In response to the power-on startup of the IoT device, a device key pair is obtained according to the physical unclonable technology, and a registration request is made to the administrator terminal according to the device public key in the device key pair, so that the administrator terminal performs a device registration operation according to the device public key, and encapsulates the corresponding device signature information and the administrator public key certificate into a registration response message and sends it to the IoT device.

[0044] The Physical Unclonable Functions (PUF) in this embodiment can be understood as a hardware security technology that uses the PUF characteristics of the security chip on each IoT device to generate unique identification information for the device. The corresponding device key pair acquisition process is understood to be the process of obtaining the corresponding device private key and device public key based on the challenge response generated by the PUF security chip deployed on each IoT device; at the same time, in order to ensure that the IoT device has higher data encryption transmission security, supports digital signatures and is convenient for group maintenance and management, this embodiment preferably uses PKI technology to generate device private keys and device public keys. Specifically, the steps of obtaining device key pairs according to the physical unclonable technology include:

[0045] The IoT device generates corresponding device identity information through the physical unclonable technology, and uses the device identity information as the device private key; wherein the device identity information can be understood as a set of unique and tamper-proof challenge response values ​​generated based on the chip PUF. The specific method of generating the challenge response value can be implemented by referring to the relevant prior art, which will not be described in detail here;

[0046] According to the device private key, the public key is deduced through the PKI public key algorithm to generate the corresponding device public key; wherein, in principle, the PKI public key algorithm can be selected to use any asymmetric encryption algorithm such as the RSA algorithm, the ECC algorithm and the SM2 algorithm, but in order to increase the encryption and decryption rate as much as possible and reduce the data storage and transmission costs under the premise of ensuring the security of device communication, this embodiment preferably adopts the ECC algorithm based on the elliptic curve mathematical theory, which has stronger anti-attack ability, faster encryption speed and less computing resources, so as to better adapt to resource-constrained scenarios such as IoT devices. In practical applications, assuming that the generation point in the ECC algorithm is G, and the device private key obtained based on the physical unclonable technology is k, the corresponding device public key obtained by the Abel group multiplication operation is K=k*G.

[0047] After the IoT device obtains the corresponding device key pair through the above method steps, it can send the corresponding device public key to the administrator terminal to apply for registration, and the corresponding administrator terminal performs the corresponding registration operation according to the group trusted root issued by the superior CA certification authority; specifically, the step of the administrator terminal performing the device registration operation according to the device public key includes:

[0048] The administrator terminal obtains the corresponding group trusted root through the preset certificate management agency, and obtains the corresponding administrator public key certificate and administrator private key based on the group trusted root; wherein, the preset certificate management agency can be understood as an entity trusted by all IoT devices in the IoT network group in the PKI system, and can also be understood as a trusted third party (Trusted Third Party, referred to as TTP, which can be selected and set according to actual application requirements and is not specifically limited here. Correspondingly, the group trusted root can be understood as a trusted root issued by the preset certificate management agency to the administrator terminal, which stores the administrator public key certificate and administrator private key.

[0049] The device public key is signed and calculated according to the administrator's private key to obtain the corresponding device signature information; wherein the device signature information can be understood as the identity information of the IoT device applying for registration, and is used for the digital signature used for communication authentication between IoT devices in the subsequent group. The specific method by which the administrator terminal calculates the signature of the device public key of the IoT device according to the administrator's private key can be implemented using existing technology and will not be described in detail here.

[0050] S12. Receive the registration response message, and the IoT device verifies the device signature information according to the administrator public key certificate. After the verification is passed, the administrator public key certificate and the device signature information are stored to complete the device registration.

[0051] In this embodiment, the administrator terminal in the IoT group is a preset trusted administrator for any IoT device in the group. In principle, after receiving the registration response message from the administrator terminal in response to the registration request of each IoT device, the corresponding device signature information and the administrator public key certificate are parsed and obtained, and then the relevant information can be directly saved to complete the device registration process. However, considering the uncontrollable risks that may exist in network communication, in order to prevent the communication data from being tampered with or the information sender from being impersonated, etc., it is preferred in this embodiment that after the IoT device receives the corresponding registration response message, the message is verified to ensure the reliability of the communication data; specifically, the step of verifying the device signature information according to the administrator public key certificate includes:

[0052] According to the administrator public key certificate, the corresponding administrator public key is obtained, and the device signature information is decrypted according to the administrator public key to obtain the corresponding plaintext summary value; wherein, the process of obtaining the administrator public key can be understood as parsing the administrator public key certificate in X.509 format received by the IoT device, and extracting the public key information stored therein. The specific parsing and extraction process can be implemented by referring to the relevant existing technology.

[0053] A digest calculation is performed on the device public key in the device key pair according to a preset digest algorithm to obtain a corresponding baseline digest value; wherein the preset digest algorithm can be selected according to actual application requirements. In principle, it only needs to be consistent with the digest algorithm used by the administrator terminal to generate the device signature information, such as the SHA256 digest algorithm, which is not specifically limited here.

[0054] The plaintext digest value is compared with the benchmark digest value. If they are consistent, the signature verification is successful. Otherwise, the signature verification fails. Specifically, when the plaintext digest value is consistent with the benchmark digest value, it means that the sender of the received registration response message is the administrator terminal. When the plaintext digest value is inconsistent with the benchmark digest value, it means that the registration response message received by the IoT device has security risks such as forgery by others or tampering with the message, that is, the identity authentication of the message sender fails and needs to be directly discarded and an alarm message is issued in a preset manner.

[0055] After the IoT device requesting registration completes the data integrity authentication and identity authentication of the registration response message through the above method steps, the device signature information and administrator public key certificate in the registration response message can be stored locally, and the identity authentication for subsequent communication between devices in the group can be provided with reliable support. It should be noted that the above embodiment only takes the process of an IoT device in an IoT group applying for registration to the administrator terminal as an example. In actual applications, all IoT devices in a group use the same method and process as above to complete the network registration, and obtain the corresponding device signature information and administrator public key certificate and store them locally for subsequent communication transmission use, such as Figure 2 As shown in the figure, assuming that an IoT group has N devices, and device A and device B apply for registration to the administrator terminal one after another, the corresponding registration process is as follows:

[0056] a) Device A first obtains the corresponding device private key SK.A=PUF() through the physical unclonable technology, and then calculates the corresponding device public key PK.A=derive(SK.A) based on the device private key through the preset public key derivation algorithm;

[0057] b. Device A initiates a device registration application to the administrator terminal based on the obtained device public key PK.A;

[0058] c) The administrator terminal has a group trusted root issued by the superior CA certification authority, which stores the administrator's public key certificate CA.CERT and the administrator's private key SK.CA. The administrator terminal uses the administrator's private key SK.CA to sign the device public key PK.A and obtain the signature result of device A.

[0059] d) The administrator terminal encapsulates the signature result of device A and the administrator public key certificate CA.CERT into a registration response message of device A and sends it to device A; and after device A receives the registration response message and completes the signature verification, the registration operation of device A is completed;

[0060] e) Device B first obtains the corresponding device private key SK.B=PUF() through the physical unclonable technology, and then calculates the corresponding device public key PK.B=derive(SK.B) based on the device private key through the preset public key derivation algorithm;

[0061] f) Device B initiates a device registration application to the administrator terminal based on the obtained device public key PK.B;

[0062] g) The administrator terminal signs the device public key PK.B using the administrator private key SK.CA to obtain the signature result of device B;

[0063] h) The administrator terminal encapsulates the signature result of device B and the administrator's public key certificate CA.CERT into a registration response message of device B and sends it to device B; and after device B receives the registration response message and completes the signature verification, the registration operation of device B is completed; subsequently, device A and device B can communicate data according to actual needs.

[0064] The present embodiment provides a technical solution in which, after the IoT devices in the IoT device group are powered on and started, a device key pair is obtained according to the physical unclonable technology, and a registration request is made to the administrator terminal according to the device public key in the device key pair, so that the administrator terminal performs the device registration operation according to the device public key and encapsulates the corresponding device signature information and the administrator public key certificate into a registration response message and sends it to the IoT device, and after receiving the registration response message, the device signature information is verified according to the administrator public key certificate, and after the verification is passed, the administrator public key certificate and the device signature information are stored to complete the device registration. The registration and identity authentication mode of IoT group devices without key storage is realized by cooperating based on the physical unclonable technology, PKI technology and third-party authentication technology, which can not only simplify the key production process, effectively reduce the key storage and management risks, and improve the security of IoT devices, but also complete the device registration authentication without storing device information, which is convenient for flexible regional management and group management of IoT devices.

[0065] In order to realize the control of the entire group device registration and trust chain release by the administrator terminal, realize flexible and secure management of the devices in the group, and meet the efficient, secure and reliable data communication needs between different devices in the same group, and provide reliable data communication guarantee for IoT business processing, this embodiment preferably combines chip PUF technology, CA technology and PKI technology to design a flexible registration management mechanism for group devices that does not require storage of device keys, and further designs a multiple signature verification scheme that supports digital signatures to achieve reliable identity recognition between group devices without saving information of other devices in the group; specifically, Figure 3 As shown, the method also includes:

[0066] S13. In response to a data transmission request, the IoT device reacquires the device key pair according to the physical unclonable technology, signs the target transmission data according to the device private key in the device key pair to obtain a corresponding data signature value, and packages the target transmission data, the data signature value, the device signature information and the device public key in the device key pair into corresponding communication data information and sends it to the target IoT device in the group, so that the target IoT device verifies the communication data information according to the stored administrator public key certificate, and after the verification is passed, performs a communication response according to the target transmission data.

[0067] In this embodiment, each time the IoT device needs to transmit communication data, it can re-acquire the device key pair based on the physical unclonable technology for encrypting and transmitting the communication data; it should be noted that since the device identity information temporarily generated by an IoT device with the help of the chip PUF capability is unique and cannot be tampered with, the device private key obtained each time is fixed, and the corresponding device public key calculated using the preset public key calculation algorithm is also unique; the specific process of re-acquiring the device key pair can refer to the relevant implementation in the aforementioned IoT device application for registration to the administrator terminal, which will not be repeated here.

[0068] In actual applications, the process of a certain IoT device in an IoT group transmitting communication data to other target IoT devices in the group is as follows: Figure 4 As shown in the figure, assuming that IoT device A transmits data to IoT device B in the same group, then:

[0069] i) Device A first generates a communication key based on the above method, that is, device A generates a private key SK.A through PUF according to the process described in S1, and calculates the public key PK.A; since the challenge response pair generated by PUF is unique, the public and private keys of each IoT device do not need to be stored locally, and are regenerated when used, which can save device storage overhead while effectively improving the key security of the device; it should be noted that at this time, device A also stores the administrator's public key certificate CA.CERT and the administrator's signature on the public key of device A (device signature information);

[0070] j) is the data signing process, in which device A uses the device private key generated by S9 to perform a signature operation on the target transmission data M to generate a sign value;

[0071] k) is the data transmission process, in which device A packages the data M, sign value, device signature information and device public key into communication data information and transmits them to device B;

[0072] l) The process of verifying the identity of the communication data information for device B.

[0073] After the target IoT device receives the communication data information sent by the IoT device, in order to avoid security risks caused by network factors, it is preferred to perform strict data integrity and sender identity verification on each received communication data information before using it. Figure 5 As shown, the step of the target IoT device verifying the communication data information according to the stored administrator public key certificate includes:

[0074] The target IoT device parses the communication data information to obtain the corresponding source device signature information, the source device public key, the transmission data to be verified and the corresponding signature value of the transmission data to be verified; wherein the source device signature information, the source device public key, the transmission data to be verified and the corresponding signature value of the transmission data to be verified respectively correspond one-to-one with the device signature information, the device public key, the target transmission data and the data signature value in the communication data information, and can be understood as an alias set additionally for the convenience of describing the verification process on the target IoT device side.

[0075] According to the stored administrator public key certificate, the corresponding administrator public key is obtained, and the signature information of the source device is verified according to the administrator public key; wherein the stored administrator public key certificate can be understood as the public key certificate sent to the target IoT device by the administrator terminal when the target IoT device is registered, which is the same as the administrator public key certificate owned by the sender of the intra-group communication data information; in order to ensure that the IoT devices communicating with it belong to the same group, this embodiment preferably uses the administrator public key to verify the signature information of the received source device, and the specific process is as follows:

[0076] Device B parses the X.509 administrator public key certificate and retrieves the group administrator public key.

[0077] Device B then uses the group administrator's public key to verify the administrator's signature information on device A (device B can obtain PK.A from the communication data, use the administrator's public key to decrypt device A's signature information, and compare the digest value. If the comparison is consistent, the signature verification is successful, otherwise, the signature verification fails). If the signature verification is successful, it proves that device A and device B have the same group administrator's public key, that is, the two devices are registered in the same group and the identity of the message sender is legal.

[0078] When the signature information of the source device is verified, the transmission data to be verified is verified according to the public key of the source device and the signature value of the transmission data to be verified; the specific verification process can be understood as decrypting the signature value of the transmission data to be verified according to the public key of the source device to obtain the corresponding data plaintext summary value; performing summary calculation on the transmission data to be verified according to the preset summary algorithm to obtain the corresponding data reference summary value; comparing the data plaintext summary value with the data reference summary value, if they are consistent, the verification is passed, otherwise, the verification fails. Through the above-mentioned verification process of the communication data information, the integrity of the message and the reliability of the sender's identity can be effectively authenticated, thereby effectively ensuring the correctness of the transmission message, and providing effective protection for subsequent related business processing. It should be noted that this embodiment only takes the communication data transmission verification between two devices in an Internet of Things group as an example. In actual applications, all Internet of Things devices in the same group can use the above method for efficient and reliable identity authentication to ensure the reliability of mutual communication.

[0079] The embodiment of the present application provides that after the IoT device in the IoT device group is powered on and started, the device public key in the device key pair obtained according to the physical unclonable technology requests registration to the administrator terminal, so that the administrator terminal performs the device registration operation according to the device public key and encapsulates the corresponding device signature information and the administrator public key certificate into a registration response message and sends it to the IoT device, and after receiving the registration response message, the device signature information is verified according to the administrator public key certificate, the administrator public key certificate and the device signature information are stored to complete the device registration, and when data needs to be transmitted, the device key pair is re-obtained according to the physical unclonable technology, the target transmission data is signed according to the device private key to obtain the data signature value, and the target transmission data, the data signature value, the device signature information and the device public key are packaged into the corresponding communication data information and sent. The technical solution of sending the data to the target IoT device in the group so that the target IoT device can verify the communication data information according to the stored administrator public key certificate, and after the verification is passed, communicate in response to the target transmission data, can not only simplify the key production process, effectively reduce the risk of key storage and management leakage, and improve the security of IoT devices, but also complete device registration authentication and group device communication identity authentication without storing device information, saving the storage overhead of each device and reducing the security risk of device private information transmission, while facilitating flexible regional management and group management of IoT devices, effectively improving the maintenance and management efficiency of group devices in multi-user scenarios, and thus providing reliable technical support for better meeting the network security needs and management needs of different IoT devices, with high application value.

[0080] It should be noted that although the steps in the above flowchart are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders.

[0081] In one embodiment, Figure 6 As shown, a group device registration and identity authentication system is provided, which is applied to an IoT device group, wherein the IoT device group includes an administrator terminal 1 and multiple IoT devices 2; the system includes:

[0082] The IoT device 2 is used to obtain a device key pair according to the physical unclonable technology in response to power-on startup, request registration from the administrator terminal according to the device public key in the device key pair, and accept the device signature information and administrator public key certificate fed back by the administrator terminal, and after verifying the device signature information according to the administrator public key certificate, store the administrator public key certificate and the device signature information to complete device registration;

[0083] The administrator terminal 1 is used to perform a device registration operation according to the device public key sent by the IoT device, and return corresponding device signature information and an administrator public key certificate.

[0084] In one embodiment, the Internet of Things device 1 is further used for:

[0085] In response to a data transmission request, the device key pair is retrieved according to the physical unclonable technology, and the target transmission data is signed according to the device private key in the device key pair to obtain a corresponding data signature value, and the target transmission data, the data signature value, the device signature information and the device public key in the device key pair are packaged into corresponding communication data information and sent to the target IoT device in the group, so that the target IoT device verifies the communication data information according to the stored administrator public key certificate, and after the verification is passed, performs a communication response according to the target transmission data.

[0086] For the specific definition of the registration and authentication system of the group device, please refer to the definition of the registration and authentication method of the group device above, and the corresponding technical effects can also be obtained equivalently, which will not be repeated here. Each module in the above-mentioned registration and authentication system of the group device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0087] Figure 7 FIG. 1 shows an internal structure diagram of a computer device in an embodiment, and the computer device may specifically be a terminal or a server. Figure 7 As shown, the computer device includes a processor, a memory, a network interface, a display, a camera and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a registration and identity authentication method for a group device is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0088] It can be understood by those skilled in the art that Figure 7The structure shown in the figure is only a block diagram of a part of the structure related to the present application scheme, and does not constitute a limitation on the computer device to which the present application scheme is applied. The specific computing device may include more or fewer components than shown in the figure, or combine certain components, or have the same component arrangement.

[0089] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the steps of the above method are implemented when the processor executes the computer program.

[0090] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0091] In summary, the embodiments of the present invention provide a group device registration and identity authentication method, system, computer device and storage medium. The group device registration and identity authentication method realizes that after the IoT device in the IoT device group is powered on and started, the device public key in the device key pair obtained by the physical unclonable technology requests registration to the administrator terminal so that the administrator terminal performs the device registration operation according to the device public key and encapsulates the corresponding device signature information and the administrator public key certificate into a registration response message and sends it to the IoT device. After receiving the registration response message, the device signature information is verified according to the administrator public key certificate, and the administrator public key certificate and the device signature information are stored to complete the device registration. When data needs to be transmitted, the device key pair is re-obtained according to the physical unclonable technology, the target transmission data is signed according to the device private key to obtain the data signature value, and the target transmission data, the data signature value, The device signature information and the device public key are packaged into corresponding communication data information and sent to the target IoT device in the group, so that the target IoT device verifies the communication data information according to the stored administrator public key certificate, and after the verification is passed, the communication response is made according to the target transmission data. This technical solution not only simplifies the key production process, effectively reduces the risk of key storage and management leakage, and improves the security of IoT devices, but also completes device registration authentication and intra-group device communication identity authentication without storing device information, saving the storage overhead of each device and reducing the security risk of device private information transmission. At the same time, it facilitates flexible regional management and group management of IoT devices, effectively improving the maintenance and management efficiency of group devices in multi-user scenarios, and thus provides reliable technical support for better meeting the network security and management needs of different IoT devices, and has high application value.

[0092] Each embodiment in this specification is described in a progressive manner, and the same or similar parts of each embodiment can be directly referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. It should be noted that the technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not 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.

[0093] The above-mentioned embodiments only express several preferred implementation modes of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in the technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention, and these improvements and substitutions should also be regarded as the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be based on the protection scope of the claims.

Claims

1. A registration and identity authentication method for group devices, characterized in that: Applied to an IoT device group, the IoT device group includes an administrator terminal and multiple IoT devices; the method includes the following steps: In response to the power-on startup of the IoT device, a device key pair is obtained according to the physical unclonable technology, and a registration request is made to the administrator terminal according to the device public key in the device key pair, so that the administrator terminal performs a device registration operation according to the device public key, and encapsulates the corresponding device signature information and the administrator public key certificate into a registration response message and sends it to the IoT device; The registration response message is received, and the IoT device verifies the device signature information according to the administrator public key certificate. After the verification is passed, the administrator public key certificate and the device signature information are stored to complete the device registration.

2. The registration and identity authentication method of group devices as claimed in claim 1, characterized in that: The step of the administrator terminal performing a device registration operation according to the device public key includes: The administrator terminal obtains the corresponding group trusted root through a preset certificate management agency, and obtains the corresponding administrator public key certificate and administrator private key based on the group trusted root; The device public key is signed based on the administrator's private key to obtain corresponding device signature information.

3. The registration and identity authentication method of group devices as claimed in claim 1, characterized in that: The step of verifying the device signature information according to the administrator public key certificate includes: According to the administrator public key certificate, obtain the corresponding administrator public key, and decrypt the device signature information according to the administrator public key to obtain the corresponding plaintext summary value; Performing digest calculation on the device public key in the device key pair according to a preset digest algorithm to obtain a corresponding base digest value; The plaintext digest value is compared with the reference digest value. If they are consistent, the signature verification passes. Otherwise, the signature verification fails.

4. The registration and identity authentication method of group devices as claimed in claim 1, characterized in that: The method further comprises: In response to a data transmission request, the IoT device reacquires the device key pair according to the physical unclonable technology, signs the target transmission data according to the device private key in the device key pair to obtain a corresponding data signature value, and packages the target transmission data, the data signature value, the device signature information and the device public key in the device key pair into corresponding communication data information and sends it to the target IoT device in the group, so that the target IoT device verifies the communication data information according to the stored administrator public key certificate, and after the verification is passed, performs a communication response according to the target transmission data.

5. The registration and identity authentication method for group devices according to claim 1 or 4, characterized in that: The steps to obtain a device key pair based on the physical unclonable technology include: The IoT device generates corresponding device identity information through the physical unclonable technology, and uses the device identity information as a device private key; Based on the device private key, the public key is calculated using the PKI public key algorithm to generate the corresponding device public key.

6. The registration and identity authentication method of group devices as claimed in claim 4, characterized in that: The step of the target IoT device verifying the communication data information according to the stored administrator public key certificate includes: The target IoT device parses the communication data information to obtain the corresponding source device signature information, the source device public key, the transmission data to be verified and the corresponding transmission data signature value to be verified; According to the stored administrator public key certificate, obtain the corresponding administrator public key, and verify the signature information of the source device according to the administrator public key; When the signature information of the source device is verified, the signature of the transmission data to be verified is verified according to the public key of the source device and the signature value of the transmission data to be verified.

7. A group device registration and identity authentication system, characterized in that: Applied to an IoT device group, the IoT device group includes an administrator terminal and multiple IoT devices; the system includes: The IoT device is configured to, in response to power-on startup, obtain a device key pair according to a physically unclonable technology, request registration from the administrator terminal according to a device public key in the device key pair, receive a registration response message sent by the administrator terminal, and store the administrator public key certificate and the device signature information after verifying the signature of the device according to the administrator public key certificate, thereby completing device registration; The administrator terminal is used to perform a device registration operation according to the device public key sent by the IoT device, and encapsulate the corresponding device signature information and the administrator public key certificate into a registration response message and send it to the IoT device.

8. A group device registration and identity authentication system as claimed in claim 7, characterized in that: The IoT device is also used to: In response to a data transmission request, the device key pair is retrieved according to the physical unclonable technology, and the target transmission data is signed according to the device private key in the device key pair to obtain a corresponding data signature value, and the target transmission data, the data signature value, the device signature information and the device public key in the device key pair are packaged into corresponding communication data information and sent to the target IoT device in the group, so that the target IoT device verifies the communication data information according to the stored administrator public key certificate, and after the verification is passed, performs a communication response according to the target transmission data.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Identity registration and authentication methods and systems and related equipment

    CN108449322A

  • A user authentication device and an authentication method based on a physically non-clonable technology PUF

    CN109040067A