Equipment authentication method and device, electronic equipment, storage medium and program product

By generating and verifying the target digital signature of the terminal device, the problem that the identity information of the terminal device is easily forged is solved, and the accuracy and security of device authentication are improved.

CN118632248APending Publication Date: 2024-09-10CHINA UNITED NETWORK COMM GRP CO LTD +1
View PDF 0 Cites 4 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the existing technology, the identity information of the terminal device is easily forged, resulting in low accuracy of device authentication.

Method used

Generate an identity by obtaining the fingerprint feature value of the terminal device, generate the target signature private key and public key based on the identity, generate the target digital signature, and send it to the identity authentication device for verification to ensure the accuracy of the identity authentication process of the terminal device.

Benefits of technology

It improves the accuracy of device authentication, prevents identity information from being forged, and enhances the identity authentication security of terminal devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118632248A
    Figure CN118632248A
Patent Text Reader

Abstract

The invention discloses an equipment authentication method and device, electronic equipment, a storage medium and a program product, relates to the technical field of communication, and is used for improving the authentication accuracy of terminal equipment. The method comprises the steps of obtaining an identifier of a terminal device, wherein the identifier comprises a fingerprint feature value of the terminal device; generating a target signature private key based on the identifier; the target signature private key corresponds to the target signature public key; generating a target digital signature based on the target signature private key; the target digital signature is used for authenticating the identity of the terminal equipment; and sending the identifier and the target digital signature to the identity authentication device, so that the identity authentication device generates a target signature public key based on the identifier, and verifies the target digital signature based on the target signature public key. The method and the device are applied to a scene for authenticating the terminal equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a device authentication method, apparatus, electronic device, storage medium and program product. Background Art

[0002] Currently, when authenticating the identity of a terminal device, the identity of the terminal device can be verified by comparing the identity information (eg, media access control (MAC) address) sent by the terminal device with the identity information registered when the terminal device is registered.

[0003] However, when the identity of the terminal device is authenticated by comparing the identity information of the terminal device, the identity information of the terminal device can be easily forged, resulting in low accuracy of terminal device authentication. Summary of the invention

[0004] The present application provides a device authentication method, apparatus, electronic device, storage medium and program product, which are used to solve the technical problem that when authenticating the identity of a terminal device by comparing the identity information of the terminal device, the identity information of the terminal device can be easily forged, resulting in low accuracy of terminal device authentication, thereby improving the accuracy of device authentication.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, a device authentication method is provided, the method comprising: obtaining an identification of a terminal device, the identification comprising a fingerprint feature value of the terminal device; generating a target signature private key based on the identification; the target signature private key corresponds to a target signature public key; generating a target digital signature based on the target signature private key; the target digital signature is used to authenticate the identity of the terminal device; sending the identification and the target digital signature to an identity authentication device, so that the identity authentication device generates a target signature public key based on the identification, and verifies the target digital signature based on the target signature public key.

[0007] In one possible implementation, a target signature private key is generated based on an identifier, including: generating a first signature private key and a first signature public key based on the identifier; sending the identifier and the first signature public key to a key management device; the key management device is used to generate a second signature public key based on the first signature public key, and to generate a second signature private key based on the identifier and the second signature public key; receiving the second signature public key and the second signature private key sent by the key management device; generating a target signature private key based on the first signature private key and the second signature private key.

[0008] In a possible implementation, a key corresponding to a device group is generated based on a channel measurement value sent by each device and multiple device fingerprints, including: determining a first baseline value based on the channel measurement value sent by each device, the first baseline value being used to characterize the difference between the channel measurement values ​​sent by each device; and generating a key corresponding to the device group based on the first baseline value and multiple device fingerprints when the first baseline value is less than a preset value.

[0009] In a possible implementation, sending an identifier and a target digital signature to an identity authentication device includes: sending an identifier, a target digital signature, and a second signature public key to the identity authentication device; the identity authentication device is used to authenticate the identity of the terminal device based on the identifier, the target digital signature, and the second signature public key.

[0010] In the second aspect, a device authentication method is provided, the method comprising: receiving an identification of a terminal device and a target digital signature sent by the terminal device; the target digital signature is generated based on a signature private key; the target signature private key is generated based on the identification; the identification comprises a fingerprint feature value of the terminal device; the target signature private key corresponds to the target signature public key; based on the identification, a target signature public key is generated; based on the target signature public key, a target digital signature is verified; and when the target digital signature is verified successfully, it is determined that the identity authentication of the terminal device is successful.

[0011] In a possible implementation, receiving an identification of a terminal device and a target digital signature sent by a terminal device includes: receiving an identification, a target digital signature and a second signature public key sent by the terminal device, the second signature public key being generated based on the identification; generating a target signature public key based on the identification, including: generating a target signature public key based on the identification, the second signature public key, a random number and a public key of a key management device.

[0012] According to a third aspect, a device authentication method is provided, the method comprising: receiving an identification of a terminal device and a first signature public key sent by the terminal device, the identification comprising a fingerprint feature value of the terminal device, and the first signature public key being generated based on the identification; generating a second signature public key based on the first signature public key; generating a second signature private key based on the identification and the second signature public key; sending the second signature public key and the second signature private key to the terminal device, the terminal device being used to perform identity authentication based on the second signature public key and the second signature private key.

