Lightweight authentication method based on time sequence verification

By adopting a lightweight authentication method based on time series verification in industrial Internet devices, the order consistency of authentication messages is calculated using hash messages and random numbers, the problems of malicious attacks and authentication failures are solved, and fast and secure identity recognition is achieved and freshness certification, suitable for industrial Internet environments with limited resources.

CN119094221AInactive Publication Date: 2024-12-06CHENGDU UNIV OF INFORMATION TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411291927.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-12-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art lightweight authentication method based on time difference may lead to problems such as malicious attacks and failure of legitimate user authentication in industrial Internet devices.

Method used

Using a lightweight authentication method based on time series verification, the order consistency of the authentication messages is calculated through hash messages and random numbers to ensure the freshness and security of authentication messages, including the registration and authentication process of users, gateways and terminal devices. Combination verification of secure channel and public channel.

Benefits of technology

It realizes fast and secure identity identification under resource constraints, ensures the freshness of authentication messages and secure identity authentication between industrial Internet devices, and is suitable for distributed network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094221A_ABST
    Figure CN119094221A_ABST
Patent Text Reader

Abstract

The invention discloses a lightweight authentication method based on time sequence verification, which relates to the technical field of information security and comprises user registration, gateway registration and terminal equipment registration. The method comprises the steps of user initiation authentication, gateway cooperation authentication, terminal equipment response authentication and user confirmation authentication. According to the method, the order consistency problem of authentication messages is solved by applying time sequence verification, and the industrial internet equipment can be ensured to quickly and safely complete an identity recognition task under the condition that resources are limited through a lightweight authentication mechanism; and the freshness of the authentication message is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technology, and in particular to a lightweight authentication method based on time series verification. Background Art

[0002] While new technologies such as artificial intelligence, edge computing, and big data technology are driving the autonomy and intelligence of industrial terminal devices, their own security and reliability have become particularly important. Given that the application environment of industrial Internet devices is used for functions such as collection, edge processing, and transmission, and the energy of the devices during the execution of tasks comes from batteries, the devices of the industrial Internet need to complete related tasks under many restricted conditions such as energy constraints and network constraints, and they must also ensure that they operate safely and reliably. Therefore, the industrial Internet security authentication method is one of the basic security requirements to ensure legitimate users. In order to ensure the reliability of the industrial Internet environment, the determinism of the network environment in the industrial Internet is the basic premise for its effective application. In view of the problem of completing network interconnection under the state of energy and communication constraints of industrial Internet devices, a lightweight security authentication method is proposed to identify the legitimate identity between devices.

[0003] At present, in order to solve the freshness of information in the identity authentication process, the industrial Internet adopts a lightweight authentication method to control the freshness of interactive messages only by the time difference interval being less than the threshold. For example, entity A sends an authentication message M1 to entity B, and records the sending time as T1. However, entity B returns an authentication message M2 to entity A, and records the return time as T2. As long as T2-T1≤ΔT, it can be guaranteed that the time difference between the two messages meets the conditions, that is, the freshness of the message also meets the requirements. This method may lead to two problems: first, even a small time interval may allow malicious attackers to interfere with the normal interaction of legitimate participants; second, due to network delays, some legitimate users may fail to authenticate. Summary of the invention

[0004] The purpose of the present invention is to provide a lightweight authentication method based on time series verification, which is used to solve the problem in the prior art that the lightweight authentication method is used to control the freshness of the interactive message only by ensuring that the time difference interval is less than a threshold, which may lead to malicious attacks and may cause the failure of legitimate user authentication.

[0005] The present invention solves the above problems through the following technical solutions:

[0006] A lightweight authentication method based on time series verification, comprising:

[0007] Step S1, the registration phase at the secure channel service center, includes:

[0008] A1. User registration: The user registration request message is sent to the security service center through a secure channel. The security service center calculates the hash message of the user's registration to the security service center based on the user registration request message and returns it to the user together with the security service center identity. The user performs hash verification based on the information returned by the security service center. If the verification is successful, the registration is successful, and the hash message of the user's registration to the security service center and the security service center identity are stored;

[0009] A2. Gateway registration: The gateway registration request message is sent to the security service center through a secure channel. The security service center calculates the hash message of the gateway registration to the security service center based on the gateway registration request message and returns it to the gateway. The gateway performs hash verification based on the information returned by the security service center. If the verification is successful, the registration is successful, and the hash message of the gateway registration to the security service center and the identity of the security service center are stored;

[0010] A3. Terminal device registration: The terminal device registration request message is sent to the gateway through a secure channel. The gateway calculates the hash message of the terminal device registration to the gateway based on the terminal device registration request message and returns it to the terminal device. The terminal device performs hash verification based on the information returned by the gateway. If the verification is successful, the registration is successful, and the hash message of the terminal device registration to the gateway and the gateway identity are stored;

[0011] Step S2, authentication and session key negotiation phase, includes:

[0012] B1. User initiates authentication: The user sends the first authentication message and the first verification message to the security service center through an open channel; after receiving the message sent by the user, the security service center matches the gateway identity and verifies the first authentication message. After the verification is successful, the security service center calculates the second authentication message and the second verification message, and sends the authentication message of the security service center to the gateway through an open channel;

