Identity authentication method, system and equipment of Internet of Things equipment and storage medium

By dynamically adjusting the secure startup configuration and parameters of IoT devices, combining system load and network threat information, security verification is carried out periodically, and the complexity of secure access to IoT devices in the power interconnection system is solved, achieving efficient and accurate Safety checksum system security.

CN119071053APending Publication Date: 2024-12-03GUANGZHOU KETENG INFORMATION TECH
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411143889.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In power interconnection systems, secure access to IoT devices faces complex challenges. How to find the best balance between encryption strength and performance, ensuring that identity authentication and integrity verification are both safe and efficient, especially dynamic in the trusted state of the device In a changing environment, the system needs to continuously evaluate and adjust access policies to maintain overall security.

Method used

By determining the device type information for each IoT device, dynamically adjusting the secure startup configuration and parameters based on the system load parameters and network threat parameters, periodically conducting security verification, combining the device type and system load information for integrity verification, and achieving dynamic security calibration Test.

Benefits of technology

While reducing resource consumption, improve the accuracy of equipment security verification and system operation security, and ensure the security and efficiency of identity authentication and integrity verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071053A_ABST
    Figure CN119071053A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an identity authentication method, system and device for Internet of Things devices and a storage medium, applied to an electric power interconnection system, the electric power interconnection system comprises at least one Internet of Things device, and the method comprises the following steps: for each Internet of Things device, determining device type information of the Internet of Things device, determining a target security startup configuration based on the equipment type information of the Internet of Things equipment; determining a system load parameter and a network threat parameter of the power interconnection system, and determining a target security startup parameter from the target security startup configuration based on the system load parameter and the network threat parameter; and based on the target security startup parameter and a preset verification period, performing security verification on the Internet of Things device to obtain a target verification result. According to the technical scheme provided by the embodiment of the invention, the target safety starting parameter can be determined from the angles of the load state and the safety verification effect in the power system, and then periodic safety verification is performed on the Internet of Things equipment based on the target safety starting parameter, so that complete dynamic safety verification can be performed on the Internet of Things equipment under the condition of reducing resource consumption, and the safety of the Internet of Things equipment is improved. The accuracy of equipment safety verification is improved, and the operation safety of the system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the technical field of power equipment management, and in particular to an identity authentication method, system, device and storage medium for an Internet of Things device. Background Art

[0002] In the power interconnection system, the secure access of IoT devices faces a series of complex and ever-changing challenges. With the diversification of device types, the system needs to dynamically match the secure startup configuration based on the unique identifier, which in itself increases the complexity of configuration management. At the same time, the real-time changes in system load and network threats require that security parameters can be flexibly adjusted to cope with the evolving security environment. In this process, how to find the best balance between encryption strength and performance to ensure that identity authentication and integrity verification are both safe and efficient has become a major problem. What is particularly critical is that the trusted state of the device is not static, but dynamically adjusted as the environment changes, which requires the system to continuously evaluate and adjust the access strategy in a timely manner to maintain overall security. Summary of the invention

[0003] The embodiments of the present invention provide an identity authentication method, system, device and storage medium for an IoT device, which can perform a complete dynamic security check on the IoT device while reducing resource consumption, thereby improving the accuracy of device security check and improving the security of system operation.

[0004] In a first aspect, an embodiment of the present invention provides an identity authentication method for an IoT device, which is applied to an electric power interconnection system, wherein the electric power interconnection system includes at least one IoT device, and the method includes:

[0005] For each IoT device, determine the device type information of the IoT device, and determine the target secure boot configuration based on the device type information of the IoT device; determine the system load parameters and network threat parameters of the power interconnection system, and determine the target secure boot parameters from the target secure boot configuration based on the system load parameters and the network threat parameters; based on the target secure boot parameters and a preset verification period, perform security verification on the IoT device to obtain a target verification result.

[0006] In a second aspect, an embodiment of the present invention provides an identity authentication system for an IoT device, which is applied to an electric power interconnection system, wherein the electric power interconnection system includes at least one IoT device, and the system includes:

[0007] A secure boot configuration determination module is used to determine the device type information of each IoT device, and determine the target secure boot configuration based on the device type information of the IoT device; a secure boot parameter determination module is used to determine the system load parameters and network threat parameters of the power interconnection system, and determine the target secure boot parameters from the target secure boot configuration based on the system load parameters and network threat parameters; a verification result determination module is used to perform security verification on the IoT device based on the target secure boot parameters and a preset verification period to obtain a target verification result.

[0008] In a third aspect, an embodiment of the present invention provides a computer device, the computer device comprising:

[0009] One or more processors; a memory for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the identity authentication method of the Internet of Things device described in any embodiment.

[0010] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the identity authentication method for an IoT device described in any embodiment.

[0011] The technical solution provided by the embodiment of the present invention determines the device type information of the IoT device for each IoT device, and determines the target security startup configuration based on the device type information of the IoT device; determines the system load parameters and network threat parameters of the power interconnection system, and determines the target security startup parameters from the target security startup configuration based on the system load parameters and network threat parameters; and performs security verification on the IoT device based on the target security startup parameters and a preset verification cycle to obtain a target verification result. The technical solution of the embodiment of the present invention can determine the target security startup parameters from the perspective of the load status and security verification effect in the power system, and then perform periodic security verification on the IoT device based on the target security startup parameters. It can perform a complete dynamic security verification on the IoT device while reducing resource consumption, thereby improving the accuracy of device security verification and improving the safety of system operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 This is a flow chart of an identity authentication method for an IoT device provided by an embodiment of the present invention;

[0013] Figure 2 This is a flow chart of another method for authenticating an IoT device provided by an embodiment of the present invention;

[0014] Figure 3This is a workflow diagram for performing identity authentication of an IoT device provided by an embodiment of the present invention;

[0015] Figure 4 It is a structural diagram of an identity authentication system for an IoT device provided by an embodiment of the present invention;

[0016] Figure 5 It is a structural schematic diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0018] Figure 1 It is a flow chart of an identity authentication method for an IoT device provided by an embodiment of the present invention. The embodiment of the present invention can be applied to a scenario of security verification of an IoT device connected to an electric power system, and is applied to an electric power interconnection system. The electric power interconnection system includes at least one IoT device. The method can be executed by an identity authentication system of the IoT device, which can be implemented by software and / or hardware.

[0019] like Figure 1 As shown, the identity authentication method of the IoT device includes the following steps:

[0020] S110: For each IoT device, determine device type information of the IoT device, and determine a target secure boot configuration based on the device type information of the IoT device.

[0021] Among them, the IoT device may be a device having a data association relationship with the power interconnection system. Exemplarily, the IoT device may include devices such as smart meters, smart sockets, environmental monitoring sensors, smart home gateways, remote meter reading devices, and smart street light controllers. The device type information may be device attribute information associated with the device type of the IoT device. Exemplarily, the device type information may include information such as the processor model, memory capacity, storage space operating system version, and firmware version of the IoT device. Exemplarily, the device type information of the IoT device may be determined based on the device identification information of the IoT device. Further, the target secure boot configuration may be an optional secure boot configuration corresponding to the IoT device. Among them, the secure boot configuration may include parameters such as key length, check code length, message authentication code (MAC), and initialization vector (IV). Exemplarily, based on the device type information of the IoT device, the target secure boot configuration may be matched from a mapping table of the association relationship between the preset storage device type information and the secure boot configuration.

[0022] S120. Determine system load parameters and network threat parameters of the power interconnection system, and determine target secure boot parameters from the target secure boot configuration based on the system load parameters and network threat parameters.

