Equipment authentication method, system and device, equipment, storage medium and product
By using authentication parameters and timestamp differences in 6G networks for authentication, the redundant authentication problem between IoT devices and central security servers is solved, and lightweight intercommunication authentication and security improvement are achieved.
Patent Information
- Application Number
- CN202411092333.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-29
AI Technical Summary
In a 6G network environment, the authentication process between the Internet of Things devices and the central security server is too redundant, making it difficult to achieve lightweight intercommunication authentication, and the security performance requirements are constantly improving, so the existing technology is difficult to meet this challenge.
The first authentication proof information is determined through the first authentication parameters and the second authentication parameters sent by the central security server. After receiving the second authentication proof information generated by the authentication server, the timestamp difference is calculated to authenticate the security of the environment and realize the Internet of Things Lightweight intercommunication authentication between the device and the central security server.
It simplifies the authentication process between IoT devices and central security servers, improves authentication efficiency and security, and meets the needs of improving security performance in 6G networks.
Smart Images

Figure CN119052790A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of 6G network technology, and in particular to a device authentication method, system, apparatus, equipment, storage medium and product. Background Art
[0002] With the rapid construction of 6G network standards and the future implementation of 6G networks, there is an urgent need for an access authentication method for IoT devices that need to be connected in the 6G network environment, so as to ensure the security of the network environment and the safety of IoT devices after they are connected to the network. At the same time, with the continuous improvement of security performance requirements, the current network access authentication process is becoming more and more redundant, and the lightweight operation of the authentication process is also a challenge to current authentication technology. Therefore, how to achieve lightweight interoperability authentication between IoT devices and central security servers has become a problem that needs to be solved urgently. Summary of the invention
[0003] The main purpose of this application is to provide a device authentication method, system, apparatus, device, storage medium and product, aiming to solve the technical problem of how to achieve lightweight interoperability authentication between IoT devices and a central security server.
[0004] To achieve the above purpose, the present application provides a device authentication method, which is applied to an IoT device. The device authentication method comprises the following steps:
[0005] Determine first authentication proof information according to the first authentication parameter and the second authentication parameter sent by the central security server, and send the first authentication proof information to the authentication server;
[0006] After receiving second authentication proof information generated by the authentication server based on the first authentication proof information, determining a first difference between the generated first timestamp and the current time;
[0007] The environmental security of the central security server is authenticated according to the first difference.
[0008] Optionally, the step of authenticating the environmental security of the central security server according to the first difference specifically includes:
[0009] When the first difference is within a preset threshold range, receiving a third authentication parameter, a fourth authentication parameter, and a fifth authentication parameter sent by the authentication server;
[0010] When a first equation based on the third authentication parameter and the fourth authentication parameter holds true, encapsulating the first authentication parameter and the IoT device identity to obtain first encapsulation information;
[0011] When a second equation based on the third authentication parameter, the fifth authentication parameter, and the first encapsulation information holds true, it is determined that the environment of the central security server is secure.
[0012] Optionally, after the step of authenticating the environmental security of the central security server according to the first difference, the method further includes:
[0013] When the environment of the central server is safe, encrypting the message content sent to the authentication server to obtain first encrypted information;
[0014] Sending the first encrypted information and the pseudo-identity of the IoT device to the authentication server, and receiving the second encrypted information fed back by the authentication server;
[0015] When the generated random number is within a preset threshold range, calculating a restored random number according to the second encrypted information;
[0016] When the difference between the random number and the restored random number meets a preset condition, it is determined to establish a communication connection with the central security server.
[0017] In addition, to achieve the above purpose, the present application also provides a device authentication method, which is applied to an authentication server, and the device authentication method includes the following steps:
[0018] When receiving first authentication proof information sent by an IoT device, if a first difference between a first timestamp corresponding to the IoT device and the current time is within a preset threshold range, generating a second timestamp;
[0019] Encrypting the second timestamp and the central security server identity to obtain authentication qualification parameters;
[0020] Encapsulating the authentication qualification parameter, the central security server identity, the first authentication proof information and the second timestamp to obtain second encapsulation information, and sending the second encapsulation information to the central security server;
[0021] When receiving the second authentication information generated by the central security server based on the second encapsulation information, the environmental security of the central security server is authenticated according to the second authentication information, and the second authentication information is sent to the Internet of Things device.
[0022] Optionally, when receiving the second authentication proof information generated by the central security server based on the second encapsulation information, the step of authenticating the environmental security of the central security server according to the second authentication proof information specifically includes:
[0023] Upon receiving the second authentication proof information generated by the central security server based on the second encapsulation information, if the second difference between the third timestamp corresponding to the central security server and the current time is within a preset threshold range, receiving the third authentication parameter, the sixth authentication parameter and the seventh authentication parameter sent by the authentication server;
[0024] When a third equation based on the third authentication parameter and the sixth authentication parameter holds true, if a fourth equation based on the third authentication parameter, the seventh authentication parameter and the third timestamp holds true, it is determined that the environment of the central security server is safe.
[0025] In addition, to achieve the above purpose, the present application also provides a device authentication method, which is applied to a central security server, and the device authentication method includes the following steps:
[0026] After receiving the second encapsulation information sent by the authentication server, if the third difference between the second timestamp corresponding to the authentication server and the current time is within a preset threshold range, determining whether the authentication between the IoT device and the authentication server is secure;
[0027] If so, calculate the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter according to the IoT device identity, the first authentication parameter and the third timestamp corresponding to the central security server;
[0028] The third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter are integrated, and the obtained second authentication proof information is sent to the authentication server.
[0029] Optionally, if the third difference between the second timestamp corresponding to the authentication server and the current time is within a preset threshold range, the step of determining whether the authentication between the IoT device and the authentication server is secure specifically includes:
[0030] If the third difference between the second timestamp corresponding to the authentication server and the current time is within the preset threshold range, a new second timestamp is calculated according to the central security server identity and the authentication qualification parameter;
[0031] If the second timestamp is equal to the new second timestamp, the authentication security between the IoT device and the authentication server is determined.
[0032] In addition, to achieve the above-mentioned purpose, the present application also provides a device authentication system, the device authentication system comprising: an Internet of Things device, an authentication server and a central security server;
[0033] The IoT device is configured to determine first authentication information based on the first authentication parameter and the second authentication parameter when receiving the first authentication parameter and the second authentication parameter sent by the central security server, and send the first authentication information to the authentication server;
[0034] The authentication server is configured to generate a second timestamp when receiving the first authentication proof information, if a first difference between the first timestamp corresponding to the IoT device and the current time is within a preset threshold range; encrypt the second timestamp and the central security server identity to obtain an authentication qualification parameter; encapsulate the authentication qualification parameter, the central security server identity, the first authentication proof information and the second timestamp to obtain second encapsulation information, and send the second encapsulation information to the central security server;
[0035] The central security server is used to, after receiving the second encapsulation information, determine whether the authentication between the IoT device and the authentication server is secure if the third difference between the second timestamp corresponding to the authentication server and the current time is within a preset threshold range; if so, calculate the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter according to the IoT device identity, the first authentication parameter and the third timestamp corresponding to the central security server; integrate the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter, and send the obtained second authentication proof information to the authentication server;
[0036] The authentication server is further configured to authenticate the environmental security of the central security server according to the second authentication information upon receiving the second authentication information, and send the second authentication information to the Internet of Things device;
[0037] The IoT device is further configured to determine a first difference between the generated first timestamp and the current time after receiving the second authentication proof information;
[0038] The Internet of Things device is also used to authenticate the environmental security of the central security server based on the first difference.
[0039] In addition, to achieve the above-mentioned purpose, the present application also provides a device authentication device, which is applied to an Internet of Things device, and the device authentication device includes:
[0040] An information determination module, configured to determine first authentication proof information according to the first authentication parameter and the second authentication parameter sent by the central security server, and send the first authentication proof information to the authentication server;
[0041] a difference determination module, configured to determine a first difference between the generated first timestamp and the current time after receiving second authentication proof information generated by the authentication server based on the first authentication proof information;
[0042] A security authentication module is used to authenticate the environmental security of the central security server according to the first difference.
[0043] In addition, to achieve the above-mentioned purpose, the present application also provides a device authentication device, which is applied to an authentication server, and the device authentication device includes:
[0044] A timestamp generation module, configured to generate a second timestamp when receiving first authentication information sent by an IoT device if a first difference between a first timestamp corresponding to the IoT device and a current time is within a preset threshold range;
[0045] An encryption module, used for encrypting the second timestamp and the central security server identity to obtain authentication qualification parameters;
[0046] An encapsulation module, used to encapsulate the authentication qualification parameter, the central security server identity, the first authentication proof information and the second timestamp to obtain second encapsulation information, and send the second encapsulation information to the central security server;
[0047] A security authentication module is used to authenticate the environmental security of the central security server according to the second authentication information when receiving the second authentication information generated by the central security server based on the second encapsulation information, and send the second authentication information to the Internet of Things device.
[0048] In addition, to achieve the above-mentioned purpose, the present application also provides a device authentication device, which is applied to a central security server, and the device authentication device includes:
[0049] A judgment module, configured to, after receiving the second encapsulation information sent by the authentication server, judge whether the authentication between the IoT device and the authentication server is secure if a third difference between the second timestamp corresponding to the authentication server and the current time is within a preset threshold range;
[0050] a calculation module, configured to calculate a third authentication parameter, a fourth authentication parameter, a fifth authentication parameter, a sixth authentication parameter, and a seventh authentication parameter according to an identity identifier of the IoT device, a first authentication parameter, and a third timestamp corresponding to the central security server when authentication security is being established between the IoT device and the authentication server;
[0051] An integration module is used to integrate the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter, and send the obtained second authentication proof information to the authentication server.
[0052] In addition, to achieve the above-mentioned purpose, the present application also proposes a device authentication device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the device authentication method described above.
[0053] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the device authentication method described above are implemented.
[0054] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the device authentication method described above are implemented.
[0055] This application determines the first authentication proof information based on the first authentication parameter and the second authentication parameter sent by the central security server, and sends the first authentication proof information to the authentication server. After receiving the second authentication proof information generated by the authentication server based on the first authentication proof information, the first difference between the generated first timestamp and the current time is determined, and then the environmental security of the central security server is authenticated according to the first difference. In this application in the 6G network, the IoT device determines the first authentication proof information based on the first authentication parameter and the second authentication parameter sent by the central server, and the authentication server generates the second authentication proof information based on the first authentication proof information sent by the IoT device. After receiving the second authentication proof information, the IoT device authenticates the environmental security of the central security server according to the first difference between the first timestamp and the current time, thereby realizing lightweight interoperability authentication between the IoT device and the central security server. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0057] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0058] Figure 1 This is a flowchart of the first embodiment of the device authentication method of this application;
[0059] Figure 2 This is a flow chart of the second embodiment of the device authentication method of the present application;
[0060] Figure 3 This is a flowchart of the third embodiment of the device authentication method of the present application;
[0061] Figure 4 This is a structural block diagram of the first embodiment of the device authentication system of this application;
[0062] Figure 5 This is a structural block diagram of the first embodiment of the device authentication apparatus of this application;
[0063] Figure 6 This is a structural block diagram of the second embodiment of the device authentication apparatus of the present application;
[0064] Figure 7 This is a structural block diagram of the third embodiment of the device authentication apparatus of the present application;
[0065] Figure 8 It is a structural diagram of a device authentication device in a hardware operating environment involved in an embodiment of the present application.
[0066] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0067] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0068] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0069] The main solution of the embodiment of the present application is: determine first authentication proof information based on first authentication parameters and second authentication parameters sent by the central security server, and send the first authentication proof information to the authentication server; after receiving second authentication proof information generated by the authentication server based on the first authentication proof information, determine the first difference between the generated first timestamp and the current time; authenticate the environmental security of the central security server based on the first difference.
[0070] With the rapid construction of 6G network standards and the future implementation of 6G networks, there is an urgent need for an access authentication method for IoT devices that need to be connected in the 6G network environment, so as to ensure the security of the network environment and the safety of IoT devices after they are connected to the network. At the same time, with the continuous improvement of security performance requirements, the current network access authentication process is becoming more and more redundant, and the lightweight operation of the authentication process is also a challenge to the current authentication technology.
[0071] This application determines the first authentication proof information based on the first authentication parameter and the second authentication parameter sent by the central security server, and sends the first authentication proof information to the authentication server. After receiving the second authentication proof information generated by the authentication server based on the first authentication proof information, the first difference between the generated first timestamp and the current time is determined, and then the environmental security of the central security server is authenticated according to the first difference. In this application in the 6G network, the IoT device determines the first authentication proof information based on the first authentication parameter and the second authentication parameter sent by the central server, and the authentication server generates the second authentication proof information based on the first authentication proof information sent by the IoT device. After receiving the second authentication proof information, the IoT device authenticates the environmental security of the central security server according to the first difference between the first timestamp and the current time, thereby realizing lightweight interoperability authentication between the IoT device and the central security server.
[0072] Based on this, the present application embodiment provides a device authentication method, referring to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the device authentication method of the present application.
[0073] In this embodiment, the device authentication method includes the following steps:
[0074] Step S10: determining first authentication proof information according to the first authentication parameter and the second authentication parameter sent by the central security server, and sending the first authentication proof information to the authentication server.
[0075] It is understandable that in this embodiment, initialization can be performed first, and the central security server (CS) randomly generates a key K C , based on the server's identity information ID c , and one-way hash function (h): {0, 1} * →{0, 1} l , and a symmetric encryption and decryption function X = E k (Y).
[0076] It should be understood that during the registration phase of the central security server (CS), the central security server (CS) registers the central security server (CS) by using the central security server identity HID j, counter CN and randomly generated key K C Further become the shared secret key K HC =h(HID j ||K C ||CN). HID j is the security server (CS) identifier, j is the geographical location number of the central security server. Shared key K HC It is calculated by a one-way hash function and used in the subsequent authentication and communication process, where K C For the initial stage, the central security server (CS) randomly generates a key; CN is a counter, initialized to 0, and the CN value increases every time the shared key needs to be updated or the IoT device re-registers with the system. Finally, the central security server (CS) will {HID j ,CN} are stored in the server.
[0077] In the specific implementation, the central security server (CS) assigns a unique identity VID to each 6G IoT device that needs to register and join the network. i To register all IoT devices {V i :I=1,2…n}. The central security server (CS) generates authentication parameters through the following formula.
[0078] X i =h(K C ||VID i )
[0079] Y i =h(VID i ||K C ||CID k )
[0080] PID vi =E KC (VID i , r 0 )
[0081] Among them, X i is the first authentication parameter, Y i It is the first authentication parameter to ensure the security and uniqueness of authentication information. i is the IoT device identity, r 0 It is a short-term temporary key, PID vi Pseudo-identity identification for IoT devices, E KC It is symmetric encryption. The central security server (CS) will {VID i , PID vi , X i , Y i}Send to IoT device Vi ,The IoT device stores the above parameters in the device memory.
[0082] In addition, the execution subject of this embodiment is an IoT device. The first authentication information can be determined according to the first authentication parameter and the second authentication parameter sent by the central security server. Specifically,
[0083] P vi =h(X i ||VID i ||t vi ||r vi )
[0084]
[0085] X i =h(K C ||VID i )
[0086] Y i =h(VID i ||K C ||CID k )
[0087] Among them, X i is the first authentication parameter, Y i is the first authentication parameter, The first authentication positive information M vhc ={PID i , P vi , Q vi , t vi}, and M vhc Sent to the authentication server.
[0088] Step S20: after receiving the second authentication proof information generated by the authentication server based on the first authentication proof information, determining a first difference between the generated first timestamp and the current time.
[0089] It is understandable that after the IoT device receives the second authentication information M sent by the authentication server, chv Afterwards, a first difference between the generated first timestamp and the current time can be determined.
[0090] Step S30: authenticating the environmental security of the central security server according to the first difference.
[0091] It should be understood that when the first difference is within the preset threshold range, the environmental security of the central security server may be further authenticated.
[0092] Furthermore, in order to effectively authenticate the environmental security of the central security server, in this embodiment, the step S30 includes: when the first difference is within a preset threshold range, receiving a third authentication parameter, a fourth authentication parameter and a fifth authentication parameter sent by the authentication server; when a first equation based on the third authentication parameter and the fourth authentication parameter holds true, encapsulating the first authentication parameter and the IoT device identity to obtain first encapsulation information; when a second equation based on the third authentication parameter, the fifth authentication parameter and the first encapsulation information holds true, determining the environmental security of the central security server.
[0093] It is understandable that when the first difference is within the preset threshold range, it is determined whether the first equation based on the third authentication parameter and the fourth authentication parameter holds, that is, Is it established? If established, the first authentication parameter and the IoT device identity are encapsulated to obtain first encapsulation information, the first encapsulation information SK cv =h(r vi ||r ck ||X i ||VID i ).
[0094] It should be understood that the second equation based on the third authentication parameter, the fifth authentication parameter and the first encapsulation information is established, that is, Is it true? If so, use Replace PID i The session key K is stored in the repository of the IoT device and determines the security of the central security server environment. HC =h(HID j ||K C ||CN) between the central security server (CS) and IoT devices V i The consensus reached between the parties is reliable, and subsequent communication operations can be carried out based on the secret key.
[0095] Furthermore, in order to establish a communication connection between the Internet of Things device and the central security server, in this embodiment, after step S30, it also includes: when the environment of the central server is safe, encrypting the message content sent to the authentication server to obtain first encrypted information; sending the first encrypted information and the Internet of Things device pseudo-identity to the authentication server, and receiving second encrypted information fed back by the authentication server; when the generated random number is within a preset threshold range, calculating the restored random number according to the second encrypted information; when the difference between the random number and the restored random number meets a preset condition, determining to establish a communication connection with the central security server.
[0096] It is understood that once the session key is between the central security server (CS) and the IoT device V i Agree between them, and then the two can establish communication. Specifically, V i Generate a random integer t vi , calculate the first encrypted information And {PID i , C vi , t vi}Submit to the authentication server HAP j , m vi The content of the message sent. Authentication server HAP j Verify the PID in its database i After that, append its ID to the same message and submit {PID i , C vi , t vi , HID j}To the Central Security Server (CS).
[0097] It should be understood that 3. The central security server (CS) verifies the timestamp t vi Whether the difference with the current time is within the preset threshold range, if the difference is not within the time threshold range, the communication session is terminated; if the difference is within the preset threshold range, the (VID i , r i )=D KC (PID i ), If the timestamp t vi And the decrypted t' vi If it matches, then message m is supported. vi Next, we further generate a random number t ck , calculate the second encrypted information , and send the authentication server HAP j Submit message {CID k , C ck}.
[0098] In the specific implementation, the authentication server HAP j Identify it as HID j Appended to the received message {CID k , C ck} and forwarded to the IoT device V i . IoT Devices V i Finally check the generated random number t ck Is it within the preset threshold range and calculate Compare ck and the recovered random number t' ck , and receive mck Message, if the random number t ck and the recovered random number t' ck When the difference between them meets the preset conditions, that is, when the two are close, a communication connection is established between the IoT device and the central security server.
[0099] This embodiment determines the first authentication proof information based on the first authentication parameter and the second authentication parameter sent by the central security server, and sends the first authentication proof information to the authentication server. After receiving the second authentication proof information generated by the authentication server based on the first authentication proof information, the first difference between the generated first timestamp and the current time is determined, and then the environmental security of the central security server is authenticated according to the first difference. In this application in the 6G network, the IoT device determines the first authentication proof information based on the first authentication parameter and the second authentication parameter sent by the central server, and the authentication server generates the second authentication proof information based on the first authentication proof information sent by the IoT device. After receiving the second authentication proof information, the IoT device authenticates the environmental security of the central security server according to the first difference between the first timestamp and the current time, thereby realizing lightweight interoperability authentication between the IoT device and the central security server.
[0100] refer to Figure 2 , Figure 2 This is a flow chart of the second embodiment of the device authentication method of the present application.
[0101] In this embodiment, the device authentication method includes the following steps:
[0102] Step S40: When receiving the first authentication proof information sent by the IoT device, if the first difference between the first timestamp corresponding to the IoT device and the current time is within a preset threshold range, a second timestamp is generated.
[0103] It should be noted that the execution entity of this embodiment is the authentication server.
[0104] It is understandable that when the authentication server receives the first authentication certificate information sent by the IoT device, if the first difference between the first timestamp corresponding to the IoT device and the current time is not within the preset threshold range △T, the verification is terminated; if the first difference between the first timestamp and the current time is within the preset threshold range △T, a second timestamp t is generated. hj and a random integer r hj .
[0105] Step S50: Encrypt the second timestamp and the central security server identity to obtain authentication qualification parameters.
[0106] It should be understood that the second timestamp and the central security server identity are encrypted by the following formula to obtain the authentication qualification parameter P hj .
[0107] P hj =E KHC (HID j , r hj , t' hj )
[0108] Step S60: Encapsulate the authentication qualification parameter, the central security server identity, the first authentication proof information and the second timestamp to obtain second encapsulation information, and send the second encapsulation information to the central security server.
[0109] It is understandable that the authentication server will authenticate the qualified parameter P hj Further encapsulation to form the second encapsulation information M hc , that is, M hc ={HID j , M vhc , P hj , t hj}, and M hc Sent to the central security server.
[0110] Step S70: upon receiving the second authentication information generated by the central security server based on the second encapsulation information, authenticating the environmental security of the central security server according to the second authentication information, and sending the second authentication information to the IoT device.
[0111] It should be understood that the authentication server receives the second encapsulation information M from the central security server. hc The generated second authentication information M chv When, according to the second authentication information M chv Authenticate the environment security of the central security server and send the second authentication information M chv Send to IoT device.
[0112] Further, in order to effectively authenticate the environmental security of the central security server, in the present embodiment, when the second authentication proof information generated by the central security server based on the second encapsulation information is received, the step of authenticating the environmental security of the central security server according to the second authentication proof information specifically includes: when the second authentication proof information generated by the central security server based on the second encapsulation information is received, if the second difference between the third timestamp corresponding to the central security server and the current time is within a preset threshold range, then receiving the third authentication parameter, the sixth authentication parameter and the seventh authentication parameter sent by the authentication server; when the third equation based on the third authentication parameter and the sixth authentication parameter holds, if the fourth equation based on the third authentication parameter, the seventh authentication parameter and the third timestamp holds, the environmental security of the central security server is determined.
[0113] It is understandable that the authentication server receives the second encapsulation information M from the central security server. hc The generated second authentication information M chv When the third timestamp t corresponding to the central security server is ck The second difference between the time and the current time is not within the preset threshold range, the session is terminated directly; if the third timestamp t ck If the second difference between the time and the current time is within the preset threshold range, it is determined whether the third equation formed by the third authentication parameter and the sixth authentication parameter is established, that is, the third equation If it is established, then determine whether the fourth equation based on the third authentication parameter, the seventh authentication parameter and the third timestamp is established, that is, If the fourth equation is not true, the conversation is terminated directly. If the fourth equation is true, the authentication server determines that the environment of the central security server is safe.
[0114] When this embodiment receives the first authentication proof information sent by the IoT device, if the first difference between the first timestamp corresponding to the IoT device and the current time is within the preset threshold range, a second timestamp is generated, and then the second timestamp and the central security server identity are encrypted to obtain the authentication qualification parameters, and then the authentication qualification parameters, the central security server identity, the first authentication proof information and the second timestamp are encapsulated to obtain the second encapsulation information, and the second encapsulation information is sent to the central security server. When the second authentication proof information generated by the central security server based on the second encapsulation information is received, the environmental security of the central security server is authenticated according to the second authentication proof information, and the second authentication proof information is sent to the IoT device. When this embodiment receives the first authentication proof information sent by the IoT device, the environmental security of the central security server is authenticated according to the second authentication proof information, and the environmental security of the central security server can be authenticated simply and effectively.
[0115] refer to Figure 3 , Figure 3 This is a flowchart of the third embodiment of the device authentication method of the present application.
[0116] In this embodiment, the device authentication method includes the following steps:
[0117] Step S80: After receiving the second encapsulation information sent by the authentication server, if the third difference between the second timestamp corresponding to the authentication server and the current time is within a preset threshold range, it is determined whether the authentication between the IoT device and the authentication server is secure.
[0118] It should be noted that the execution entity of this embodiment is the central security server.
[0119] It is understandable that when the central security server receives the second encapsulation information M sent by the authentication server hc Afterwards, if the third difference between the second timestamp corresponding to the authentication server and the current time is not within the preset threshold range, the session is terminated directly; if the third difference between the second timestamp and the current time is within the preset threshold range, it is determined whether the authentication between the IoT device and the authentication server is secure.
[0120] Furthermore, in order to effectively determine whether the authentication between the Internet of Things device and the authentication server is secure, in the present embodiment, if the third difference between the second timestamp corresponding to the authentication server and the current time is within a preset threshold range, then the step of determining whether the authentication between the Internet of Things device and the authentication server is secure specifically includes: if the third difference between the second timestamp corresponding to the authentication server and the current time is within the preset threshold range, then calculating a new second timestamp based on the central security server identity and the authentication qualification parameters; if the second timestamp is equal to the new second timestamp, then determining that the authentication between the Internet of Things device and the authentication server is secure.
[0121] It should be understood that if the third difference between the second timestamp corresponding to the authentication server and the current time is within the preset threshold range, then the calculation Whether the contents are the same, K HC =h(HID j ||KC||CN) are the same, it is preliminarily proved that the authentication between the IoT device and the authentication server is credible and established. And the new second timestamp is calculated according to the above formula, that is, t' hj .
[0122] It is understandable that verifying t' hj ? =t hj , if they do not match, the session is terminated. If the equation holds, that is, the second timestamp is equal to the new second timestamp, then the authentication security between the IoT device and the authentication server is determined.
[0123] Step S90: If yes, calculate the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter according to the IoT device identity, the first authentication parameter and the third timestamp corresponding to the central security server.
[0124] It should be understood that when the authentication between the IoT device and the authentication server is secure, the subsequent (VID i , r 0 )=D KC (PID i ) are equal, X i , Y i , r vi Is it the same as the pre-stored value? At the same time, equation P vi ? =h(X i ||VID i ||t vi ||r vi ) is true.
[0125] (VID i , r 0)=D KC (PID i )
[0126] X i =h(KC||VID i )
[0127] Y i =h(VID i ||KC||CID k )
[0128]
[0129] P vi ? =h(X i ||VID i ||t vi ||r vi )
[0130] It is understood that the central security server (CS) generates a random integer r ck and the third timestamp t ck , and then, to calculate SK cv , Third authentication parameter , the fourth authentication parameter R CV 、Fifth authentication parameter V CV , the sixth authentication parameter R CH 、Seventh authentication parameter V CH . E KHC 、E KC Both are symmetric encryption.
[0131] SK cv =h(r vi ||r ck ||X i ||VID i )
[0132]
[0133]
[0134]
[0135]
[0136]
[0137] Step S100: Integrate the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter, and send the obtained second authentication proof information to the authentication server.
[0138] It should be understood that the central security server (CS) integrates the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter to obtain the second authentication proof information M chv , and M chv Sent to the authentication server, M chv = {R CH , R CV , V CH , V CV , t ck}.
[0139] After receiving the second encapsulation information sent by the authentication server, if the third difference between the second timestamp corresponding to the authentication server and the current time is within the preset threshold range, the present embodiment determines whether the authentication between the IoT device and the authentication server is secure. If so, the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter are calculated according to the IoT device identity, the first authentication parameter and the third timestamp corresponding to the central security server, and then the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter are integrated, and the obtained second authentication proof information is sent to the authentication server. After receiving the second encapsulation information sent by the authentication server, if the third difference between the second timestamp corresponding to the authentication server and the current time is within the preset threshold range, the central server in the present embodiment effectively determines whether the authentication between the IoT device and the authentication server is secure, and sends the calculated second authentication proof information to the server.
[0140] Reference Figure 4 , Figure 4 This is a structural block diagram of the first embodiment of the device authentication system of the present application.
[0141] like Figure 4 As shown, the device authentication system proposed in the embodiment of the present application includes:
[0142] IoT devices, authentication servers, and central security servers;
[0143] The IoT device is configured to determine first authentication information based on the first authentication parameter and the second authentication parameter when receiving the first authentication parameter and the second authentication parameter sent by the central security server, and send the first authentication information to the authentication server;
[0144] The authentication server is configured to generate a second timestamp when receiving the first authentication proof information, if a first difference between the first timestamp corresponding to the IoT device and the current time is within a preset threshold range; encrypt the second timestamp and the central security server identity to obtain an authentication qualification parameter; encapsulate the authentication qualification parameter, the central security server identity, the first authentication proof information and the second timestamp to obtain second encapsulation information, and send the second encapsulation information to the central security server;
[0145] The central security server is used to, after receiving the second encapsulation information, determine whether the authentication between the IoT device and the authentication server is secure if the third difference between the second timestamp corresponding to the authentication server and the current time is within a preset threshold range; if so, calculate the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter according to the IoT device identity, the first authentication parameter and the third timestamp corresponding to the central security server; integrate the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter, and send the obtained second authentication proof information to the authentication server;
[0146] The authentication server is further configured to authenticate the environmental security of the central security server according to the second authentication information upon receiving the second authentication information, and send the second authentication information to the Internet of Things device;
[0147] The IoT device is further configured to determine a first difference between the generated first timestamp and the current time after receiving the second authentication proof information;
[0148] The Internet of Things device is also used to authenticate the environmental security of the central security server based on the first difference.
[0149] The embodiments or specific implementation methods of the device authentication system of the present application can refer to the above-mentioned method embodiments, which will not be repeated here.
[0150] Reference Figure 5 , Figure 5 This is a structural block diagram of the first embodiment of the device authentication apparatus of the present application.
[0151] like Figure 5 As shown, the device authentication device proposed in the embodiment of the present application is applied to an Internet of Things device, and the device authentication device includes:
[0152] An information determination module 10 is used to determine first authentication proof information according to the first authentication parameter and the second authentication parameter sent by the central security server, and send the first authentication proof information to the authentication server;
[0153] A difference determination module 20, configured to determine a first difference between the generated first timestamp and the current time after receiving the second authentication proof information generated by the authentication server based on the first authentication proof information;
[0154] The security authentication module 30 is used to authenticate the environmental security of the central security server according to the first difference.
[0155] This embodiment determines the first authentication proof information based on the first authentication parameter and the second authentication parameter sent by the central security server, and sends the first authentication proof information to the authentication server. After receiving the second authentication proof information generated by the authentication server based on the first authentication proof information, the first difference between the generated first timestamp and the current time is determined, and then the environmental security of the central security server is authenticated according to the first difference. In this application in the 6G network, the IoT device determines the first authentication proof information based on the first authentication parameter and the second authentication parameter sent by the central server, and the authentication server generates the second authentication proof information based on the first authentication proof information sent by the IoT device. After receiving the second authentication proof information, the IoT device authenticates the environmental security of the central security server according to the first difference between the first timestamp and the current time, thereby realizing lightweight interoperability authentication between the IoT device and the central security server.
[0156] Reference Figure 6 , Figure 6 This is a structural block diagram of the second embodiment of the device authentication apparatus of the present application.
[0157] like Figure 6 As shown, the device authentication device proposed in the embodiment of the present application is applied to the authentication server, and the device authentication device includes:
[0158] The timestamp generation module 40 is used to generate a second timestamp when receiving the first authentication information sent by the IoT device if the first difference between the first timestamp corresponding to the IoT device and the current time is within a preset threshold range;
[0159] An encryption module 50, used to encrypt the second timestamp and the central security server identity to obtain authentication qualification parameters;
[0160] The encapsulation module 60 is used to encapsulate the authentication qualification parameter, the central security server identity, the first authentication proof information and the second timestamp to obtain second encapsulation information, and send the second encapsulation information to the central security server;
[0161] The security authentication module 70 is used to authenticate the environmental security of the central security server according to the second authentication information when receiving the second authentication information generated by the central security server based on the second encapsulation information, and send the second authentication information to the Internet of Things device.
[0162] When this embodiment receives the first authentication proof information sent by the IoT device, if the first difference between the first timestamp corresponding to the IoT device and the current time is within the preset threshold range, a second timestamp is generated, and then the second timestamp and the central security server identity are encrypted to obtain the authentication qualification parameters, and then the authentication qualification parameters, the central security server identity, the first authentication proof information and the second timestamp are encapsulated to obtain the second encapsulation information, and the second encapsulation information is sent to the central security server. When the second authentication proof information generated by the central security server based on the second encapsulation information is received, the environmental security of the central security server is authenticated according to the second authentication proof information, and the second authentication proof information is sent to the IoT device. When this embodiment receives the first authentication proof information sent by the IoT device, the environmental security of the central security server is authenticated according to the second authentication proof information, and the environmental security of the central security server can be authenticated simply and effectively.
[0163] Reference Figure 7 , Figure 7 This is a structural block diagram of the second embodiment of the device authentication apparatus of the present application.
[0164] like Figure 7 As shown, the device authentication device proposed in the embodiment of the present application is applied to the central security server, and the device authentication device includes:
[0165] The judgment module 80 is used to judge whether the authentication between the IoT device and the authentication server is secure after receiving the second encapsulation information sent by the authentication server if the third difference between the second timestamp corresponding to the authentication server and the current time is within a preset threshold range;
[0166] A calculation module 90, configured to calculate a third authentication parameter, a fourth authentication parameter, a fifth authentication parameter, a sixth authentication parameter, and a seventh authentication parameter according to the IoT device identity, the first authentication parameter, and a third timestamp corresponding to the central security server when the authentication between the IoT device and the authentication server is secure;
[0167] The integration module 100 is used to integrate the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter, and send the obtained second authentication proof information to the authentication server.
[0168] After receiving the second encapsulation information sent by the authentication server, if the third difference between the second timestamp corresponding to the authentication server and the current time is within the preset threshold range, the present embodiment determines whether the authentication between the IoT device and the authentication server is secure. If so, the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter are calculated according to the IoT device identity, the first authentication parameter and the third timestamp corresponding to the central security server, and then the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter are integrated, and the obtained second authentication proof information is sent to the authentication server. After receiving the second encapsulation information sent by the authentication server, if the third difference between the second timestamp corresponding to the authentication server and the current time is within the preset threshold range, the central server in the present embodiment effectively determines whether the authentication between the IoT device and the authentication server is secure, and sends the calculated second authentication proof information to the server.
[0169] The present application provides a device authentication device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the device authentication method in the above-mentioned embodiment 1.
[0170] Reference below Figure 8 , which shows a schematic diagram of the structure of a device authentication device suitable for implementing an embodiment of the present application. The device authentication device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The device authentication device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0171] like Figure 8As shown, the device authentication device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the device authentication device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the device authentication device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a device authentication device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0172] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0173] The device authentication device provided by the present application adopts the device authentication method in the above embodiment, which can solve the technical problem of how to realize lightweight intercommunication authentication between IoT devices and central security servers. Compared with the prior art, the beneficial effects of the device authentication device provided by the present application are the same as the beneficial effects of the device authentication method provided by the above embodiment, and the other technical features in the device authentication device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0174] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0175] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0176] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the device authentication method in the above-mentioned embodiment.
[0177] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0178] The computer-readable storage medium may be included in the device authentication device; or may exist independently without being assembled into the device authentication device.
[0179] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the device authentication device, the device authentication device: determines first authentication proof information based on first authentication parameters and second authentication parameters sent by the central security server, and sends the first authentication proof information to the authentication server; after receiving the second authentication proof information generated by the authentication server based on the first authentication proof information, determines the first difference between the generated first timestamp and the current time; and authenticates the environmental security of the central security server based on the first difference.
[0180] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0181] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0182] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0183] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned device authentication method, and can solve the technical problem of how to achieve lightweight intercommunication authentication between IoT devices and central security servers. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the device authentication method provided by the above-mentioned embodiment, and will not be repeated here.
[0184] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned device authentication method when executed by a processor.
[0185] The computer program product provided by this application can solve the technical problem of how to achieve lightweight intercommunication authentication between IoT devices and central security servers. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the device authentication method provided by the above embodiment, which will not be repeated here.
[0186] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A device authentication method, characterized in that: The device authentication method is applied to an Internet of Things device, and the device authentication method comprises the following steps: Determine first authentication proof information according to the first authentication parameter and the second authentication parameter sent by the central security server, and send the first authentication proof information to the authentication server; After receiving second authentication proof information generated by the authentication server based on the first authentication proof information, determining a first difference between the generated first timestamp and the current time; The environmental security of the central security server is authenticated according to the first difference.
2. The device authentication method according to claim 1, characterized in that: The step of authenticating the environmental security of the central security server according to the first difference specifically includes: When the first difference is within a preset threshold range, receiving a third authentication parameter, a fourth authentication parameter, and a fifth authentication parameter sent by the authentication server; When a first equation based on the third authentication parameter and the fourth authentication parameter holds true, encapsulating the first authentication parameter and the IoT device identity to obtain first encapsulation information; When a second equation based on the third authentication parameter, the fifth authentication parameter, and the first encapsulation information holds true, it is determined that the environment of the central security server is secure.
3. The device authentication method according to claim 1, characterized in that: After the step of authenticating the environmental security of the central security server according to the first difference, the method further includes: When the environment of the central server is safe, encrypting the message content sent to the authentication server to obtain first encrypted information; Sending the first encrypted information and the pseudo-identity of the IoT device to the authentication server, and receiving the second encrypted information fed back by the authentication server; When the generated random number is within a preset threshold range, calculating a restored random number according to the second encrypted information; When the difference between the random number and the restored random number meets a preset condition, it is determined to establish a communication connection with the central security server.
4. A device authentication method, characterized in that: The device authentication method is applied to an authentication server, and the device authentication method comprises the following steps: When receiving first authentication proof information sent by an IoT device, if a first difference between a first timestamp corresponding to the IoT device and the current time is within a preset threshold range, generating a second timestamp; Encrypting the second timestamp and the central security server identity to obtain authentication qualification parameters; Encapsulating the authentication qualification parameter, the central security server identity, the first authentication proof information and the second timestamp to obtain second encapsulation information, and sending the second encapsulation information to the central security server; When receiving the second authentication information generated by the central security server based on the second encapsulation information, the environmental security of the central security server is authenticated according to the second authentication information, and the second authentication information is sent to the Internet of Things device.
5. The device authentication method according to claim 4, characterized in that: The step of authenticating the environment security of the central security server according to the second authentication information when receiving the second authentication information generated by the central security server based on the second encapsulation information specifically includes: Upon receiving the second authentication proof information generated by the central security server based on the second encapsulation information, if the second difference between the third timestamp corresponding to the central security server and the current time is within a preset threshold range, receiving the third authentication parameter, the sixth authentication parameter and the seventh authentication parameter sent by the authentication server; When a third equation based on the third authentication parameter and the sixth authentication parameter holds true, if a fourth equation based on the third authentication parameter, the seventh authentication parameter and the third timestamp holds true, it is determined that the environment of the central security server is safe.
6. A device authentication method, characterized in that: The device authentication method is applied to a central security server, and the device authentication method comprises the following steps: After receiving the second encapsulation information sent by the authentication server, if the third difference between the second timestamp corresponding to the authentication server and the current time is within a preset threshold range, determining whether the authentication between the IoT device and the authentication server is secure; If so, calculate the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter according to the IoT device identity, the first authentication parameter and the third timestamp corresponding to the central security server; The third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter are integrated, and the obtained second authentication proof information is sent to the authentication server.
7. The device authentication method according to claim 6, characterized in that: If the third difference between the second timestamp corresponding to the authentication server and the current time is within a preset threshold range, the step of determining whether the authentication between the IoT device and the authentication server is secure specifically includes: If the third difference between the second timestamp corresponding to the authentication server and the current time is within the preset threshold range, a new second timestamp is calculated according to the central security server identity and the authentication qualification parameter; If the second timestamp is equal to the new second timestamp, the authentication security between the IoT device and the authentication server is determined.
8. A device authentication system, characterized in that: The device authentication system includes: an Internet of Things device, an authentication server and a central security server; The IoT device is configured to determine first authentication information based on the first authentication parameter and the second authentication parameter when receiving the first authentication parameter and the second authentication parameter sent by the central security server, and send the first authentication information to the authentication server; The authentication server is configured to generate a second timestamp when receiving the first authentication proof information, if a first difference between the first timestamp corresponding to the IoT device and the current time is within a preset threshold range; encrypt the second timestamp and the central security server identity to obtain an authentication qualification parameter; encapsulate the authentication qualification parameter, the central security server identity, the first authentication proof information and the second timestamp to obtain second encapsulation information, and send the second encapsulation information to the central security server; The central security server is used to, after receiving the second encapsulation information, determine whether the authentication between the IoT device and the authentication server is secure if the third difference between the second timestamp corresponding to the authentication server and the current time is within a preset threshold range; if so, calculate the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter according to the IoT device identity, the first authentication parameter and the third timestamp corresponding to the central security server; integrate the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter, and send the obtained second authentication proof information to the authentication server; The authentication server is further configured to authenticate the environmental security of the central security server according to the second authentication information upon receiving the second authentication information, and send the second authentication information to the Internet of Things device; The Internet of Things device is further configured to determine a first difference between the generated first timestamp and the current time after receiving the second authentication proof information; The Internet of Things device is also used to authenticate the environmental security of the central security server based on the first difference.
9. A device authentication apparatus, characterized in that: The device authentication device is applied to an Internet of Things device, and the device authentication device includes: An information determination module, configured to determine first authentication proof information according to the first authentication parameter and the second authentication parameter sent by the central security server, and send the first authentication proof information to the authentication server; a difference determination module, configured to determine a first difference between the generated first timestamp and the current time after receiving second authentication proof information generated by the authentication server based on the first authentication proof information; A security authentication module is used to authenticate the environmental security of the central security server according to the first difference.
10. A device authentication apparatus, characterized in that: The device authentication device is applied to an authentication server, and the device authentication device includes: A timestamp generation module, configured to generate a second timestamp when receiving first authentication information sent by an IoT device if a first difference between a first timestamp corresponding to the IoT device and a current time is within a preset threshold range; An encryption module, used for encrypting the second timestamp and the central security server identity to obtain authentication qualification parameters; An encapsulation module, used to encapsulate the authentication qualification parameter, the central security server identity, the first authentication proof information and the second timestamp to obtain second encapsulation information, and send the second encapsulation information to the central security server; A security authentication module is used to authenticate the environmental security of the central security server according to the second authentication information when receiving the second authentication information generated by the central security server based on the second encapsulation information, and send the second authentication information to the Internet of Things device.
11. A device authentication apparatus, characterized in that: The device authentication device is applied to a central security server, and the device authentication device includes: A judgment module, configured to, after receiving the second encapsulation information sent by the authentication server, judge whether the authentication between the IoT device and the authentication server is secure if a third difference between the second timestamp corresponding to the authentication server and the current time is within a preset threshold range; a calculation module, configured to calculate a third authentication parameter, a fourth authentication parameter, a fifth authentication parameter, a sixth authentication parameter, and a seventh authentication parameter according to an identity identifier of the IoT device, a first authentication parameter, and a third timestamp corresponding to the central security server when authentication security is being established between the IoT device and the authentication server; An integration module is used to integrate the third authentication parameter, the fourth authentication parameter, the fifth authentication parameter, the sixth authentication parameter and the seventh authentication parameter, and send the obtained second authentication proof information to the authentication server.
12. A device authentication device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the device authentication method according to any one of claims 1 to 3, 4 to 5, and 6 to 7.
13. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the device authentication method according to any one of claims 1 to 3, 4 to 5, and 6 to 7 are implemented.
14. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the device authentication method according to any one of claims 1 to 3, 4 to 5, and 6 to 7 are implemented.