[0013] B2. Gateway collaborative authentication: After receiving the authentication message from the security service center, the gateway performs hash verification. After the verification is passed, the identity information of the user authentication is determined, the third authentication message and the third verification message are calculated, and the gateway authentication message is sent to the terminal device;

[0014] B3, terminal device response authentication: after receiving the authentication message sent by the gateway, the terminal device performs hash verification, determines the identity information of the gateway after the verification passes, calculates the fourth authentication message and the fourth verification message, sends the authentication message of the terminal device to the user, and calculates the session key with the user;

[0015] B4. User confirmation authentication: After receiving the authentication message sent by the terminal device, the user performs hash verification. After the verification is passed, the identity information of the terminal device is determined, the fourth authentication message is verified, the identity information of the gateway is determined after the verification is passed, and the session key with the terminal device is calculated.

[0016] Furthermore, the user registration method is:

[0017] The user selects a user ID U and extract inherent biometric features B U , choose a random number r U , r U ∈Z P * , Z P * is a set of integers modulo P, calculating the hash message M of the user's identity and inherent biometrics U =h(ID U ||B U ) and user random identifier R U =h(r U P||M U ), will be represented by ID U , R U and M U The composed user registration request message is sent to the security service center through a secure channel;

[0018] After receiving the user registration request message, the security service center calculates the hash message M of the user registration to the security service center SU =h(ID U ||SecretID||R U ), SecretID is the identity of the security service center, which will be composed of SecretID and M SU The user registration related information is returned to the user through a secure channel;

[0019] When the user receives the user registration related information, verify whether h(ID U ||SecretID||R U )=M SU If the conditions are met, the user's information registration in the security service center is successful, and the user stores the user registration related information; otherwise, the user re-registers.

[0020] Further, the gateway registration method is:

[0021] Gateway selection Gateway identity ID Gj and a random number r Gj , r Gj ∈Z P* , calculate the gateway random identifier R Gj , R Gj =h(r Gj P||h(ID Gj )), will be represented by ID Gj and R Gj The composed gateway registration request message is sent to the security service center through a secure channel;

[0022] After the security service center receives the gateway registration information, it calculates the hash message M of the gateway registration to the security service center. SG , M SG =h(ID Gj ||SecretID||R Gj ), which will be composed of SecretID and M SG The gateway registration related information is returned to the gateway through a secure channel;

[0023] When the gateway receives the gateway registration related information, it verifies whether: h(ID Gj ||SecretID||R Gj )=M SG If the conditions are met, the gateway is successfully registered in the security service center and the gateway stores the gateway registration related information. Otherwise, the gateway will re-register.

[0024] Furthermore, the method for registering the terminal device is:

[0025] Each terminal device selects a terminal device identity ID SNk and a random number r SNk , r SNk ∈Z P * , calculate the hash message M of the terminal device registered to the security service center SNk and the terminal device random identifier R SNk :

[0026] M SNk =h(ID SNk )

[0027] R SNk =h(r SNk P||M SNk )

[0028] Where k = 1, 2, ..., m, m is the number of terminal devices managed by the gateway;

[0029] Each terminal device will be identified by an ID SNk , R SNk and M SNk The composed terminal device registration request message is sent to the gateway via a secure channel;

[0030] When the gateway receives the terminal device registration request message, it calculates the hash message M of the terminal device registered to the gateway. GSN :M GSN =h(ID SNk ||ID Gj ||R SNk ), will be represented by ID Gj and M GSN The terminal registration related information is returned to the terminal device through a secure channel;

[0031] After receiving the terminal registration related information, the terminal device verifies whether the following conditions are met:

[0032] h(ID Gj ||ID SNk ||R SNk )=M GSN

[0033] If the conditions are met, the terminal device successfully registers with the gateway and stores the terminal registration related information. Otherwise, the terminal device re-registers.

[0034] Furthermore, the method for the user to initiate authentication is:

[0035] The user chooses a random number r UA , r UA ∈Z P * , randomly select the user authentication starting number TN U , and obtain the gateway identity ID from the list to be authenticated Gj ; Calculate the first random number identifier R1 and the first time series identifier T1:

[0036] R1=r UA P

[0037] T1=h(TN U )

[0038] And calculate the first authentication message M1 and the first verification message V1:

[0039] M1=h(ID U ||SecretID||ID Gj ||R1||T1||M SU )

[0040]

[0041] Will be by ID U , the user authentication request message composed of R1, T1, M1 and V1 is sent to the security service center through the public channel;

[0042] After the security service center receives the user authentication request message from the user, it calculates the hash value L1 of the first random number identifier and the first time series identifier: L1 = h(R1||T1), and U , obtain the hash message M received by the user from the gateway registration to the security service center SU * , and then verify all gateway identities through matching calculation methods to verify Is it equal to h(ID U ||SecretID||ID Gj * ||M SU * ), and finally match the received gateway identity ID Gj * , calculate and verify whether the first authentication message M1 is equal to h(ID U ||SecretID||ID Gj * ||R1||T1||M SU * ), if they are equal, the security service center verifies the identity of the user and obtains which gateway the user is going to authenticate with, otherwise the authentication fails; during the message sending process, the data may change, so * is used to distinguish the hash message M registered by the gateway to the security service center SU The hash message M received by the user that the gateway registers with the security service center SU * , and the same is true for other parameters.