[0023] Among them, the system load parameter may be a parameter indicating the degree of operating load of the power interconnection system. The network threat parameter may be a parameter indicating the degree of network risk corresponding to the power interconnection system. Specifically, the load-related parameters of the power interconnection system may be collected, and the system load parameters may be determined based on the collected load-related parameters. Correspondingly, the network risk parameters corresponding to the power interconnection system may also be collected, and the network threat parameters may be determined based on the collected network risk parameters. The target security boot parameter may be the final security boot parameter corresponding to the IoT device. Exemplarily, the system load parameter and the network threat parameter may be compared with the corresponding preset values, and the corresponding security boot parameter may be selected from the target security boot configuration based on the comparison result as the target security boot parameter.

[0024] S130: Based on the target secure startup parameters and a preset verification period, perform security verification on the IoT device to obtain a target verification result.

[0025] The preset verification period may be a preset period for performing security verification on the IoT device. The preset verification period may be manually set. The preset verification period may be dynamically adjusted according to the security verification result of each time. The target verification result may be the verification result finally obtained by performing identity verification on the IoT device. Exemplarily, the IoT device may be security verified based on the target security startup parameters at intervals of the preset verification period to obtain the target verification result.

[0026] The technical solution provided by the embodiment of the present invention determines the device type information of the IoT device for each IoT device, and determines the target security startup configuration based on the device type information of the IoT device; determines the system load parameters and network threat parameters of the power interconnection system, and determines the target security startup parameters from the target security startup configuration based on the system load parameters and network threat parameters; and performs security verification on the IoT device based on the target security startup parameters and a preset verification cycle to obtain a target verification result. The technical solution of the embodiment of the present invention can determine the target security startup parameters from the perspective of the load status and security verification effect in the power system, and then perform periodic security verification on the IoT device based on the target security startup parameters. It can perform a complete dynamic security verification on the IoT device while reducing resource consumption, thereby improving the accuracy of device security verification and improving the safety of system operation.

[0027] Figure 2 It is a flow chart of another identity authentication method for an IoT device provided by an embodiment of the present invention. The embodiment of the present invention can be applied to the scenario of security verification of IoT devices connected to the power system, and is applied to the power interconnection system. The power interconnection system includes at least one IoT device. Based on the above embodiment, this embodiment further explains how to determine the device type information of the IoT device, and determine the target security startup configuration based on the device type information of the IoT device; how to determine the system load parameters and network threat parameters of the power interconnection system; and how to perform security verification on the IoT device based on the target security startup parameters and a preset verification cycle to obtain a target verification result. The system can be implemented by software and / or hardware and integrated in a computer device with application development function.

[0028] like Figure 2 As shown, the identity authentication method of the IoT device includes the following steps:

[0029] S210: For each IoT device, obtain device identification information of the IoT device, and match device type information corresponding to the device identification information from a preset device database.

[0030] Among them, the device identification information may be the unique identity identification information corresponding to the IoT device. The preset device database may be a database storing the device type information of the IoT device. Specifically, the preset device database may store a correspondence table between the device identification information and the device type information, and based on the correspondence table, the device type information corresponding to the IoT device may be matched based on the device identification information of the IoT device. Among them, the device type information may be device attribute information associated with the device type of the IoT device. Exemplarily, the device type information may include information such as the processor model, memory capacity, storage space operating system version, and firmware version of the IoT device.

[0031] S220: Match the secure boot configuration corresponding to the device type information from a preset security mapping table, and use the matched secure boot configuration as an initial secure boot configuration.

[0032] The preset security mapping table may be a mapping table indicating an association between device type information and a secure boot configuration. The initial secure boot configuration may be a determined original secure boot configuration. Specifically, the secure boot configuration corresponding to the device type information may be matched from the preset security mapping table, and the matched secure boot configuration may be used as the initial secure boot configuration.

[0033] S230: Determine resource consumption parameters and security risk parameters corresponding to the initial secure boot configuration, and adjust the initial secure boot configuration based on the resource consumption parameters and security risk parameters to obtain a target secure boot configuration.

[0034] Among them, the resource consumption parameter may be a parameter indicating the degree of resource consumption of the secure boot configuration on the power interconnection system. Exemplarily, the impact score of the initial secure boot configuration on the CPU usage, memory occupancy and storage space of the power interconnection system may be calculated, and then the resource consumption score may be obtained based on all the impact scores, and the resource consumption score may be used as the resource consumption parameter. Further, the security risk parameter may be a parameter for evaluating the degree of security risk corresponding to the secure boot configuration. Exemplarily, the initial secure boot configuration may be risk assessed based on a preset risk assessment matrix to obtain a security risk score, and the obtained security risk score may be used as a security risk parameter. Further, the target secure boot configuration may be a secure boot configuration obtained after adjusting the initial secure boot configuration. Specifically, the resource consumption parameter and the security risk parameter may be compared with the corresponding preset threshold value, and the initial security system configuration may be adjusted according to the comparison result, thereby obtaining the target secure boot configuration.

[0035] Exemplarily, the device type information can be determined based on the unique identifier of the IoT device, and the corresponding initial secure boot configuration can be matched in a predefined secure boot template mapping table according to the device type information to obtain the initial configuration of the security parameters; a resource consumption assessment method is used to calculate the impact of each security parameter on CPU usage, memory occupancy and storage space to obtain a resource consumption score; a security risk assessment matrix is ​​used to calculate a security risk score based on the importance and potential threat level of different security parameters; the parameters in the initial secure boot configuration are dynamically adjusted based on the resource consumption score and the security risk score; if the resource consumption score exceeds a preset threshold, the strength of the parameters in the initial secure boot configuration is reduced; if the security risk score is lower than the preset threshold, the security measures are simplified; and through iterative adjustment, a target secure boot configuration that strikes a balance between resource consumption and security is generated.

[0036] Specifically, the corresponding initial secure boot configuration can be matched in the predefined secure boot template mapping table according to the acquired device type information. The initial configuration of security parameters includes key length, check code length, message authentication code (MAC) and initialization vector (IV). For the initial secure boot configuration, a trade-off analysis is performed in combination with device resource constraints and security requirements. The resource consumption evaluation method is used to calculate the impact of each security parameter on CPU usage, memory usage and storage space to obtain a resource consumption score. At the same time, the security risk evaluation matrix is ​​used to calculate the security risk score according to the importance and potential threat level of different security parameters. Based on the resource consumption score and the security risk score, the parameters in the initial secure boot configuration are dynamically adjusted. The resource consumption threshold and the security risk threshold are set. When the resource consumption score exceeds the threshold, the strength of the corresponding parameter is reduced according to the predefined adjustment rules. When the CPU usage score exceeds the threshold, the key length is reduced from 2048 bits to 1024 bits. When the security risk score is lower than the threshold, the security measures can be appropriately simplified. Through the iterative adjustment process, a secure boot configuration that strikes a balance between resource consumption and security is finally generated.

