Power plant monitoring system login authentication method and system based on 3D face and SM2 certificate double factors

By employing a two-factor authentication method combining 3D face recognition and the national cryptographic SM2 certificate, along with hardware certificate challenge signature and triple modal liveness detection, the security issues of identity verification and offline authentication in existing technologies have been resolved, enabling high-security login authentication for power plant monitoring systems.

CN123184967APending Publication Date: 2026-11-27THREE GORGES JINSHAJIANG CHUANYUN HYDROPOWER DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611557073.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-09
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

The existing login authentication scheme of the power plant monitoring system cannot effectively identify the true identity of the operator, which poses a risk of forging samples to bypass the verification. Furthermore, it cannot meet the high security protection requirements of the power production control area under offline conditions.

Method used

A two-factor authentication method based on 3D face and national cryptographic SM2 certificate is adopted. It combines national cryptographic USBKey hardware certificate challenge signature, triple modal liveness detection and unique human-certificate binding verification to build a three-level progressive authentication closed loop. It also achieves secure graded authentication in offline working conditions through local encrypted certificate revocation list caching and preset time-limited authorization locking mechanism.

Benefits of technology

It enables unique verification of personnel identity under offline operating conditions, improves the security and accuracy of authentication, ensures a high level of security for login authentication of the power plant monitoring system, and prevents the risk of unauthorized login caused by forged samples and certificate lending.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184967A_ABST
    Figure CN123184967A_ABST
Patent Text Reader

Abstract

The application discloses a power plant monitoring system login authentication method and system based on 3D face and national secret SM2 certificate double factors, relates to the electric power industrial control safety technical field, and the technical scheme points are: obtaining the SM2 certificate stored in the national secret USBKey inserted by an operation and maintenance personnel, checking the certificate validity period and the certificate revocation list state; sending a challenge code to a hardware security chip, receiving a signature value returned after an inderivable SM2 signature private key is executed to sign, and adopting SM3 hash check to check the message integrity; collecting face data of three modalities of infrared thermal imaging, visible light texture and three-dimensional depth, judging as a real live body through logical and hard threshold decision and weighted total score calculation; checking whether the current face features and the current SM2 certificate are the unique binding relationship of the same operation and maintenance personnel; and releasing login after all checks are passed. The application realizes high security level login authentication of unique binding of the three of a person, a certificate and a face.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power industrial control security technology, and more specifically, to a login authentication method and system for power plant monitoring systems based on a two-factor authentication method using 3D face recognition and the national cryptographic SM2 certificate. Background Technology

[0002] The distributed control system and plant-level monitoring information system of power plants are the core carriers for the stable operation of generating units and the dispatch and control of the power grid. Their login identity verification capabilities are directly related to the security of critical operations such as unit start-up and shutdown, and parameter adjustment. According to the "Regulations on Security Protection of Power Monitoring Systems" and the Level 3 Specification of Cybersecurity Classified Protection 2.0, the power production control area must adopt two-factor authentication, end-to-end encryption, and offline operation and maintenance security control capabilities. However, the mainstream login authentication schemes of existing power plant monitoring systems have inherent defects in several dimensions, making it difficult to simultaneously meet the above compliance requirements.

[0003] Existing single-national-cryptography USBKey hardware certificate authentication schemes rely on hardware devices with built-in SM2 certificates for identity verification. However, this scheme only verifies the legality of the hardware certificate and cannot identify the true identity of the current operator. If the USBKey is lost or lent, anyone other than the certificate holder can log in to the system by inserting the device, resulting in a fundamental flaw: the user's identity cannot be verified. Meanwhile, existing 2D visible light facial recognition authentication schemes only collect planar visible light images for comparison, lacking infrared thermal imaging and 3D depth acquisition verification capabilities. Verification can be bypassed by printing images, photographing electronic screens, and using forged planar samples, making the protection insufficient to meet the high security requirements of power production control areas. Furthermore, existing schemes generally rely on real-time network connections for background verification, lacking local encrypted certificate revocation list caching and offline hierarchical permission control mechanisms. Authentication functions completely fail during unit maintenance or intranet outages, and authentication interaction data is mostly transmitted in plaintext, failing to meet the mandatory compliance requirements of Level 3 network security protection and commercial cryptography upgrades.

[0004] To address the aforementioned issues, existing login schemes combining facial recognition with national cryptographic USB keys still have the following limitations: First, they mostly employ 2D visible light facial capture, lacking infrared thermal imaging and a 3D depth multimodal liveness verification mechanism, allowing forged planar samples to bypass verification. Second, facial features and hardware certificates are only verified in parallel, failing to establish a unique binding relationship between one person, one certificate, and one face, thus unable to prevent unauthorized login risks arising from certificate lending. Third, they lack local encrypted certificate revocation list caching and offline hierarchical permission control mechanisms, relying entirely on real-time network verification in the background, which does not comply with power offline operation and maintenance protection standards. Therefore, researching and designing a login authentication method and system for power plant monitoring systems based on 3D facial recognition and national cryptographic SM2 certificates that can overcome the above deficiencies is an urgent problem to be solved. Summary of the Invention

[0005] To address the shortcomings of existing technologies, the present invention aims to provide a login authentication method and system for power plant monitoring systems based on a dual-factor authentication of 3D face recognition and SM2 national cryptographic certificates. This system employs a three-tiered progressive authentication approach: a challenge signature using a national cryptographic USBKey hardware certificate, triple modal liveness detection, and unique binding verification of the person and their ID. Combined with a local encrypted certificate revocation list cache and a preset-day time-limited locking mechanism, it achieves secure graded authentication under offline conditions. Furthermore, it utilizes SM2 ECDH key exchange to derive SM4 symmetric session keys and HMAC-SM3 session keys to construct a full-link national cryptographic encryption closed-loop protection, thereby achieving a high-security login authentication system with a unique binding of the person, ID, and face.

[0006] The above-mentioned technical objective of the present invention is achieved through the following technical solution: Firstly, a two-factor authentication method for power plant monitoring systems based on 3D face recognition and the national cryptographic SM2 certificate is provided, including the following steps: Retrieve the SM2 certificate stored in the national cryptographic USBKey inserted by the operations and maintenance personnel, and verify the certificate validity period and certificate revocation list status; Send a challenge code to the hardware security chip of the national cryptographic USBKey, receive the signature value returned by the hardware security chip after performing SM2 signing on the challenge code using a non-derivative SM2 signature private key, and verify the integrity of the signature value and the message using SM3 hash. The 3D face acquisition module collects facial data of the current maintenance personnel in three modalities: infrared thermal imaging, visible light texture, and 3D depth. The infrared liveness confidence, texture liveness confidence, and depth liveness confidence are calculated respectively. Logical and hard threshold judgments are applied to the three confidence levels. After all three are passed, a weighted total score is calculated according to preset weights. When the weighted total score is not lower than a preset threshold, it is determined to be a real live person. The two-factor fusion authentication engine retrieves the pre-stored facial feature library and SM2 certificate whitelist from the backend security authentication server to verify whether the currently collected facial features and the current SM2 certificate are uniquely bound to the same maintenance personnel. When the SM2 certificate verification is valid, the 3D face liveness verification is successful, the identity binding is matched, and the message integrity verification is all successful, login is allowed and the corresponding permissions are assigned to the operation and maintenance personnel.