[0043] The security service center calculates the second authentication message M2 and the second verification message V2:

[0044] M2=h(ID U ||SecretID||ID Gj ||R1||T1||M SG )

[0045]

[0046] ID U , R1, T1, M2, V2 and M SU Sent to the gateway via an open channel.

[0047] Furthermore, the gateway collaborative authentication method is:

[0048] The gateway receives the ID sent by the security service center U , R1, T1, M2, V2 and M SUAfter that, a newly calculated hash value L1 of the first random number identifier and the first time series identifier is calculated * =h(R1||T1), the gateway obtains the stored received security service center identity SecretID * And the received gateway registers the hash message M to the security service center SG * ,calculate Is it equal to h(ID U ||SecretID * ||ID Gj ||M SG * ||M SU ), if not equal, the authentication fails, if equal, it will match the received gateway identity ID Gj * , calculate and verify whether the authentication message M2 is equal to h(ID U ||SecretID * ||ID Gj * ||R1||T1||M SG * ), if not equal, the authentication fails, otherwise, the gateway determines the identity information of the user authentication;

[0049] The gateway selects a random number r GA ∈Z P * , and then randomly select the gateway authentication starting number TN Gj , and obtain the terminal device identity ID from the list to be authenticated SNk ; Calculate the second random number identifier R2 and the second time series identifier T2:

[0050] R2=r GA P

[0051] T2=h(TN Gj )

[0052] Calculate the third authentication message M3 and the third verification message V3:

[0053] M3=h(ID U ||ID Gj ||ID SNk ||R1||R2||T1||T2||M GSN )

[0054]

[0055] Will be by ID U , R1, R2, T1, T2, M3, V3 and MSU The composed gateway authentication message is sent to the terminal device through a public channel.

[0056] Furthermore, the method for the terminal device to respond to authentication is:

[0057] After the terminal device receives the gateway authentication message, it calculates the newly calculated hash value L2 of the first random number identifier R1, the second random number identifier R2, the first time series identifier T1 and the second time series identifier T2: L2 = h(R1||R2||T1||T2), and the terminal device obtains the stored received gateway identity identifier ID Gj * And the received gateway registration message M GSN * ,calculate Is it equal to h(ID U ||ID Gj * ||ID SNk ||M GSN * ||M SU ), if not equal, the authentication fails, if equal, the received gateway identity ID can be confirmed Gj * , calculate and verify whether the third authentication message M3 is equal to h(ID U ||ID Gj * ||ID SNk ||R1||R2||T1||T2||M GSN * ), if they are not equal, the authentication fails; if they are equal, the terminal device determines the identity information of the gateway;

[0058] The terminal device selects a random number r SNA ∈Z P * , randomly select the starting number TN for terminal device authentication SNk , calculate the third random number identifier R3 and the third time series identifier T3:

[0059] R3=r SNA R2

[0060] T3=h(TN SNk )

[0061] Calculate the fourth authentication message M4 and the fourth verification message V4:

[0062]

[0063] Will be by ID U 、ID Gj、ID SNk The terminal device authentication message composed of R3, T3, M4, and V4 is sent to the user through a public channel, and the terminal device calculates the session key USKey with the user = r SNA R1R2.

[0064] Furthermore, the method of user confirmation authentication is:

[0065] After the user receives the terminal device authentication message sent by the terminal device, the user obtains the first random number identifier R1, the first time series identifier T1 and the received hash message M of the user registered with the security service center. SU * , calculate the hash value L3 of the first random number identifier R1, the third random number identifier R3, the first time series identifier T1 and the third time series identifier T3: L3 = h(R1||R3||T1||T3), calculate Is it equal to h(ID U ||ID Gj ||ID SNk ||M SU * ), if not equal, the authentication fails, if equal, confirm the terminal device identity ID SNk , calculate and verify whether the fourth authentication message M4 is equal to h(ID U ||ID Gj ||ID SNk ||R1||R3||T1||T3||M SU * ), if not equal, authentication fails, if equal, the terminal device determines the identity of the gateway, and the user calculates the session key USKey=r with the terminal device UA R3.

[0066] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0067] (1) The present invention uses time series verification to solve the order consistency problem of authentication messages. Through a lightweight authentication mechanism, it ensures that industrial Internet devices can quickly and safely complete identity recognition tasks under resource-constrained conditions, and ensures the freshness of authentication messages.

[0068] (2) The present invention is applicable to secure identity authentication in a distributed network environment, and can realize mutual identity recognition between terminal devices in the network under a lightweight computing mode. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] Figure 1 A flowchart of user-initiated authentication in the present invention;

[0070] Figure 2This is a flow chart of gateway collaborative authentication, terminal device response authentication and user confirmation authentication in the present invention. DETAILED DESCRIPTION