[0037] In the IoT device management system, the device type information is retrieved from the preset device type database through the device unique identifier "IOT-001", and the device is obtained as a smart camera, the processor model is ARMCortex-M4, the main frequency is 1GHz, the memory capacity is 512MB, the storage space is 8GB, the operating system version is embedded Linux4.9, and the firmware version is V2.3. Based on this information, the system matches the initial secure boot configuration in the secure boot template mapping table: RSA key length 2048 bits, AES-256 encryption algorithm, SHA-256 signature algorithm, and the integrity check adopts the hash chain method. For this initial configuration, the system evaluates resource consumption and calculates that RSA-2048 has an impact of 15% on CPU usage, an increase of 30MB in memory usage, and an increase of 2MB in storage space; AES-256 has an impact of 5% on CPU usage, an increase of 10MB in memory usage; SHA-256 has an impact of 3% on CPU usage, and an increase of 5MB in memory usage. At the same time, using the predefined security risk assessment matrix, according to the current network environment and device importance, the security risk score of RSA-2048 is calculated to be 0.8, AES-256 is 0.7, and SHA-256 is 0.6. Based on these scores, the system sets the resource consumption thresholds to no more than 20% CPU usage, no more than 50MB memory usage, and a security risk score of no less than 0.6. After iterative adjustments, the system reduces the RSA key length to 1024 bits, thereby reducing the CPU usage to 10% and the memory usage to 25MB, while the security risk score remains above 0.7. The final secure boot configuration generated is: RSA-1024 key, AES-256 encryption, SHA-256 signature, and the integrity check range is limited to the boot loader and core system files.

[0038] S240. Determine system load parameters and network threat parameters of the power interconnection system, and determine target secure boot parameters from the target secure boot configuration based on the system load parameters and network threat parameters.

[0039] Optionally, system performance parameters of the power interconnection system can be collected based on a preset collection period; wherein the system performance parameters include at least one of CPU usage, memory occupancy and network bandwidth utilization; for each system performance parameter, the membership value corresponding to the system performance parameter is determined, and the system load parameter is determined based on the membership values ​​of multiple system performance parameters.

[0040] Among them, the preset collection period can be a preset period for collecting system performance parameters. The system performance parameter can be a parameter indicating the system network performance. Further, the membership value can be a parameter indicating the degree of the system performance parameter. Exemplarily, for each system performance parameter, a corresponding low fuzzy set, a medium fuzzy set and a high fuzzy set can be set, and the membership of the system performance parameter to each fuzzy set can be determined, thereby obtaining the membership value. Further, the system load parameter can be determined according to the membership values ​​of all system performance parameters.

[0041] Exemplarily, three performance indicator data of central processing unit utilization rate, memory occupancy, and network bandwidth utilization rate are obtained from the power interconnection system; based on the performance indicator data, the 3σ principle is adopted to eliminate outliers, and the standardized performance indicator data is obtained by the maximum and minimum value normalization method; the standardized performance indicator data are mapped to three fuzzy sets of low, medium, and high, and the membership value corresponding to each indicator is calculated using the triangular membership function; if the CPU utilization rate is high and the memory occupancy is high, the system load is high, and fuzzy reasoning is performed according to a preset fuzzy rule base and the Mamdani reasoning method to obtain a fuzzy output of the system load level; the fuzzy output is defuzzified using the centroid method, the area and centroid of the fuzzy set are calculated, and the precise value of the system load level is obtained; the system load level is judged according to the precise value of the system load level.

[0042] Specifically, the performance index data of the current central processor can be collected from the power interconnection system, and the collected raw data can be preprocessed. The 3σ principle is adopted to treat data beyond the range of ±3 times the standard deviation of the mean as outliers and remove them. The maximum and minimum normalization method is used to standardize the data to obtain the standardized performance index data. Fuzzy processing is performed on the preprocessed performance index data, and the central processor utilization rate, memory occupancy, and network bandwidth utilization rate are mapped to three fuzzy sets of low, medium, and high, respectively. For CPU utilization rate, 0-30% is low, 30-70% is medium, and 70-100% is high; the same division standard is used for memory occupancy and network bandwidth utilization rate. The triangular membership function is used to calculate the membership value corresponding to each indicator. The preset fuzzy rule base is used to perform reasoning calculation on the fuzzified performance indicators. The fuzzy rule base contains rules such as "If the CPU utilization rate is high and the memory occupancy is high, the system load is high". The Mamdani reasoning method is used for fuzzy reasoning, and the fuzzy output of the system load level is obtained by triggering and combining fuzzy rules. The output of fuzzy reasoning is defuzzified and the centroid method is used to convert the fuzzy output into a clear numerical value of the system load level. The area and centroid of the fuzzy set are calculated to obtain the precise numerical value of the system load level. 0-0.3 is considered as low load, 0.3-0.7 is medium load, and 0.7-1 is high load. This value reflects the current overall load status of the power interconnection system.

[0043] During the operation of the power interconnection system, the data acquisition module obtains a set of performance indicator data from the system every 5 seconds, including CPU usage of 75%, memory usage of 60%, and network bandwidth utilization of 45%. The data preprocessing module first calculates the average and standard deviation of 100 sets of historical data, and obtains the average value of CPU usage of 60% and the standard deviation of 10%; the average value of memory usage of 50% and the standard deviation of 8%; the average value of network bandwidth utilization of 40% and the standard deviation of 7%. According to the 3σ principle, it is judged that the current data are all within the normal range. Then the maximum and minimum values ​​are normalized, and the CPU usage, memory usage, and network bandwidth utilization are converted to 0.75, 0.6, and 0.45 respectively. The fuzzy processing module uses the triangular membership function to calculate that the membership of CPU usage in the "high" set is 0.8, and the membership of the "medium" set is 0.2; the membership of memory usage in the "medium" set is 1; the membership of network bandwidth utilization in the "medium" set is 0.75, and the membership of the "low" set is 0.25. The fuzzy reasoning module applies the preset rule "If the CPU usage is high and the memory usage is medium, the system load is medium-high", and obtains the fuzzy output of the system load level as "medium-high" through the Mamdani reasoning method, with a membership degree of 0.8. The defuzzification module uses the centroid method to calculate the area and centroid of the "medium-high" load interval (0.5-0.8), and finally obtains the precise value of the system load level as 0.68, corresponding to a medium-high load state.

[0044] Optionally, determining network threat parameters of the power interconnection system includes: determining network security indicators of the power interconnection system; wherein the network security indicators include: at least one of abnormal traffic characteristic values, malicious code propagation index and system vulnerability exploitation frequency; based on indicator weights corresponding to the network security indicators, performing weighted summation of multiple network security indicators to obtain network threat parameters.

[0045] Among them, the network security index can be a parameter used to indicate the degree of network security risk of the power interconnection system. The index weight can be a weight value corresponding to the network security index. Exemplarily, the index weight corresponding to each network security index can be set manually. It can be determined by factors such as the current security environment and threat intelligence of the power interconnection system. Furthermore, each network security index can be multiplied by the corresponding index weight and then added together to obtain a network threat parameter.

[0046] Exemplarily, three indicators, namely, abnormal traffic characteristic value, malicious code propagation index, and system vulnerability exploitation frequency in the power interconnection network environment, can be obtained; the original data of the three indicators are preprocessed, including removing outliers and standardization, to obtain the three standardized network security indicators; the three network security indicators are weighted by the analytic hierarchy process, a judgment matrix is ​​constructed, characteristic vectors are calculated, and a consistency test is performed to determine the weights of the three indicators; the network threat level is calculated by the weighted summation method, the standardized values ​​of the three indicators are multiplied by the corresponding weights and then summed to obtain the network threat level value; according to the network threat level value and the system load level, the preset security boot configuration table is queried to select the corresponding security boot parameter combination.