[0007] Furthermore, the 3D face acquisition module is an acquisition unit that integrates an infrared thermal imaging binocular camera and a TOF structured light depth sensor. The infrared thermal imaging binocular camera is used to simultaneously capture the infrared radiation intensity distribution and epidermal texture image under the visible light band on the surface of a human face. The TOF structured light depth sensor calculates the depth value of each pixel on the face surface by emitting modulated near-infrared light and measuring the time of flight, so as to reconstruct the three-dimensional depth data of the face. The infrared thermal imaging, visible light texture, and three-dimensional depth data are collected synchronously within the same time window to ensure that the three modalities reflect the true physical state of the same face at the same moment.

[0008] Furthermore, the calculation of the infrared liveness confidence level is specifically as follows: Extract the temperature distribution histogram of the face region and calculate the mean temperature and temperature difference variance; When the mean temperature is within the normal human skin temperature range and the temperature difference variance reflects the temperature gradient distribution that conforms to the physiological laws of a living human face, the infrared liveness confidence score is assigned a positive value close to 1. When the mean temperature is not within the normal human skin temperature range or the temperature difference variance does not reflect the unique temperature gradient distribution of a living human face, the infrared liveness confidence score is assigned a negative value close to 0. And / or, the calculation of the depth liveness confidence is specifically as follows: The collected 3D point cloud data is registered with the 3D depth model of the face, and the average Euclidean distance between the registered points is calculated as the range. When the range exceeds a preset depth threshold and the key point matching rate exceeds a preset matching rate threshold, the depth liveness confidence is assigned a positive value close to 1. When the range does not exceed a preset depth threshold or the key point matching rate does not exceed a preset matching rate threshold, the depth liveness confidence is assigned a negative value close to 0. And / or, the calculation of the texture liveness confidence is specifically as follows: Extract the local binary pattern feature vector of the visible light texture image and calculate the cosine similarity with the pre-stored legal face texture template; When the cosine similarity exceeds a preset texture threshold, the texture liveness confidence is assigned a positive value close to 1. When the cosine similarity does not exceed the preset texture threshold, the texture liveness confidence is assigned a negative value close to 0.

[0009] Furthermore, the logic and hard threshold judgment require that the infrared liveness confidence is not lower than the first threshold, the depth liveness confidence is not lower than the second threshold, and the texture liveness confidence is not lower than the third threshold. If any one of the three hard threshold judgments is not met, it is directly judged as a fake and the authentication process is terminated. The weighted total score calculation is performed only after all the logic and hard threshold decisions have passed. The infrared liveness confidence, the depth liveness confidence, and the texture liveness confidence are assigned infrared weights, depth weights, and texture weights that decrease sequentially, respectively. When the weighted total score is not lower than a preset threshold, it is finally determined to be a real live person.

[0010] Furthermore, the verification of certificate validity and certificate revocation list status includes: When the network connection is normal, a certificate revocation list request is sent to the backend security authentication server via the HTTPS protocol, the incremental update data returned by the backend security authentication server is received and parsed, and the locally encrypted certificate revocation list cache is updated. When the network is interrupted, the certificate revocation list cache stored locally is read directly, and the revocation status of the current SM2 certificate is determined based on the latest snapshot in the certificate revocation list cache. The certificate revocation list cache has a maximum validity period of a preset number of days. The timer is reset after each successful synchronization. If the timer accumulates to more than the preset number of days and synchronization still has not occurred, it is determined that the certificate revocation list cache has expired and the permissions for unit start-up and shutdown operations and setpoint modification operations are automatically locked, retaining only the monitoring read-only permission.

[0011] Furthermore, the method also includes: After the SM2 certificate verification and the identity binding match are both successful, the SM2 ECDH key exchange protocol is executed between the backend security authentication server and the two parties generate temporary elliptic curve key pairs and exchange public keys. Session key materials are generated by sharing secrets and key derivation functions. The session key material is divided into segments of a preset length. The first 128 bits are used as an SM4 symmetric session key for GCM mode encryption of subsequent interactive data, and the last 256 bits are used as an HMAC-SM3 session key for calculating the integrity check code of each message. The SM4 symmetric session key and the HMAC-SM3 session key are destroyed immediately after a session ends and renegotiated upon the next login.

[0012] Furthermore, the method also includes: When a network interruption is detected, the cached list of identity verification whitelist and certificate revocation list stored in the local encrypted cache is read. When the network outage duration does not exceed the preset number of days, a full two-factor authentication process is executed based on the whitelist of identity verification and the cache of the certificate revocation list. Authentication-passed maintenance personnel can log in normally and perform operations within their authorized scope. When the network outage lasts for more than the preset number of days, the operation permission of the current maintenance personnel will be automatically downgraded to monitoring read-only permission, prohibiting the execution of unit start-up and shutdown or setting modification; Once the network is restored, it automatically performs incremental data synchronization with the background security authentication server, uploads the encrypted audit logs from the offline period, and downloads the latest certificate revocation list and identity verification binding change information.

[0013] Furthermore, the method also includes: When maintenance personnel initiate unit start-up / shutdown operations or setpoint modification operations, a new challenge code is generated and sent to the hardware security chip of the national cryptographic USBKey through a secure channel; The hardware security chip uses the non-derivative SM2 signature private key to perform a second SM2 signature on the new challenge code and returns the second signature value; The second signature value, operation instruction identifier, current timestamp, and session identifier are packaged and sent to the background security authentication server. The background security authentication server verifies the signature using the pre-stored SM2 certificate public key. After the signature is verified, it checks whether the operation instruction identifier is within the authorized operation range of the operation and maintenance personnel. Only after both verifications are passed can the unit start-up and shutdown operation or the set value modification operation be allowed to be executed. The entire process of this second strong authentication is recorded in the encrypted audit log.

[0014] Furthermore, the method also includes: All interactive data during the authentication process is encrypted and transmitted in SM4 GCM mode. Each message is appended with a message authentication code calculated based on the HMAC-SM3 session key before being sent. The receiver verifies the message authentication code before decryption to ensure that the message has not been tampered with during transmission. The audit logs are signed with an SM2 private key when they are generated. The signed log data is stored in encrypted form on the local terminal and the backend security authentication server respectively. No plaintext face images and certificate private keys are retained in the storage medium. The original infrared image, visible light image, and depth point cloud data are immediately erased from memory after liveness detection is completed and feature vectors are extracted, and are not stored in persistent storage media.

