Passive lock unlocking and locking system and unlocking method thereof

Passive lock switch lock system achieves safe and reliable lock unlocking in a signal environment through wireless connection and authentication, solving the security and management inconvenience of traditional locks and providing a comprehensive intelligent control solution.

CN120564294APending Publication Date: 2025-08-29WUHAN BAISHIDA INTELLIGENT TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510720879.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-30
Publication Date
2025-08-29

AI Technical Summary

Technical Problem

Traditional physical locks are low in security, inconvenient in management, and cannot achieve remote or intelligent control in a network-free environment.

Method used

Passive lock switch lock system is adopted, including passive keys, passive locks, mobile terminals and background management systems. Through wireless connection, face recognition, fingerprint recognition and password verification, lock unlocking is opened in a signal environment, and an unlocking code is applied in a signal environment and a countdown function is set in advance, combining a multi-variable public key cryptography algorithm to ensure data security.

Benefits of technology

Safe and reliable unlocking operation can be achieved in the presence or absence of signal, improving the safety and applicability of the lock, and supporting intelligent control in various scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120564294A_ABST
    Figure CN120564294A_ABST
Patent Text Reader

Abstract

The invention provides a passive lock unlocking and locking system and an unlocking method thereof. The unlocking system comprises a passive key, a passive lock, a mobile terminal and a station management system. The mobile terminal interacts with the passive key, the background management system authorizes the mobile terminal, and the mobile terminal opens the passive lock through the passive key; and after the passive key executes the unlocking command, the locking command of the passive lock can be executed. A solution is provided for unlocking scenes in a signal environment and a signal-free environment. Through the technical means, the unlocking problem in different environments is effectively solved, the safety, reliability and applicability of an unlocking system are improved, and comprehensive technical support is provided for passive lock application in various scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of passive lock unlocking, and in particular to a passive lock switch system and an unlocking method thereof. Background Art

[0002] The passive lock and switch system was developed primarily to address the low security, inconvenient management, and inability to remotely or intelligently control traditional physical locks without a network signal. Traditional locks typically rely on physical keys, which are not only prone to loss or duplication but also difficult to effectively monitor and manage in large numbers of locks. Furthermore, ensuring smooth unlocking becomes a challenge in specialized application scenarios, such as remote areas or underground facilities without mobile signal. Summary of the Invention

[0003] The main purpose of the present invention is to provide a passive lock switch locking system and unlocking method thereof, so as to solve the problems of low security, inconvenient management and inability to achieve remote or intelligent control of traditional physical locks in the absence of network signals.