[0013] In one possible implementation, generating a second signature public key based on the first signature public key includes: generating the second signature public key based on the first signature public key and a random number; generating a second signature private key based on the identifier and the second signature public key includes: generating the second signature private key based on the identifier, the first signature public key, the random number and the private key of the key management device.

[0014] In a fourth aspect, a device authentication device is provided, which includes: a transmission unit and a processing unit; the transmission unit is used to obtain an identification of a terminal device, the identification including a fingerprint feature value of the terminal device; the processing unit is used to generate a target signature private key based on the identification; the target signature private key corresponds to the target signature public key; the processing unit is also used to generate a target digital signature based on the target signature private key; the target digital signature is used to authenticate the identity of the terminal device; the transmission unit is also used to send the identification and the target digital signature to an identity authentication device, so that the identity authentication device generates a target signature public key based on the identification, and verifies the target digital signature based on the target signature public key.

[0015] In a possible implementation, the processing unit is further used to generate a first signature private key and a first signature public key based on the identifier; the transmission unit is further used to send the identifier and the first signature public key to the key management device; the key management device is used to generate a second signature public key based on the first signature public key, and to generate a second signature private key based on the identifier and the second signature public key; the transmission unit is further used to receive the second signature public key and the second signature private key sent by the key management device; the processing unit is further used to generate a target signature private key based on the first signature private key and the second signature private key.

[0016] In a possible implementation, the transmission unit is further used to send the identification, the target digital signature and the second signature public key to the identity authentication device; the identity authentication device is used to authenticate the identity of the terminal device based on the identification, the target digital signature and the second signature public key.

[0017] In a fifth aspect, a device authentication device is provided, which includes: a transmission unit and a processing unit; the transmission unit is used to receive the identification of a terminal device and a target digital signature sent by the terminal device; the target digital signature is generated based on a signature private key; the target signature private key is generated based on the identification; the identification includes a fingerprint feature value of the terminal device; the target signature private key corresponds to the target signature public key; the processing unit is used to generate a target signature public key based on the identification; the processing unit is also used to verify the target digital signature based on the target signature public key; the processing unit is also used to determine that the identity authentication of the terminal device has passed when the target digital signature verification has passed.

[0018] In a possible implementation, the transmission unit is also used to receive an identification, a target digital signature, and a second signature public key sent by a terminal device, where the second signature public key is generated based on the identification; the processing unit is also used to generate a target signature public key based on the identification, the second signature public key, a random number, and the public key of a key management device.

[0019] In a sixth aspect, a device authentication device is provided, which includes: a transmission unit and a processing unit; the transmission unit is used to receive an identification of a terminal device and a first signature public key sent by the terminal device, the identification includes a fingerprint feature value of the terminal device, and the first signature public key is generated based on the identification; the processing unit is used to generate a second signature public key based on the first signature public key; the processing unit is also used to generate a second signature private key based on the identification and the second signature public key; the transmission unit is also used to send the second signature public key and the second signature private key to the terminal device, and the terminal device is used to perform identity authentication based on the second signature public key and the second signature private key.

[0020] In a possible implementation, the processing unit is further used to generate a second signature public key based on the first signature public key and the random number; the processing unit is further used to generate a second signature private key based on the identifier, the first signature public key, the random number and the private key of the key management device.

[0021] In the seventh aspect, an electronic device comprises: a processor and a memory; wherein the memory is used to store one or more programs, and the one or more programs include computer execution instructions. When the electronic device is running, the processor executes the computer execution instructions stored in the memory to enable the electronic device to perform the method of the first aspect, the method of the second aspect, or the method of the third aspect.

[0022] In an eighth aspect, a computer-readable storage medium storing one or more programs is provided, wherein the one or more programs include instructions, and when the instructions are executed by a computer, the computer executes the method of the first aspect, the method of the second aspect, or the method of the third aspect.

[0023] In a ninth aspect, a computer program product is provided. When the computer instructions are executed on an electronic device, the electronic device executes the method of the first aspect, the method of the second aspect, or the method of the third aspect.

[0024] The present application provides a device authentication method, apparatus, electronic device, storage medium and program product, which are applied in the scenario of device authentication. When it is necessary to authenticate the terminal device, the terminal device can obtain the identification of the terminal device including the fingerprint characteristic value of the terminal device, and generate a target signature private key based on the identification, and then generate a target digital signature based on the target signature private key, and then send the identification and the target digital signature to the identification authentication device, so that the identification authentication device generates a target signature public key based on the identification, and verifies the target digital signature based on the target signature public key. That is, under normal circumstances, the identification of the terminal device generated based on the fingerprint characteristic value of the terminal device can uniquely identify the terminal device, so by digitally signing with the signature private key generated based on the identification of the terminal device to verify the identity of the terminal device, the accuracy of the identity authentication can be further improved while the identity of the terminal device is accurately authenticated by using the digital signature.

[0025] Through the above method, the identity of the terminal device can be authenticated based on the identification and digital signature of the terminal device. Thus, the technical problem that when authenticating the identity of the terminal device by comparing the identity information of the terminal device, the identity information of the terminal device is easily forged, resulting in low accuracy of terminal device authentication is solved, and the accuracy of device authentication is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A schematic diagram of the structure of a device authentication system provided in an embodiment of the present application;