[0015] Secondly, a power plant monitoring system login authentication system based on 3D face recognition and the national cryptographic SM2 certificate is provided, including: The certificate pre-check module is used to obtain the SM2 certificate stored in the national cryptographic USBKey inserted by the operation and maintenance personnel, and verify the certificate validity period and certificate revocation list status. The challenge signature module is used to send a challenge code to the hardware security chip of the national cryptographic USBKey, receive the signature value returned by the hardware security chip after performing SM2 signature on the challenge code using a non-derivative SM2 signature private key, and use SM3 hash to verify the integrity of the signature value and the message. The liveness detection module is used to collect facial data of the current maintenance personnel in three modalities: infrared thermal imaging, visible light texture, and three-dimensional depth, through the 3D face acquisition module. It calculates the infrared liveness confidence, texture liveness confidence, and depth liveness confidence respectively, performs logical and hard threshold judgment on the three confidence scores, and calculates a weighted total score according to preset weights after all three scores pass. When the weighted total score is not lower than the preset threshold, it is determined to be a real live person. The binding verification module is used to retrieve the pre-stored face feature library and SM2 certificate whitelist from the backend security authentication server through the two-factor fusion authentication engine, and verify whether the currently collected face features and the current SM2 certificate are uniquely bound to the same operation and maintenance personnel. The login authorization module is used to allow login and assign corresponding permissions to the operation and maintenance personnel when the SM2 certificate verification is valid, the 3D face liveness verification is passed, the person and certificate binding is matched, and the message integrity verification is all passed.

[0016] Compared with the prior art, the present invention has the following beneficial effects: 1. The power plant monitoring system login authentication method based on 3D face and national cryptographic SM2 certificate provided by this invention constructs a three-level progressive authentication closed loop from hardware device identity to biometric features to binding relationship by serially fusing national cryptographic USBKey hardware certificate challenge signature verification, 3D three-modal liveness detection, and unique binding verification of person and certificate. The hardware security chip of the national cryptographic USBKey uses a non-derivative SM2 signature private key to sign the challenge code, ensuring the legality of the device and the non-cloning of the private key at the hardware level; the 3D face acquisition module simultaneously acquires face data in three modalities: infrared thermal imaging, visible light texture, and three-dimensional depth. Through a two-level serial mechanism of logic and hard threshold judgment and weighted total score calculation, it collaboratively eliminates various forgery attacks from three dimensions: temperature distribution, texture details, and three-dimensional geometry; the two-factor fusion authentication engine further uniquely binds the currently acquired face features with the current SM2 certificate to ensure that the legitimate certificate holder and the actual operator are the same person.

[0017] 2. This invention improves the accuracy and robustness of liveness detection by establishing a two-level cascaded liveness detection mechanism consisting of logical and hard threshold decisions and weighted total score calculation. The logical and hard threshold decisions set independent hard thresholds for infrared liveness confidence, depth liveness confidence, and texture liveness confidence. If any threshold is not met, the sample is directly identified as a fake and the authentication process terminates, efficiently filtering out forged samples with obvious abnormalities in a single feature. The weighted total score calculation is performed after all hard thresholds are passed. Infrared weights, depth weights, and texture weights are assigned to the three confidence levels respectively. Weighted fusion is used to quantitatively rank the candidate samples that have passed the hard thresholds. The hard thresholds quickly eliminate low-quality attack samples, reducing the computational overhead and risk of misjudgment in the weighted fusion stage. Weighted fusion, based on the hard thresholds, performs refined discrimination on high-quality attack samples, avoiding the boundary ambiguity problem of single threshold decisions.

[0018] 3. This invention achieves tiered security authentication in offline conditions by setting up a local encrypted certificate revocation list cache and a preset-day timeout mechanism. When the network is normal, the locally encrypted certificate revocation list cache is requested and updated from the backend security authentication server via HTTPS, and the timer is reset after each successful synchronization. When the network is interrupted, the locally encrypted certificate revocation list cache is directly read to determine the certificate revocation status, ensuring certificate validity verification even when the network is unavailable. When the timer accumulates to more than the preset number of days without synchronization, the cache is deemed expired, and permissions for unit start / stop operations and setpoint modification operations are automatically locked, retaining only read-only monitoring permissions. This mechanism ensures offline operation and maintenance continuity within the preset number of days, and automatically tightens permissions after the preset number of days to prevent the continued use of expired certificates.

[0019] 4. This invention derives SM4 symmetric session keys and HMAC-SM3 session keys through the SM2 ECDH key exchange protocol, constructing a closed-loop protection system for end-to-end encryption and integrity protection. After successful SM2 certificate verification and identity verification, the SM2 ECDH key exchange protocol is executed with the backend security authentication server. Session key material is generated through shared secrets and key derivation functions. The first 128 bits serve as the SM4 symmetric session key for GCM mode encryption, and the last 256 bits serve as the HMAC-SM3 session key for message integrity check code calculation. The SM4 session key is responsible for data confidentiality protection, preventing sensitive information from being eavesdropped on; the HMAC-SM3 session key is responsible for data integrity protection, preventing messages from being tampered with by a man-in-the-middle. The session key is destroyed immediately after each session ends and renegotiated upon the next login, reducing the long-term risk of key leakage.

[0020] 5. This invention implements a strong SM2 signature authentication mechanism for unit start-up / shutdown operations and setpoint modification operations, achieving real-time secondary identity verification for high-risk operations. When maintenance personnel initiate a high-risk operation, a new challenge code is generated and sent to the hardware security chip of the national cryptographic USBKey through a secure channel, requiring the hardware security chip to perform a second SM2 signature using a non-exportable SM2 signature private key. The first SM2 signature occurs during the login authentication phase to prove the legitimacy of the USBKey device and the identity of the holder; the second SM2 signature occurs before the high-risk operation is executed to reconfirm in the current session context that the operation initiator still holds the same legitimate USBKey device, effectively preventing the terminal from being taken over by others or the session from being hijacked and used to execute illegal operations after successful login. After the background security authentication server verifies the signature, it further checks whether the operation instruction identifier is within the authorized range; only after both checks pass is the operation allowed to be executed.

[0021] 6. This invention constructs a privacy protection and security audit system covering the entire data lifecycle by combining three elements: SM4 GCM mode encrypted transmission of authentication interaction data, SM2 private key signature encrypted storage of audit logs, and immediate memory erasure of raw biometric data. Authentication interaction data is transmitted using SM4 GCM mode encryption, with each message appended with an HMAC-SM3 message authentication code to ensure the confidentiality and integrity of data transmission. Audit logs are generated using SM2 private key signatures and stored in encrypted form on both the terminal's local machine and the backend security authentication server, without retaining plaintext face images and certificate private keys, ensuring the non-repudiation and immutability of the logs. Raw infrared images, visible light images, and depth point cloud data are immediately erased from memory after liveness detection, without being stored on persistent storage media, eliminating the possibility of illegal theft or misuse of biometric data. Attached Figure Description

[0022] The accompanying drawings, which are included to provide a further understanding of embodiments of the invention and form part of this application, do not constitute a limitation thereof. In the drawings: Figure 1 This is a flowchart from Embodiment 1 of the present invention; Figure 2 This is a system block diagram in Embodiment 2 of the present invention. Detailed Implementation

[0023] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings. The illustrative embodiments and descriptions of the present invention are only used to explain the present invention and are not intended to limit the present invention.