[0047] Specifically, three indicators, namely, abnormal traffic characteristic value, malicious code propagation index, and system vulnerability exploitation frequency, can be obtained from the power interconnection network environment. The abnormal traffic characteristic value is obtained through deep packet inspection, the malicious code propagation index is obtained through honeypot monitoring, and the system vulnerability exploitation frequency is obtained through intrusion detection log analysis. The obtained raw data is preprocessed, including removing outliers and standardization, to obtain standardized network security indicator data. The hierarchical analysis method is used to assign weights to the three network security indicators, construct a judgment matrix, calculate the eigenvector, and perform a consistency test. Finally, it is determined that the weight of the abnormal traffic characteristic value is 0.4, the weight of the malicious code propagation index is 0.3, and the weight of the system vulnerability exploitation frequency is 0.3. The network threat level is calculated using the weighted summation method. The standardized values ​​of the three indicators are multiplied by the corresponding weights and then summed to obtain the network threat level value, and the value is mapped to the predefined threat level range: 0-0.2 is low threat, 0.2-0.5 is medium threat, 0.5-0.8 is high threat, and 0.8-1 is severe threat.

[0048] According to the calculated network threat level and the system load level obtained in the previous steps, the preset secure boot configuration table is queried to select the corresponding secure boot parameter combination. The secure boot configuration table contains parameter combinations of encryption algorithms (such as AES-128 / 256), key lengths (such as 1024 / 2048 bits), and integrity verification methods (such as SHA-256 / 512) under different threat levels and load levels. In the case of high threat and low load, stronger security parameters are selected; in the case of low threat and high load, lighter security parameters are selected to balance security and system performance. In the power interconnection network environment, the deep packet inspection tool detects that the abnormal traffic characteristic value is 0.6, the honeypot system monitors that the malicious code propagation index is 0.4, and the intrusion detection system log analysis shows that the system vulnerability exploitation frequency is 0.5. The data preprocessing module standardizes these three indicators and obtains the standardized values ​​of 0.75, 0.67 and 0.83 respectively. The hierarchical analysis method constructs a 3x3 judgment matrix, calculates the characteristic vector and performs consistency test, and finally determines that the weights of the three indicators are 0.4, 0.3 and 0.3 respectively. The weighted sum calculation results in a network threat level of 0.75, which is mapped to the predefined threat level interval and is determined to be in a high threat state. At the same time, the system load level module reports that the current load is 0.4, which belongs to the medium load range. The secure boot configuration selection module selects the AES-256 encryption algorithm, 2048-bit RSA key length, and SHA-512 integrity check method as secure boot parameters from the preset configuration table based on the combination of high threat and medium load.

[0049] S250: At each preset verification period, based on the target secure startup parameter, authenticate the IoT device to obtain an authentication result.

[0050] The identity authentication result may be a verification result for the identity information of the IoT device. Exemplarily, based on the target secure boot parameters, the device identification information of the IoT device may be authenticated to obtain a corresponding credibility score, and the corresponding identity authentication result may be determined according to the credibility score.

[0051] Optionally, at every preset verification period, based on the target security boot parameters, the IoT device is authenticated to obtain an authentication result, including: obtaining device identification information and public key information of the IoT device; encrypting the device identification information according to the public key information and the target security boot parameters to obtain encrypted information to be verified, and sending the encrypted information to be verified to a preset verification server; so that the preset verification server determines a credibility parameter based on the verification result of the encrypted information to be verified and the request time, and determines the authentication result based on the credibility parameter.

[0052] Among them, the encrypted information to be verified may be encrypted information used for subsequent identity verification. Exemplarily, the device identification information of the IoT device may be encrypted and signed based on the public key information, and the obtained encrypted digital signature may be used as the encrypted information to be verified. Furthermore, the preset verification server may be a preset server for identity verification. By sending the encrypted information to be verified to the preset verification server, the preset verification server may determine a credibility parameter based on the verification result of the encrypted information to be verified and the request time, and determine the identity verification result according to the credibility parameter. Exemplarily, the credibility parameter may be compared with a preset credibility threshold, and the identity verification result may be determined according to the comparison result.

[0053] Exemplarily, a pre-stored device identity credential can be obtained from the IoT device security chip, and the device unique identifier and public key information in the device identity credential can be extracted; combined information is generated based on the device unique identifier, timestamp and random number, and the combined information is signed using the ECDSA-256 elliptic curve digital signature algorithm to obtain a digital signature; a temporary session key is generated using the Diffie-Hellman key exchange algorithm, and the temporary session key is used to encrypt the combined information and the digital signature; a decrypted verification request sent by an authentication server is received, and the authentication server verifies the validity of the digital signature, calculates the credibility score of the verification result based on the verification result of the digital signature and the validity of the request time, and then determines the identity authentication result based on the credibility score.

[0054] Specifically, security policy guidance is generated based on the secure boot parameters, and the encryption algorithm strength and key length are converted into corresponding authentication algorithm selection and parameter settings through a mapping table. The initial verification frequency is determined according to the current network threat level. The pre-stored device identity credentials are read from the IoT device security chip to extract the device unique identifier and public key information. The ECDSA-256 elliptic curve digital signature algorithm is used to generate an authentication request, and the device unique identifier, timestamp, and random number are combined. The combined information is signed using the device private key to obtain a digital signature. The generated authentication request is encrypted, and a temporary session key is generated through the Diffie-Hellman key exchange algorithm. The session key is used to encrypt the request content and digital signature, and the encrypted request is sent to the authentication server of the power interconnection system through a preset secure channel. The authentication server receives and decrypts the verification request, verifies the validity of the digital signature, and calculates the credibility score of the verification result based on the signature verification result and the request time validity.

[0055] In the power interconnection system, the security startup parameters are set to the AES-256 encryption algorithm and the 2048-bit RSA key length, which are converted to the ECDSA-256 authentication algorithm and the initial frequency of verification once an hour through the mapping table. The identity credentials stored in the IoT device security chip contain the device unique identifier "IOT-DE001" and the 256-bit public key. The ECDSA-256 algorithm uses the secp256r1 curve parameters to generate an authentication request, combines "IOT-DE001", the current timestamp "1628956800" and the random number "78234509", and uses the device private key to sign to obtain a 64-byte digital signature. The Diffie-Hellman key exchange uses the 2048-bit prime number p and the primitive root g. After the device and the server exchange public keys, a 256-bit session key is generated. The session key is used to encrypt the request content and signature in the AES-256-GCM mode, and the encrypted data is sent to the authentication server through the secure channel established by the TLS1.3 protocol. After the server decrypts the verification request, it verifies the ECDSA signature through the public key, and calculates that the signature validity is 1, the request time validity is 0.95 (within 5 minutes), and the comprehensive credibility score is 0.97. The current network threat level is 0.3 (medium threat). The weighted algorithm sets the credibility score weight to 0.6 and the threat level weight to 0.4, and the calculated adjustment coefficient is 0.78. The credibility of the identity authentication result returned by the authentication server is evaluated, and the historical behavior of the device, authentication time, and number of authentications are comprehensively considered to establish a credibility model for the verification result, and dynamically calculate the credibility level of the current verification result to provide a basis for subsequent access control and permission management.

[0056] Obtain the identity authentication result sent by the authentication server, the identity authentication result including the verification timestamp, the verification result status code, and the device identifier; read the historical verification record of the device from the local database according to the device identifier, and extract the device historical behavior characteristics in the historical verification record; perform time series analysis on the device historical verification record, and use the sliding time window method to calculate the average verification interval and verification frequency of the device; based on the device historical behavior characteristics, use the support vector machine algorithm to build a device behavior model, and the device behavior model uses the RBF kernel function; match the identity authentication result with the device behavior model to obtain a behavior consistency score; use the weighted sum method to calculate the trust level of the current verification result based on the verification result status code, the average verification interval, the verification frequency, the behavior consistency score, and the number of authentications; store the trust level in the device trust database.