[0027] Figure 2 A schematic diagram of a device authentication method provided in an embodiment of the present application Figure 1 ;

[0028] Figure 3 A schematic diagram of key generation and use provided for an embodiment of the present application;

[0029] Figure 4 A schematic diagram of a device authentication method provided in an embodiment of the present application Figure 2 ;

[0030] Figure 5 A schematic diagram of a device authentication method provided in an embodiment of the present application Figure 3 ;

[0031] Figure 6 A schematic diagram of a device authentication method provided in an embodiment of the present application Figure 4 ;

[0032] Figure 7 A schematic diagram of a device authentication method provided in an embodiment of the present application Figure 5 ;

[0033] Figure 8 A schematic diagram of a device authentication method provided in an embodiment of the present application Figure 6 ;

[0034] Fig. 9 A schematic diagram of a device authentication method provided in an embodiment of the present application Figure 7 ;

[0035] Fig.10 A schematic diagram of a PUF-based certificateless identification cryptographic application framework provided in an embodiment of the present application;

[0036] Fig.11 A schematic diagram of identity authentication based on a terminal device provided in an embodiment of the present application;

[0037] Fig.12A schematic diagram of a device authentication apparatus provided in an embodiment of the present application Figure 1 ;

[0038] Fig.13 A schematic diagram of a device authentication apparatus provided in an embodiment of the present application Figure 2 ;

[0039] Fig.14 A schematic diagram of a device authentication apparatus provided in an embodiment of the present application Figure 3 ;

[0040] Fig.15 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0042] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" and "plurality" refer to two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.

[0043] Physical Unclonable Functions (PUF) (i.e., fingerprint feature values ​​in this application) refers to the use of random distribution, non-copyable, non-clonable physical features caused by slight process deviations in the manufacturing process of the terminal device chip to give each chip a chip fingerprint, which is used as a root of trust for chip identity authentication and data encryption, making the chip safer. Therefore, the key generated based on PUF has the advantages of low cost, volatility, unpredictability and simple structure.

[0044] Currently, in the field of pan-Internet of Things, especially for terminal devices with three lows (low power consumption, low storage, and low computing power), the technical feasibility of building public key strong identity capabilities is weak, and the identity of the terminal devices cannot be accurately authenticated. Therefore, there is an urgent need for a method that can accurately authenticate the unique identity of the terminal device.

[0045] The present application provides a device authentication method, when the terminal device needs to be authenticated, the terminal device can obtain the terminal device identification generated based on the fingerprint feature value of the terminal device and / or the integrated circuit card identification code, and generate a target signature private key based on the identification, and then generate a target digital signature based on the target signature private key, and then send the identification and the target digital signature to the identity authentication device, so that the identity authentication device authenticates the identity of the terminal device based on the identification and the target digital signature. That is, under normal circumstances, the terminal device identification generated based on the fingerprint feature value of the terminal device and / or the integrated circuit card identification code can uniquely identify the terminal device, so by digitally signing the signature private key generated based on the identification of the terminal device to verify the identity of the terminal device, the accuracy of identity authentication can be further improved while the identity of the terminal device is accurately authenticated by using the digital signature.

[0046] Through the above method, the identity of the terminal device can be authenticated based on the terminal device's identification and digital signature. Thus, the technical problem that when authenticating the identity of the terminal device by comparing the terminal device's identity information, the terminal device's identity information is easily forged, resulting in low accuracy of terminal device authentication is solved, and the accuracy of device authentication is improved.

[0047] An embodiment of the present application provides a device authentication method, which can be applied to a device authentication system. Figure 1 FIG. 1 shows a schematic diagram of the structure of a device authentication system. Figure 1 As shown, the device authentication system 10 includes: a terminal device 11, a key management device (Key Generation Center, KGC) (also referred to as a key management system) 12 and an identity authentication device (also referred to as a secure identity authentication gateway) 13. The terminal device 11, the key management device 12 and the identity authentication device 13 may be connected in a wired manner or in a wireless manner, which is not limited in the embodiment of the present invention.

[0048] The terminal device 11 is used to generate an identification of the terminal device based on the fingerprint feature value and / or the integrated circuit card identification code of the terminal device 11, generate a first signature private key (also called terminal private key component 1) and a first signature public key (also called terminal public key component 1) based on the identification, send the identification and the first signature public key to the key management device 12, receive the second signature public key and the second signature private key (also called terminal private key component 2) sent by the key management device 12, generate a target signature private key based on the first signature private key and the second signature private key, generate a target digital signature based on the target signature private key, and send the identification and the target digital signature to the identity authentication device 13.

[0049] The key management device 12 is used to receive the identification of the terminal device 11 and the first signature public key sent by the terminal device 11, generate a second signature public key (also called terminal public key component 2) based on the first signature public key, generate a second signature private key based on the identification and the first signature public key, and send the second signature public key and the second signature private key to the terminal device 11.

[0050] The identity authentication device 13 is used to receive the identification of the terminal device 11 and the target digital signature sent by the terminal device 11, generate the target signature public key based on the identification, verify the target digital signature based on the target signature public key, and determine that the identity authentication of the terminal device 11 is passed when the target digital signature verification is passed.