[0024] Example 1: A login authentication method for a power plant monitoring system based on a two-factor authentication method using 3D face recognition and SM2 national cryptographic certificate, such as... Figure 1 As shown, it includes the following steps: S1: Obtain the SM2 certificate stored in the national cryptographic USBKey inserted by the operation and maintenance personnel, and verify the certificate validity period and certificate revocation list status; S2: Send a challenge code to the hardware security chip of the national cryptographic USBKey, receive the signature value returned by the hardware security chip after performing SM2 signature on the challenge code using the non-exportable SM2 signature private key, and use SM3 hash to verify the integrity of the signature value and the message. S3: The 3D face acquisition module collects facial data of the current maintenance personnel in three modalities: infrared thermal imaging, visible light texture, and 3D depth. The infrared liveness confidence, texture liveness confidence, and depth liveness confidence are calculated respectively. Logical and hard threshold judgments are applied to the three confidence levels. After all three are passed, a weighted total score is calculated according to preset weights. When the weighted total score is not lower than the preset threshold, it is determined to be a real live person. S4: The two-factor fusion authentication engine retrieves the pre-stored facial feature library and SM2 certificate whitelist from the backend security authentication server to verify whether the currently collected facial features and the current SM2 certificate are uniquely bound to the same maintenance personnel. S5: When the SM2 certificate verification is valid, the 3D face liveness verification is successful, the identity binding is matched, and the message integrity verification is all successful, the login is allowed and the corresponding permissions are assigned to the operation and maintenance personnel.

[0025] In step S1, the maintenance personnel insert their personal national cryptographic USB Key into the USB port of the maintenance login terminal. The maintenance login terminal automatically reads the SM2 certificate stored in the security chip built into the national cryptographic USB Key and verifies the validity period and certificate revocation list status of the SM2 certificate.

[0026] A certificate revocation list is a data structure periodically issued and signed by a certificate authority to record the serial numbers of certificates that have been revoked but have not yet expired. In this embodiment, the certificate revocation list is issued by the backend security authentication server after being signed using the root SM2 private key, and the operation and maintenance login terminal verifies its integrity using a preset root SM2 public key.

[0027] When the network connection is normal, the operations and maintenance login terminal sends a certificate revocation list request to the backend security authentication server via the HTTPS protocol. The backend security authentication server returns incremental update data for the full certificate revocation list with a root SM2 signature. The operations and maintenance login terminal receives and parses this incremental update data, updating the locally encrypted certificate revocation list cache. The maximum validity period of this certificate revocation list cache is a preset number of days; in this embodiment, the preset number of days is set to 7 days. The operations and maintenance login terminal resets the timer after each successful synchronization.

[0028] When the network is interrupted, the operations and maintenance login terminal directly reads the locally encrypted certificate revocation list cache and determines the revocation status of the current SM2 certificate based on the latest snapshot in the cache. Specifically, the operations and maintenance login terminal first verifies the integrity of the cache file using the public key of the backend security authentication server. After successful verification, it retrieves the certificate revocation mark. If the certificate has expired, been revoked, or is not in the whitelist, the operations and maintenance login terminal immediately pops up an alarm and blocks the login process.

[0029] If the timer fails to synchronize after a preset number of days, the certificate revocation list cache is deemed expired, and permissions for unit start / stop operations and setpoint modification operations are automatically locked, retaining only read-only monitoring permissions. After network recovery, the maintenance login terminal prioritizes incremental synchronization of newly added revoked certificates and unbinding personnel and certificates; production operation permissions are prohibited from being issued until synchronization is complete. Certificates lost during offline periods are marked as revoked after synchronization and are directly blocked when the terminal is reinserted.

[0030] In step S2, the maintenance login terminal generates a 256-bit truly random challenge code, which is a 32-byte hexadecimal string. The truly random challenge code refers to an unpredictable and non-repeatable random number sequence generated by the truly random number generator built into the national cryptographic USBKey hardware security chip, used to prevent replay attacks.

[0031] The maintenance login terminal sends the challenge code to the hardware security chip of the national cryptographic USBKey. The national cryptographic USBKey is equipped with a national cryptographic level 2 security chip that conforms to the GM / T 0003-2012 and GM / T 0009-2012 standards. The SM2 signature private key and HMAC-SM3 root key are embedded in the chip's secure storage area, and the hardware layer prohibits the export, copying and tampering of the keys.

[0032] The hardware security chip uses a non-derivative SM2 signature private key to perform an SM2 elliptic curve signature on the challenge code and returns the signature value to the maintenance login terminal. SM2 elliptic curve signature is a digital signature algorithm based on elliptic curve cryptography, whose security relies on the computational difficulty of the elliptic curve discrete logarithm problem. The non-derivative SM2 signature private key is generated during chip manufacturing and stored in the chip's secure storage area. No software interface can read or copy the plaintext value of this private key; the signature operation is completed solely within the chip.

[0033] The maintenance login terminal uses SM3 hash verification to check the signature value and message integrity. SM3 hash algorithm is a cryptographic hash function with an output length of 256 bits, used to map data of arbitrary length to a fixed-length digest value, possessing one-wayness and collision resistance. Specifically, the maintenance login terminal verifies the basic SM3 hash value appended to the message tail to detect random transmission distortion, and simultaneously uses the certificate public key to verify the hardware SM2 signature to resist malicious tampering. Session interaction messages use HMAC-SM3 for integrity verification. HMAC-SM3 is a key-related hash operation message authentication code based on the SM3 hash algorithm. Its calculation process is as follows: the key and message data are combined according to specific padding and XOR rules, and then subjected to two SM3 hash operations to obtain a fixed-length authentication code. The HMAC-SM3 key is derived from subsequent SM2 key negotiation. Through dual verification of transmission distortion using SM3 hash and hardware signature verification using the SM2 public key, the first layer of verification of the hardware certificate identity is completed.

[0034] In step S3, the operation and maintenance login terminal synchronously starts the 3D face acquisition module. This 3D face acquisition module is an acquisition unit integrating an infrared thermal imaging binocular camera and a TOF structured light depth sensor. The infrared thermal imaging binocular camera is used to simultaneously capture the infrared radiation intensity distribution of the face surface and the epidermal texture image in the visible light band. The infrared radiation intensity distribution refers to the thermal radiation energy value of each pixel on the face surface in the infrared band, which is positively correlated with the face surface temperature. The TOF structured light depth sensor calculates the depth value of each pixel on the face surface by emitting modulated near-infrared light and measuring the time of flight to reconstruct the three-dimensional depth data of the face. The time of flight refers to the time interval from the modulation of near-infrared light emitted from the sensor to the face surface and then reflected back to the sensor; the depth value is equal to the speed of light multiplied by half the time of flight. Infrared thermal imaging, visible light texture, and three-dimensional depth data are acquired synchronously within the same time window, ensuring that the three modalities reflect the true physical state of the same face at the same time.