[0057] Specifically, the authentication result can be obtained from the authentication server, including the authentication timestamp, the authentication result status code, and the device identifier. At the same time, the historical authentication record of the device can be read from the local database to extract the historical behavior characteristics of the device, including the historical authentication success rate, the average authentication interval, and the number of abnormal authentications. The device historical authentication records are analyzed in time series. The 30-day sliding time window method is used, which slides once a day to calculate the average authentication interval and authentication frequency of the device. The time factor weight is obtained by combining the difference between the current authentication time and the last authentication time. Based on the historical behavior characteristics of the device, the support vector machine algorithm is used to build the device behavior model. The RBF kernel function is used. The characteristics include authentication frequency, success rate, and time regularity. The current authentication result is matched with the historical behavior pattern, and the behavior consistency score is calculated as the weight of the historical behavior factor. The weighted sum method is used to calculate the trust level of the current authentication result by comprehensively considering the status code of the authentication result, the weight of the time factor, the weight of the historical behavior factor, and the number of authentications. The weights are set to 0.4, 0.2, 0.3, and 0.1 respectively. The calculated trust level value is stored in the device trust database for subsequent access control and permission management decisions.

[0058] The dynamic optimization of the credibility model is achieved by regularly updating the model parameters and weights. In the power interconnection system, after the device "IOT-001" completes the identity authentication, the authentication server returns the result: verification timestamp 1628956800, status code 200 (success), and device identifier "IOT-001". The system reads the historical records of the device in the past 90 days from the local database, and calculates that the historical verification success rate is 98%, the average verification interval is 8 hours, and the number of abnormal verifications is 2 times. Using a 30-day sliding time window, sliding once a day, the analysis shows that the average verification interval in the past 30 days is 7.5 hours, and the verification frequency is 3.2 times / day. The interval between the current verification and the last verification is 7.8 hours, and the time factor weight is calculated to be 0.95. The support vector machine algorithm uses the RBF kernel function, the C parameter is set to 1.0, and the gamma is 0.1. The features include verification frequency, success rate, and time regularity. The current verification result is matched with the historical behavior pattern to obtain a behavior consistency score of 0.92, which is used as the historical behavior factor weight. Taking all factors into consideration, the trust level is calculated using the weighted sum method: 0.4×1 (status code 200) + 0.2×0.95 (time factor) + 0.3×0.92 (behavior factor) + 0.1×0.98 (normalized value of authentication times) = 0.965. This trust level of 0.965 is stored in the device trust database for subsequent access control.

[0059] S260: Perform integrity verification on the IoT device based on the device type information and system load parameters at each preset verification period to obtain an integrity verification result.

[0060] The integrity verification result may be a verification result that can authenticate the identity of the IoT device from the perspective of information integrity. Specifically, the parameter representing the information integrity of the IoT device may be determined based on the device type information of the IoT device and the system load parameters of the power interconnection system, and then the parameter may be subjected to integrity verification to obtain the integrity verification result.

[0061] Optionally, at every preset verification period, the integrity of the IoT device is verified based on the device type information and system load parameters to obtain an integrity verification result, including: determining the hash value to be verified corresponding to the IoT device based on the device type information and system load parameters; obtaining the standard hash value corresponding to the IoT device, and comparing the hash value to be verified with the standard hash value, and determining the integrity verification result based on the comparison result.

[0062] Among them, the hash value to be verified may be a hash value that needs to be checked for integrity. Specifically, the corresponding verification object and verification range can be determined according to the device type information and the system load parameters, and the hash value of the verification object can be determined based on the verification range, thereby obtaining the hash value to be verified. Furthermore, the standard hash value may be a reference hash value corresponding to the verification object. The standard hash value may be set in advance. Exemplarily, the standard hash value corresponding to the verification object may be read from a preset database or blockchain network. Furthermore, the difference between the hash value to be verified and the standard hash value may be calculated. When the difference is a positive number, it can be determined that the integrity verification result is that the verification object has not been tampered with; correspondingly, when the difference is a negative number, it can be determined that the integrity verification result is that the verification object has been tampered with.

[0063] Exemplarily, according to the type of IoT device and the system load level, the verification object and verification range are selected from the preset integrity verification strategy table. The original data of the selected verification object is obtained, and the hash value of the verification object is calculated using the SHA-256 algorithm. The standard hash value of the verification object is read from the blockchain network, and the calculated hash value and the standard hash value are encrypted by the Paillier homomorphic encryption algorithm to obtain an encrypted hash value pair. In the encrypted state, the additive homomorphic property of the Paillier algorithm is used to perform a difference calculation on the encrypted hash value pair to obtain an integrity verification result. If the integrity verification result is positive, it is determined that the verification object has not been tampered with; if the integrity verification result is negative, it is determined that the verification object has been tampered with. According to the integrity verification result, the performance indicators of the verification process and the current system load level, a fuzzy logic controller is used to adjust the frequency and range of subsequent integrity verification. The fuzzy logic controller uses the verification result, system load, and time consumption as input variables, and the frequency and range as output variables.

[0064] Specifically, according to the type of IoT device and the system load level, the appropriate verification object and verification range are selected from the preset integrity verification strategy table. The strategy table contains the verification object selection strategy under different device types and load levels, such as verifying all system files under low load and only verifying key system files under high load. The original data of the selected verification object is obtained, and the hash value of the verification object is calculated using the SHA-256 algorithm. The standard hash value of the corresponding verification object is read from the blockchain network, and the calculated hash value and the standard hash value are encrypted using the Paillier homomorphic encryption algorithm to generate an encrypted hash value pair. In the encrypted state, the difference between the encrypted hash value pairs is calculated using the additive homomorphic property of the Paillier algorithm to obtain the integrity verification result, and the time consumption and resource occupancy of the verification process are recorded at the same time. According to the integrity verification result, the performance indicators of the verification process and the current system load level, the fuzzy logic controller is used to adjust the frequency and range of subsequent integrity verification. The fuzzy logic controller uses the verification result, system load, and time consumption as input variables, and the frequency and range as output variables, and calculates the output through a predefined fuzzy rule set. According to the output result, the relevant parameters in the integrity verification strategy table are updated to realize the dynamic adjustment of the verification strategy.

[0065] In the power interconnection system, when the smart meter device IOT-001 performs system integrity verification, the current system load level is 30%. According to the preset strategy table, the verification object is selected as a set of key system files, including boot loaders, kernel modules, and configuration files. The combined hash value of these files is calculated using the SHA-256 algorithm to obtain a 256-bit hash result H1. The stored standard hash value H2 is read from the blockchain network. The Paillier homomorphic encryption algorithm is used with a key length of 2048 bits to encrypt H1 and H2 to obtain encrypted hash values ​​E(H1) and E(H2). Using the additive homomorphic property of the Paillier algorithm, E(H1-H2) is calculated, and the decryption result is 0, indicating that the integrity verification is passed. The entire verification process takes 200 milliseconds, and the CPU usage peaks at 45%. The fuzzy logic controller receives this data as input and applies a predefined set of rules, such as "If the verification passes and the system load is medium, then slightly increase the verification frequency." The controller output recommends adjusting the verification frequency from once an hour to once every 50 minutes, and the verification range remains unchanged. The system updates the integrity verification policy table accordingly and updates the verification frequency parameter of the IOT-001 device in the 30%-40% load range to 50 minutes / time.

[0066] S270. Determine a target verification result according to the identity verification result and the integrity verification result.

[0067] Among them, the target verification result can be the verification result finally obtained by authenticating the IoT device. Exemplarily, the identity authentication credibility and the first verification result vector can be determined according to the identity authentication result, the integrity verification credibility and the second verification result vector can be determined according to the integrity verification result, and then the cosine similarity calculation is performed based on the first verification result vector and the second verification result vector to obtain the consistency degree parameter of the two. Finally, the identity authentication credibility, system integrity credibility and consistency degree parameter can be weighted and summed to obtain the security and trustworthiness status score, and then the security and trustworthiness status score can be compared with the preset security threshold, and the target verification result can be determined according to the comparison result.