[0051] The terminal device 11, the key management device 12 and the identity authentication device 13 may be physical machines, such as a terminal device, an Internet of Things device, a server, or a server group consisting of multiple servers.

[0052] The following describes a device authentication method provided by an embodiment of the present application in conjunction with the accompanying drawings. Figure 2 As shown, an embodiment of the present application provides a device authentication method, the method includes S201-S204:

[0053] S201. Obtain the identifier of the terminal device.

[0054] The identifier (ie, user identification (UID)) is generated based on a fingerprint feature value and / or an integrated circuit card identity (ICCID) of the terminal device.

[0055] It will be appreciated that the terminal device may be based on an identification of the terminal device.

[0056] Optionally, a national security subscriber identification module (SIM) card can be manually implanted in the terminal device. Furthermore, the terminal device can perform an XOR operation on the ICCID of the national security SIM card and the fingerprint feature value of the terminal device (i.e. PUF) through the SIM security identification password application to generate the terminal device's identification (i.e. the SIM card's unique hardware fingerprint value, ID A ).

[0057] It should be noted that the national security SIM card can provide device identity password services for IoT applications through the 7816 interface.

[0058] S202: Generate a target signature private key based on the identifier.

[0059] Among them, the target signature private key corresponds to the target signature public key.

[0060] It can be understood that based on the identification, the terminal device can generate a target signature private key.