[0035] The operation and maintenance login terminal calculates the infrared liveness confidence score, texture liveness confidence score, and depth liveness confidence score, respectively. In this embodiment, the confidence score is defined as a dimensionless real number ranging from 0 to 1, used to characterize the degree of credibility that the currently collected face data belongs to a real, live person. A confidence score closer to 1 indicates a higher degree of credibility, while a confidence score closer to 0 indicates a lower degree of credibility.

[0036] The calculation of infrared liveness confidence is as follows: Extract the temperature distribution histogram of the face region and calculate the mean temperature and temperature variance. The mean temperature refers to the arithmetic mean of the temperatures of all pixels within the face region. The temperature variance is a statistical measure of the deviation of the temperature of each pixel within the face region from the mean temperature; it is calculated as the average of the squares of the differences between the temperatures of each pixel and the mean temperature. When the mean temperature is within the normal human skin temperature range and the temperature variance reflects a temperature gradient distribution consistent with the physiological laws of a living face, the infrared liveness confidence is assigned a positive value close to 1. The normal human skin temperature range refers to the temperature range exhibited by the facial skin of a healthy adult in a normal temperature environment. A temperature gradient distribution consistent with the physiological laws of a living face refers to the distribution characteristics of natural temperature differences between different areas of the face due to human blood circulation and metabolic activities, such as the nose tip being slightly lower than the forehead, and the eyelid area being higher. When the mean temperature is not within the normal human skin temperature range or the temperature variance does not reflect the unique temperature gradient distribution of a living face, the infrared liveness confidence is assigned a negative value close to 0. In this embodiment, the normal human skin temperature range is set to 30.5℃ to 38.0℃, and the temperature difference variance threshold is set to 1.8℃². Photos or silicone face prostheses with a temperature difference variance below 0.8 do not meet the liveness threshold and are directly blocked.

[0037] The calculation of deep liveness confidence involves registering key points between the acquired 3D point cloud data and the 3D depth model of the face, and calculating the average Euclidean distance between the registered points as the range. 3D point cloud data refers to the set of 3D coordinates of each pixel on the face surface acquired by a TOF structured light depth sensor. Key point registration refers to the process of identifying facial feature key points such as the tip of the nose, corners of the eyes, and corners of the mouth in the 3D point cloud data and spatially aligning them with the corresponding key points in the 3D depth model of the face. The average Euclidean distance is the average of the straight-line distances in 3D space between all corresponding key points after successful registration. When the range exceeds a preset depth threshold and the key point matching rate exceeds a preset matching rate threshold, the deep liveness confidence is assigned a positive value close to 1. The key point matching rate is the proportion of successfully registered key points to the total number of key points to be registered. When the range does not exceed the preset depth threshold or the key point matching rate does not exceed the preset matching rate threshold, the deep liveness confidence is assigned a negative value close to 0. In this embodiment, the preset depth threshold is set to 12 mm, and the preset matching rate threshold is set to 0.68. 2D photos with a depth difference of less than 1 mm are directly blocked.

[0038] The calculation of texture liveness confidence specifically involves: extracting the local binary pattern feature vector of the visible light texture image and performing cosine similarity calculation with a pre-stored legitimate face texture template. Local binary pattern is an operator used to describe local texture features of an image. Its basic principle is to compare the gray value of each pixel in the image with the gray values ​​of its neighboring pixels, encode the comparison result into a binary number, and then statistically analyze the frequency of occurrence of each binary pattern to form a feature vector. Cosine similarity refers to the cosine value of the angle between two feature vectors. Its calculation formula is the dot product of the two vectors divided by the product of their magnitudes, with a value ranging from -1 to 1. The closer the value is to 1, the more consistent the directions of the two vectors are. When the cosine similarity exceeds a preset texture threshold, the texture liveness confidence is assigned a positive value close to 1. When the cosine similarity does not exceed the preset texture threshold, the texture liveness confidence is assigned a negative value close to 0. In this embodiment, the preset texture threshold is set to 0.72. Images captured from the screen or printed with a cosine similarity below 0.5, along with moiré and halftone detection, will be directly blocked if these features are present. Moiré patterns are interference fringes caused by the spatial frequency difference between the screen's pixel grid and the camera's sensor pixel array when an image is captured on a screen.

[0039] Logical and hard threshold decisions are made for three confidence levels. The logical and hard threshold decisions require that the infrared liveness confidence level is not lower than a first threshold, the depth liveness confidence level is not lower than a second threshold, and the texture liveness confidence level is not lower than a third threshold. If any of the three hard threshold decisions is not met, the system is directly judged as a fake and the authentication process terminates. After all three are passed, a weighted total score is calculated according to preset weights. The weighted total score calculation is only performed after all logical and hard threshold decisions are passed. Infrared liveness confidence level, depth liveness confidence level, and texture liveness confidence level are assigned infrared weight, depth weight, and texture weight, respectively. The infrared weight is greater than the depth weight, and the depth weight is greater than the texture weight. In this embodiment, the infrared weight is set to 0.5, the depth weight is set to 0.3, and the texture weight is set to 0.2. The weighted total score equals the infrared liveness confidence level multiplied by the infrared weight, plus the depth liveness confidence level multiplied by the depth weight, plus the texture liveness confidence level multiplied by the texture weight. When the weighted total score is not lower than a preset threshold, the system is judged to be a real person. In this embodiment, the preset threshold is set to 0.75. The logic and hard threshold decision and weighted total score calculation form a two-level liveness detection mechanism. First, the hard threshold eliminates fake samples with insufficient confidence in a single item. Then, the weighted fusion is used to quantify and rank the candidate samples that pass the hard threshold.

[0040] After data acquisition, the original infrared image, visible light image, and depth point cloud data are immediately erased from memory after liveness detection and feature vector extraction, and are not stored on persistent storage media. Only a 256-bit SM3 encrypted face feature vector is output. The SM3 encrypted face feature vector is a 256-bit digest value obtained by performing an SM3 hash operation on the original face feature vector. This digest value cannot be reversed to restore the original face features and is only used for consistency comparison.

[0041] In step S4, the maintenance login terminal uses the two-factor fusion authentication engine to retrieve the pre-stored facial feature database and SM2 certificate whitelist from the backend security authentication server, verifying whether the currently collected facial feature and the current SM2 certificate are uniquely bound to the same maintenance personnel. The two-factor fusion engine encrypts and uploads the current encrypted facial feature and the USBKey certificate's unique identifier ID to the backend security authentication server. The backend security authentication server searches the binding database and verifies whether the certificate ID uniquely matches the current facial feature. If the certificate and face do not belong to the same maintenance personnel, authentication fails directly. The backend security authentication server pre-stores the maintenance personnel's facial feature database and SM2 certificate whitelist, achieving a unique binding association of one person, one certificate, and one face, with the same certificate matching only a single facial feature. Unbinding the person / certificate, reporting a lost certificate, and updating the face are only allowed under network conditions by a dual-level secondary authorization from both the security administrator and the system maintenance administrator. The authorization command is valid only after being signed by the SM2 signature of the backend security authentication server. Dual-level secondary authorization refers to a permission control mechanism where two administrators with different roles must independently complete the authorization operation, and both authorization commands must be verified by SM2 signature before they become effective. All change operations generate SM2 signature audit logs that are permanently stored, with dual backups on both local and back-up servers, and cannot be deleted or tampered with. Offline terminals are prohibited from performing identity verification change operations.