[0068] Exemplarily, the verification results of the identity authentication module and the verification results of the system integrity verification module can be obtained, and a unified verification result vector can be combined according to the verification results. The cosine similarity algorithm is used to calculate the correlation between the identity authentication result and the system integrity verification result, and the consistency degree of the identity authentication result and the system integrity verification result is obtained. The weights of the identity authentication credibility, the system integrity credibility and the consistency degree are determined by the hierarchical analysis method, and the comprehensive security and trustworthy status score is calculated by the weighted summation method, and the comprehensive security and trustworthy status score ranges from 0 to 1. The comprehensive security and trustworthy status score is compared with a preset security threshold, and the security threshold is dynamically adjusted according to historical data statistics and the current network security situation. If the comprehensive security and trustworthy status score is lower than the security threshold, the device access rejection mechanism is triggered and a warning message is sent to the security management center; if the comprehensive security and trustworthy status score is higher than or equal to the security threshold, the device is allowed to access the power interconnection system, and the access log is recorded at the same time.

[0069] Specifically, the respective verification results, including the verification status code, credibility score and timestamp, can be obtained from the identity authentication module and the system integrity verification module, and these data can be combined into a unified verification result vector. The cosine similarity algorithm is used to calculate the correlation between the identity authentication results and the system integrity verification results to obtain the consistency between the two, and this value is used as an important indicator for comprehensive evaluation. The weight of each indicator is determined using the hierarchical analysis method, and then the identity authentication credibility, system integrity credibility and result consistency are comprehensively calculated using the weighted summation method. At the same time, the time decay factor is introduced to consider the historical verification results, and the comprehensive security and credibility status score of the device is dynamically generated, with a score range of 0 to 1. The generated comprehensive security and credibility status score is compared with the preset security threshold, and the security threshold is dynamically adjusted according to historical data statistics and the current network security situation.

[0070] If the score is lower than the threshold, the device access rejection mechanism is triggered and a warning message is sent to the security management center; if the score is higher than or equal to the threshold, the device is allowed to access the power interconnection system and the access log is recorded. The isolation forest algorithm is used to detect abnormal patterns to improve the system's sensitivity to potential security risks. In the power interconnection system, after the smart meter device IOT-001 completes identity authentication and system integrity verification, the system generates a verification result vector [200, 0.95, 200, 0.98, 1628956800], indicating that both identity authentication and integrity verification are passed, with credibility of 0.95 and 0.98 respectively, and the timestamp is 1628956800. The cosine similarity algorithm calculates the result consistency to be 0.99. The hierarchical analysis method determines the weights as 0.4 for identity authentication, 0.4 for integrity verification, and 0.2 for result consistency. The time decay factor 0.9^((current time - verification time) / 86400) is introduced to consider the verification history of the past 7 days. The weighted sum calculation results in a comprehensive security and trustworthy status score of 0.968. The current security threshold of the system is 0.85, which is dynamically adjusted according to the frequency of security events in the past 24 hours (0.5 times per hour). Since 0.968 is higher than 0.85, IOT-001 is allowed to access the system, and the access log is recorded in the security database. At the same time, the isolation forest algorithm with 100 trees and 256 sampling sizes analyzes the most recent 1,000 access data, and the anomaly score is 0.02, which is below the warning line of 0.1 and no anomaly warning is triggered. The entire evaluation process takes 50 milliseconds, meeting the real-time requirements.

[0071] Optionally, the verification period and verification strength of the identity authentication operation corresponding to the IoT device can be adjusted based on the identity authentication result and the target verification result; the verification period and verification strength of the integrity verification operation corresponding to the IoT device can be adjusted based on the integrity verification result and the target verification result.

[0072] Among them, based on the integrity verification results, the verification cycle and verification strength of the identity authentication operation can be adjusted from the perspective of "local optimization". For example, if the determined identity authentication parameter is 0.97. The current network threat level is 0.3 (medium threat). The weighted algorithm sets the credibility score weight to 0.6 and the threat level weight to 0.4, and the adjustment coefficient is calculated to be 0.78. Based on this, the verification frequency is adjusted from once an hour to once every 47 minutes, while keeping the ECDSA-256 algorithm unchanged.

[0073] Similarly, based on the integrity verification results, the verification cycle and verification intensity of the integrity verification operation corresponding to the IoT device can be adjusted from the perspective of "local optimization". For example, "if the verification passes and the system load is medium, slightly increase the verification frequency." The controller output recommends adjusting the verification frequency from once an hour to once every 50 minutes, and the verification range remains unchanged. The system updates the integrity verification strategy table accordingly, and updates the verification frequency parameter of the IOT-001 device in the 30%-40% load range to 50 minutes / time.

[0074] In addition, based on the target verification results, the verification cycle and verification intensity of the identity authentication operation and integrity verification operation can be adjusted from the perspective of "global optimization". For example, according to the comprehensive security and trustworthy status score of the device, the fuzzy logic controller can be used to divide the device security level to obtain the current security level of the device; the identity authentication parameters and integrity verification parameters corresponding to the security level can be read from the security policy database; the identity authentication parameters and integrity verification parameters can be adjusted using a PID controller based on feedback control to obtain a dynamic verification strategy; the dynamic verification strategy is sent to the device management module and the verification execution module to update the verification configuration of the device; the effect of the dynamic verification strategy is evaluated through time series analysis. If the evaluation result is lower than the preset threshold, the genetic algorithm is used to optimize the parameters of the dynamic verification strategy to obtain the optimized dynamic verification strategy; the optimized dynamic verification strategy is stored in the security policy database.

[0075] Specifically, according to the comprehensive security and trustworthy status score of the device, the fuzzy logic controller is used to classify the security level of the device, and the triangle membership function and Mamdani reasoning method are used to map the score to the predefined security level interval to obtain the current security level of the device. The identity authentication and integrity verification parameter configuration corresponding to the current security level is read from the security policy database, which contains relational data tables with fields such as security level, authentication frequency, authentication algorithm strength, integrity verification frequency and verification range. The PID controller based on feedback control is used as an adaptive adjustment algorithm. Combined with the historical verification records of the device and the current network environment, the read verification parameters are fine-tuned to generate the final dynamic verification strategy. The generated dynamic verification strategy is sent to the device management module and the verification execution module to update the verification configuration of the device, and the adjusted strategy is stored in the device security policy database. The policy effect is evaluated using time series analysis, and the policy parameters are optimized in combination with genetic algorithms.

[0076] A real-time feedback mechanism is introduced. When an unexpected security incident is detected, an emergency response mechanism is triggered to quickly increase the verification frequency and intensity to deal with potential threats. In the power interconnection system, the comprehensive security trust status score of the smart meter device IOT-003 is 0.78. The fuzzy logic controller uses a triangular membership function to map the score to the "medium security" level, and the Mamdani reasoning method obtains the final security level of 3 (level 1-5) according to the preset rules. The security policy database query obtains a level 3 security configuration: the authentication frequency is once every 4 hours, the authentication algorithm is ECDSA-256, the integrity verification frequency is once every 12 hours, and the verification scope includes key system files and configuration files. The PID controller adjusts parameters based on the verification success rate (98%) in the last 24 hours and the current network abnormal traffic (an increase of 15% over the previous week), increases the authentication frequency to once every 3 hours, and expands the integrity verification scope to include all system files. The dynamic verification strategy is sent to the management module of IOT-003 through an encrypted channel to update its local configuration. The policy evaluation module uses the ARIMA time series model to analyze the security event data of the past 7 days and predict the security trend in the next 24 hours. The genetic algorithm optimizes the PID controller parameters based on the prediction results, adjusting the proportional coefficient from 0.5 to 0.6 and the integral coefficient from 0.3 to 0.25. The real-time feedback mechanism detects new attempts to exploit vulnerabilities in the network and immediately triggers an emergency response, temporarily increasing the authentication frequency of IOT-003 to once every hour, and automatically resuming the normal policy after 24 hours.