[0061] Alternatively, if Figure 3 As shown, the terminal device can be based on ID A , generate the first signature private key (ie d') through the SIM security identification password application A ) and the first signature public key (P' A ) and send the ID through a secure link A , d' A and P' A Further, the key management device can randomly generate a random number (ie, r) and send P' A Add it to r to get the second signature public key (i.e. P A ), and according to the key generation algorithm, based on ID A , P A , r and KGC's public key (i.e., KGC master key, s) to generate the second signature private key (i.e., d" A =f(ID A , P A , r, s)).

[0062] Further, such as Figure 3 As shown, KGC can A and d' A Send to the terminal device. The terminal device can send d” A Encrypted and stored locally without storing P A Furthermore, when the identity of the terminal device needs to be authenticated, the terminal device can decrypt locally to obtain d" A , and d” A and d' A Add together to get the target signature private key (ie d A ).

[0063] It should be noted that (d' A, P' A ) is the terminal key component 1, (d” A, P A ) is the terminal key component 2.

[0064] S203: Generate a target digital signature based on the target signature private key.

[0065] Among them, the target digital signature is used to authenticate the identity of the terminal device.

[0066] Alternatively, if Figure 3 As shown, the terminal device can be based on d ADigitally sign the authentication request and generate the target digital signature (i.e. k).

[0067] S204: Send the identification and the target digital signature to the identity authentication device, so that the identity authentication device generates a target signature public key based on the identification, and verifies the target digital signature based on the target signature public key.

[0068] Alternatively, if Figure 3 As shown, the terminal device can send an ID to the identity authentication device A , P A , k and authentication request, or you can send ID to the identity authentication device through KGC A , P A . Identity authentication devices can be based on ID A , P A , k and authentication request to authenticate the identity of the terminal device.

[0069] Exemplarily, the authentication request may be a timestamp.

[0070] In one design, Figure 4 As shown, a device authentication method provided in an embodiment of the present application, the method in the above step S202 specifically includes S301-S304:

[0071] S301. Generate a first signature private key and a first signature public key based on the identifier.

[0072] Optionally, based on the identifier, the terminal device may generate a first signature private key and a first signature public key.

[0073] S302: Send an identifier and a first signature public key to a key management device.

[0074] The key management device is used to generate a second signature public key based on the first signature public key, and to generate a second signature private key based on the identifier and the second signature public key.

[0075] Optionally, the terminal device may send the identifier and the first signature public key to the key management device.

[0076] S303: Receive a second signature public key and a second signature private key sent by a key management device.

[0077] S304: Generate a target signature private key based on the first signature private key and the second signature private key.

[0078] Optionally, the terminal device may receive the second signature public key and the second signature private key sent by the key management device, and generate a target signature private key based on the first signature private key and the second signature private key when authentication of the terminal device is required.

[0079] It should be noted that the first signature private key and the second signature private key are both partial private keys of the complete target signature private key, and the first signature public key and the second signature public key are both partial private keys of the complete target signature public key.

[0080] In a possible implementation, the public key and private key of the terminal device are managed by a key management device, so that the security of the public key and private key of the terminal device can be guaranteed.

[0081] In one design, Figure 5 As shown, an embodiment of the present application provides a device authentication method, the method in the above step S204 specifically includes S401:

[0082] S401. Send an identifier, a target digital signature, and a second signature public key to an identity authentication device.

[0083] The identity authentication device is used to authenticate the identity of the terminal device based on the identifier, the target digital signature and the second signature public key.

[0084] Optionally, the terminal device may send an identification, a target digital signature, and a second signature public key to the identity authentication device.

[0085] In one possible implementation, the identity authentication device can generate a target signature public key based on information such as the identification and the second signature public key, and verify the target digital signature through the target signature public key to verify the identity of the terminal device. The target signature public key can be generated in real time to ensure the security of the key.

[0086] like Figure 6 As shown, an embodiment of the present application provides a device authentication method, the method includes S501-S504:

[0087] S501: Receive a terminal device identifier and a target digital signature sent by a terminal device.

[0088] Among them, the target digital signature is generated based on the signature private key; the target signature private key is generated based on the identifier; the identifier is generated based on the fingerprint feature value and / or integrated circuit card identification code of the terminal device; the target signature private key corresponds to the target signature public key.

[0089] Optionally, the identity authentication device can receive the ID sent by the terminal device A , P A , k and authentication request.

[0090] S502: Generate a target signature public key based on the identifier.

[0091] Alternatively, if Figure 3 As shown, the identity authentication device can obtain the public key of KGC (i.e., P PUB ), and according to the key generation algorithm, based on IDA , P A , k and P PUB , calculate the target public key signature (i.e. Q A =g(ID A , P A , k, P PUB )).

[0092] S503: Verify the target digital signature based on the target signature public key.

[0093] Optionally, the identity authentication device can be based on Q A Verify the target digital signature. Further, the identity authentication device can be based on Q A , and obtain the authentication request corresponding to the target digital signature. A If the authentication request obtained is consistent with the authentication request sent by the terminal device, the identity authentication device can determine that the target digital signature verification has passed. A When the obtained authentication request is inconsistent with the authentication request sent by the terminal device, the identity authentication device can determine that the target digital signature verification has failed.

[0094] S504: When the target digital signature is verified, determine that the identity authentication of the terminal device is passed.

[0095] Optionally, when the target digital signature verification passes, the identity authentication device may determine that the identity authentication of the terminal device passes; when the target digital signature verification fails, the identity authentication device may determine that the identity authentication of the terminal device fails.

[0096] In one design, Figure 7 As shown, an embodiment of the present application provides a device authentication method, the method in the above step S501 specifically includes S601, and the method in the above step S502 specifically includes S602:

[0097] S601: Receive an identifier, a target digital signature, and a second signature public key sent by a terminal device.

[0098] The second signature public key is generated based on the identifier.

[0099] S602: Generate a target signature public key based on the identifier, the second signature public key, the random number and the public key of the key management device.

[0100] Optionally, the identity authentication device may receive the identification, target digital signature and second signature public key sent by the terminal device. Further, the identity authentication device may generate the target signature public key based on the identification, second signature public key, random number and public key of the key management device.

[0101] In one possible approach, the security of the signature public key can be improved by generating the signature public key using a random number and a public key of a key management device.

[0102] like Figure 8 As shown, an embodiment of the present application provides a device authentication method, the method includes S701-S704:

[0103] S701. Receive a terminal device identifier and a first signature public key sent by a terminal device.

[0104] The identifier is generated based on the fingerprint feature value and / or the integrated circuit card identification code of the terminal device, and the first signature public key is generated based on the identifier.

[0105] Optionally, KGC can receive the ID sent by the terminal device A and P' A .

[0106] S702: Generate a second signature public key based on the first signature public key.

[0107] Optionally, KGC can randomly generate r and use P' A Add to r to get P A .

[0108] S703: Generate a second signature private key based on the identifier and the second signature public key.

[0109] Optionally, KGC can generate a key based on ID A , P A , r and s generate the second signature private key (i.e. d" A =f(ID A , P A , r, s)).

[0110] S704: Send the second signature public key and the second signature private key to the terminal device.

[0111] Among them, the terminal device is used to perform identity authentication based on the second signature public key and the second signature private key.

[0112] Optionally, the KGC may send the second signature public key and the second signature private key to the terminal device.

[0113] In one design, Fig. 9 As shown, an embodiment of the present application provides a device authentication method, the method in the above step S702 specifically includes S801, and the method in the above step S703 specifically includes S802:

[0114] S801. Generate a second signature public key based on the first signature public key and a random number.

[0115] S802: Generate a second signature private key based on the identifier, the first signature public key, the random number, and the private key of the key management device.

[0116] Optionally, the KGC may generate a second signature public key based on the first signature public key and the random number. Further, the KGC may generate a second signature private key based on the identifier, the first signature public key, the random number and the private key of the key management device.

[0117] In a possible implementation, the signature private key is generated by using a random number and a private key of a key management device, which can improve the security of the signature private key.

[0118] In one possible implementation, Fig.10 As shown, the IoT pan-terminal (i.e., terminal device) may include: a national secret security SIM card and an IoT security module. Among them, the national secret security SIM card includes a SIM security identification password application. The IoT pan-terminal can obtain the unique characteristic value (i.e., PUF) of the ICCID and the national secret security chip through the SIM security identification password application, and perform an XOR operation on the ICCID and the PUF to generate a SIM unique hardware fingerprint value. The SIM unique hardware fingerprint value is used as the device identification number of the certificateless identification key system (i.e., the certificateless identification password service platform) to generate the corresponding SM2 public-private key pair (i.e., the target signature public key and the target signature private key in this application). The SM2 public-private key pair is used to sign and protect business instructions (i.e., authentication requests). The certificateless identification password service platform is used to verify the signed data (i.e., the target digital signature in this application) to achieve two-way identity authentication.

[0119] Afterwards, the SIM security identification cryptographic application can send an attention (AT) command to the IoT security module, and based on the identification, perform key application, key calculation and other business interactions with the certificateless identification cryptographic service platform (including KGC and IoT cryptographic application service system) through the IoT security module.

[0120] KGC may include: key registration system (KRS), key service system (KSS), key distribution system (KDS) and key generation system (KGS).

[0121] In one possible implementation, Fig.11 As shown, first, the terminal device can generate an ID based on ICCID and PUF A, and send the ID to the digital security identity authentication platform (including identity management module, terminal authority management module and certificateless identity password service platform) A , register your ID through the digital security identity authentication platform A , configure terminal authentication policies and permission management policies, and send terminal authentication policies and permission management policies to the security identity authentication gateway (i.e., identity authentication device) through the digital security identity authentication platform.

[0122] Furthermore, the terminal device can generate a first signature private key and a first signature public key, and send an ID to the digital security identity authentication platform. A , a first signature private key and a first signature public key. Further, a second signature private key and a second signature public key are generated through a digital security identity authentication platform. The terminal device can receive the second signature private key and the second signature public key, and generate a target signature private key based on the first signature private key and the second signature private key when authenticating the identity of the terminal device.

[0123] The terminal device can generate the target digital signature of the authentication request through the target signature private key and send the ID to the digital security identity authentication platform. A , the second signature public key, the authentication request and the target digital signature. Further, the digital security identity authentication platform and the security identity authentication gateway are synchronized. The security identity authentication gateway can be based on ID A , the second signature public key, the random number and the public key of KGC generate the target signature public key, and verify the target digital signature based on the target signature public key, and determine that the identity authentication of the terminal device is passed when the target digital signature verification is passed. Further, when the identity authentication of the terminal device is passed, the terminal device can access the IoT master station platform through the secure identity authentication gateway.

[0124] It should be noted that the security identity authentication gateway can also apply for a key from the digital security identity authentication platform in the same way as the terminal device, and use the applied key for two-way identity authentication with the terminal device.

[0125] The present application provides a device authentication method, which uses the ICCID of a SIM card as the device's unique identifier for a certificateless elliptic curve algorithm (SM2) identification key generation system, and combines the fingerprint feature value of a PUF chip hardware to generate an actual public key identifier for the device identity, thereby forming a security mechanism for hardware anti-counterfeiting of an Internet of Things terminal, establishing a chip-level public key identifier cryptographic security system and a strong security identity capability of an Internet of Things terminal, realizing the cryptographic capability of a unique identity, and providing precise security identity capabilities.

[0126] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0127] The embodiment of the present application can divide the functional modules of a device authentication method according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0128] Fig.12 This is a schematic diagram of the structure of a device authentication device provided in an embodiment of the present application. Fig.12 As shown, a device authentication apparatus 100 is used to improve the accuracy of terminal device authentication, for example, to perform Figure 2 A device authentication method is shown. The device authentication apparatus 100 includes: a transmission unit 1001 and a processing unit 1002.