[0042] The two-factor fusion authentication engine internally executes a four-level serial verification pipeline, running in parallel with SM3 hash verification and HMAC integrity verification. The parallel input buffer includes 3D encrypted facial feature vectors and the certificate ID and SM2 signature value output by the national cryptographic SM2 hardware certificate authentication unit. The parallel integrity verification branch uses HMAC-SM3 to verify all input messages; tampering directly marks them as failed. The hardware certificate validity verification reuses the certificate validity period, certificate revocation list status, and signature validity results output by the national cryptographic SM2 hardware certificate authentication unit. The identity verification index retrieval queries the backend database when connected to the internet and verifies the signature on a locally encrypted whitelist when offline.

[0043] In step S5, login is granted and the corresponding permissions are assigned to the operations and maintenance personnel only if all four conditions are met simultaneously: valid SM2 certificate verification, successful 3D face liveness verification, matching of the person and certificate, and successful message integrity verification. The background security authentication server issues tiered monitoring operation permissions, including screen browsing, parameter adjustment, and tiered isolation of unit operations. If any verification fails, login is denied, a red audible and visual alarm is triggered on the operations and maintenance login terminal, a pop-up window on the OLED display shows the reason for the failure, and encrypted illegal login logs are uploaded simultaneously.

[0044] In some preferred embodiments, after the SM2 certificate verification and identity verification are both successful, the operation and maintenance login terminal and the backend security authentication server execute the SM2 ECDH key exchange protocol. The SM2 ECDH key exchange protocol is a key negotiation protocol based on elliptic curve cryptography. Without pre-sharing keys, the communicating parties exchange their respective temporary elliptic curve public keys and, combined with their respective temporary elliptic curve private keys, calculate the same shared secret value. Both parties generate temporary elliptic curve key pairs and exchange public keys, generating session key material through the shared secret and key derivation function. The key derivation function adopts KDF2-SM3 from the GM / T 0003.3 standard. KDF2-SM3 is a key derivation function based on the SM3 hash algorithm; its input is the shared secret value and necessary public parameters, and its output is key material of a specified length. The session key material is divided into a preset length: the first 128 bits are used as the SM4 symmetric session key for GCM mode encryption of subsequent interactive data, and the last 256 bits are used as the HMAC-SM3 session key for calculating the integrity check code of each message. SM4 uniformly adopts the SM4-GCM mode. SM4-GCM mode is a working mode that combines the SM4 block cipher algorithm with Galois counter mode, enabling simultaneous data encryption and integrity verification in a single operation, outputting ciphertext and an authentication tag. Each session generates a 12-byte random initialization vector, and encryption is accompanied by an SM4-GCM verification tag, achieving encryption and tamper-proofing simultaneously in a single operation. The SM4 symmetric session key and HMAC-SM3 session key are destroyed immediately after the end of a session and renegotiated upon the next login.

[0045] In some preferred embodiments, when a network outage is detected, the maintenance login terminal reads the cached whitelist of identity verification and certificate revocation lists stored in its local encrypted cache. The identity verification whitelist is an encrypted data structure stored locally on the maintenance login terminal after being signed by the backend security authentication server using SM2, recording the binding relationship between valid certificate IDs and facial feature vectors. When the network outage duration does not exceed a preset number of days, the maintenance login terminal executes a full two-factor authentication process based on the identity verification whitelist and certificate revocation list cache. Authentication-enabled maintenance personnel can log in normally and perform operations within their authorized scope. When the network outage duration exceeds the preset number of days, the maintenance login terminal automatically downgrades the current maintenance personnel's operation permissions to read-only monitoring permissions, prohibiting them from performing unit start / stop operations or setting modification operations. After the network is restored, the maintenance login terminal automatically performs incremental data synchronization with the backend security authentication server, uploads the encrypted audit logs from the offline period, and downloads the latest certificate revocation list and identity verification binding change information.

[0046] In some preferred embodiments, when maintenance personnel initiate unit start-up / shutdown operations or setpoint modification operations, the maintenance login terminal generates a new challenge code and sends it to the hardware security chip of the national cryptographic USBKey through a secure channel. The hardware security chip performs a second SM2 signature on the new challenge code using a non-exportable SM2 signature private key and returns the second signature value to the maintenance login terminal. The maintenance login terminal packages the second signature value, operation command identifier, current timestamp, and session identifier and sends them to the background security authentication server. The background security authentication server verifies the signature using a pre-stored SM2 certificate public key. After successful verification, it checks whether the operation command identifier is within the authorized operation scope of the maintenance personnel. Only after both verifications pass is the execution of the unit start-up / shutdown operation or setpoint modification operation allowed, and the entire process of this secondary strong authentication is recorded in the encrypted audit log.

[0047] In some preferred embodiments, all interactive data during the authentication process is transmitted encrypted using SM4 GCM mode. Each message is appended with a message authentication code calculated based on the HMAC-SM3 session key before transmission. The receiver verifies the message authentication code before decryption to ensure the message has not been tampered with during transmission. Audit logs are signed with an SM2 private key during generation, and the signed log data is stored in encrypted form on both the terminal's local machine and the backend security authentication server. No plaintext face images or certificate private keys are retained in the storage medium. Raw infrared images, visible light images, and depth point cloud data are immediately erased from memory after liveness detection and feature vector extraction, and are not stored in persistent storage. All login and operation events are signed and encrypted with a national standard SM2 private key for storage of audit logs, supporting full traceability.

[0048] I. Verification of protection against spoofing attacks.

[0049] This embodiment uses 500 attack samples for batch testing to verify the anti-spoofing attack capability of the triple liveness dual-layer decision mechanism of the present invention. The attack samples include 150 sets of printed face photos, 150 sets of electronic screen dynamic forgery samples, 100 sets of silicone face masks, and 100 sets of 3D printed prostheses.

[0050] Test results show that all attack samples failed the triple liveness detection double-layer check, achieving a 100% interception rate for spoofing attacks. The interception logic for various attacks is as follows: For static printed photos, the infrared temperature measurement variance is less than 0.2, the infrared liveness confidence is below the first threshold, and the infrared sub-item detection is directly blocked; for mobile phone dynamic videos, the TOF depth range is less than 1 mm, the depth liveness confidence is below the second threshold, and the 3D depth verification fails; for silicone face spoofers, the facial temperature difference variance is only 0.7, which does not meet the 1.8℃² liveness threshold, and the infrared liveness confidence is below the first threshold. All attack samples failed the triple liveness hard threshold judgment and weighted total score double-layer check.

[0051] II. USBKey Transfer and Theft Protection Verification.

[0052] In this embodiment, 30 sets of cross-person ID card pairing samples were selected for transfer testing to verify the protective effect of the unique ID card binding mechanism of this invention. Authentication failed in all scenarios where the certificate and face did not match, and the illegal login alarm trigger rate reached 100%.