[0071] The present invention is further described in detail below in conjunction with examples, but the embodiments of the present invention are not limited thereto.

[0072] Before introducing the embodiments of the present invention, the secure and trusted network model of the industrial Internet and the industrial Internet security authentication protocol are first introduced.

[0073] 1. Secure and Trustworthy Network Model for Industrial Internet

[0074] The network architecture model in the Industrial Internet comes from its application scenarios. Currently, the Industrial Internet is widely used in medical equipment monitoring, industrial equipment monitoring, industrial remote control, etc. The production model of industrial products has been greatly expanded with the application of the Industrial Internet. The Industrial Internet ensures its reliable and secure application environment.

[0075] Figure 1 A secure and reliable network model for the Industrial Internet is given. The network elements include users, security services, gateways, and terminal devices. Users are the interface for people to participate in the Industrial Internet, and are used to control, input, and output ports of the Industrial Internet; the security service center is the security center of the Industrial Internet, providing security key services for other elements in the Industrial Internet and assisting in the execution of security protocols; the gateway is the middleware between users and terminal devices, providing an interface for users to connect to the terminal devices, and the gateway has high computing and storage capabilities, which is convenient for serving multiple terminal devices or multiple users at the same time; the terminal devices are the "nerve endings" of the Industrial Internet, and users detect and monitor the external environment of the Industrial Internet, and transmit the collected information to the gateway in real time.

[0076] 2. Industrial Internet Security Authentication Protocol

[0077] Participants in the Industrial Internet Security Authentication Protocol include users, gateways, terminal devices, and security service centers. Users obtain the collected information of terminal devices or control terminal devices to complete task execution through remote access via gateways. The security service center plays an important supporting role in the Industrial Internet environment. The description of the use of the protocols is shown in Table 1 below.

[0078] Table 1 Symbols and explanations used in security authentication protocols

[0079]

[0080]

[0081] The number of symbol bits of the Industrial Internet authentication protocol is shown in Table 2.

[0082] Table 2 The number of symbol bits in the authentication protocol

[0083]

[0084] Embodiment 1:

[0085] A lightweight authentication method based on time series verification, comprising:

[0086] Step S1, the registration phase at the secure channel service center, includes:

[0087] A1. User registration: The user registration request message is sent to the security service center through a secure channel. The security service center calculates the hash message of the user's registration to the security service center based on the user registration request message and returns it to the user together with the security service center identity. The user performs hash verification based on the information returned by the security service center. If the verification is successful, the registration is successful, and the hash message of the user's registration to the security service center and the security service center identity are stored;

[0088] A2. Gateway registration: The gateway registration request message is sent to the security service center through a secure channel. The security service center calculates the hash message of the gateway registration to the security service center based on the gateway registration request message and returns it to the gateway. The gateway performs hash verification based on the information returned by the security service center. If the verification is successful, the registration is successful, and the hash message of the gateway registration to the security service center and the identity of the security service center are stored;

[0089] A3. Terminal device registration: The terminal device registration request message is sent to the gateway through a secure channel. The gateway calculates the hash message of the terminal device registration to the gateway based on the terminal device registration request message and returns it to the terminal device. The terminal device performs hash verification based on the information returned by the gateway. If the verification is successful, the registration is successful, and the hash message of the terminal device registration to the gateway and the gateway identity are stored;

[0090] Step S2, authentication and session key negotiation phase, includes:

[0091] B1. User initiates authentication: The user sends the first authentication message and the first verification message to the security service center through an open channel; after receiving the message sent by the user, the security service center matches the gateway identity and verifies the first authentication message. After the verification is successful, the security service center calculates the second authentication message and the second verification message, and sends the authentication message of the security service center to the gateway through an open channel;

[0092] B2. Gateway collaborative authentication: After receiving the authentication message from the security service center, the gateway performs hash verification. After the verification is passed, the identity information of the user authentication is determined, the third authentication message and the third verification message are calculated, and the gateway authentication message is sent to the terminal device;

[0093] B3, terminal device response authentication: after receiving the authentication message sent by the gateway, the terminal device performs hash verification, determines the identity information of the gateway after the verification passes, calculates the fourth authentication message and the fourth verification message, sends the authentication message of the terminal device to the user, and calculates the session key with the user;

[0094] B4. User confirmation authentication: After receiving the authentication message sent by the terminal device, the user performs hash verification. After the verification is passed, the identity information of the terminal device is determined, the fourth authentication message is verified, the identity information of the gateway is determined after the verification is passed, and the session key with the terminal device is calculated.

[0095] Embodiment 2:

[0096] Based on Example 1, the user registration method is:

[0097] The user selects a user ID U and extract inherent biometric features B U , choose a random number r U , r U ∈Z P * , Z P * is a set of integers modulo P, calculating the hash message M of the user's identity and inherent biometrics U =h(ID U ||B U ) and user random identifier R U =h(r U P||M U ), will be represented by ID U , R U and M U The composed user registration request message is sent to the security service center through a secure channel:

[0098] Step 1: i ->SecretS:ID U ,R U ,M U ;

[0099] After receiving the user registration request message, the security service center calculates the hash message M of the user registration to the security service center SU =h(ID U ||SecretID||R U), SecretID is the identity of the security service center, which will be composed of SecretID and M SU The user registration related information is returned to the user through a secure channel:

[0100] Step2: SecretS->U i :SecretID,M SU ;

[0101] When the user receives the user registration related information, verify whether h(ID U ||SecretID||R U )=M SU If the conditions are met, the user's information registration in the security service center is successful, and the user stores the user registration related information; otherwise, the user re-registers.

[0102] Further, the gateway registration method is:

[0103] Gateway selection Gateway identity ID Gj and a random number r Gj , r Gj ∈Z P * , calculate the gateway random identifier R Gj , R Gj =h(r Gj P||h(ID Gj )), will be represented by ID Gj and R Gj The composed gateway registration request message is sent to the security service center through the secure channel:

[0104] Step3:GWNj->SecretS:ID Gj ,R Gj ;

[0105] After the security service center receives the gateway registration information, it calculates the hash message M of the gateway registration to the security service center. SG , M SG =h(ID Gj ||SecretID||R Gj ), which will be composed of SecretID and M SG The gateway registration related information is returned to the gateway through the secure channel:

[0106] Step4:SecretS->GWNj:SecretID,M SG ;

[0107] When the gateway receives the gateway registration related information, it verifies whether: h(ID Gj||SecretID||R Gj )=M SG If the conditions are met, the gateway is successfully registered in the security service center and the gateway stores the gateway registration related information. Otherwise, the gateway will re-register.

[0108] Furthermore, the method for registering the terminal device is:

[0109] Each terminal device selects a terminal device identity ID SNk and a random number r SNk , r SNk ∈Z P * , calculate the hash message M of the terminal device registered to the security service center SNk and the terminal device random identifier R SNk :

[0110] M SNk =h(ID SNk )

[0111] R SNk =h(r SNk P||M SNk )

[0112] Where k = 1, 2, ..., m, m is the number of terminal devices managed by the gateway;

[0113] Each terminal device will be identified by an ID SNk , R SNk and M SNk The terminal device registration request message is sent to the gateway through a secure channel:

[0114] Step 5: SNk->GWNj: ID SNk ,R SNk ,M SNk ;

[0115] When the gateway receives the terminal device registration request message, it calculates the hash message M of the terminal device registered to the gateway. GSN :M GSN =h(ID SNk ||ID Gj ||R SNk ), will be represented by ID Gj and M GSN The terminal registration related information is returned to the terminal device through a secure channel:

[0116] Step 6: GWNj->SNk: ID Gj ,M GSN ;

[0117] After receiving the terminal registration related information, the terminal device verifies whether the following conditions are met:

[0118] h(ID Gj ||ID SNk ||R SNk )=M GSN

[0119] If the conditions are met, the terminal device successfully registers with the gateway and stores the terminal registration related information. Otherwise, the terminal device re-registers.

[0120] Furthermore, if Figure 1 As shown, the method for the user to initiate authentication is:

[0121] The user chooses a random number r UA , r UA ∈Z P * , randomly select the user authentication starting number TN U , and obtain the gateway identity ID from the list to be authenticated Gj ; Calculate the first random number identifier R1 and the first time series identifier T1:

[0122] R1=r UA P

[0123] T1=h(TN U )

[0124] And calculate the first authentication message M1 and the first verification message V1:

[0125] M1=h(ID U ||SecretID||ID Gj ||R1||T1||M SU )

[0126]

[0127] Will be by ID U The user authentication request message composed of R1, T1, M1 and V1 is sent to the security service center through the public channel:

[0128] Step 1: i ->SecretS:ID U ,R1,T1,M1,M1,V1;

[0129] After the security service center receives the user authentication request message from the user, it calculates the hash value L1 of the first random number identifier and the first time series identifier: L1 = h(R1||T1), and U, obtain the hash message M received by the user from the gateway registration to the security service center SU * , and then verify all gateway identities through matching calculation methods to verify Is it equal to h(ID U ||SecretID||ID Gj * ||M SU * ), and finally match the received gateway identity ID Gj * , calculate and verify whether the first authentication message M1 is equal to h(ID U ||SecretID||ID Gj * ||R1||T1||M SU * ), if they are equal, the security service center verifies the identity of the user and obtains which gateway the user is going to authenticate with, otherwise the authentication fails;

[0130] The security service center calculates the second authentication message M2 and the second verification message V2:

[0131] M2=h(ID U ||SecretID||ID Gj ||R1||T1||M SG )

[0132]

[0133] ID U , R1, T1, M2, V2 and M SU Send to the gateway via public channel:

[0134] Step2: SecretS->GWNj: ID U ,R1,T1,M2,V2,M SU .

[0135] Furthermore, if Figure 2 As shown, the gateway collaborative authentication method is:

[0136] The gateway receives the ID sent by the security service center U , R1, T1, M2, V2 and M SU After that, a newly calculated hash value L1 of the first random number identifier and the first time series identifier is calculated * =h(R1||T1), the gateway obtains the stored received security service center identity SecretID *And the received gateway registers the hash message M to the security service center SG * ,calculate Is it equal to h(ID U ||SecretID * ||ID Gj ||M SG * ||M SU ), if not equal, the authentication fails, if equal, it will match the received gateway identity ID Gj * , calculate and verify whether the authentication message M2 is equal to h(ID U ||SecretID * ||ID Gj * ||R1||T1||M SG * ), if not equal, the authentication fails, otherwise, the gateway determines the identity information of the user authentication;

[0137] The gateway selects a random number r GA ∈Z P * , and then randomly select the gateway authentication starting number TN Gj , and obtain the terminal device identity ID from the list to be authenticated SNk ; Calculate the second random number identifier R2 and the second time series identifier T2:

[0138] R2=r GA P

[0139] T2=h(TN Gj )

[0140] Calculate the third authentication message M3 and the third verification message V3:

[0141] M3=h(ID U ||ID Gj ||ID SNk ||R1||R2||T1||T2||M GSN )

[0142]

[0143] Will be by ID U , R1, R2, T1, T2, M3, V3 and M SU The composed gateway authentication message is sent to the terminal device through the public channel:

[0144] Step3:GWNj->SNk:ID U,R1,R2,T1,T2,M3,V3,M SU .

[0145] Furthermore, the method for the terminal device to respond to authentication is:

[0146] After the terminal device receives the gateway authentication message, it calculates the newly calculated hash value L2 of the first random number identifier R1, the second random number identifier R2, the first time series identifier T1 and the second time series identifier T2: L2 = h(R1||R2||T1||T2), and the terminal device obtains the stored received gateway identity identifier ID Gj * And the received gateway registration message M GSN * ,calculate Is it equal to h(ID U ||ID Gj * ||ID SNk ||M GSN * ||M SU ), if not equal, the authentication fails, if equal, the received gateway identity ID can be confirmed Gj * , calculate and verify whether the third authentication message M3 is equal to h(ID U ||ID Gj * ||ID SNk ||R1||R2||T1||T2||M GSN * ), if they are not equal, the authentication fails; if they are equal, the terminal device determines the identity information of the gateway;

[0147] The terminal device selects a random number r SNA ∈Z P * , randomly select the starting number TN for terminal device authentication SNk , calculate the third random number identifier R3 and the third time series identifier T3:

[0148] R3=r SNA R2

[0149] T3=h(TN SNk )

[0150] Calculate the fourth authentication message M4 and the fourth verification message V4

[0151]

[0152] Will be by ID U 、ID Gj 、IDSNk The terminal device authentication message composed of R3, T3, M4, and V4 is sent to the user through a public channel:

[0153] Step4:SNk->Ui:ID U ,ID Gj ,ID SNk ,R3,T3,M4,V4.

[0154] The terminal device calculates the session key USKey with the user = r SNA R1R2.

[0155] Furthermore, the method of user confirmation authentication is:

[0156] After the user receives the terminal device authentication message sent by the terminal device, the user obtains the first random number identifier R1, the first time series identifier T1 and the received hash message M of the user registered with the security service center. SU * , calculate the hash value L3 of the first random number identifier R1, the third random number identifier R3, the first time series identifier T1 and the third time series identifier T3: L3 = h(R1||R3||T1||T3), calculate whether V4⊕L3 is equal to h(ID U ||ID Gj ||ID SNk ||M SU * ), if not equal, the authentication fails, if equal, confirm the terminal device identity ID SNk , calculate and verify whether the fourth authentication message M4 is equal to h(ID U ||ID Gj ||ID SNk ||R1||R3||T1||T3||M SU * ), if not equal, authentication fails, if equal, the terminal device determines the identity of the gateway, and the user calculates the session key USKey=r with the terminal device UA R3.

[0157] Aiming at the problem of completing network interconnection and intercommunication in the state of limited energy and communication of industrial Internet devices and the strategy problem of ensuring the freshness of authentication messages, the present invention proposes a lightweight authentication method based on time series verification. The method adopts cascade, hash, and XOR operations to effectively reduce the consumption of computing resources, while ensuring the forward and backward security of authentication, which is suitable for the relevant authentication process between users and terminal devices in the industrial Internet environment. In addition, the present invention adopts time series verification to ensure the freshness of authentication messages.

[0158] Although the present invention is described herein with reference to the illustrative embodiments of the present invention, the above embodiments are only preferred embodiments of the present invention, and the embodiments of the present invention are not limited to the above embodiments. It should be understood that those skilled in the art can design many other modifications and embodiments, which will fall within the scope and spirit of the principles disclosed in this application.

Claims

1. A lightweight authentication method based on time series verification, It is characterized in that include: Step S1, the registration phase at the secure channel service center, includes: A1. User registration; A2. Gateway registration; A3. Terminal equipment registration; Step S2, authentication and session key negotiation phase, includes: B1. User initiates authentication; B2, Gateway collaborative authentication; B3. Terminal equipment responds to authentication; B4. User confirmation and authentication.