[0129] The transmission unit 1001 is used to obtain an identification of a terminal device, where the identification includes a fingerprint feature value of the terminal device.

[0130] Processing unit 1002 is used to generate a target signature private key based on the identifier; the target signature private key corresponds to the target signature public key; processing unit 1002 is also used to generate a target digital signature based on the target signature private key; the target digital signature is used to authenticate the identity of the terminal device.

[0131] The transmission unit 1001 is further used to send the identification and the target digital signature to the identity authentication device, so that the identity authentication device generates a target signature public key based on the identification, and verifies the target digital signature based on the target signature public key.

[0132] In a possible implementation, the processing unit 1002 is also used to generate a first signature private key and a first signature public key based on the identifier; the transmission unit 1001 is also used to send the identifier and the first signature public key to the key management device; the key management device is used to generate a second signature public key based on the first signature public key, and to generate a second signature private key based on the identifier and the second signature public key; the transmission unit 1001 is also used to receive the second signature public key and the second signature private key sent by the key management device; the processing unit 1002 is also used to generate a target signature private key based on the first signature private key and the second signature private key.

[0133] In a possible implementation, the transmission unit 1001 is further used to send the identification, the target digital signature and the second signature public key to the identity authentication device; the identity authentication device is used to authenticate the identity of the terminal device based on the identification, the target digital signature and the second signature public key.

[0134] Fig.13 This is a schematic diagram of the structure of a device authentication device provided in an embodiment of the present application. Fig.13 As shown, a device authentication apparatus 110 is used to improve the accuracy of terminal device authentication, for example, to perform Figure 6 A device authentication method is shown. The device authentication apparatus 110 includes: a transmission unit 1101 and a processing unit 1102.

[0135] Transmission unit 1101 is used to receive the terminal device identification and target digital signature sent by the terminal device; the target digital signature is generated based on the signature private key; the target signature private key is generated based on the identification; the identification includes the fingerprint feature value of the terminal device; the target signature private key corresponds to the target signature public key.

[0136] The processing unit 1102 is used to generate a target signature public key based on the identifier.

[0137] The processing unit 1102 is further configured to verify the target digital signature based on the target signature public key.

[0138] The processing unit 1102 is further configured to determine whether the identity authentication of the terminal device has passed when the target digital signature verification has passed.