[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is: a passive lock opening and closing lock system, the unlocking system includes a passive key, a passive lock, a mobile terminal and a station management system; The mobile terminal interacts with the passive key, the backend management system authorizes the mobile terminal, and the mobile terminal opens the passive lock through the passive key; The passive key can only execute the locking command of the passive lock after executing the unlocking command.

[0005] In the preferred embodiment, the passive key is provided with a key chip, a wireless connection module, a power supply, a circuit drive module and a switch lock button; The chip is used to store unlocking information, process unlocking data, and interact with passive locks and mobile terminals. The wireless connection module realizes wireless connection with the mobile terminal; The power supply provides power to the passive lock; The circuit driving module is electrically connected to the passive lock.

[0006] In the preferred embodiment, the passive lock includes a passive lock chip, a circuit drive module and an electric switch lock structure; The power supply and passive lock data are obtained by electrically connecting with the contacts of the passive key. The passive lock chip stores the geographical location information of the passive lock, and the geographical location information is transmitted to the mobile terminal and the station management system.

[0007] In the preferred embodiment, the method includes obtaining unlocking information through interaction between the passive key and the mobile terminal application, the passive key and the passive lock docking to transmit unlocking information, performing unlocking operations in a signal environment and a non-signal environment respectively, and the mobile terminal application recording the unlocking data and transmitting it to the background management system when there is a signal.

[0008] In the preferred embodiment, the step of locking the signal position switch includes: S1. The person who opens and closes the lock opens the mobile terminal and binds it to the passive key through the wireless connection module; The station management system transmits the lock and unlock data to the mobile terminal through the algorithm, and the mobile terminal sends the unlocking information and locking information to the key chip of the passive key. The lock and unlock information includes the user's face data, fingerprint data, or at least six-digit unlocking password entered by hand; S2. The passive key connects with the contacts on the passive lock through the contacts of the metal key. The passive lock is powered by the built-in power supply of the passive key, and the passive lock chip and circuit drive module inside the passive lock are powered; The passive lock chip of the passive lock is connected to the key chip of the passive key, and the data of the passive lock is transmitted to the key chip of the passive key; The key chip transmits the information of the passive lock to the mobile terminal; S3. The mobile terminal obtains its own positioning location and compares it with the geographical location stored in the passive lock chip in the passive lock; If the two are the same, proceed to the next step; if they are different, the lock cannot be opened; S4. The mobile terminal performs facial recognition, fingerprint recognition, or inputs a six-digit unlocking password to verify the unlocking person. If the person is verified to be the unlocking person, the unlocking code or locking code is transmitted to the passive key via the mobile terminal; The passive key transmits the unlocking data to the passive lock. The person who opens and closes the lock presses the unlock button or lock button of the passive key, and the circuit drive module inside the passive lock drives the lock switch structure to unlock or lock.

[0009] In the preferred solution, the step of unlocking at the no-signal position includes: A1. The locksmith applies for unlocking at a location with no signal on a mobile device. The application details the location of the passive lock and the fact that there is no signal at the location, making it impossible to unlock the lock online immediately. A2. The lock management system is connected to the mobile terminal. The mobile terminal performs facial recognition, fingerprint recognition, or inputs at least a six-digit unlocking password on the person who opens and closes the lock. The lock management system verifies the facial data, fingerprint data, or six-digit unlocking password collected by the mobile terminal through an algorithm. If it is verified that the operation is carried out by the user, the backend management system will issue a lock opening and closing code, which will be stored in the key chip of the passive key. The mobile terminal displays that the lock can be unlocked, and at the same time displays an icon of the lock button, with a countdown displayed in the icon; A3. After reaching the unlocking position, connect the passive key to the passive lock and power on the passive lock; Press the lock / unlock button on the passive key, and the circuit drive module inside the passive lock drives the unlocking structure and the locking structure to unlock or lock; A4. The mobile terminal records the number of times the lock is turned on and off and the time of turning the lock on and off; When the mobile terminal has a signal, the on / off lock time and the on / off lock times are transmitted to the station management system.

[0010] In the preferred solution, in the unlocking steps under a signal environment: Perform fuzzy hashing on the positioning location and the geographical location information stored by the passive lock, including: Quantify the positioning location and geographic location information to generate quantized positioning data and quantized geographic data. Use the locality-sensitive hashing algorithm to generate multiple hash values ​​for the quantized positioning data and quantized geographic data, forming a positioning hash value set and a geographic hash value set respectively. Calculate the Jaccard similarity of the two sets, determine whether the similarity reaches a preset threshold, and determine whether the locations match. If the similarity does not reach the threshold, the positions are determined to be mismatched and the lock / unlock operation cannot be performed.

[0011] In the preferred embodiment, the unlocking operation is performed in a signal-free environment, including: submitting an unlocking task application on a mobile terminal application, including the geographic location information of the passive lock, the station management system authenticates the applicant, generates an unlocking code and transmits it to the key chip storage, the mobile terminal application displays an unlocking button and a countdown function based on a leaky bucket current limiting algorithm, the passive key is docked with the passive lock in the unlocking position, the unlocking button or the locking button is pressed, and the passive key transmits the unlocking or locking code to the passive lock to drive the unlocking or locking.

[0012] In the preferred solution, when the mobile terminal regains the signal, the recorded unlocking time and unlocking times are encrypted using a multivariate public key cryptographic algorithm, and the encrypted data is then transmitted to the background management system for decryption. The decrypted data facilitates subsequent statistics and management.

[0013] In the preferred solution, the station management system performs identity verification on the applicant, including: The applicant's facial data, fingerprint data or input password is obtained through a mobile terminal application, and a convolutional neural network algorithm is used to extract features from the facial data to generate a facial feature vector. The cosine similarity between the facial feature vector and the registered feature vector is calculated. A detail point matching algorithm is used to generate a detail point set for the fingerprint data, and the matching score of the detail point set is calculated. The input password is compared with the registered password, and the comprehensive verification results are used to determine whether the identity is passed.

[0014] The present invention provides a passive lock switch lock system and an unlocking method thereof, and provides solutions for unlocking scenarios in signal and non-signal environments. In a signal environment, the present invention obtains unlocking information through the interaction between a mobile terminal and a passive key, and performs fuzzy hash processing to verify the unlocking position, combining face recognition, fingerprint recognition or password verification to ensure unlocking safety. In a non-signal environment, the present invention allows the application of unlocking tasks in advance, stores the unlocking code in the key chip, and sets a countdown function based on a leaky bucket current limiting algorithm to achieve offline unlocking. The present invention also uses a multivariate public key cryptographic algorithm to encrypt and transmit unlocking records to ensure data security. Through these technical means, the present invention effectively solves the unlocking problems in different environments, improves the security, reliability and applicability of the unlocking system, and provides comprehensive technical support for the application of passive locks in various scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The present invention will be further described below with reference to the accompanying drawings and examples: Figure 1 It is a flow chart of the passive lock opening and closing system of the present invention; Figure 2 This is a structural diagram of the passive key and passive lock of the present invention; In the figure: passive key 1; unlock button 101; lock button 102; passive lock 2; mobile terminal 3; station management system 4. DETAILED DESCRIPTION

[0016] Example 1 like Figure 1-2 As shown, a passive lock switch lock system, the unlocking system includes a passive key 1, a passive lock 2, a mobile terminal 3 and a station management system 4; The mobile terminal 3 interacts with the passive key, the background management system authorizes the mobile terminal 3, and the mobile terminal 3 opens the passive lock through the passive key; The passive key can only execute the locking command of the passive lock after executing the unlocking command.

[0017] In the preferred embodiment, the passive key 1 is provided with a key chip, a wireless connection module, a power supply, a circuit drive module and a switch lock button; The chip is used to store unlocking information, process unlocking data, and is responsible for data interaction with the passive lock 2 and the mobile terminal 3; The wireless connection module realizes wireless connection with the mobile terminal 3; The power supply provides power to the passive lock 2; The circuit driving module is electrically connected to the passive lock 2 .

[0018] In the preferred solution, the passive lock 2 package includes a passive lock chip, a circuit drive module and an electric switch lock structure; The passive lock 2 obtains power supply and data of the passive lock 2 by being electrically connected to the contacts of the passive key 1 , and the passive lock chip stores the geographical location information of the passive lock 2 , which is transmitted to the mobile terminal 3 and the station management system 4 .

[0019] In the preferred embodiment, the method includes obtaining unlocking information through interaction between the passive key 1 and the mobile terminal 3 application, the passive key 1 and the passive lock 2 docking to transmit unlocking information, performing unlocking operations in a signal environment and a non-signal environment respectively, and the mobile terminal 3 application recording the unlocking data and transmitting it to the background management system 4 when there is a signal.

[0020] Passive key 1 connects to the contacts on passive lock 2 through the metal key contacts, forming an electrical connection. Passive key 1's built-in power supply transmits power to passive lock 2 through the contact electrical connection, powering the internal circuits of passive lock 2. The passive lock chip inside passive lock 2 is activated by the power supply, and a data channel is established between the passive lock chip and the key chip of passive key 1. The key chip receives information transmitted by the passive lock chip of passive lock 2 through the data channel, including the lock's identity. Passive key 1 transmits the lock's identity to mobile terminal 3 via a wireless connection module, which receives and processes the data. Mobile terminal 3 verifies whether the lock's identity matches the mobile terminal's through a backend management system 4. If so, an unlock command is generated. Backend management system 4 transmits the unlock command to the wireless connection module of passive key 1 via mobile terminal 3, and the unlock command is received by passive key 1. The passive lock chip of passive key 1 transmits the unlock command to the passive lock chip of passive lock 2 via the contact electrical connection, completing the data transfer. The circuit driving module of the passive lock 2 activates the electric drive unlocking structure according to the unlocking command, and the lock completes the unlocking action.

[0021] Example 2 Further explanation is given in conjunction with Example 1. Figure 1-2 As shown, the steps for locking the switch in the signal position include: S1. The person who opens the lock opens the mobile terminal 3 and binds it to the passive key 1 through the wireless connection module; The station management system 4 transmits the lock and unlock data to the mobile terminal 3 through the algorithm, and the mobile terminal 3 sends the unlock information and lock information to the key chip of the passive key 1. The lock and unlock information includes the user's face data, fingerprint data, or at least six-digit unlock password input by hand; S2. The passive key 1 is connected to the contacts on the passive lock 2 through the contacts of the metal key. The passive lock 2 is powered by the built-in power supply of the passive key 1. The passive lock chip and circuit drive module inside the passive lock 2 are powered; The passive lock chip of the passive lock 2 is connected to the key chip of the passive key 1, and the data of the passive lock 2 is transmitted to the key chip of the passive key 1; The key chip transmits the information of the passive lock 2 to the mobile terminal 3; S3, the mobile terminal 3 obtains its own positioning position and compares it with the geographical position stored in the passive lock chip in the passive lock 2; If the two are the same, proceed to the next step; if they are different, the lock cannot be opened; S4. The mobile terminal 3 performs face recognition, fingerprint recognition or input of at least six digits of unlocking password on the unlocking person to verify. If it is verified that it is the person who is operating, the unlocking code or locking code is transmitted to the passive key 1 through the mobile terminal 3; The passive key 1 transmits unlocking data to the passive lock 2. The lock operator presses the unlock button 101 or the lock button 102 of the passive key 1, and the circuit driving module inside the passive lock 2 drives the lock switch structure to unlock or lock.

[0022] In the preferred solution, in the unlocking steps under a signal environment: Perform fuzzy hash processing on the positioning location and the geographical location information stored in the passive lock 2, including: Quantify the positioning location and geographic location information to generate quantized positioning data and quantized geographic data. Use the locality-sensitive hashing algorithm to generate multiple hash values ​​for the quantized positioning data and quantized geographic data, forming a positioning hash value set and a geographic hash value set respectively. Calculate the Jaccard similarity of the two sets, determine whether the similarity reaches a preset threshold, and determine whether the locations match. If the similarity does not reach the threshold, the positions are determined to be mismatched and the lock / unlock operation cannot be performed.

[0023] In the preferred solution, the station management system 4 performs identity verification on the applicant, including: The applicant's facial data, fingerprint data or input password is obtained through the mobile terminal 3 application, and the convolutional neural network algorithm is used to extract features from the facial data to generate a facial feature vector. The cosine similarity between the facial feature vector and the registered feature vector is calculated. The detail point matching algorithm is used to generate a detail point set for the fingerprint data, and the matching score of the detail point set is calculated. The input password is compared with the registered password, and the comprehensive verification results are used to determine whether the identity is passed.

[0024] The unlocking operator opens mobile terminal 3 and binds it to passive key 1 via a wireless transmission module (such as Wi-Fi or Bluetooth). During the binding process, the unlocking information in mobile terminal 3 is encrypted using a multivariate public key cryptography algorithm. The unlocking information includes the user's facial data, fingerprint data, and a six-digit unlocking password entered manually. The encrypted information is then stored in the key chip of passive key 1.

[0025] The multivariate public key cryptography algorithm is based on the elliptic curve cryptography system ECC. Above, among them 、 is the curve parameter, is a large prime number. The public key is , the private key is For the unlocking information to be encrypted Face data, fingerprint data and password are processed through a specific hash function Mapped to a numerical value, the encryption process is as follows: Pick a random number , calculate the point on the elliptic curve ,in is the base point of the elliptic curve. The encrypted information is .

[0026] The encryption algorithm of the elliptic curve cryptography system is used to encrypt the unlocking information with the public key to ensure the security of the information during transmission and storage, and prevent the information from being stolen or tampered with. It is used to restore the original information when combined with the private key for subsequent decryption. It is the encrypted information body.

[0027] Passive key 1 connects to passive lock 2 via its metal key contacts. Passive lock 2 is powered by its internal power supply, energizing its internal data processing chip and circuit driver module. The data processing chip in passive lock 2 connects to the key chip in passive key 1, transmitting data from passive lock 2 to the key chip in passive key 1. The key chip transmits the encrypted information from passive lock 2 to mobile terminal 3, which decrypts the information using a pre-assigned private key, thereby obtaining detailed information about passive lock 2.

[0028] Mobile terminal 3 receives the encrypted information Then, use the private key Decrypt. Calculate .

[0029] The encrypted information is calculated by the private key to restore the original data of the passive lock 2. This formula is based on the encryption principle of the elliptic curve cryptography system, using the private key and the encrypted information. Perform calculations to eliminate the influence of random numbers introduced during the encryption process, thereby obtaining the original lock information.

[0030] Mobile terminal 3 obtains its current location and performs a fuzzy hashing operation on this location information and the geographic location information stored by the data processing chip within passive lock 2. Fuzzy hashing algorithms can compare data for similarity and tolerate a certain degree of data discrepancy. A preliminary determination of location match is made by comparing the similarity of the two fuzzy hash values. If the similarity reaches a pre-set threshold, a further, more precise location comparison is performed. If the similarity does not reach the threshold, the locations are determined to be mismatched, and the unlocking operation cannot be performed.

[0031] The local sensitive hashing (LSH) algorithm is used for fuzzy hashing. , first quantize it, the quantization function is ,in , , and is the quantization step size.

[0032] Building a hash function ,in Number the hash function, For each location information, multiple hash values ​​are generated .

[0033] Calculate the similarity of the hash value sets of two location information , using the Jaccard similarity formula: ,in is the hash value set of the location information of mobile terminal 3, It is a hash value set of the location information of the passive lock 2.

[0034] The quantization function converts continuous location coordinates into discrete values ​​to facilitate subsequent hash calculations. Hash functions are used to generate hash values ​​for location information. Multiple hash functions can increase the diversity of hash values ​​and improve the accuracy of similarity comparisons. The Jaccard similarity formula is used to calculate the similarity between two sets of hash values. By comparing the similarities, it determines whether the locations match. This formula effectively measures the degree of similarity between two sets and is suitable for comparing fuzzy hash values.

[0035] If the location comparison passes, the unlocking person operates on mobile terminal 3 and sends an unlocking command to the back-end administrator. The back-end administrator controls mobile terminal 3 to verify the unlocking person's face recognition, fingerprint recognition, or input of at least six digits of unlocking password. If it is verified that it is the person operating, the back-end issues an unlocking code, which is transmitted to passive key 1 via mobile terminal 3. Passive key 1 transmits the unlocking data to passive lock 2. The face recognition inside passive lock 2 uses a convolutional neural network (CNN) algorithm based on deep learning. Assume that the trained CNN model is , the input face image is , after model processing, the feature vector is obtained . The user's registered face feature vector With the current recognized feature vector For comparison, the cosine similarity formula is used to calculate the similarity .

[0036] Fingerprint recognition uses minutiae matching algorithm. Extract minutiae features of fingerprint image, and set minutiae set of registered fingerprint as , the minutiae point set of the current fingerprint is By calculating the matching score of two sets of minutiae , assuming that the matching score is calculated by the following formula: ,in and are the coordinates of the minutiae points of the current fingerprint and the registered fingerprint respectively, is the matching radius.

[0037] Password verification directly compares the entered password with the stored password to see if they are consistent.

[0038] Comprehensive verification results, let the verification function be ,when and and hour and is the pre-set similarity threshold for face recognition and fingerprint recognition, To enter a password, To register a password, return the verification result, and the background will issue an unlocking code.

[0039] The cosine similarity formula measures the similarity between two facial feature vectors, with values ​​closer to 1 indicating higher similarity. The fingerprint minutiae matching score formula calculates the distance between the current fingerprint minutiae and the registered fingerprint minutiae to determine the fingerprint matching score. A higher score indicates a stronger match. The verification function combines the results of face, fingerprint, and password verification. Verification is considered successful only when all verification conditions are met, ensuring the accuracy and security of identity verification. The circuit driver module drives the electric unlocking mechanism to unlock the door.

[0040] Example 3 Further explanation is given in conjunction with Example 1. Figure 1-2 As shown, the steps for unlocking at the no-signal position include: A1. The locksmith applies for unlocking at a location with no signal on the mobile terminal 3. The application details the geographical location of the passive lock 2 and the fact that there is no signal at the location, making it impossible to unlock the lock online in a timely manner. A2. The station management system 4 is connected to the mobile terminal 3. The mobile terminal 3 performs facial recognition, fingerprint recognition, or inputs at least a six-digit unlocking password on the person who opens and closes the lock. The station management system 4 verifies the facial data, fingerprint data, or six-digit unlocking password collected by the mobile terminal 3 through an algorithm. If it is verified that the operation is done by the user, the backend management system 4 sends a lock opening and closing code, which is stored in the key chip of the passive key 1; The mobile terminal 3 displays that the lock can be unlocked, and displays an icon of the lock button at the same time, and a countdown is displayed in the icon; A3. After reaching the unlocking position, connect the passive key 1 with the passive lock 2 and power on the passive lock 2; Press the lock / unlock button on the passive key 1, and the circuit driving module inside the passive lock 2 drives the unlocking structure and the locking structure to unlock or lock; A4. The mobile terminal 3 records the number of times the lock is turned on and off and the time of turning the lock on and off; When the mobile terminal 3 has a signal, the on / off lock time and the on / off lock times are transmitted to the station management system 4 .

[0041] In the preferred embodiment, the unlocking operation is performed in a signal-free environment, including: submitting an unlocking task application on the mobile terminal 3 application, including the geographic location information of the passive lock 2, the station management system 4 authenticates the applicant, generates an unlocking code and transmits it to the key chip storage, the mobile terminal 3 application displays an unlocking button and a countdown function based on a leaky bucket current limiting algorithm, docking the passive key 1 with the passive lock 2 in the unlocking position, pressing the unlock button 101 or the lock button 102, and the passive key 1 transmits the unlocking or locking code to the passive lock 2 to drive unlocking or locking.

[0042] In the preferred solution, when the mobile terminal 3 regains the signal, the recorded unlocking time and unlocking times are encrypted using a multivariate public key cryptographic algorithm, and the encrypted data is then transmitted to the background management system 4, which decrypts the data. The decrypted data is convenient for subsequent statistics and management.

[0043] The unlocking personnel applies for unlocking tasks at a location without signal on the mobile terminal 3. The application should specify the geographical location of the passive lock 2 in detail, such as the longitude and latitude coordinates. And there is no signal at the location and timely online unlocking cannot be performed.

[0044] To ensure the completeness and accuracy of the application information, the geographic location information is verified. Suppose a geographic location verification function is defined , a series of rules are used to determine whether the coordinates are within a reasonable range. For example, the longitude and latitude ranges of the earth are limited to: , . Then the verification formula can be expressed as: This formula verifies that the unlocker's input of the Passive Lock 2's geographic location matches the actual Earth coordinate range, preventing subsequent process issues caused by incorrect coordinates. Only when this verification is passed is the application information considered valid and the subsequent process can continue.

[0045] The backend administrator controls mobile terminal 3 to verify the unlocking user through facial recognition, fingerprint recognition, or by entering a six-digit unlocking password. If the user is confirmed to be the unlocking user, the backend issues an unlocking code, which is stored in the chip of passive key 1. Mobile terminal 3 displays the unlock button icon, which also displays a countdown timer.

[0046] Face recognition: An algorithm based on improved principal component analysis (PCA) combined with deep neural network (DNN) is used. First, the registered face image and the face image to be recognized are preprocessed and normalized to the same size. Suppose the matrix set of the registered face image is , the current image matrix to be identified is . Use PCA to reduce the dimension of the registered image set and calculate the covariance matrix ,in is the mean matrix of the registered image. Calculate the eigenvalues ​​of the covariance matrix and eigenvectors , before selecting The eigenvectors corresponding to the largest eigenvalues ​​form an eigenvector matrix Project the registered image and the current image to be identified into the low-dimensional space and obtain and These low-dimensional feature vectors are then input into the trained DNN model In the feature representation and . The similarity is calculated using the Mahalanobis distance formula. ,in is the mean vector of the registered image feature representation, is the covariance matrix.

[0047] Fingerprint recognition: An algorithm that combines the direction field of detail points and the frequency characteristics of local ridges. For the registered fingerprint image and the current fingerprint image, first extract the coordinates of the detail points and , and the direction of each detail point and , local ridge frequency and . Calculate the matching score between the minutiae point pairs, for each current fingerprint minutiae point , find the point with the closest distance and similar direction and frequency among the registered fingerprint minutiae points , the matching score is calculated using the following formula: ,in is the matching radius, is the weight coefficient, is the maximum ridge frequency. The total fingerprint matching score , and are the number of minutiae points of the current fingerprint and the registered fingerprint respectively.

[0048] Password verification: Pass the entered password through a custom hash function Process it and compare it with the hash value stored in the system. Assume that the stored hash value is , enter the password , then the verification formula is

[0049] Comprehensive verification: Assume the verification function is ,when and and hour and The similarity threshold of face recognition and fingerprint recognition is preset, and the verification result is returned, and the backend issues the unlocking code .

[0050] Countdown setting: Use the countdown function based on the variant of the leaky bucket current limiting algorithm. Assume the leaky bucket capacity is , the water inflow rate is , the water outflow rate is The outflow here represents the countdown decrease. The initial amount of water in the bucket is , as time goes by Change, water volume in the barrel The calculation formula is: ,in Is the time interval. Countdown time The amount of water in the barrel Related, e.g. .

[0051] In the face recognition algorithm, PCA is used to reduce data dimensionality and computational complexity, while DNN is used to extract more discriminative features. The Mahalanobis distance better accounts for the distribution characteristics of the data, improving recognition accuracy. The fingerprint recognition formula comprehensively considers the position, orientation, and ridge frequency of minutiae points to more comprehensively measure the degree of fingerprint matching. The password verification hash function ensures the security of password storage and verification. The comprehensive verification function ensures that a pass is only considered successful when all verification conditions are met. The countdown formula, based on the leaky bucket algorithm, dynamically adjusts the countdown time to ensure that unlocking operations can be performed within a certain period of time while preventing abnormal countdown times from being incorrect.

[0052] On-site unlocking operation steps: After reaching the unlocking position, connect the passive key 1 to the passive lock 2 and power on the passive lock 2. Press the unlock button icon on the mobile terminal 3, and the circuit drive module inside the passive lock 2 drives the electric unlocking structure to unlock.

[0053] When the passive key 1 is connected to the passive lock 2, an encryption communication algorithm based on cyclic redundancy check (CRC) is used to ensure communication security and data integrity. , the generating polynomial is For example . Shift Left Bit To generate the highest power of the polynomial, we get $D'$. Calculate $D'$ by dividing remainder ,Will Append to $D'$ to get the sent data The receiver passive lock 2 receives the data After that, use the same If the remainder is 0, the data transmission is considered correct.

[0054] The CRC algorithm can detect whether errors occur during data transmission by generating and checking remainders, ensuring the reliability of communication between the passive key 1 and the passive lock 2, and avoiding unlocking failures or security issues caused by data errors.

[0055] Unlocking records and data transmission Operation steps: Mobile terminal 3 records the number of unlocking times and unlocking time When the mobile terminal 3 has a signal, the unlocking time and unlocking times are transmitted to the backstage management personnel.

[0056] To ensure the security of the transmitted data, a multivariate public key cryptographic algorithm based on the elliptic curve cryptosystem is used to encrypt the recorded data with the encryption algorithm in the signal position unlocking step S1. and unlocking time The data vector is composed of , the public key is , the private key is The encryption process is as follows: Pick a random number , calculate the point on the elliptic curve ,in is the base point of the elliptic curve.

[0057] calculate .

[0058] The encrypted information is .

[0059] The unlocking record data is encrypted using the public key through the encryption algorithm of the elliptic curve cryptography system to prevent the data from being stolen or tampered with during transmission, ensuring the security and integrity of the data, so that the back-end management personnel can accurately obtain the real unlocking record information.

[0060] The above embodiments are merely preferred technical solutions of the present invention and should not be construed as limiting the present invention. The scope of protection of the present invention shall be the technical solutions set forth in the claims, including equivalent alternatives to the technical features of the technical solutions set forth in the claims. In other words, equivalent alternatives and improvements within this scope are also within the scope of protection of the present invention.

Claims

1. A passive lock switch lock system, characterized by: The unlocking system includes a passive key (1), a passive lock (2), a mobile terminal (3) and a station management system (4); The mobile terminal (3) interacts with the passive key, the background management system authorizes the mobile terminal (3), and the mobile terminal (3) opens the passive lock through the passive key; The passive key can only execute the locking command of the passive lock after executing the unlocking command.

2. The passive lock switch system according to claim 1, characterized in that: The passive key (1) is provided with a key chip, a wireless connection module, a power supply, a circuit drive module and a switch lock button; The chip is used to store unlocking information, process unlocking data, and is responsible for data interaction with the passive lock (2) and the mobile terminal (3); The wireless connection module realizes wireless connection with the mobile terminal (3); The power supply supplies power to the passive lock (2); The circuit driving module is electrically connected to the passive lock (2).

3. The passive lock switch system according to claim 1, characterized in that: The passive lock (2) includes a passive lock chip, a circuit drive module and an electric switch lock structure; Power supply and passive lock (2) data are obtained by electrically connecting to the contacts of the passive key (1); the passive lock chip stores geographic location information of the passive lock (2); and the geographic location information is transmitted to the mobile terminal (3) and the station management system (4).

4. The unlocking method of a passive lock switch system according to any one of claims 1 to 3, characterized in that: The method comprises acquiring unlocking information through interaction between a passive key (1) and a mobile terminal (3) application, docking the passive key (1) with a passive lock (2) to transmit the unlocking information, performing unlocking operations in a signal environment and a non-signal environment respectively, and recording the unlocking data by the mobile terminal (3) application and transmitting it to a background management system when a signal is present.

5. The unlocking method of a passive lock switch system according to claim 4, characterized in that: The steps for locking the switch in the signal position include: S1, the lock operator opens the mobile terminal (3) and binds it to the passive key (1) via the wireless connection module; The station management system (4) transmits the lock / unlock data to the mobile terminal (3) through an algorithm, and the mobile terminal (3) sends the unlocking information and the locking information to the key chip of the passive key (1), and the lock / unlock information includes the user's face data, or fingerprint data, or an unlocking password input by at least six digits; S2, the passive key (1) is connected to the contacts on the passive lock (2) through the contacts of the metal key, the passive lock (2) is powered by the built-in power supply of the passive key (1), and the passive lock chip and circuit drive module inside the passive lock (2) are powered; The passive lock chip of the passive lock (2) is connected to the key chip of the passive key (1), and data of the passive lock (2) is transmitted to the key chip of the passive key (1); The key chip transmits the information of the passive lock (2) to the mobile terminal (3); S3, the mobile terminal (3) obtains its own positioning position and compares it with the geographical position stored in the passive lock chip in the passive lock (2); If the two are the same, proceed to the next step; if they are different, the lock cannot be opened; S4. The mobile terminal (3) performs facial recognition, fingerprint recognition or input of at least six digits of unlocking password on the unlocking person to verify. If it is verified that the unlocking person is the person, the unlocking code or locking code is transmitted to the passive key (1) via the mobile terminal (3); The passive key (1) transmits unlocking data to the passive lock (2). The person who switches the lock presses the unlock button (101) or the lock button (102) of the passive key (1), and the circuit driving module inside the passive lock (2) drives the switch lock structure to unlock or lock.

6. The unlocking method of a passive lock switch system according to claim 4, characterized in that: The steps for unlocking in a no-signal position include: A1. The locksmith applies for a lock unlocking task at a location without a signal on a mobile terminal (3). The application details the geographical location of the passive lock (2) and the fact that there is no signal at the location, making it impossible to unlock the lock online in a timely manner. A2, the station management system (4) is connected to the mobile terminal (3), the mobile terminal (3) performs face recognition, fingerprint recognition or input of at least six-digit unlocking password on the person who opens and closes the lock, and the station management system (4) verifies the face data, fingerprint data or six-digit unlocking password of the person who opens and closes the lock collected by the mobile terminal (3) through an algorithm; If it is verified that the operation is carried out by the user, the backend management system (4) issues a lock opening and closing code, which is stored in the key chip of the passive key (1); The mobile terminal (3) displays that the lock can be unlocked and displays an icon of a lock switch button, with a countdown displayed in the icon; A3. After reaching the unlocking position, the passive key (1) is connected to the passive lock (2), and the passive lock (2) is powered on; When the lock / unlock button on the passive key (1) is pressed, the circuit driving module inside the passive lock (2) drives the unlocking structure and the locking structure to unlock or lock; A4, the mobile terminal (3) records the number of times the lock is turned on and off and the time of turning the lock on and off; When the mobile terminal (3) has a signal, the on / off lock time and the on / off lock count are transmitted to the station management system (4).

7. The unlocking method of a passive lock switch system according to claim 5, characterized in that: Unlocking steps in a signal environment: The positioning location and the geographical location information stored in the passive lock (2) are fuzzy hashed, including: Quantify the positioning location and geographic location information to generate quantized positioning data and quantized geographic data. Use the locality-sensitive hashing algorithm to generate multiple hash values ​​for the quantized positioning data and quantized geographic data, forming a positioning hash value set and a geographic hash value set respectively. Calculate the Jaccard similarity of the two sets, determine whether the similarity reaches a preset threshold, and determine whether the locations match. If the similarity does not reach the threshold, the positions are determined to be mismatched and the lock / unlock operation cannot be performed.

8. The unlocking method of a passive lock switch system according to claim 6, characterized in that: The unlocking operation is performed in a signal-free environment, including: submitting an unlocking task application on a mobile terminal (3) application, including geographic location information of the passive lock (2); the station management system (4) authenticates the applicant, generates an unlocking code and transmits it to the key chip for storage; the mobile terminal (3) application displays an unlocking button and a countdown function based on a leaky bucket current limiting algorithm; the passive key (1) is docked with the passive lock (2) at the unlocking position; the unlocking button (101) or the locking button (102) is pressed; the passive key (1) transmits the unlocking or locking code to the passive lock (2) to drive the unlocking or locking.

9. The unlocking method of a passive lock switch system according to claim 6, characterized in that: When the mobile terminal (3) regains the signal, the recorded unlocking time and unlocking times are encrypted using a multivariate public key cryptographic algorithm, and the encrypted data is then transmitted to the background management system (4), which decrypts the data. The decrypted data is convenient for subsequent statistics and management.

10. The unlocking method of a passive lock switch system according to claim 6, characterized in that: The station management system (4) verifies the identity of the applicant, including: The applicant's facial data, fingerprint data or input password is obtained through the mobile terminal (3) application, and the convolutional neural network algorithm is used to extract the features of the facial data to generate a facial feature vector. The cosine similarity between the facial feature vector and the registered feature vector is calculated. The minutiae matching algorithm is used to generate a minutiae set for the fingerprint data, and the matching score of the minutiae set is calculated. The input password is compared with the registered password, and the comprehensive verification results are used to determine whether the identity is passed.