2. According to the lightweight authentication method based on time series verification according to claim 1, It is characterized in that The user registration method is: The user selects a user ID U and extract inherent biometric features B U , choose a random number r U , r U ∈Z P * , Z P * is a set of integers modulo P, calculating the hash message M of the user's identity and inherent biometrics U =h(ID U ||B U ) and user random identifier R U =h(r U P||M U ), will be represented by ID U , R U and M U The composed user registration request message is sent to the security service center through a secure channel; After receiving the user registration request message, the security service center calculates the hash message M of the user registration to the security service center SU =h(ID U ||SecretID||R U ), SecretID is the identity of the security service center, which will be composed of SecretID and M SU The user registration related information is returned to the user through a secure channel; When the user receives the user registration related information, verify whether h(ID U ||SecretID||R U )=M SU If the conditions are met, the user's information registration in the security service center is successful, and the user stores the user registration related information; otherwise, the user re-registers.

3. According to the lightweight authentication method based on time series verification according to claim 2, It is characterized in that The gateway registration method is: Gateway selection Gateway identity ID Gj and a random number r Gj , r Gj ∈Z P * , calculate the gateway random identifier R Gj , R Gj =h(r Gj P||h(ID Gj )), will be represented by ID Gj and R Gj The composed gateway registration request message is sent to the security service center through a secure channel; After the security service center receives the gateway registration information, it calculates the hash message M of the gateway registration to the security service center. SG , M SG =h(ID Gj ||SecretID||R Gj ), which will be composed of SecretID and M SG The gateway registration related information is returned to the gateway through a secure channel; When the gateway receives the gateway registration related information, it verifies whether: h(ID Gj ||SecretID||R Gj )=M SG If the conditions are met, the gateway is successfully registered in the security service center and the gateway stores the gateway registration related information. Otherwise, the gateway will re-register.

4. According to the lightweight authentication method based on time series verification according to claim 3, It is characterized in that The method for registering the terminal device is: Each terminal device selects a terminal device identity ID SNk and a random number r SNk , r SNk ∈Z P * , calculate the hash message M of the terminal device registered to the security service center SNk and the terminal device random identifier R SNk : M SNk =h(ID SNk ) R SNk =h(r SNk P||M SNk ) Where k = 1, 2, ..., m, m is the number of terminal devices managed by the gateway; Each terminal device will be identified by an ID SNk , R SNk and M SNk The composed terminal device registration request message is sent to the gateway via a secure channel; When the gateway receives the terminal device registration request message, it calculates the hash message M of the terminal device registered to the gateway. GSN :M GSN =h(ID SNk ||ID Gj ||R SNk ), will be represented by ID Gj and M GSN The terminal registration related information is returned to the terminal device through a secure channel; After receiving the terminal registration related information, the terminal device verifies whether the following conditions are met: h(ID Gj ||ID SNk ||R SNk )=M GSN If the conditions are met, the terminal device successfully registers with the gateway and stores the terminal registration related information. Otherwise, the terminal device re-registers.

5. According to the lightweight authentication method based on time series verification according to claim 4, It is characterized in that The method for the user to initiate authentication is: The user chooses a random number r UA , r UA ∈Z P * , randomly select the user authentication starting number TN U , and obtain the gateway identity ID from the list to be authenticated Gj ; Calculate the first random number identifier R 1 and the first time series identifier T 1 : R 1 =r UA P T 1 h(TN) U ) And calculate the first authentication message M 1 and the first verification message V 1 : M 1 =h(ID U ||SecretID||ID Gj ||R 1 ||T 1 ||M SU ) V 1 =h(ID U ||SecretID||ID Gj ||M SU )⊕h(R 1 ||T 1 ) Will be by ID U , R 1 、T 1 、M 1 and V 1 The composed user authentication request message is sent to the security service center through a public channel; After the security service center receives the user authentication request message sent by the user, it calculates the hash value L of the first random number identifier and the first time series identifier. 1 :L 1 =h(R 1 ||T 1 ), according to the user identity ID U , obtain the hash message M received by the user from the gateway registration to the security service center SU * , and then verify all gateway identities through matching calculation methods to verify V 1 ⊕L 1 Is it equal to h(ID U ||SecretID||ID Gj * ||M SU * ), and finally match the received gateway identity ID Gj * , calculate and verify the first authentication message M 1 Is it equal to h(ID U ||SecretID||ID Gj * ||R 1 ||T 1 ||M SU * ), if they are equal, the security service center verifies the identity of the user and obtains which gateway the user is going to authenticate with, otherwise the authentication fails; The security service center calculates the second authentication message M 2 and the second verification message V 2 : M 2 =h(ID U ||SecretID||ID Gj ||R 1 ||T 1 ||M SG ) V 2 =h(ID U ||SecretID||ID Gj ||M SG ||M SU )⊕h(R 1 ||T 1 ) ID U , R 1 、T 1 、M 2 、V 2 and M SU Sent to the gateway via an open channel.