[0139] In a possible implementation, the transmission unit 1101 is also used to receive an identification, a target digital signature, and a second signature public key sent by a terminal device, where the second signature public key is generated based on the identification; the processing unit 1102 is also used to generate a target signature public key based on the identification, the second signature public key, a random number, and the public key of the key management device.

[0140] Fig.14 This is a schematic diagram of the structure of a device authentication device provided in an embodiment of the present application. Fig.14As shown, a device authentication apparatus 120 is used to improve the accuracy of terminal device authentication, for example, to perform Figure 8 A device authentication method is shown. The device authentication apparatus 120 includes: a transmission unit 1201 and a processing unit 1202.

[0141] The transmission unit 1201 is used to receive the terminal device identification and the first signature public key sent by the terminal device, where the identification includes the fingerprint feature value of the terminal device, and the first signature public key is generated based on the identification; the processing unit 1202 is used to generate the second signature public key based on the first signature public key.

[0142] The processing unit 1202 is further configured to generate a second signature private key based on the identifier and the second signature public key.

[0143] The transmission unit 1201 is also used to send the second signature public key and the second signature private key to the terminal device, and the terminal device is used to perform identity authentication based on the second signature public key and the second signature private key.

[0144] In one possible implementation, the processing unit 1202 is further used to generate a second signature public key based on the first signature public key and the random number; the processing unit 1202 is further used to generate a second signature private key based on the identifier, the first signature public key, the random number and the private key of the key management device.

[0145] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiment of the present application provides a possible structural diagram of the electronic device involved in the above-mentioned embodiment. Fig.15 As shown, an electronic device 130 is used to improve the accuracy of terminal device authentication, for example, to perform Figure 2 The electronic device 130 includes a processor 1301, a memory 1302 and a bus 1303. The processor 1301 and the memory 1302 may be connected via the bus 1303.

[0146] The processor 1301 is the control center of the communication device, which can be a processor or a general term for multiple processing elements. For example, the processor 1301 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0147] As an embodiment, the processor 1301 may include one or more CPUs, such as Fig.15 CPU 0 and CPU 1 are shown in .

[0148] The memory 1302 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0149] As a possible implementation, the memory 1302 may exist independently of the processor 1301, and the memory 1302 may be connected to the processor 1301 via the bus 1303 to store instructions or program codes. When the processor 1301 calls and executes the instructions or program codes stored in the memory 1302, a device authentication method provided in an embodiment of the present application can be implemented.

[0150] In another possible implementation, the memory 1302 may also be integrated with the processor 1301 .

[0151] The bus 1303 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.15 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0152] It should be pointed out that Fig.15 The structure shown does not constitute a limitation on the electronic device 130. Fig.15 In addition to the components shown, the electronic device 130 may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0153] As an example, combining Fig.12 The functions implemented by the transmission unit 1001 and the processing unit 1002 in the device authentication device 100 are similar to those Fig.15 The functions of the processor 1301 in the embodiment are the same as those of the embodiment. Fig.13The functions implemented by the transmission unit 1101 and the processing unit 1102 in the device authentication device 110 are similar to those Fig.15 The functions of the processor 1301 in the embodiment are the same as those of the embodiment. Fig.14 The functions implemented by the transmission unit 1201 and the processing unit 1202 in the device authentication device 120 are similar to those Fig.15 The function of processor 1301 in is the same.

[0154] Optional, such as Fig.15 As shown, the electronic device 130 provided in the embodiment of the present application may further include a communication interface 1304 .

[0155] The communication interface 1304 is used to connect with other devices through a communication network. The communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 1304 may include a receiving unit for receiving data and a sending unit for sending data.

[0156] In one design, in the electronic device provided in the embodiment of the present application, the communication interface can also be integrated into the processor.

[0157] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional units is used as an example. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0158] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When a computer executes the instructions, the computer executes each step in the method flow shown in the above method embodiment.

[0159] An embodiment of the present application provides a computer program product. When a computer instruction is executed on an electronic device, the electronic device executes a device authentication method in the above method embodiment.

[0160] Among them, the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk. Random access memory (random access memory, RAM), read-only memory (read-only memory, ROM), erasable programmable read only memory (erasable programmable read only memory, EPROM), registers, hard disks, optical fibers, portable compact disc read-only memory (compact disc read-only memory, CD-ROM), optical storage devices, magnetic storage devices, or the above in a suitable combination, or any other form of computer-readable storage medium known in the art.

[0161] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).

[0162] In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0163] Since the electronic device, computer-readable storage medium, and computer program product in the embodiments of the present application can be applied to the above method, the technical effects that can be obtained can also refer to the above method embodiments, and the embodiments of the present application will not be repeated here.

[0164] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.

Claims

1. A device authentication method, characterized in that: The method comprises: Obtaining an identification of a terminal device, wherein the identification includes a fingerprint feature value of the terminal device; Based on the identifier, a target signature private key is generated; the target signature private key corresponds to the target signature public key; Generate a target digital signature based on the target signature private key; the target digital signature is used to authenticate the identity of the terminal device; The identification and the target digital signature are sent to an identity authentication device, so that the identity authentication device generates the target signature public key based on the identification, and verifies the target digital signature based on the target signature public key.

