Identity verification method and device, equipment and storage medium
By monitoring the operating status of the local verification terminal in real time and switching to the cloud backup platform, the service interruption problem caused by local failure of the airport identity verification system is solved, the stability and efficiency of the system are improved, and the continuity of the identity verification service is ensured.
Patent Information
- Application Number
- CN202411115576.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-12-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing airport identity verification system is highly dependent on local hardware and network environment, resulting in the system that once the LAN fails or hardware is damaged, the system may not work properly, lack of cloud backup or remote disaster recovery solutions, resulting in service interruption, reducing the efficiency and stability of identity verification. sex.
By monitoring the operating status of the local verification terminal in real time, conducting local verification if it is normal, and switching to the cloud backup verification platform if there is an exception to ensure the continuity of identity verification services.
It realizes the rapid identification and processing of identity verification services, avoids interruptions caused by local failures, improves the stability and efficiency of identity verification, and ensures high availability and user experience of the system.
Smart Images

Figure CN119203084A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent transportation technology, and in particular to an identity verification method, device, equipment and storage medium. Background Art
[0002] At present, with the continuous development of information technology, airports and other places generally use a one-code access system for identity verification. These systems usually rely on locally deployed offline identity verification systems and operate in a single airport LAN environment. This method can meet the basic needs of identity verification to a certain extent, but it is highly dependent on local hardware and network environment. Once the LAN fails or the hardware is damaged, the entire verification system may not operate normally. And because there is no cloud backup or remote disaster recovery solution, once the system fails, there is no immediate alternative solution, which can easily cause service interruption, thereby reducing the efficiency and stability of identity verification and affecting passenger travel. Therefore, how to improve the stability and efficiency of identity verification has become a technical problem that needs to be solved urgently. Summary of the invention
[0003] The main purpose of this application is to provide an identity verification method, device, equipment and storage medium, aiming to solve the technical problem of how to improve the stability and efficiency of identity verification.
[0004] To achieve the above purpose, the present application provides an identity verification method, which comprises the following steps:
[0005] Real-time monitoring of the operating status of the preset local verification terminal;
[0006] If the operating status is normal, identity verification is performed based on the preset local verification terminal;
[0007] If the operating status is abnormal, identity verification is performed based on the preset cloud-based backup verification platform.
[0008] In one embodiment, the step of real-time monitoring the operating status of the preset local verification terminal includes:
[0009] Acquire the physical status data and software operation data of the preset local verification terminal in real time;
[0010] Integrate the physical state data with the software operation data to obtain integrated data;
[0011] comparing the integrated data with preset standard operating data;
[0012] According to the comparison result, the operating status of the preset local verification terminal is determined.
[0013] In one embodiment, before the step of real-time monitoring the operating status of the preset local verification terminal, the method further includes:
[0014] When data changes occur on the preset local verification terminal or the preset cloud backup verification platform, a synchronization event is triggered;
[0015] Based on the changed data of the synchronization event, the data between the preset local verification terminal and the preset cloud backup verification platform are synchronized.
[0016] In one embodiment, the step of synchronizing data between the preset local verification terminal and the preset cloud backup verification platform based on the changed data of the synchronization event includes:
[0017] If the current network state and / or the current load state exceeds a preset network load threshold, dividing the change data into multiple batches;
[0018] Based on a preset encryption transmission algorithm, each batch of change data is encrypted to obtain multiple encrypted transmission data;
[0019] The multiple encrypted transmission data are synchronized in batches to the preset local verification terminal or the preset cloud backup verification platform.
[0020] In one embodiment, after the step of synchronizing the plurality of encrypted transmission data to the preset local verification terminal or the preset cloud backup verification platform in batches, the method further includes:
[0021] Based on a preset verification time, the data of the preset local verification terminal is compared with the data of the preset cloud backup verification platform to determine the difference data;
[0022] Encrypting the distinguishing data based on the preset encryption transmission algorithm to obtain encrypted distinguishing data;
[0023] The encrypted distinguishing data is transmitted to the corresponding preset local verification terminal or the preset cloud backup verification platform.
[0024] In one embodiment, the method further comprises:
[0025] At each preset cloud verification request period, obtaining the number of verification requests of the preset cloud backup verification platform;
[0026] If the number of verification requests exceeds a preset expansion threshold, based on the difference between the number of verification requests and the preset expansion threshold, increase the computing nodes and storage capacity of the preset cloud backup verification platform;
[0027] If the number of verification requests is lower than a preset reduction threshold, based on the difference between the preset reduction threshold and the number of verification requests, the cloud resources of the preset cloud backup verification platform are released.
[0028] In one embodiment, the method further comprises:
[0029] Based on preset industry standards, a standardized API interface is defined in the preset cloud-based backup verification platform, and an API usage instruction document is generated.
[0030] In addition, to achieve the above purpose, the present application also proposes an identity verification device, the identity verification device comprising:
[0031] A monitoring module is used to monitor the operating status of the preset local verification terminal in real time;
[0032] A local verification module, configured to perform identity verification based on the preset local verification terminal if the operating state is normal;
[0033] The cloud verification module is used to perform identity verification based on a preset cloud backup verification platform if the operating status is abnormal.
[0034] In addition, to achieve the above-mentioned purpose, the present application also proposes an identity verification device, which includes: a memory, a processor, and an identity verification program stored on the memory and executable on the processor, wherein the identity verification program is configured to implement the steps of the identity verification method described above.
[0035] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, on which an identity verification program is stored, and when the identity verification program is executed by a processor, the steps of the identity verification method described above are implemented.
[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the identity verification method described above are implemented.
[0037] This application monitors the operating status of the preset local verification terminal in real time; if the operating status is normal, identity verification is performed based on the preset local verification terminal; if the operating status is abnormal, identity verification is performed based on the preset cloud backup verification platform. This application ensures the rapid identification and processing of system abnormalities through real-time monitoring, and the seamless switching during abnormalities ensures the continuity of the identity verification service, avoiding interruptions caused by local failures. By monitoring the operating status of the preset local verification terminal in real time and switching to the preset cloud backup verification platform under abnormal circumstances, the stability and efficiency of identity verification are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 This is a flowchart of the first embodiment of the identity verification method of this application;
[0039] Figure 2 This is a schematic diagram of a sub-process in the second embodiment of the identity verification method of this application;
[0040] Figure 3 This is a schematic diagram of a sub-process in the third embodiment of the identity verification method of this application;
[0041] Figure 4 This is a schematic diagram of the module structure of the identity verification device according to an embodiment of the present application;
[0042] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the identity verification method in the embodiment of the present application.
[0043] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0044] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0045] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0046] It should be noted that, at present, with the continuous development of information technology, airports and other places generally use a one-code access system for identity verification. These systems usually rely on locally deployed offline identity verification systems and operate in a single airport LAN environment. This method can meet the basic needs of identity verification to a certain extent, but it is highly dependent on local hardware and network environment. Once the LAN fails or the hardware is damaged, the entire verification system may not operate normally. And because there is no cloud backup or remote disaster recovery solution, once the system fails, there is no immediate alternative solution, which can easily cause service interruption, thereby reducing the efficiency and stability of identity verification and affecting passenger travel. Therefore, how to improve the stability and efficiency of identity verification has become a technical problem that needs to be solved urgently.
[0047] The main solution of this application is: real-time monitoring of the operating status of the preset local verification terminal; if the operating status is normal, identity verification is performed based on the preset local verification terminal; if the operating status is abnormal, identity verification is performed based on the preset cloud backup verification platform.
[0048] This application ensures the rapid identification and handling of system anomalies through real-time monitoring, and seamless switching during anomalies ensures the continuity of identity verification services, avoiding interruptions due to local failures. It improves the stability and efficiency of identity verification by real-time monitoring of the operating status of the preset local verification terminal and switching to the preset cloud-based backup verification platform under abnormal circumstances.
[0049] It should be noted that the execution subject of the method of this embodiment can be a computing service device with data processing, network communication and program running functions, or it can be the above-mentioned identity verification device with the same or similar functions. This embodiment and the following embodiments will be described by taking the identity verification device as an example.
[0050] Based on this, the first embodiment of the identity verification method of this application is proposed, please refer to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the identity verification method of this application.
[0051] In this embodiment, the identity verification method includes the following steps:
[0052] S1: Real-time monitoring of the operating status of the preset local verification terminal;
[0053] It should be noted that real-time monitoring refers to the continuous collection and analysis of system operation data through hardware and software tools to ensure that abnormal situations can be discovered and handled in a timely manner at any time. The preset local verification terminal is a pre-set device and system deployed locally for identity verification, including hardware (such as identity verification equipment) and software (such as identity verification program). The operating status refers to the current working status of the system or device, including hardware status (such as temperature, voltage), software status (such as process operation status), network connection status, etc.
[0054] Specifically, install and configure monitoring modules, including hardware sensors (such as temperature sensors, voltage sensors, network connection sensors) and software monitoring tools (such as system resource monitoring, log monitoring, etc.). Hardware sensors continuously collect physical status data of preset local verification terminals, such as temperature, voltage, and network connection status. Software monitoring tools collect software operation status data of preset local verification terminals in real time, such as CPU usage, memory usage, key process status, and log records. Transmit the data collected by hardware sensors and software monitoring tools to the central monitoring system or local database for integration and storage.
[0055] Furthermore, data analysis algorithms are used to analyze the collected data in real time to determine whether the operating status of the preset local verification terminal is normal. Thresholds for key parameters are set, such as upper temperature limit, lower voltage limit, upper CPU usage limit, etc. When the monitoring data exceeds the threshold, the alarm mechanism is triggered. When real-time analysis finds that the operating status is abnormal, an alarm is triggered immediately and the abnormal situation is recorded. Depending on the type and severity of the abnormality, appropriate processing measures are taken, such as automatically adjusting the system configuration (freeing up memory, restarting the process) or switching to a cloud-based backup verification platform.
[0056] Optionally, based on monitoring data and actual operating conditions, continuously optimize monitoring parameters and data analysis algorithms to improve fault detection accuracy and response speed.
[0057] Through real-time monitoring, any abnormal situation of the preset local verification terminal, such as hardware failure, software crash or network connection problem, can be discovered in time, so as to deal with it in time and avoid long-term system downtime. Real-time monitoring enables the system to detect and respond to abnormal situations as soon as they occur, shortening the time for fault detection and processing and ensuring the high availability of the system. By analyzing the monitoring data, potential failure modes can be identified and preventive maintenance can be performed before problems occur, reducing the probability of sudden failures. Real-time monitoring can help the system better manage resources, such as adjusting the use of CPU and memory, preventing resource overload, and ensuring the efficiency and stability of system operation. The system can run stably and efficiently, reducing delays and inconveniences caused by system failures during identity verification, and improving user experience and satisfaction. By monitoring the operating status of the preset local verification terminal in real time, the reliability and fault response speed of the system can be significantly improved, potential problems can be prevented, resource utilization can be optimized, and ultimately the user experience can be improved.
[0058] S2: If the operating status is normal, identity verification is performed based on the preset local verification terminal;
[0059] It should be noted that normal operation means that the hardware and software of the preset local verification terminal are in normal working condition, all monitoring parameters (such as temperature, voltage, CPU usage, network connection, etc.) are within the preset threshold range, and no abnormal situation occurs. Identity verification refers to the process of verifying the user's identity information through the preset local verification terminal, which usually includes collecting the user's biometric features (such as fingerprints, facial recognition) or identity credentials (such as ID cards, QR codes), and comparing them with the information in the database to confirm the authenticity of the user's identity.
[0060] Specifically, when the preset local verification terminal detects that the user needs to verify his / her identity, the identity information collection module is started. The user's identity information, such as fingerprint, facial image, ID card, QR code, etc., is collected. The collection method can be selected according to the configuration and application scenario of the preset local verification terminal. The collected original identity information is pre-processed, such as image optimization, feature extraction, data format conversion, etc.
[0061] Furthermore, the processed data is encrypted to ensure the security of data transmission and storage. The comparison algorithm may include fingerprint comparison, facial recognition, QR code scanning, etc. to ensure the accuracy and rapid response of the comparison results. According to the comparison results, the identity verification results are generated. If the comparison is successful, the user's identity is confirmed; if the comparison fails, the user is prompted that the identity verification failed. The verification results include information such as the confirmation status of the user's identity, the verification time, and the verification location. Detailed information during the verification process, including the collected identity information, the comparison process, the verification results, etc., is recorded and stored in the local database for subsequent query and analysis. The verification results are fed back to the user, such as notifying the user of the identity verification results through a display screen, voice prompts, etc.
[0062] Based on the preset local verification terminal, identity verification is performed. Due to the fast local processing speed, the delay of data transmission and processing is reduced, and the response speed and overall efficiency of identity verification are improved. The local database stores the identity information collected and verified in advance, and the local comparison algorithm is used for verification to ensure the accuracy and reliability of identity verification and reduce the possibility of misjudgment and missed judgment. Through the fast and accurate identity verification process, the user waiting time is reduced and the user experience is improved, especially during peak hours, which can effectively avoid queuing and congestion. Based on the local verification terminal, identity verification is performed to reduce the dependence on network connection and external systems. Even in the case of unstable or disconnected network, identity verification can be completed independently, which improves the independence and security of the system. By recording and storing the detailed information of each identity verification, reliable data support can be provided for subsequent auditing, analysis and troubleshooting, and the maintainability and traceability of the system can be improved. By performing identity verification based on the preset local verification terminal when the operation status is normal, the efficiency and accuracy of identity verification can be significantly improved, the user experience can be improved, the independence and security of the system can be enhanced, and reliable data recording support can be provided.
[0063] S3: If the operating status is abnormal, identity verification is performed based on a preset cloud backup verification platform.
[0064] It should be noted that abnormal operation status refers to hardware or software failure of the preset local verification terminal, which causes it to be unable to operate normally or provide identity verification services. This may include equipment damage, system crash, network connection interruption, etc. The preset cloud backup verification platform is a pre-set system deployed in the cloud to provide identity verification services when the local verification terminal has an abnormality. The platform has high availability and scalability and can handle a large number of concurrent verification requests.
[0065] Specifically, the monitoring module monitors the operating status of the preset local verification terminal in real time. When an abnormal situation is detected (such as equipment failure, system crash), the switching mechanism is triggered immediately. The switching mechanism redirects the verification request from the local terminal to the preset cloud-based backup verification platform to ensure that the identity verification service is not interrupted. When an abnormality occurs in the local terminal, the user's identity information is still collected by local devices (such as scanners and cameras). The collected identity information is transmitted to the cloud-based backup verification platform through a secure encrypted channel to ensure the security and integrity of data transmission. After receiving the encrypted identity information, the cloud-based backup verification platform performs data decryption and preprocessing, including image optimization, feature extraction, data format conversion, etc. The processed data is stored in a temporary cloud database in preparation for identity comparison.
[0066] Furthermore, the cloud-based backup verification platform compares the processed identity information with the identity information stored in the cloud database. The comparison algorithm is the same as that of the local verification terminal to ensure consistency and accuracy. Based on the comparison results, an identity verification result is generated. If the comparison is successful, the user's identity is confirmed; if the comparison fails, the user is prompted that the identity authentication has failed. The identity verification result is fed back to the local terminal through a secure channel, and the user is notified in an appropriate manner (such as a display screen, voice prompt). The cloud-based backup verification platform records the verification process and results, including the collected identity information, comparison process, verification results, etc., and stores this data in the cloud database for subsequent query and analysis.
[0067] When an abnormality occurs in the local verification terminal, it will immediately switch to the cloud backup verification platform to ensure that the identity verification service is not interrupted. This design greatly improves the reliability of the system and service continuity. As a redundant system, the cloud backup verification platform can provide backup services when the local terminal fails, enhance the system's fault tolerance, and reduce the risk of service interruption caused by single point failures. The cloud backup verification platform has high scalability and can dynamically adjust resource allocation according to the load of actual verification requests to achieve automatic expansion and contraction, effectively cope with peak traffic, reduce costs, and improve identity verification efficiency. Identity information is transmitted through encrypted channels to ensure that data is not tampered with or leaked during transmission, ensuring data security and integrity. The cloud backup verification platform strictly manages and protects data to prevent unauthorized access and data leakage. Record and store detailed information of each identity verification, including collected identity information, comparison process, and verification results, etc., to provide reliable data support for subsequent audits, analysis, and troubleshooting. By switching to the preset cloud backup verification platform for identity verification when the preset local verification terminal operates abnormally, the reliability and continuity of the system can be significantly improved, the system's fault tolerance and scalability can be enhanced, the security and integrity of the data can be ensured, and reliable data recording and audit support can be provided.
[0068] This embodiment monitors the operating status of the preset local verification terminal in real time; if the operating status is normal, identity verification is performed based on the preset local verification terminal; if the operating status is abnormal, identity verification is performed based on the preset cloud backup verification platform. This embodiment ensures the rapid identification and processing of system abnormalities through real-time monitoring, and the seamless switching during abnormalities ensures the continuity of the identity verification service, avoiding interruptions caused by local failures. By monitoring the operating status of the preset local verification terminal in real time and switching to the preset cloud backup verification platform under abnormal circumstances, the stability and efficiency of identity verification are improved.
[0069] Based on the above first embodiment, a second embodiment of the identity verification method of this application is proposed. Figure 2 , Figure 2 This is a schematic diagram of a sub-process in the second embodiment of the identity verification method of this application.
[0070] like Figure 2 As shown, in this embodiment, step S1 includes:
[0071] S11: Acquire the physical status data and software operation data of the preset local verification terminal in real time;
[0072] S12: Integrate the physical state data with the software operation data to obtain integrated data;
[0073] S13: comparing the integrated data with preset standard operation data;
[0074] S14: Determine the operating status of the preset local verification terminal according to the comparison result.
[0075] It should be noted that physical status data refers to the hardware status information of the preset local verification terminal, such as temperature, voltage, network connection status, etc. Software operation data refers to the software operation status information of the preset local verification terminal, such as CPU usage, memory usage, key process status, etc. Integrated data is the comprehensive information obtained after comprehensive processing of physical status data and software operation data. Preset standard operation data refers to the data standard values of the physical status and software operation status of the preset local verification terminal under normal circumstances. The comparison result refers to the analysis result obtained by comparing the integrated data with the preset standard operation data, which is used to determine whether the current operation status is normal.
[0076] Specifically, the physical status data of the preset local verification terminal is collected in real time through hardware sensors (such as temperature sensors, voltage sensors, and network connection sensors). These sensors continuously monitor the physical status of the device and transmit the data to the monitoring system in real time. The software operation data of the preset local verification terminal is collected in real time through software monitoring tools (such as system resource monitoring and log monitoring). These tools monitor the system's CPU usage, memory usage, key process status, etc., and record and transmit the data in real time. The collected physical status data and software operation data are integrated to form unified integrated data. The integration process includes data cleaning, format conversion, time synchronization, etc. to ensure the accuracy and consistency of the data. Integrated data usually includes multi-dimensional information, such as timestamps, sensor data, system resource usage, etc., to facilitate subsequent analysis and comparison.
[0077] Furthermore, the integrated data is compared with the preset standard operating data. The preset standard operating data is a benchmark value set based on the empirical data or industry standards when the system is operating normally, including the normal range and threshold of each parameter. The comparison process includes checking the differences between the integrated data and the standard operating data item by item, and analyzing whether any parameters exceed the normal range or reach the preset threshold. Based on the comparison results, the operating status of the preset local verification terminal is determined. If the integrated data is consistent with the standard operating data or within the normal range, the system is judged to be operating normally; if any parameter exceeds the normal range or reaches the preset threshold, the system is judged to be operating abnormally. The comparison results can be further refined, such as minor abnormalities, serious abnormalities, etc., and different processing measures are triggered according to the type and severity of the abnormality.
[0078] By acquiring and integrating physical status data and software operation data in real time, the operation status of the preset local verification terminal can be fully understood, and the system can be accurately judged whether it is operating normally. The data comparison process is strictly carried out in accordance with the preset standard operation data to ensure the reliability and accuracy of the test results. Real-time monitoring and comparison can quickly discover abnormal conditions in system operation, such as hardware failure, system resource overload, etc., and trigger alarms and processing mechanisms in time to avoid further deterioration of abnormal conditions. According to the type and severity of the abnormality, take corresponding processing measures, such as adjusting system configuration, restarting equipment, switching to the cloud backup verification platform, etc., to ensure the high availability of the system. Through the comparison results, potential problems in system operation can be identified, preventive maintenance can be carried out in advance, and the probability of sudden failures can be reduced. Real-time data monitoring and integrated comparison help system managers to fully understand the operating status of the equipment, optimize resource allocation, and improve the operating efficiency and stability of the system. Accurate and timely fault detection and processing mechanisms ensure the stable and efficient operation of the system, reduce delays and inconveniences caused by system failures during identity verification, and improve user experience and satisfaction. Real-time monitoring and integrated comparison data provide a reliable basis for system optimization, continuously improve and optimize system performance, and ensure the stability and efficiency of identity verification services. By acquiring the physical status data and software operation data of the preset local verification terminal in real time, and integrating and comparing them, the accuracy and timeliness of fault detection can be significantly improved, system maintenance and management can be optimized, and user experience and system stability can be enhanced.
[0079] Based on the first embodiment above, in this embodiment, before step S1, the following is further included:
[0080] S1a: When data changes occur on the preset local verification terminal or the preset cloud backup verification platform, a synchronization event is triggered;
[0081] S1b: Based on the changed data of the synchronization event, synchronize the data between the preset local verification terminal and the preset cloud backup verification platform.
[0082] It should be noted that data changes refer to changes such as updates, modifications, and deletions of data in the preset local verification terminal or the preset cloud backup verification platform. Synchronization events refer to events triggered by data changes that are used to start the data synchronization process. Changed data refers to the specific data content that needs to be synchronized due to data changes, including updated data, newly added data, and deleted data.
[0083] Specifically, a data change monitoring module is deployed in the preset local verification terminal and the preset cloud backup verification platform. This module monitors data changes in the system in real time. When data changes are detected (such as database record updates, file modifications, etc.), the specific change content and timestamp are recorded. After detecting data changes, the data change monitoring module immediately triggers a synchronization event. A synchronization event is a signal that notifies the system to start the data synchronization process. The synchronization event contains relevant information about the changed data, such as the specific content of the change, the time of the change, and the type of data changed (update, add, delete).
[0084] Further, according to the triggered synchronization event, the system prepares the change data that needs to be synchronized. The change data may be stored in a temporary buffer, waiting for synchronization processing. For different types of change data (update, addition, deletion), the system processes them separately to ensure the consistency and integrity of the data. During the synchronization process, in order to ensure the security of data transmission, the system uses a preset encryption transmission algorithm to encrypt the change data. The encryption algorithm can be symmetric encryption or asymmetric encryption, depending on specific needs. The encrypted change data is transmitted to the target end (local verification terminal or cloud backup verification platform) through a secure channel. The transmission channel can be a secure network connection, such as VPN or SSL. After the target end receives the encrypted change data, it uses the corresponding decryption algorithm to decrypt the data and restore the original change data. According to the type of change data (update, addition, deletion), the corresponding data operation is performed on the target end to ensure the data consistency between the local verification terminal and the cloud backup verification platform.
[0085] By real-time monitoring of data changes and triggering synchronization events, the data between the preset local verification terminal and the preset cloud backup verification platform is ensured to be consistent, avoiding identity verification errors caused by data asynchronization. Encrypted transmission is used during data synchronization to ensure the integrity of the transmitted data and prevent data from being tampered with or lost during transmission. Real-time data synchronization ensures that the system can obtain the latest identity verification data at any time, improving the reliability of the system. Even if the local verification terminal is abnormal, the cloud backup verification platform can immediately take over and use the latest synchronized data for identity verification to avoid service interruption. Encrypted transmission is used during data synchronization to ensure the security of data during transmission and prevent data from being intercepted or leaked. The encrypted transmission and decryption processing process ensures the privacy and security of data and complies with data protection regulations and standards. The data synchronization mechanism allows the system to be flexibly expanded. Whether adding new local verification terminals or cloud backup verification platforms, data can be quickly synchronized to ensure that new devices can be put into use immediately. This flexible expansion capability helps the system cope with peak traffic demand, dynamically adjust resource allocation, and improve the efficiency of identity verification. The data synchronization mechanism improves the fault tolerance of the system. When a local verification terminal or cloud backup verification platform fails, the system can quickly switch and use the latest synchronized data to continue to provide identity verification services, reducing the risk of service interruption due to single point failures. By real-time monitoring of data changes and triggering synchronization events, synchronizing data between the preset local verification terminal and the preset cloud backup verification platform, data consistency and integrity can be guaranteed, improving system reliability and data transmission security, and enhancing system scalability and fault tolerance.
[0086] Based on the above first embodiment, in this embodiment, step S1b includes:
[0087] S1b1: if the current network state and / or the current load state exceeds a preset network load threshold, dividing the change data into multiple batches;
[0088] S1b2: Encrypt each batch of changed data based on a preset encryption transmission algorithm to obtain multiple encrypted transmission data;
[0089] S1b3: Synchronize the multiple encrypted transmission data in batches to the preset local verification terminal or the preset cloud backup verification platform.
[0090] It should be noted that the network status refers to the quality and stability of the system's current network connection, including indicators such as network bandwidth, latency, and packet loss rate. The load status refers to the current resource usage of the system, including CPU usage, memory usage, disk I / O, etc. The preset network load threshold refers to the critical value of the network and load status pre-set based on experience or standards. When the network or load status exceeds the threshold, the corresponding response measures are initiated. Encrypted transmission data refers to the secure transmission data generated after the change data is encrypted.
[0091] Specifically, the current network status and load status are monitored in real time to obtain key indicators such as network bandwidth, latency, packet loss rate, CPU usage, memory usage, etc. The monitored network status and load status are compared with the preset network load threshold to determine whether the threshold is exceeded. When it is detected that the current network status and / or load status exceeds the preset network load threshold, the system will divide the change data into multiple batches to reduce the amount of data transmitted in a single time and avoid network congestion and system overload. The batch processing strategy can be adjusted according to the specific situation, such as batching according to the amount of data, importance, time sequence, etc.
[0092] Furthermore, based on a preset encryption transmission algorithm, each batch of change data is encrypted to generate multiple encrypted transmission data. The encryption algorithm can be symmetric encryption (such as AES) or asymmetric encryption (such as RSA) to ensure the security and privacy of data transmission. The encrypted data includes the content, timestamp, batch information, etc. of the change data to ensure data integrity and traceability. The encrypted batches of data are transmitted in batches through the network to the preset local verification terminal or the preset cloud backup verification platform. During each batch transmission process, the system will dynamically adjust the transmission rate and the size of the transmission batch according to the current network and load status to ensure the stability and efficiency of data transmission. After the target end receives the encrypted transmission data, it uses the corresponding decryption algorithm to decrypt the data and restore the original change data. According to the decrypted change data, the target end performs corresponding data update operations to ensure data consistency between the preset local verification terminal and the preset cloud backup verification platform.
[0093] By dividing the changed data into multiple batches for transmission, the amount of data transmitted in a single transmission can be effectively reduced, network congestion can be avoided, and the stability and efficiency of data transmission can be improved. The transmission batches and rates are adjusted dynamically to ensure that data synchronization can be completed efficiently under different network conditions, thereby improving the adaptability of the system. The encrypted transmission algorithm encrypts the changed data to ensure the security of the data during transmission and prevent the data from being intercepted, tampered with or leaked. Encrypted data transmission complies with data protection regulations and security standards, and enhances the security and reliability of the system. The batch data synchronization mechanism enables the system to flexibly respond to different network conditions and load conditions, avoiding transmission failures and data loss caused by network or system overload. The system can still operate efficiently under high load and high network pressure, which improves the flexibility and scalability of the system. The batch transmission and encryption processing mechanism improves the fault tolerance of the system. During the data transmission process, even if a batch fails to be transmitted, the system can retransmit to ensure the integrity and consistency of the data. The data decryption and application process on the target end ensures that the changed data can be updated correctly, avoiding data asynchrony and identity verification errors caused by transmission problems. By optimizing the data transmission process and ensuring the security and stability of data synchronization, the system can provide faster and more reliable identity verification services, improving user experience and satisfaction. The batch synchronization data mechanism reduces identity verification delays and failures caused by system overload and network congestion, ensuring that users can complete identity verification in a timely manner. By detecting network and load status, processing change data in batches, encrypting transmission, and synchronizing data in batches, it can effectively reduce network load, improve transmission efficiency, ensure the security of data transmission, improve system flexibility and scalability, enhance system fault tolerance, and ultimately improve user experience and system stability.
[0094] This embodiment monitors the operating status of the preset local verification terminal in real time; if the operating status is normal, identity verification is performed based on the preset local verification terminal; if the operating status is abnormal, identity verification is performed based on the preset cloud backup verification platform. This embodiment ensures the rapid identification and processing of system abnormalities through real-time monitoring, and the seamless switching during abnormalities ensures the continuity of the identity verification service, avoiding interruptions caused by local failures. By monitoring the operating status of the preset local verification terminal in real time and switching to the preset cloud backup verification platform under abnormal circumstances, the stability and efficiency of identity verification are improved.
[0095] Based on the above second embodiment, a third embodiment of the identity verification method of this application is proposed. Figure 3 , Figure 3 This is a schematic diagram of a sub-process in the third embodiment of the identity verification method of this application.
[0096] like Figure 3 As shown, in this embodiment, after step S3, the following is further included:
[0097] S3a: obtaining the number of verification requests of the preset cloud backup verification platform at every preset cloud verification request cycle;
[0098] S3b: if the number of verification requests exceeds a preset expansion threshold, based on the difference between the number of verification requests and the preset expansion threshold, increase the computing nodes and storage capacity of the preset cloud backup verification platform;
[0099] S3c: If the number of verification requests is lower than a preset reduction threshold, based on the difference between the preset reduction threshold and the number of verification requests, the cloud resources of the preset cloud backup verification platform are released.
[0100] It should be noted that the preset cloud verification request cycle refers to a preset time interval, which is used to regularly obtain the number of verification requests from the cloud standby verification platform. The number of verification requests refers to the number of identity verification requests received by the cloud standby verification platform within the preset time period. The preset expansion threshold is a preset value. When the number of verification requests exceeds this value, the system will perform resource expansion operations. The preset reduction threshold is also a preset value. When the number of verification requests is lower than this value, the system will perform resource reduction operations. Computing node refers to the computing resource unit in the cloud standby verification platform, which is used to process identity verification requests. Storage capacity refers to the data storage space in the cloud standby verification platform, which is used to store data related to identity verification. Cloud resources refer to resources such as computing nodes and storage capacity in the cloud standby verification platform.
[0101] Specifically, the number of identity verification requests received by the current cloud standby verification platform is automatically obtained every preset cloud verification request cycle (such as every minute or every hour). The method for obtaining the number of verification requests may be to call the monitoring interface of the cloud platform or read the system log to ensure the real-time and accuracy of the data. The number of verification requests obtained is compared with the preset expansion threshold. If the number of verification requests exceeds the expansion threshold, the system will calculate the difference between the number of requests and the expansion threshold. According to the difference, the number of computing nodes and storage capacity that need to be added is determined to ensure that a large number of verification requests during peak hours can be processed. According to the difference between the number of verification requests and the preset expansion threshold, the cloud platform is automatically requested to increase computing nodes and storage capacity. The increased computing nodes are used to share the additional computing load, and the increased storage capacity is used to store more verification data to ensure that the system can still operate stably under high load. The resource expansion process can use the automatic expansion function provided by the cloud service provider (such as AWS AutoScaling, Azure Scale Sets) to achieve fast and flexible resource adjustment.
[0102] Furthermore, the number of verification requests obtained is compared with the preset reduction threshold. If the number of verification requests is lower than the reduction threshold, the system will calculate the difference between the reduction threshold and the number of requests. Based on the difference, the number of computing nodes and storage capacity that need to be released is determined to ensure resource utilization and cost-effectiveness. Based on the difference between the number of verification requests and the preset reduction threshold, the system automatically requests the cloud platform to release excess computing nodes and storage capacity. The released computing nodes and storage capacity can be used for other applications or returned to the cloud service provider to reduce the operating costs of the system. The resource reduction process can also use the automatic reduction function provided by the cloud service provider to achieve flexible resource management.
[0103] By regularly obtaining the number of verification requests and dynamically adjusting cloud resources, the system can quickly respond to changing load demands and ensure stable identity verification services during peak hours. Automatic expansion and reduction of resources enables the system to flexibly respond to different business needs and improve the elasticity and flexibility of the system. The resource expansion and reduction mechanism ensures that the system can provide sufficient computing and storage resources when the load is high, and release excess resources when the load is low to avoid resource waste. Optimized resource utilization not only improves system performance, but also reduces operating costs and achieves efficient resource management. By dynamically adjusting cloud resources, the system can increase resources when needed and reduce resources when not needed, avoiding unnecessary resource occupation and expense expenditure. Reasonable resource management and optimized resource utilization help enterprises effectively control operating costs and improve economic benefits. Automatic expansion of computing nodes and storage capacity ensures that the system can run stably when processing a large number of verification requests during peak hours, avoiding service interruptions or performance degradation due to insufficient resources. The dynamic resource adjustment mechanism improves the reliability and stability of the system and ensures user experience. The system can quickly respond to user requests and provide fast and stable identity verification services both during peak and off-peak periods, improving user experience and satisfaction. The dynamic resource adjustment mechanism ensures that users will not encounter service delays or interruptions when using the system, which enhances users' trust and reliance on the system. By regularly obtaining the number of cloud verification requests and dynamically adjusting cloud resources according to preset thresholds, the elasticity and flexibility of the system can be effectively improved, resource utilization can be optimized, system operating costs can be reduced, system reliability and stability can be enhanced, and user satisfaction can be ultimately improved.
[0104] Based on the above second embodiment, in this embodiment, after step S1b3, the following is further included:
[0105] S1b3a: Based on the preset verification time, the data of the preset local verification terminal is compared with the data of the preset cloud backup verification platform to determine the difference data;
[0106] S1b3b: Encrypting the distinguishing data based on the preset encryption transmission algorithm to obtain encrypted distinguishing data;
[0107] S1b3c: Transmit the encrypted distinguishing data to the corresponding preset local verification terminal or the preset cloud backup verification platform.
[0108] It should be noted that the preset verification time is a time interval preset by the system, which is used to regularly trigger the data comparison operation between the local verification terminal and the cloud backup verification platform. The difference data refers to the data difference found during the data comparison between the local verification terminal and the cloud backup verification platform. The preset encryption transmission algorithm is an algorithm preset by the system for encrypting and transmitting data to ensure the security and integrity of the data during transmission. The encrypted difference data is the data difference after comparison and encryption, which is used for synchronization between the local verification terminal and the cloud backup verification platform.
[0109] Specifically, according to the preset verification time, the data comparison operation between the local verification terminal and the cloud backup verification platform is triggered regularly. By comparing the corresponding data sets of the local verification terminal and the cloud backup verification platform, the difference data between the two, that is, the distinguishing data, is identified.
[0110] Furthermore, a preset encryption transmission algorithm is used to encrypt the identified difference data to generate encrypted difference data. The encryption transmission algorithm can adopt common symmetric or asymmetric encryption methods, such as AES, RSA, etc., to ensure the security and tamper-proofness during data transmission. The encrypted difference data is transmitted to the corresponding local verification terminal or cloud-based backup verification platform for data synchronization. The transmission process can be carried out through a secure network protocol (such as HTTPS, TLS) to further ensure the security and integrity of the data. After receiving the encrypted difference data, the local verification terminal or the cloud-based backup verification platform performs a decryption operation, updates its own data, and ensures data consistency.
[0111] By comparing and synchronizing data regularly, the data of the local verification terminal and the cloud backup verification platform are ensured to be consistent, avoiding verification errors or service interruptions caused by inconsistent data. The transmission process of encrypted difference data ensures the integrity and security of data during transmission and prevents data leakage or tampering. The preset encryption transmission algorithm encrypts the difference data to effectively prevent data leakage and tampering during transmission and improve the security of the system. The use of secure network protocols for data transmission further enhances the security of the data transmission process and ensures that the system is protected from network attacks and data theft. By comparing the data of the local verification terminal and the cloud backup verification platform, only the difference data is transmitted, which reduces the amount of data transmission and improves the efficiency of data synchronization. The regular verification and synchronization mechanism ensures that the data of the system at different time points can be consistent, avoiding repeated and redundant operations during data synchronization. Regular verification and synchronization operations ensure that the data of the system at different time points can be consistent, improving the stability and reliability of the system. In case of emergencies, the system can quickly synchronize the latest data to ensure the continuity and stability of services. By comparing and transmitting difference data, the waste of resources caused by full data synchronization is avoided and the utilization rate of system resources is improved. The encryption and transmission operations during data synchronization use optimized algorithms and network protocols, which further improves the resource utilization efficiency of the system. By regularly comparing and synchronizing the data between the local verification terminal and the cloud backup verification platform, and encrypting and transmitting the difference data, it can effectively improve the consistency and integrity of the data, enhance the security of the system, improve the efficiency of data synchronization, ensure the stability and reliability of the system, and optimize resource utilization.
[0112] Based on the above second embodiment, in this embodiment, after step S3, the following is further included:
[0113] S3A: Based on preset industry standards, a standardized API interface is defined in the preset cloud backup verification platform, and an API usage instruction document is generated.
[0114] It should be noted that preset industry standards refer to technical and operational standards that are generally recognized and adopted in a specific industry to ensure the compatibility and consistency of the system in the industry. The preset cloud backup verification platform refers to a cloud platform that provides backup identity verification functions when an abnormality occurs in the local verification terminal. Standardized API interface refers to an application programming interface (API) that complies with preset industry standards and is used to achieve interconnection between the system and external systems. API usage instruction document refers to a document that describes in detail the functions, usage methods, parameters and other information of the standardized API interface to help developers correctly integrate and use the API.
[0115] Specifically, according to the characteristics and requirements of the industry in which the system is located, select or formulate standards that meet industry specifications. Common industry standards include IATA's aviation industry standards and HL7's medical industry standards. These standards usually define specifications in terms of data formats, communication protocols, security requirements, etc. to ensure the compatibility and interoperability of the system within the industry. In the preset cloud backup verification platform, define the API interface according to the preset industry standards.
[0116] Furthermore, the API interface should include identity verification related functions, such as identity authentication, data query, logging, etc. The design of the API interface should follow the RESTful architecture principles and adopt common HTTP methods (GET, POST, PUT, DELETE) to ensure the ease of use and consistency of the interface. Determine the input parameters, output parameters and error handling mechanism of the API interface to ensure that the API can correctly receive requests, return results and handle abnormal situations. Write a detailed API usage instruction document, including the API's functional description, calling method, request and response format, sample code, etc. The instruction document should be clear and easy to understand to help developers quickly understand and correctly use the API interface. The content may include API endpoints, request methods, request parameters, response examples, error codes and handling methods, etc. Provide sample code and usage guides to help developers quickly integrate and test the API interface to ensure the correct use and functional implementation of the API.
[0117] Define API interfaces that meet preset industry standards to ensure that the system can smoothly connect with other systems in the industry and enhance the interoperability and compatibility of the system. The use of standardized API interfaces enables the system to achieve seamless integration with third-party systems, reducing integration costs and development time. Detailed API usage instructions help developers quickly understand and use API interfaces, reducing difficulties and problems that may be encountered during the development process. Sample code and usage guides provide practical operation references to help developers quickly integrate and test API functions, improving development efficiency and quality. The definition of standardized API interfaces makes the system have good scalability, and can add new functions or integrate with new systems at any time according to needs. The flexibility and versatility of API interfaces ensure that the system can adapt to changing business needs and technical environments and maintain long-term availability and competitiveness. Preset industry standards usually include requirements for data security and privacy protection, ensuring that API interfaces comply with security specifications during data transmission and processing. The use of standardized API interfaces reduces the risk of data transmission between different systems, ensures data consistency and integrity, and improves the security and reliability of the system. By defining standardized API interfaces and generating usage instructions, the complexity and time cost of integrating the system with third-party systems are reduced. Developers can quickly understand and correctly use API interfaces, avoid repeated development and erroneous operations, and reduce the additional costs that may be incurred during the integration process. By defining standardized API interfaces that meet preset industry standards in the preset cloud backup verification platform and generating detailed API usage instructions, it can effectively improve the interoperability and scalability of the system, optimize the developer experience, enhance the data security and consistency of the system, reduce the cost of system integration, and improve the overall competitiveness and availability of the system.
[0118] This embodiment monitors the operating status of the preset local verification terminal in real time; if the operating status is normal, identity verification is performed based on the preset local verification terminal; if the operating status is abnormal, identity verification is performed based on the preset cloud backup verification platform. This embodiment ensures the rapid identification and processing of system abnormalities through real-time monitoring, and the seamless switching during abnormalities ensures the continuity of the identity verification service, avoiding interruptions caused by local failures. By monitoring the operating status of the preset local verification terminal in real time and switching to the preset cloud backup verification platform under abnormal circumstances, the stability and efficiency of identity verification are improved.
[0119] The present application also provides an identity verification device, please refer to Figure 4 , Figure 4 This is a schematic diagram of the module structure of the identity verification device according to an embodiment of the present application, wherein the identity verification device comprises:
[0120] Monitoring module 401, used to monitor the operating status of the preset local verification terminal in real time;
[0121] A local verification module 402, configured to perform identity verification based on the preset local verification terminal if the operating status is normal;
[0122] The cloud verification module 403 is used to perform identity verification based on a preset cloud backup verification platform if the operating status is abnormal.
[0123] The identity verification device provided in the embodiment of the present application adopts the identity verification method in the above embodiment, which can solve the technical problem of how to improve the stability and efficiency of identity verification. Compared with the prior art, the beneficial effects of the identity verification device provided in the embodiment of the present application are the same as the beneficial effects of the identity verification method provided in the above embodiment, and the other technical features in the identity verification device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0124] The present application provides an identity verification device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the identity verification method in the above-mentioned embodiment.
[0125] Reference below Figure 5 , which shows a schematic diagram of the structure of an identity verification device suitable for implementing the embodiment of the present application. The identity verification device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The identity verification device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0126] like Figure 5As shown, the identity verification device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the identity verification device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the identity verification device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows an identity verification device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided alternatively.
[0127] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0128] The identity verification device provided by this application adopts the identity verification method in the above embodiment, which can solve the technical problem of how to improve the stability and efficiency of identity verification. Compared with the prior art, the beneficial effects of the identity verification device provided by this application are the same as the beneficial effects of the identity verification method provided by the above embodiment, and the other technical features in the identity verification device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0129] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0130] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0131] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the identity verification method in the above-mentioned embodiment.
[0132] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), 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 embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0133] The computer-readable storage medium may be included in the identity verification device; or may exist independently without being assembled into the identity verification device.
[0134] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the identity verification device, the identity verification device: monitors the operating status of the preset local verification terminal in real time; if the operating status is normal, performs identity verification based on the preset local verification terminal; if the operating status is abnormal, performs identity verification based on the preset cloud backup verification platform. The computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof. The above-mentioned programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional procedural programming languages—such as "C" language or similar programming languages. The program code can be executed completely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or it can be connected to an external computer (for example, through the Internet using an Internet service provider).
[0135] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0136] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0137] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned identity verification method, and can solve the technical problem of how to improve the stability and efficiency of identity verification. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the identity verification method provided in the above-mentioned embodiment, and will not be repeated here.
[0138] An embodiment of the present application provides a computer program product, including a computer program, which implements the steps of the above-mentioned identity verification method when executed by a processor.
[0139] The computer program product provided in this application can solve the technical problem of how to improve the stability and efficiency of identity verification. Compared with the prior art, the beneficial effects of the computer program product provided in the embodiment of this application are the same as the beneficial effects of the identity verification method provided in the above embodiment, which will not be repeated here.
[0140] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.
Claims
1. An identity verification method, characterized in that: The method comprises: Real-time monitoring of the operating status of the preset local verification terminal; If the operating status is normal, identity verification is performed based on the preset local verification terminal; If the operating status is abnormal, identity verification is performed based on the preset cloud-based backup verification platform.
2. The method according to claim 1, characterized in that The step of real-time monitoring the operating status of the preset local verification terminal includes: Acquire the physical status data and software operation data of the preset local verification terminal in real time; Integrate the physical state data with the software operation data to obtain integrated data; comparing the integrated data with preset standard operating data; According to the comparison result, the operating status of the preset local verification terminal is determined.
3. The method according to claim 1, characterized in that Before the step of real-time monitoring the running status of the preset local verification terminal, the method further includes: When data changes occur on the preset local verification terminal or the preset cloud backup verification platform, a synchronization event is triggered; Based on the changed data of the synchronization event, the data between the preset local verification terminal and the preset cloud backup verification platform are synchronized.
4. The method according to claim 3, characterized in that The step of synchronizing data between the preset local verification terminal and the preset cloud backup verification platform based on the changed data of the synchronization event includes: If the current network state and / or the current load state exceeds a preset network load threshold, dividing the change data into multiple batches; Based on a preset encryption transmission algorithm, each batch of change data is encrypted to obtain multiple encrypted transmission data; The multiple encrypted transmission data are synchronized in batches to the preset local verification terminal or the preset cloud backup verification platform.
5. The method according to claim 4, characterized in that After the step of synchronizing the plurality of encrypted transmission data to the preset local verification terminal or the preset cloud backup verification platform in batches, the method further includes: Based on a preset verification time, the data of the preset local verification terminal is compared with the data of the preset cloud backup verification platform to determine the difference data; Encrypting the distinguishing data based on the preset encryption transmission algorithm to obtain encrypted distinguishing data; The encrypted distinguishing data is transmitted to the corresponding preset local verification terminal or the preset cloud backup verification platform.
6. The method according to claim 1, characterized in that The method further comprises: At each preset cloud verification request period, obtaining the number of verification requests of the preset cloud backup verification platform; If the number of verification requests exceeds a preset expansion threshold, based on the difference between the number of verification requests and the preset expansion threshold, increase the computing nodes and storage capacity of the preset cloud backup verification platform; If the number of verification requests is lower than a preset reduction threshold, based on the difference between the preset reduction threshold and the number of verification requests, the cloud resources of the preset cloud backup verification platform are released.
7. The method according to claim 1, characterized in that The method further comprises: Based on preset industry standards, a standardized API interface is defined in the preset cloud-based backup verification platform, and an API usage instruction document is generated.
8. An identity verification device, characterized in that: The device comprises: A monitoring module is used to monitor the operating status of the preset local verification terminal in real time; A local verification module, configured to perform identity verification based on the preset local verification terminal if the operating state is normal; The cloud verification module is used to perform identity verification based on a preset cloud backup verification platform if the operating status is abnormal.
9. A computer device, characterized in that: The device comprises: a memory, a processor, and an identity verification program stored in the memory and executable on the processor, wherein the identity verification program is configured to implement the steps of the identity verification method according to any one of claims 1 to 6.
10. A storage medium, characterized in that: The storage medium stores an identity verification program, which, when executed by a processor, implements the steps of the identity verification method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Scenic spot ticketing system
CN112804344A
Disaster recovery method and device for multi-node high-availability cluster
CN113114777A
Gate ticket checking method and system
CN113516786A
Data disaster recovery method, system and device and storage medium
CN115277727A
Off-line guarantee method, device and equipment for smart catering system and storage medium
CN117455726A