6. According to the lightweight authentication method based on time series verification according to claim 5, It is characterized in that The gateway collaborative authentication method is: The gateway receives the ID sent by the security service center U , R 1 、T 1 、M 2 、V 2 and M SU Afterwards, a newly calculated hash value L of the first random number identifier and the first time series identifier is calculated 1 * =h(R 1 ||T 1 ), the gateway obtains the stored received security service center identity SecretID * And the received gateway registers the hash message M to the security service center SG * , calculate V 2 ⊕L 1 * Is it equal to h(ID U ||SecretID * ||ID Gj ||M SG * ||M SU ), if not equal, the authentication fails, if equal, it will match the received gateway identity ID Gj * , calculate and verify the authentication message M 2 Is it equal to h(ID U ||SecretID * ||ID Gj * ||R 1 ||T 1 ||M SG * ), if not equal, the authentication fails, otherwise, the gateway determines the identity information of the user authentication; The gateway selects a random number r GA ∈Z P * , and then randomly select the gateway authentication starting number TN Gj , and obtain the terminal device identity ID from the list to be authenticated SNk ; Calculate the second random number identifier R 2 and the second time series identifier T 2 : R 2 =r GA P T 2 h(TN) Gj ) Calculate the third authentication message M 3 and the third verification message V 3 : M 3 =h(ID U ||ID Gj ||ID SNk ||R 1 ||R 2 ||T 1 ||T 2 ||M GSN ) V 3 =h(ID U ||ID Gj ||ID SNk ||M GSN ||M SU )⊕h(R 1 ||R 2 ||T 1 ||T 2 ) Will be by ID U , R 1 , R 2 、T 1 、T 2 、M 3 、V 3 and M SU The composed gateway authentication message is sent to the terminal device through a public channel.

7. According to claim 6, the lightweight authentication method based on time series verification, It is characterized in that The method for the terminal device to respond to authentication is: After the terminal device receives the gateway authentication message, it calculates the first random number identifier R 1 , the second random number identifier R 2 , the first time series identifier T 1 and the second time series identifier T 2 The newly calculated hash value L 2 :L 2 =h(R 1 ||R 2 ||T 1 ||T 2 ), the terminal device obtains the stored received gateway identity ID Gj * And the received gateway registration message M GSN * , calculate V 3 ⊕L 2 Is it equal to h(ID U ||ID Gj * ||ID SNk ||M GSN * ||M SU ), if not equal, the authentication fails, if equal, the received gateway identity ID can be confirmed Gj * , calculate and verify the third authentication message M 3 Is it equal to h(ID U ||ID Gj * ||ID SNk ||R 1 ||R 2 ||T 1 ||T 2 ||M GSN * ), if they are not equal, the authentication fails; if they are equal, the terminal device determines the identity information of the gateway; The terminal device selects a random number r SNA ∈Z P * , randomly select the starting number TN for terminal device authentication SNk , calculate the third random number identifier R 3 and the third time series identifier T 3 : R 3 =r SNA R 2 T 3 h(TN) SNk ) Calculate the fourth authentication message M 4 and the fourth verification message V 4 M 4 =h(ID U ||ID Gj ||ID SNk ||M GSN )⊕h(R 1 ||R 3 ||T 1 ||T 3 ||M SU ) V 4 =h(ID U ||ID Gj ||ID SNk ||M GU )⊕h(R 1 ||R 3 ||T 1 ||T 3 ) Will be by ID U 、ID Gj 、ID SNk , R 3 、T 3 、M 4 、V 4 The terminal device authentication message composed of the above is sent to the user through the public channel, and the terminal device calculates the session key USKey=r with the user. SNA R 1 R 2 .

8. According to the lightweight authentication method based on time series verification according to claim 7, It is characterized in that The method for user confirmation authentication is: After the user receives the terminal device authentication message sent by the terminal device, the first random number identifier R is obtained. 1 , the first time series identifier T 1 and the hash message M received from the user registering with the security service center SU * , calculate the first random number identifier R 1 , the third random number identifier R 3 , the first time series identifier T 1 and the third time series identifier T 3 The hash value L 3 :L 3 =h(R 1 ||R 3 ||T 1 ||T 3 ), calculate V 4 ⊕L 3 Is it equal to h(ID U ||ID Gj ||ID SNk ||M SU * ), if not equal, the authentication fails, if equal, confirm the terminal device identity ID SNk , calculate and verify the fourth authentication message M 4 Is it equal to h(ID U ||ID Gj ||ID SNk ||R 1 ||R 3 ||T 1 ||T 3 ||M SU * ), if not equal, authentication fails, if equal, the terminal device determines the identity of the gateway, and the user calculates the session key USKey=r with the terminal device UA R 3 .

Citation Information

Patent Citations

  • Wireless medical sensor network user identity authentication protocol based on biological characteristic information

    CN110798494A

  • Lightweight Internet of Things identity authentication and key agreement method based on block chain

    CN115643067A

  • Lightweight fog-assisted V2G network anonymous identity authentication system, method and device

    CN115834070A

  • Authentication key exchange method, medium and device for realizing privacy protection

    CN117375829A

  • Low-overhead Internet of Things terminal and gateway cooperative authentication method and system

    CN117596068A