2. The method according to claim 1, characterized in that The generating a target signature private key based on the identifier includes: Based on the identifier, generate a first signature private key and a first signature public key; Sending the identifier and the first signature public key to a key management device; the key management device is used to generate a second signature public key based on the first signature public key, and to generate a second signature private key based on the identifier and the second signature public key; Receiving the second signature public key and the second signature private key sent by the key management device; The target signature private key is generated based on the first signature private key and the second signature private key.

3. The method according to claim 2, characterized in that The sending the identifier and the target digital signature to an identity authentication device includes: The identification, the target digital signature and the second signature public key are sent to the identity authentication device; the identity authentication device is used to authenticate the identity of the terminal device based on the identification, the target digital signature and the second signature public key.

4. A device authentication method, characterized in that: The method comprises: Receiving the terminal device identification and target digital signature sent by the terminal device; the target digital signature is generated based on the signature private key; the target signature private key is generated based on the identification; the identification includes the fingerprint feature value of the terminal device; the target signature private key corresponds to the target signature public key; Based on the identifier, generate the target signature public key; Verifying the target digital signature based on the target signature public key; When the target digital signature is verified successfully, it is determined that the identity authentication of the terminal device is successful.

5. The method according to claim 4, characterized in that The receiving terminal device's identification and target digital signature sent by the terminal device include: Receiving the identifier, the target digital signature, and a second signature public key sent by the terminal device, where the second signature public key is generated based on the identifier; The generating the target signature public key based on the identifier includes: The target signature public key is generated based on the identifier, the second signature public key, a random number and a public key of a key management device.

6. A device authentication method, characterized in that: The method comprises: Receiving an identifier of the terminal device and a first signature public key sent by the terminal device, wherein the identifier includes a fingerprint feature value of the terminal device, and the first signature public key is generated based on the identifier; Based on the first signature public key, generate a second signature public key; Generate a second signature private key based on the identifier and the second signature public key; The second signature public key and the second signature private key are sent to the terminal device, and the terminal device is used to perform identity authentication based on the second signature public key and the second signature private key.

7. The method according to claim 6, characterized in that The generating a second signature public key based on the first signature public key includes: Generate the second signature public key based on the first signature public key and a random number; The generating a second signature private key based on the identifier and the second signature public key includes: The second signature private key is generated based on the identifier, the first signature public key, a random number, and a private key of a key management device.

8. A device authentication apparatus, characterized in that: The device authentication apparatus comprises: a transmission unit and a processing unit; The transmission unit is used to obtain the identification of the terminal device, where the identification includes a fingerprint feature value of the terminal device; The processing unit is used to generate a target signature private key based on the identifier; the target signature private key corresponds to the target signature public key; The processing unit is further used to generate a target digital signature based on the target signature private key; the target digital signature is used to authenticate the identity of the terminal device; The transmission unit is further used to send the identifier and the target digital signature to an identity authentication device, so that the identity authentication device generates the target signature public key based on the identifier, and verifies the target digital signature based on the target signature public key.

9. A device authentication apparatus, characterized in that: The device authentication apparatus comprises: a transmission unit and a processing unit; The transmission unit is used to receive the terminal device's identification and target digital signature sent by the terminal device; the target digital signature is generated based on the signature private key; the target signature private key is generated based on the identification; the identification includes the fingerprint feature value of the terminal device; the target signature private key corresponds to the target signature public key; The processing unit is used to generate the target signature public key based on the identifier; The processing unit is further used to verify the target digital signature based on the target signature public key; The processing unit is further configured to determine that the identity authentication of the terminal device has passed if the target digital signature verification has passed.

10. A device authentication apparatus, characterized in that: The device authentication apparatus comprises: a transmission unit and a processing unit; The transmission unit is used to receive an identifier of the terminal device and a first signature public key sent by the terminal device, wherein the identifier includes a fingerprint feature value of the terminal device, and the first signature public key is generated based on the identifier; The processing unit is used to generate a second signature public key based on the first signature public key; The processing unit is further configured to generate a second signature private key based on the identifier and the second signature public key; The transmission unit is further used to send the second signature public key and the second signature private key to the terminal device, and the terminal device is used to perform identity authentication based on the second signature public key and the second signature private key.

11. An electronic device, characterized in that include: Processor and memory; Wherein, the memory is used to store one or more programs, and the one or more programs include computer-executable instructions. When the electronic device is running, the processor executes the computer-executable instructions stored in the memory so that the electronic device executes the method described in any one of claims 1-3, the method described in any one of claims 4-5, or the method described in any one of claims 6-7.

12. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1-3, the method of any one of claims 4-5, or the method of any one of claims 6-7.

13. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method as claimed in any one of claims 1 to 3, the method as claimed in any one of claims 4 to 5, or the method as claimed in any one of claims 6 to 7.

Citation Information

Cited By

  • Authentication method and device based on terminal equipment identifier and storage medium

    CN119729472A

  • Card binding security enhancement system and method fusing radio frequency fingerprint and PUF (Physical Unclonable Function)

    CN120456022A

  • Security Enhancement System and Method for Machine-to-Card Binding Integrating Radio Frequency Fingerprint and PUF

    CN120456022B

  • Information sending method, identification method and related system of unmanned aerial vehicle

    CN121096180A