[0077] Among them, adjusting the verification operation from the perspective of "global optimization" can globally evaluate the entire security status of the IoT device, taking into account the combined effects of multiple security factors. Therefore, based on this target verification result, it is necessary to further optimize and dynamically adjust the subsequent security strategy. It can better reflect the overall risk status of the device in the current environment, thereby ensuring the optimal security strategy. By dynamically adjusting the frequency and intensity of identity authentication and integrity verification, it helps to continuously monitor the device appropriately and prevent potential security risks without affecting system performance.

[0078] For illustrative purposes, in order to better understand the technical solution provided by the present invention, specific embodiments are introduced below. Figure 3 FIG. 1 is a flowchart of an identity authentication process for an IoT device provided by an embodiment of the present invention. Figure 3 As shown, the workflow for identity authentication of IoT devices includes the following steps:

[0079] 1. Retrieve device type information from the preset device type database based on the unique identifier of the IoT device, obtain the initial secure boot configuration by matching the IoT device type with the predefined secure boot template mapping table, perform a trade-off analysis on device resource limitations and security requirements, and dynamically adjust configuration parameters to generate the final secure boot configuration; 2. Collect the current CPU usage, memory usage, and network bandwidth utilization performance indicators of the power interconnection system, perform fuzzy reasoning on these indicators through the fuzzy logic controller to obtain the system load level; 3. Obtain abnormal traffic characteristics, malicious code propagation, and system vulnerability exploitation frequency indicators in the current power interconnection network environment, calculate the current network threat level through the weighted summation method, and select the corresponding secure boot parameters from the final secure boot configuration based on the network threat level and system load level; 4. Determine security policy guidance based on secure boot parameters, perform identity authentication of IoT devices under security guidance, and conduct a credibility assessment of the verification results and the current network threat level. threat level, dynamically adjust the frequency and strength of subsequent identity authentication; 5. After the identity authentication is passed, enter the system integrity verification stage, obtain the type of IoT device and the system load level to determine the hash value of the integrity verification object, compare it with the standard hash value stored in the blockchain network, and use homomorphic encryption technology to complete the integrity verification in an encrypted state. According to the credibility evaluation of the verification result and the current system load level, adjust the frequency and scope of subsequent integrity verification; 6. Perform a comprehensive trust evaluation on the identity authentication result and the system integrity verification result, judge the consistency of the two results through the association analysis algorithm, and dynamically generate a comprehensive security and trustworthy status score for the device. If the score is lower than the preset threshold, the device access is denied and a security warning is reported, otherwise the device is allowed to safely access the power interconnection system; 7. According to the comprehensive security and trustworthy status score of the device, dynamically adjust the subsequent device identity authentication frequency, authentication strength, and integrity verification frequency and scope to achieve dynamic trustworthy verification of IoT devices accessing the power interconnection system.

[0080] The embodiment of the present invention dynamically adjusts the device identity authentication frequency, authentication strength, and integrity verification frequency and range based on the device's comprehensive security and trustworthy status score, thereby achieving dynamic security verification of the IoT device.

[0081] The technical solution provided by the embodiment of the present invention obtains the device identification information of the IoT device for each IoT device, matches the device type information corresponding to the device identification information from a preset device database; matches the security boot configuration corresponding to the device type information from a preset security mapping table, and uses the matched security boot configuration as the initial security boot configuration; determines the resource consumption parameters and security risk parameters corresponding to the initial security boot configuration, and adjusts the initial security boot configuration based on the resource consumption parameters and the security risk parameters to obtain a target security boot configuration; determines the system load parameters and network threat parameters of the power interconnection system, and determines the target security boot parameters from the target security boot configuration based on the system load parameters and the network threat parameters; authenticates the IoT device based on the target security boot parameters at each preset verification cycle to obtain an authentication result; performs integrity verification on the IoT device based on the device type information and the system load parameters at each preset verification cycle to obtain an integrity verification result; determines the target verification result based on the identity verification result and the integrity verification result. The technical solution of the embodiment of the present invention can determine the target safety startup parameters from the perspective of the load status and safety verification effect in the power system, and then perform periodic safety verification on the Internet of Things devices based on the target safety startup parameters. It can perform complete dynamic safety verification on the Internet of Things devices while reducing resource consumption, thereby improving the accuracy of equipment safety verification and improving the safety of system operation.

[0082] Figure 4 It is a structural diagram of an identity authentication system for an Internet of Things device provided by an embodiment of the present invention. The embodiment of the present invention can be applied to a scenario of security verification of an Internet of Things device connected to an electric power system, and is applied to an electric power interconnection system. The electric power interconnection system includes at least one Internet of Things device. The system can be implemented by software and / or hardware and integrated into a computer device with application development capabilities.

[0083] like Figure 4 As shown, the identity authentication system of the IoT device includes: a secure boot configuration determination module 310, a secure boot parameter determination module 320, and a verification result determination module 330. Among them, the secure boot configuration determination module 310 is used to determine the device type information of the IoT device for each IoT device, and determine the target secure boot configuration based on the device type information of the IoT device; the secure boot parameter determination module 320 is used to determine the system load parameters and network threat parameters of the power interconnection system, and determine the target secure boot parameters from the target secure boot configuration based on the system load parameters and the network threat parameters; the verification result determination module 330 is used to perform security verification on the IoT device based on the target secure boot parameters and the preset verification cycle to obtain the target verification result.

[0084] The technical solution provided by the embodiment of the present invention determines the device type information of the IoT device for each IoT device, and determines the target security startup configuration based on the device type information of the IoT device; determines the system load parameters and network threat parameters of the power interconnection system, and determines the target security startup parameters from the target security startup configuration based on the system load parameters and the network threat parameters; performs security verification on the IoT device based on the target security startup parameters and the preset verification cycle to obtain the target verification result. The technical solution of the embodiment of the present invention can determine the target security startup parameters from the perspective of the load status and security verification effect in the power system, and then perform periodic security verification on the IoT device based on the target security startup parameters. It can perform complete dynamic security verification on the IoT device while reducing resource consumption, improve the accuracy of device security verification, and improve the safety of system operation.

[0085] In an optional implementation, the secure boot configuration determination module 310 is specifically used to: obtain device identification information of the IoT device, and match device type information corresponding to the device identification information from a preset device database; match the secure boot configuration corresponding to the device type information from a preset security mapping table, and use the matched secure boot configuration as the initial secure boot configuration; determine the resource consumption parameters and security risk parameters corresponding to the initial secure boot configuration, and adjust the initial secure boot configuration based on the resource consumption parameters and security risk parameters to obtain the target secure boot configuration.

[0086] In an optional embodiment, the safety startup parameter determination module 320 includes: a system load parameter determination unit, used to: collect system performance parameters of the power interconnection system based on a preset collection period; wherein the system performance parameters include at least one of CPU usage, memory occupancy and network bandwidth utilization; for each system performance parameter, determine the membership value corresponding to the system performance parameter, and determine the system load parameter based on the membership values ​​of multiple system performance parameters.