[0053] The specific test scenario is as follows: Maintenance personnel A's national cryptographic USB key is given to maintenance personnel B to log into the system. After maintenance personnel B inserts maintenance personnel A's national cryptographic USB key, the national cryptographic SM2 hardware certificate authentication unit verifies the certificate validity period, certificate revocation list status, and hardware SM2 signature, all of which pass. The 3D face acquisition module outputs the encrypted facial features of maintenance personnel B. The two-factor fusion engine searches the background encrypted binding library, and the matching result is that the certificate ID is equal to the facial features of maintenance personnel A corresponding to their certificate; the identity verification fails. The system directly determines that authentication has failed and triggers an illegal transfer audio-visual alarm. This embodiment fully verifies that the one-person-one-certificate-one-face binding mechanism can eradicate the risk of certificate lending and theft. Unbinding and losing certificates synchronously update the local encrypted whitelist, and this also works in offline scenarios.

[0054] Example 2: A power plant monitoring system login authentication system based on 3D face recognition and SM2 national cryptographic certificate. This system is used to implement the power plant monitoring system login authentication method based on 3D face recognition and SM2 national cryptographic certificate described in Example 1, such as... Figure 2 As shown, it includes a certificate pre-check module, a challenge signature module, a liveness detection module, a binding verification module, and a login authorization module.

[0055] The system includes several modules: a certificate pre-check module, which retrieves the SM2 certificate stored in the national cryptographic USBKey inserted by maintenance personnel and verifies its validity period and revocation status; a challenge signature module, which sends a challenge code to the hardware security chip of the national cryptographic USBKey, receives the signature value returned by the hardware security chip after performing SM2 signing on the challenge code using a non-exportable SM2 signature private key, and verifies the integrity of the signature value and the message using SM3 hash; and a liveness detection module, which collects facial data of the current maintenance personnel in three modalities—infrared thermal imaging, visible light texture, and 3D depth—through a 3D face acquisition module, and calculates infrared liveness confidence and texture liveness confidence, respectively. The system employs three confidence levels: depth and 3D liveness confidence. Logical and hard threshold judgments are applied to these three levels, and a weighted total score is calculated based on preset weights after all three pass. A liveness detection module is determined when the weighted total score is not lower than a preset threshold. A binding verification module uses a two-factor fusion authentication engine to retrieve the pre-stored facial feature library and SM2 certificate whitelist from the backend security authentication server to verify whether the currently collected facial features and the current SM2 certificate are uniquely bound to the same operations and maintenance personnel. A login authorization module allows login and assigns corresponding permissions to operations and maintenance personnel when the SM2 certificate verification is valid, the 3D facial liveness verification is passed, the person-certificate binding matches, and all message integrity checks pass.

[0056] Working Principle: This invention constructs a three-level progressive authentication closed loop, from hardware device identity to biometrics to binding relationship, by serially fusing the challenge signature verification of the national cryptographic USBKey hardware certificate, 3D three-modal liveness detection, and unique binding verification of the person and the certificate. The hardware security chip of the national cryptographic USBKey uses a non-derivative SM2 signing private key to sign the challenge code, ensuring the legitimacy of the device and the non-cloning of the private key at the hardware level; the 3D face acquisition module simultaneously acquires face data in three modalities: infrared thermal imaging, visible light texture, and three-dimensional depth. Through a two-level serial mechanism of logical and hard threshold judgment and weighted total score calculation, it collaboratively eliminates various forgery attacks from three dimensions: temperature distribution, texture details, and three-dimensional geometry; the two-factor fusion authentication engine further uniquely binds the currently acquired face features with the current SM2 certificate to ensure that the legitimate certificate holder and the actual operator are the same person.

[0057] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0058] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0059] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0060] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0061] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A login authentication method for a power plant monitoring system based on a two-factor authentication method using 3D face recognition and SM2 national cryptographic certificate, characterized in that, Includes the following steps: Retrieve the SM2 certificate stored in the national cryptographic USBKey inserted by the operations and maintenance personnel, and verify the certificate validity period and certificate revocation list status; Send a challenge code to the hardware security chip of the national cryptographic USBKey, receive the signature value returned by the hardware security chip after performing SM2 signing on the challenge code using a non-derivative SM2 signature private key, and verify the integrity of the signature value and the message using SM3 hash. The 3D face acquisition module collects facial data of the current maintenance personnel in three modalities: infrared thermal imaging, visible light texture, and 3D depth. The infrared liveness confidence, texture liveness confidence, and depth liveness confidence are calculated respectively. Logical and hard threshold judgments are applied to the three confidence levels. After all three are passed, a weighted total score is calculated according to preset weights. When the weighted total score is not lower than a preset threshold, it is determined to be a real live person. The two-factor fusion authentication engine retrieves the pre-stored facial feature library and SM2 certificate whitelist from the backend security authentication server to verify whether the currently collected facial features and the current SM2 certificate are uniquely bound to the same maintenance personnel. When the SM2 certificate verification is valid, the 3D face liveness verification is successful, the identity binding is matched, and the message integrity verification is all successful, login is allowed and the corresponding permissions are assigned to the operation and maintenance personnel.

2. The login authentication method for a power plant monitoring system based on a two-factor authentication method using 3D face recognition and SM2 national cryptographic certificate as described in claim 1, characterized in that, The 3D face acquisition module is an acquisition unit that integrates an infrared thermal imaging binocular camera and a TOF structured light depth sensor. The infrared thermal imaging binocular camera is used to simultaneously capture the infrared radiation intensity distribution and epidermal texture image under the visible light band on the surface of a human face. The TOF structured light depth sensor calculates the depth value of each pixel on the face surface by emitting modulated near-infrared light and measuring the time of flight, so as to reconstruct the three-dimensional depth data of the face. The infrared thermal imaging, visible light texture, and three-dimensional depth data are collected synchronously within the same time window to ensure that the three modalities reflect the true physical state of the same face at the same moment.

3. The login authentication method for a power plant monitoring system based on a two-factor authentication method using 3D face recognition and SM2 national cryptographic certificate as described in claim 1, characterized in that, The calculation of the infrared liveness confidence level is as follows: Extract the temperature distribution histogram of the face region and calculate the mean temperature and temperature difference variance; When the mean temperature is within the normal human skin temperature range and the temperature difference variance reflects the temperature gradient distribution that conforms to the physiological laws of a living human face, the infrared liveness confidence score is assigned a positive value close to 1. When the mean temperature is not within the normal human skin temperature range or the temperature difference variance does not reflect the unique temperature gradient distribution of a living human face, the infrared liveness confidence score is assigned a negative value close to 0. And / or, the calculation of the depth liveness confidence is specifically as follows: The collected 3D point cloud data is registered with the 3D depth model of the face, and the average Euclidean distance between the registered points is calculated as the range. When the range exceeds a preset depth threshold and the key point matching rate exceeds a preset matching rate threshold, the depth liveness confidence is assigned a positive value close to 1. When the range does not exceed a preset depth threshold or the key point matching rate does not exceed a preset matching rate threshold, the depth liveness confidence is assigned a negative value close to 0. And / or, the calculation of the texture liveness confidence is specifically as follows: Extract the local binary pattern feature vector of the visible light texture image and calculate the cosine similarity with the pre-stored legal face texture template; When the cosine similarity exceeds a preset texture threshold, the texture liveness confidence is assigned a positive value close to 1. When the cosine similarity does not exceed the preset texture threshold, the texture liveness confidence is assigned a negative value close to 0.

4. The login authentication method for a power plant monitoring system based on a two-factor authentication method using 3D face recognition and SM2 national cryptographic certificate as described in claim 1, characterized in that, The logic and hard threshold judgment require that the infrared liveness confidence is not lower than the first threshold, the depth liveness confidence is not lower than the second threshold, and the texture liveness confidence is not lower than the third threshold. If any one of the three hard threshold judgments is not met, it is directly judged as a fake and the authentication process is terminated. The weighted total score calculation is performed only after all the logic and hard threshold decisions have passed. The infrared liveness confidence, the depth liveness confidence, and the texture liveness confidence are assigned infrared weights, depth weights, and texture weights that decrease sequentially, respectively. When the weighted total score is not lower than a preset threshold, it is finally determined to be a real live person.

5. The login authentication method for a power plant monitoring system based on a two-factor authentication method using 3D face recognition and SM2 national cryptographic certificate as described in claim 1, characterized in that, The verification of certificate validity and certificate revocation list status includes: When the network connection is normal, a certificate revocation list request is sent to the backend security authentication server via the HTTPS protocol, the incremental update data returned by the backend security authentication server is received and parsed, and the locally encrypted certificate revocation list cache is updated. When the network is interrupted, the certificate revocation list cache stored locally is read directly, and the revocation status of the current SM2 certificate is determined based on the latest snapshot in the certificate revocation list cache. The certificate revocation list cache has a maximum validity period of a preset number of days. The timer is reset after each successful synchronization. If the timer accumulates to more than the preset number of days and synchronization still has not occurred, it is determined that the certificate revocation list cache has expired and the permissions for unit start-up and shutdown operations and setpoint modification operations are automatically locked, retaining only the monitoring read-only permission.

6. The login authentication method for a power plant monitoring system based on a two-factor authentication method using 3D face recognition and SM2 national cryptographic certificate as described in claim 1, characterized in that, The method also includes: After the SM2 certificate verification and the identity binding match are both successful, the SM2 ECDH key exchange protocol is executed between the backend security authentication server and the two parties generate temporary elliptic curve key pairs and exchange public keys. Session key materials are generated by sharing secrets and key derivation functions. The session key material is divided into segments of a preset length. The first 128 bits are used as an SM4 symmetric session key for GCM mode encryption of subsequent interactive data, and the last 256 bits are used as an HMAC-SM3 session key for calculating the integrity check code of each message. The SM4 symmetric session key and the HMAC-SM3 session key are destroyed immediately after a session ends and renegotiated upon the next login.

7. The login authentication method for a power plant monitoring system based on a two-factor authentication method using 3D face recognition and SM2 national cryptographic certificate as described in claim 1, characterized in that, The method also includes: When a network interruption is detected, the cached list of identity verification whitelist and certificate revocation list stored in the local encrypted cache is read. When the network outage duration does not exceed the preset number of days, a full two-factor authentication process is executed based on the whitelist of identity verification and the cache of the certificate revocation list. Authentication-passed maintenance personnel can log in normally and perform operations within their authorized scope. When the network outage lasts for more than the preset number of days, the operation permission of the current maintenance personnel will be automatically downgraded to monitoring read-only permission, prohibiting the execution of unit start-up and shutdown or setting modification; Once the network is restored, it automatically performs incremental data synchronization with the background security authentication server, uploads the encrypted audit logs from the offline period, and downloads the latest certificate revocation list and identity verification binding change information.

8. The login authentication method for a power plant monitoring system based on a two-factor authentication method using 3D face recognition and SM2 national cryptographic certificate as described in claim 1, characterized in that, The method also includes: When maintenance personnel initiate unit start-up / shutdown operations or setpoint modification operations, a new challenge code is generated and sent to the hardware security chip of the national cryptographic USBKey through a secure channel; The hardware security chip uses the non-derivative SM2 signature private key to perform a second SM2 signature on the new challenge code and returns the second signature value; The second signature value, operation instruction identifier, current timestamp, and session identifier are packaged and sent to the background security authentication server. The background security authentication server verifies the signature using the pre-stored SM2 certificate public key. After the signature is verified, it checks whether the operation instruction identifier is within the authorized operation range of the operation and maintenance personnel. Only after both verifications are passed can the unit start-up and shutdown operation or the set value modification operation be allowed to be executed. The entire process of this second strong authentication is recorded in the encrypted audit log.

9. The login authentication method for a power plant monitoring system based on a two-factor authentication method using 3D face recognition and SM2 national cryptographic certificate as described in claim 1, characterized in that, The method also includes: All interactive data during the authentication process is encrypted and transmitted in SM4 GCM mode. Each message is appended with a message authentication code calculated based on the HMAC-SM3 session key before being sent. The receiver verifies the message authentication code before decryption to ensure that the message has not been tampered with during transmission. The audit logs are signed with an SM2 private key when they are generated. The signed log data is stored in encrypted form on the local terminal and the backend security authentication server respectively. No plaintext face images and certificate private keys are retained in the storage medium. The original infrared image, visible light image, and depth point cloud data are immediately erased from memory after liveness detection is completed and feature vectors are extracted, and are not stored in persistent storage media.

10. A power plant monitoring system login authentication system based on 3D face recognition and SM2 national cryptographic certificate (two-factor authentication), characterized in that: include: The certificate pre-check module is used to obtain the SM2 certificate stored in the national cryptographic USBKey inserted by the operation and maintenance personnel, and verify the certificate validity period and certificate revocation list status. The challenge signature module is used to send a challenge code to the hardware security chip of the national cryptographic USBKey, receive the signature value returned by the hardware security chip after performing SM2 signature on the challenge code using a non-derivative SM2 signature private key, and use SM3 hash to verify the integrity of the signature value and the message. The liveness detection module is used to collect facial data of the current maintenance personnel in three modalities: infrared thermal imaging, visible light texture, and three-dimensional depth, through the 3D face acquisition module. It calculates the infrared liveness confidence, texture liveness confidence, and depth liveness confidence respectively, performs logical and hard threshold judgment on the three confidence scores, and calculates a weighted total score according to preset weights after all three scores pass. When the weighted total score is not lower than the preset threshold, it is determined to be a real live person. The binding verification module is used to retrieve the pre-stored face feature library and SM2 certificate whitelist from the backend security authentication server through the two-factor fusion authentication engine, and verify whether the currently collected face features and the current SM2 certificate are uniquely bound to the same operation and maintenance personnel. The login authorization module is used to allow login and assign corresponding permissions to the operation and maintenance personnel when the SM2 certificate verification is valid, the 3D face liveness verification is passed, the person and certificate binding is matched, and the message integrity verification is all passed.