[0087] In an optional embodiment, the security startup parameter determination module 320 includes: a network threat parameter determination unit, used to: determine the network security indicators of the power interconnection system; wherein the network security indicators include: at least one of abnormal traffic characteristic values, malicious code propagation index and system vulnerability exploitation frequency; based on the indicator weights corresponding to the network security indicators, multiple network security indicators are weighted and summed to obtain network threat parameters.

[0088] In an optional implementation, the verification result determination module 330 is specifically used to: authenticate the IoT device based on the target security startup parameters at each preset verification cycle to obtain an authentication result; perform integrity verification on the IoT device based on the device type information and system load parameters at each preset verification cycle to obtain an integrity verification result; determine the target verification result based on the identity authentication result and the integrity verification result.

[0089] In an optional embodiment, the verification result determination module 330 includes: an identity authentication result determination unit, which is used to: obtain device identification information and public key information of the IoT device; encrypt the device identification information according to the public key information and the target security startup parameters to obtain the encrypted information to be verified, and send the encrypted information to be verified to a preset verification server; so that the preset verification server determines the credibility parameter based on the verification result of the encrypted information to be verified and the request time, and determines the identity authentication result according to the credibility parameter.

[0090] In an optional embodiment, the verification result determination module 330 includes: an integrity verification result determination unit, which is used to: determine the hash value to be verified corresponding to the IoT device based on the device type information and system load parameters; obtain the standard hash value corresponding to the IoT device, and compare the hash value to be verified with the standard hash value, and determine the integrity verification result based on the comparison result.

[0091] In an optional embodiment, the identity authentication system of the Internet of Things device also includes: a security verification adjustment module, which is used to: adjust the verification period and verification strength of the identity authentication operation corresponding to the Internet of Things device based on the identity authentication result and the target verification result; adjust the verification period and verification strength of the integrity verification operation corresponding to the Internet of Things device based on the integrity verification result and the target verification result.

[0092] The identity authentication system of the Internet of Things device provided in the embodiment of the present invention can execute the identity authentication method of the Internet of Things device provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0093] Figure 5 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. Figure 5 A block diagram of an exemplary computer device 12 suitable for implementing the embodiments of the present invention is shown. The computer device 12 may be any terminal device with computing capabilities, and may be configured in an identity authentication device of an IoT device.

[0094] like Figure 5As shown, the computer device 12 is in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).

[0095] The bus 18 may be one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0096] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.

[0097] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache 32. The computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 5 not shown, usually called a "hard drive"). Although Figure 5 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0098] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.

[0099] The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), one or more devices that enable a user to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed through an input / output (I / O) interface 22. Furthermore, the computer device 12 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter 20. Figure 5 As shown, the network adapter 20 communicates with other modules of the computer device 12 via the bus 18. It should be understood that although Figure 5 Not shown, other hardware and / or software modules may be used in conjunction with computer device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0100] The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28, such as implementing the identity authentication method of the Internet of Things device provided in the embodiment of the present invention.

[0101] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, an identity authentication method for an IoT device as provided in any embodiment of the present invention is implemented.

[0102] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, system or device or used in combination with it.

Claims

1. A method for authenticating an IoT device, characterized in that: Applied to a power interconnection system, the power interconnection system includes at least one IoT device, including: For each IoT device, determine the device type information of the IoT device, and determine a target secure boot configuration based on the device type information of the IoT device; Determining a system load parameter and a network threat parameter of the electric power interconnection system, and determining a target secure boot parameter from the target secure boot configuration based on the system load parameter and the network threat parameter; Based on the target secure startup parameters and a preset verification period, security verification is performed on the IoT device to obtain a target verification result.

2. The method according to claim 1, characterized in that The determining the device type information of the IoT device, and determining a target secure boot configuration based on the device type information of the IoT device, includes: Obtain device identification information of the IoT device, and match device type information corresponding to the device identification information from a preset device database; Matching the secure boot configuration corresponding to the device type information from a preset security mapping table, and using the matched secure boot configuration as the initial secure boot configuration; Determine resource consumption parameters and security risk parameters corresponding to the initial secure boot configuration, and adjust the initial secure boot configuration based on the resource consumption parameters and security risk parameters to obtain a target secure boot configuration.

3. The method according to claim 1, characterized in that: Determining a system load parameter of the power interconnection system includes: Collecting system performance parameters of the power interconnection system based on a preset collection period; wherein the system performance parameters include at least one of CPU usage, memory occupancy, and network bandwidth utilization; For each system performance parameter, a membership value corresponding to the system performance parameter is determined, and the system load parameter is determined according to the membership values ​​of the multiple system performance parameters.

4. The method according to claim 1, characterized in that Determine the cyber threat parameters of the power interconnection system, including: Determine the network security index of the power interconnection system; wherein the network security index includes: at least one of abnormal traffic characteristic value, malicious code propagation index and system vulnerability exploitation frequency; Based on the indicator weights corresponding to the network security indicators, a weighted sum of the plurality of network security indicators is performed to obtain the network threat parameter.

5. The method according to claim 1, characterized in that: The step of performing security verification on the IoT device based on the target security startup parameter and the preset verification period to obtain a target verification result includes: At each preset verification period, based on the target secure startup parameter, the IoT device is authenticated to obtain an authentication result; At each preset verification period, based on the device type information and system load parameters, integrity verification is performed on the IoT device to obtain an integrity verification result; The target verification result is determined according to the identity verification result and the integrity verification result.

6. The method according to claim 5, characterized in that The authentication result of the IoT device is obtained by performing authentication on the IoT device based on the target secure startup parameter at each preset authentication period, including: Obtaining device identification information and public key information of the IoT device; Encrypting the device identification information according to the public key information and the target secure startup parameter to obtain encrypted information to be verified, and sending the encrypted information to be verified to a preset verification server; The preset verification server determines a credibility parameter based on the verification result of the encrypted information to be verified and the request time, and determines the identity authentication result according to the credibility parameter.

7. The method according to claim 5, characterized in that The integrity verification of the IoT device is performed at each preset verification period based on the device type information and the system load parameter to obtain an integrity verification result, including: Based on the device type information and the system load parameter, determine the hash value to be verified corresponding to the IoT device; Obtain a standard hash value corresponding to the IoT device, compare the hash value to be verified with the standard hash value, and determine the integrity verification result based on the comparison result.

8. The method according to claim 5, characterized in that The method further comprises: Based on the identity verification result and the target verification result, adjusting the verification period and verification strength of the identity verification operation corresponding to the IoT device; Based on the integrity verification result and the target verification result, the verification period and verification strength of the integrity verification operation corresponding to the IoT device are adjusted.

9. An identity authentication system for an Internet of Things device, applied to an electric power interconnection system, wherein the electric power interconnection system includes at least one Internet of Things device, characterized in that: The system comprises: A secure boot configuration determination module, configured to determine, for each IoT device, device type information of the IoT device, and determine a target secure boot configuration based on the device type information of the IoT device; A secure boot parameter determination module, configured to determine a system load parameter and a network threat parameter of the power interconnection system, and determine a target secure boot parameter from the target secure boot configuration based on the system load parameter and the network threat parameter; The verification result determination module is used to perform security verification on the IoT device based on the target security startup parameters and a preset verification period to obtain a target verification result.

10. A computer device, characterized in that: The computer device comprises: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the identity authentication method of the Internet of Things device as described in any one of claims 1-7.

Citation Information

Cited By

  • Internet of Things equipment trusted access method based on block chain

    CN120185856A

  • Multi-layer verification type network information security management and control method

    CN120321006A

  • Cross-platform identity mutual recognition method and device based on lightweight national secret certificate chain

    CN122160060A