Electronic lock control system and method
By applying artificial intelligence algorithms and deep neural network models in the electronic lock control system, the waveform characteristics of radio signals are extracted and compared, and the safety hazards of traditional electronic lock control systems are solved, achieving higher safety and reliability.
Patent Information
- Application Number
- CN202311780285.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2043-12-22
AI Technical Summary
The traditional electronic lock control system adopts fixed encoding or rolling encoding, which poses security risks and may be eavesdropped or interfered, resulting in illegal opening or closing.
Using artificial intelligence-based data processing and analysis algorithms, high-frequency radio signals are received through wireless reception modules, deep neural network models extract the waveform characteristics of the signal, and the correctness of the switching signal is judged by comparing the waveform characteristics of the detection signal and the reference signal. , automatically generate control signals for precise control.
It improves the safety and reliability of electronic locks, prevents illegal unlocking and misoperation, and enhances the protection ability of the lock.
Smart Images

Figure CN117953612B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent control, and more particularly to a control system and method for an electronic lock. Background Art
[0002] An electronic lock is a device that uses electronic technology to control the opening and closing of a lock. It has the advantages of high security, easy operation, and multiple functions, and is widely used in residences, hotels, offices, and other places. The control system of an electronic lock is the core part of the electronic lock. It is responsible for receiving the radio wave signal emitted by the external lock control device and controlling the opening and closing of the lock body according to the signal content.
[0003] However, conventional electronic lock control systems usually use fixed coding or rolling coding to identify radio wave signals, which poses certain security risks because radio wave signals may be eavesdropped or interfered with, causing the electronic lock to be illegally opened or closed.
[0004] Therefore, an optimized control system for an electronic lock is desired. Summary of the invention
[0005] In order to solve the above technical problems, the present application is proposed. The embodiment of the present application provides a control system and method for an electronic lock, which analyzes the received detection high-frequency radio signal by using a data processing and analysis algorithm based on artificial intelligence, so as to effectively extract the waveform characteristics of the detection radio wave signal, and judge whether the switch signal is correct by comparing the waveform characteristics of the detection signal and the reference signal, and automatically generate a control signal when the switch signal is judged to be correct, so as to realize accurate control of the electronic lock. In this way, the safety and reliability of the electronic lock can be improved, and illegal unlocking and misoperation can be prevented.
[0006] According to one aspect of the present application, a control system for an electronic lock is provided, comprising:
[0007] A wireless receiving module, the wireless receiving module comprising a low-frequency receiving component and a high-frequency receiving component, the low-frequency receiving component is used to receive low-frequency radio waves emitted by an external lock control device, and the high-frequency receiving component is used to receive high-frequency radio waves with switch signals emitted by the lock control device;
[0008] A power management module, used for receiving the low-frequency radio waves and converting the low-frequency radio waves into power signals, wherein the power signals are used for controlling a power supply to supply electric energy;
[0009] a microprocessor module, for receiving the high-frequency radio wave, identifying the high-frequency radio wave to determine whether the switch signal is correct, and generating a control signal in response to the switch signal being correct;
[0010] The driving module is used to receive the control signal and, in response to receiving the control signal, control the action of the lock core driving component in the lock body so that the lock core driving component drives the lock core to perform corresponding opening and closing actions on the lock body.
[0011] According to another aspect of the present application, a method for controlling an electronic lock is provided, comprising:
[0012] Acquire the detection high-frequency radio signal received by the high-frequency receiving component and the reference high-frequency radio signal for correct unlocking;
[0013] Performing waveform local area feature extraction on the detection high-frequency radio signal and the reference high-frequency radio signal respectively by a waveform area feature extractor based on a deep neural network model to obtain a sequence of semantic feature vectors of the detection signal waveform local area and a sequence of semantic feature vectors of the reference signal waveform local area;
[0014] Performing context waveform local area semantic association coding on the sequence of the detection signal waveform local area semantic feature vectors and the sequence of the reference signal waveform local area semantic feature vectors respectively to obtain a sequence of context detection signal waveform local area semantic feature vectors and a sequence of context reference signal waveform local area semantic feature vectors;
[0015] Performing semantic relevance analysis on each corresponding group of context detection signal waveform local area semantic feature vectors and context reference signal waveform local area semantic feature vectors in the sequence of the context detection signal waveform local area semantic feature vectors and the sequence of the context reference signal waveform local area semantic feature vectors to obtain a detection-reference waveform semantic global contrast feature;
[0016] Based on the detection-reference waveform semantic global comparison feature, it is determined whether the switch signal is correct and whether a control signal is generated.
[0017] Compared with the prior art, the control system and method of an electronic lock provided by the present application analyzes the received detection high-frequency radio signal by using a data processing and analysis algorithm based on artificial intelligence, thereby effectively extracting the waveform characteristics of the detection radio wave signal, and judging whether the switch signal is correct by comparing the waveform characteristics of the detection signal and the reference signal, and automatically generating a control signal when the switch signal is judged to be correct, so as to realize accurate control of the electronic lock. In this way, the safety and reliability of the electronic lock can be improved, and illegal unlocking and misoperation can be prevented. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0019] Figure 1 4 is a block diagram of a control system of an electronic lock according to an embodiment of the present application.
[0020] Figure 2 4 is a block diagram of a microprocessor module in a control system of an electronic lock according to an embodiment of the present application.
[0021] Figure 3 Schematic diagram of the architecture of a microprocessor module in a control system of an electronic lock according to an embodiment of the present application.
[0022] Figure 4 4 is a block diagram of a waveform local area semantic context association encoding unit in a control system of an electronic lock according to an embodiment of the present application.
[0023] Figure 5 4 is a block diagram of a training module in a control system of an electronic lock according to an embodiment of the present application.
[0024] Figure 6 Flow chart of a control method of an electronic lock according to an embodiment of the present application. DETAILED DESCRIPTION
[0025] The embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, but rather these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0026] An electronic lock is a door lock system that uses electronic technology, which is different from a traditional mechanical lock. Electronic locks use electronic components and circuits to control the opening and closing of door locks without the need for traditional keys, so they are widely used in commercial buildings, offices, hotels, residences and other places. Specifically, electronic locks provide higher security and more convenient unlocking methods. Users can quickly open the door lock using passwords, fingerprints or IC cards without carrying traditional metal keys. In addition, electronic locks can also record the time and identity information of unlocking, making it easier for managers to monitor and manage the use of door locks.
[0027] The control system of the electronic lock is the core part of the electronic lock. It is responsible for receiving the radio wave signal emitted by the external lock control device and controlling the switch of the lock body according to the signal content. The control system consists of multiple components, including receivers, decoders, control circuits and actuators. The receiver is the receiving part of the control system, which is responsible for receiving the radio wave signal emitted by the lock control device. The decoder is the processing part of the control system, which is responsible for decoding the received radio wave signal and converting the signal content into recognizable data. The control circuit is the central part of the control system, which receives the control information output by the decoder and controls the switch of the lock body according to this information. The actuator is the output part of the control system, which controls the switch action of the lock body according to the instructions of the control circuit.
[0028] But traditional electronic lock control systems usually use fixed coding or rolling coding to identify radio wave signals. However, this method has certain security risks because the radio wave signals may be eavesdropped or interfered, resulting in the electronic lock being illegally opened or closed.
[0029] Therefore, in response to the above technical problems, in the technical solution of the present application, a control system for an electronic lock is proposed, which includes: a wireless receiving module, the wireless receiving module includes a low-frequency receiving component and a high-frequency receiving component, the low-frequency receiving component is used to receive low-frequency radio waves emitted by an external lock control device, and the high-frequency receiving component is used to receive high-frequency radio waves with switch signals emitted by the lock control device; a power management module, used to receive the low-frequency radio waves and convert the low-frequency radio waves into power signals, and the power signals are used to control the power supply to supply electric energy; a microprocessor module, used to receive the high-frequency radio waves, and identify the high-frequency radio waves to determine whether the switch signal is correct, and generate a control signal in response to the switch signal being correct; a drive module, used to receive the control signal, and in response to receiving the control signal, control the action of the lock core drive component in the lock body, so that the lock core drive component drives the lock core to perform corresponding opening and closing actions on the lock body.
[0030] Figure 1 FIG. 1 is a block diagram of a control system of an electronic lock according to an embodiment of the present application. Figure 1As shown, the control system 100 of the electronic lock according to the embodiment of the present application includes: a wireless receiving module 110, the wireless receiving module includes a low-frequency receiving component and a high-frequency receiving component, the low-frequency receiving component is used to receive the low-frequency radio waves emitted by the external lock control device, and the high-frequency receiving component is used to receive the high-frequency radio waves with switch signals emitted by the lock control device; a power management module 120, used to receive the low-frequency radio waves and convert the low-frequency radio waves into power signals, and the power signals are used to control the power supply to supply power; a microprocessor module 130, used to receive the high-frequency radio waves, and identify the high-frequency radio waves to determine whether the switch signal is correct, and generate a control signal in response to the switch signal being correct; and a drive module 140, used to receive the control signal, and in response to receiving the control signal, control the action of the lock core drive component in the lock body, so that the lock core drive component drives the lock core to perform corresponding opening and closing actions on the lock body.
[0031] In the embodiment of the present application, the wireless receiving module 110 includes a low-frequency receiving component and a high-frequency receiving component, wherein the low-frequency receiving component is used to receive low-frequency radio waves emitted by an external lock control device, and the high-frequency receiving component is used to receive high-frequency radio waves with switch signals emitted by the lock control device. It should be understood that the low-frequency receiving component is a part of the wireless receiving module, which is mainly used to receive low-frequency radio wave signals emitted by an external lock control device. Low-frequency radio waves are usually in a lower frequency range, such as 125 kHz or 13.56 MHz. Such low-frequency signals can be received by the principle of electromagnetic induction, usually using a coil or an antenna as a receiver. The high-frequency receiving component is another part of the wireless receiving module, which is used to receive high-frequency radio waves with switch signals emitted by the lock control device. High-frequency radio waves are usually in a higher frequency range, such as 315 MHz, 433 MHz or 868 MHz. Unlike low-frequency reception, the high-frequency receiving component can receive high-frequency radio waves with switch signals, which means that it can receive signals for controlling the switch state of the lock.
[0032] In an embodiment of the present application, the power management module 120 is used to receive the low-frequency radio waves and convert the low-frequency radio waves into power signals, and the power signals are used to control the power supply for power supply. Accordingly, the power management module includes a low-frequency receiver for receiving low-frequency radio wave signals emitted by an external lock control device. These low-frequency radio wave signals may contain information about power control, such as instructions to turn on or off the power. Then, when the power management module receives the low-frequency radio wave signals, it will process and convert these signals and generate corresponding power signals for controlling the power supply for power supply. Afterwards, these signals are transmitted to the power module to control the power supply for corresponding power supply. The power module turns on or off the power according to the received signal to meet the working requirements of the electronic lock.
[0033] In the embodiment of the present application, the microprocessor module 130 is used to receive the high-frequency radio wave, identify the high-frequency radio wave to determine whether the switch signal is correct, and generate a control signal in response to the switch signal being correct. Accordingly, in order to accurately identify the high-frequency radio wave received by the high-frequency receiving component to determine whether a switch signal is generated, the technical concept of the present application is to analyze the received detection high-frequency radio signal by using an artificial intelligence-based data processing and analysis algorithm, so as to effectively extract the waveform characteristics of the detection radio wave signal, and to determine whether the switch signal is correct by comparing the waveform characteristics of the detection signal and the reference signal, and automatically generate a control signal when the switch signal is determined to be correct, so as to achieve precise control of the electronic lock. In this way, the safety and reliability of the electronic lock can be improved, and illegal unlocking and misoperation can be prevented.
[0034] Figure 2 4 is a block diagram of a microprocessor module in a control system of an electronic lock according to an embodiment of the present application. Figure 3 FIG. 1 is a schematic diagram of the architecture of a microprocessor module in a control system of an electronic lock according to an embodiment of the present application. Figure 2 and Figure 3As shown, the microprocessing module 130 includes: a high-frequency radio signal acquisition unit 131, which is used to acquire the detection high-frequency radio signal received by the high-frequency receiving component, and a reference high-frequency radio signal for correctly unlocking the lock; a waveform local area semantic feature extraction unit 132, which is used to perform waveform local area feature extraction on the detection high-frequency radio signal and the reference high-frequency radio signal respectively through a waveform area feature extractor based on a deep neural network model to obtain a sequence of waveform local area semantic feature vectors of the detection signal and a sequence of waveform local area semantic feature vectors of the reference signal; a waveform local area semantic context association encoding unit 133, which is used to perform context association encoding on the sequence of waveform local area semantic feature vectors of the detection signal and the sequence of waveform local area semantic feature vectors of the reference signal respectively. Waveform local area semantic association encoding is used to obtain a sequence of context detection signal waveform local area semantic feature vectors and a sequence of context reference signal waveform local area semantic feature vectors; a detection-reference waveform semantic global comparison analysis unit 134 is used to perform semantic relevance analysis on each group of corresponding context detection signal waveform local area semantic feature vectors and context reference signal waveform local area semantic feature vectors in the sequence of context detection signal waveform local area semantic feature vectors and the sequence of context reference signal waveform local area semantic feature vectors to obtain detection-reference waveform semantic global comparison features; and a switch signal detection and control signal generation unit 135 is used to determine whether the switch signal is correct based on the detection-reference waveform semantic global comparison features, and determine whether to generate a control signal.
[0035] The high-frequency radio signal acquisition unit 131 is used to acquire the detection high-frequency radio signal received by the high-frequency receiving component, as well as the reference high-frequency radio signal for correct unlocking. It should be understood that the detection high-frequency radio signal refers to the high-frequency radio wave with a switch signal emitted by the lock control device and received by the high-frequency receiving component, wherein the high-frequency radio wave carries the semantic information of the switch signal, which is used to provide a basis for the subsequent switch signal correctness detection and control of the corresponding action of the lock cylinder drive component in the lock body. The reference high-frequency radio signal refers to a preset signal for correct unlocking, which is pre-set in the lock control device to ensure that only the correct signal can open the lock. Therefore, in the technical solution of the present application, by acquiring the received high-frequency radio signal and comparing it with the reference signal, it can be verified whether the received signal matches the expected signal, ensuring that only the correct signal can open the lock, further improving the security of the lock, and preventing illegal signals or interference signals from misoperating to unlock.
[0036] The waveform local area semantic feature extraction unit 132 is used to extract waveform local area features of the detection high-frequency radio signal and the reference high-frequency radio signal respectively through a waveform area feature extractor based on a deep neural network model to obtain a sequence of semantic feature vectors of the detection signal waveform local area and a sequence of semantic feature vectors of the reference signal waveform local area. It should be understood that in the control system of the electronic lock, the high-frequency radio signal carries the information of the switch signal. Therefore, in order to accurately determine whether the switch signal is correct, it is necessary to analyze and process the received high-frequency radio signal. Based on this, in the technical solution of the present application, a deep neural network model with excellent performance in implicit feature extraction of the image is used to perform waveform feature analysis of the detection high-frequency radio signal and the reference high-frequency radio signal. In particular, the deep neural network model described here is an RCNN model. It should be understood that since RCNN is a deep learning model, it is widely used in target detection and image recognition tasks. It can effectively extract regional features of interest in the image and classify and locate these regions. Therefore, in the technical solution of the present application, the detected high-frequency radio signal and the reference high-frequency radio signal are respectively subjected to feature mining in a waveform area feature extractor based on the RCNN model to respectively extract the waveform local area semantic feature information in the detected high-frequency radio signal and the reference high-frequency radio signal, thereby obtaining a sequence of detection signal waveform local area semantic feature vectors and a sequence of reference signal waveform local area semantic feature vectors.
[0037] The waveform local area semantic context association coding unit 133 is used to perform context waveform local area semantic association coding on the sequence of the detection signal waveform local area semantic feature vectors and the sequence of the reference signal waveform local area semantic feature vectors to obtain a sequence of context detection signal waveform local area semantic feature vectors and a sequence of context reference signal waveform local area semantic feature vectors. Accordingly, considering that each local area in the sequence of signal waveform local area semantic feature vectors contains useful semantic information, considering each local area of the waveform separately may not be able to fully utilize the context information. That is to say, considering that there is a global correlation between the local area features of the high-frequency radio signal waveform, therefore, in the actual process of detecting the correctness of the switch signal of the electronic lock, in order to capture the contextual association between the local areas in the sequence of the local area semantic feature vectors of the signal waveform, so as to better understand the overall semantic structure in the waveform sequence, and thus more accurately judge the correctness of the switch signal, in the technical solution of the present application, the sequence of the local area semantic feature vectors of the detection signal waveform and the sequence of the local area semantic feature vectors of the reference signal waveform are further respectively subjected to context waveform local area semantic association encoding to obtain a sequence of context detection signal waveform local area semantic feature vectors and a sequence of context reference signal waveform local area semantic feature vectors, so as to capture the semantic transformation and evolution between the local areas, thereby improving the expressiveness and accuracy of the signal.
[0038] Figure 4 FIG. 1 is a block diagram of a waveform local area semantic context association encoding unit in a control system of an electronic lock according to an embodiment of the present application. Figure 4 As shown, the waveform local area semantic context association encoding unit 133 includes: a detection signal waveform semantic context association encoding subunit 1331, used for passing the sequence of the detection signal waveform local area semantic feature vectors through a first context encoder based on a converter module to obtain the sequence of the context detection signal waveform local area semantic feature vectors; and a reference signal waveform semantic context association encoding subunit 1332, used for passing the sequence of the reference signal waveform local area semantic feature vectors through a second context encoder based on a converter module to obtain the sequence of the context reference signal waveform local area semantic feature vectors.
[0039] The detection signal waveform semantic context association encoding subunit 1331 is used to pass the sequence of semantic feature vectors of local regions of the detection signal waveform through the first context encoder based on the converter module to obtain the sequence of semantic feature vectors of local regions of the context detection signal waveform. It should be understood that, considering that there is a global association relationship between the local region features of the high-frequency radio signal waveform, therefore, in the actual detection of the correctness of the switch signal of the electronic lock, in order to more accurately judge the correctness of the switch signal, it is necessary to consider the context information between the semantics of the local regions of the signal waveform. By analyzing the context information, the meaning and context of the signal can be better understood, thereby improving the accuracy of the judgment of the switch signal. Based on this, in the technical solution of the present application, the sequence of semantic feature vectors of local regions of the detection signal waveform is further encoded through the first context encoder based on the converter module to extract the global context semantic association feature information between the semantic features of the local regions of the detection high-frequency radio signal waveform, thereby obtaining the sequence of semantic feature vectors of local regions of the context detection signal waveform. In particular, here, the converter module can focus on the local regions at different positions in the sequence through the self-attention mechanism, thereby capturing the context relationship between the local regions of the detection signal waveform. That is, the context encoder based on the transformer module can globally associate the semantic context association information between the local regions of the detection signal waveform. Through the self-attention mechanism, each local region can interact with other regions to obtain global context association. This enables the encoder to better understand the semantic structure of the entire waveform sequence and improve the consistency and coherence of the semantic representation.
[0040] The reference signal waveform semantic context association encoding subunit 1332 is used to pass the sequence of the reference signal waveform local area semantic feature vectors through the second context encoder based on the converter module to obtain the sequence of the context reference signal waveform local area semantic feature vectors. Similarly, the sequence of the reference signal waveform local area semantic feature vectors is encoded through the second context encoder based on the converter module to extract the global context semantic association feature information between the local area semantic features of the reference high-frequency radio signal waveform, thereby obtaining the sequence of the context reference signal waveform local area semantic feature vectors.
[0041] The detection-reference waveform semantic global comparison and analysis unit 134 is used to perform semantic relevance analysis on each group of corresponding context detection signal waveform local area semantic feature vectors and context reference signal waveform local area semantic feature vectors in the sequence of the context detection signal waveform local area semantic feature vectors and the sequence of the context reference signal waveform local area semantic feature vectors to obtain the detection-reference waveform semantic global comparison feature. Accordingly, it is considered that the sequence of the context detection signal waveform local area semantic feature vectors and the sequence of the context reference signal waveform local area semantic feature vectors respectively represent the context association features between the local waveform semantic features of the detection high-frequency radio signal and the reference high-frequency radio signal. Therefore, in order to be able to determine whether the switch signal is correct, it is necessary to compare and analyze the corresponding waveform local area semantic features in the detection high-frequency radio signal and the reference high-frequency radio signal.
[0042] In an embodiment of the present application, the detection-reference waveform semantic global comparison analysis unit is used to: calculate the correlation between each group of corresponding context detection signal waveform local area semantic feature vectors and context reference signal waveform local area semantic feature vectors in the sequence of the context detection signal waveform local area semantic feature vectors and the sequence of the context reference signal waveform local area semantic feature vectors to obtain the detection-reference waveform semantic global comparison feature vector as the detection-reference waveform semantic global comparison feature. It should be understood that by calculating the similarity, the similarity feature information between the corresponding waveform local context features between the detection high-frequency radio signal and the reference high-frequency radio signal can be captured. Therefore, the detection-reference waveform semantic global comparison feature vector composed of these similarity feature information can reflect the overall similarity or difference between the two signals, which is beneficial to the classification processing of the subsequent classifier and the judgment of whether the switch signal is correct.
[0043] In an embodiment of the present application, the detection-reference waveform semantic global comparison and analysis unit is used to: calculate the correlation between each group of corresponding context detection signal waveform local area semantic feature vectors and context reference signal waveform local area semantic feature vectors in the sequence of the context detection signal waveform local area semantic feature vectors and the sequence of the context reference signal waveform local area semantic feature vectors using the following semantic comparison formula to obtain the detection-reference waveform semantic global comparison feature vector; wherein the semantic comparison formula is:
[0044]
[0045] The switch signal detection and control signal generation unit 135 is used to determine whether the switch signal is correct and whether to generate a control signal based on the detection-reference waveform semantic global comparison feature. It should be understood that the detection-reference waveform semantic global comparison feature includes the detection signal and the reference signal, and integrates the semantic feature information of the local area of the detection signal waveform and the semantic feature information of the local area of the detection signal waveform. Therefore, in the technical solution of the present application, it is further determined whether the switch signal is correct and whether to generate a control signal based on the detection-reference waveform semantic global comparison feature, so as to perform global feature association on the entire detection-reference waveform signal, so as to better understand the overall semantic information of the detection-reference waveform signal, so as to more accurately judge whether the switch signal is correct, so as to improve the recognition accuracy of the switch signal, and provide a reference for the subsequent control signal generation.
[0046] The switch signal detection and control signal generation unit includes: a switch signal correctness detection subunit, which is used to pass the detection-reference waveform semantic global comparison feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether the switch signal is correct; and a control signal generation subunit, which is used to determine whether to generate a control signal based on the classification result.
[0047] The switch signal correctness detection subunit is used to pass the detection-reference waveform semantic global comparison feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether the switch signal is correct. In other words, the similarity correlation feature information between the corresponding local waveform semantic features between the detection high-frequency radio signal and the reference high-frequency radio signal is used to perform classification processing to determine whether the switch signal is correct.
[0048] The control signal generating subunit is used to determine whether to generate a control signal based on the classification result. That is, after obtaining the classification result, it can be determined whether to generate a control signal based on the classification result to facilitate the subsequent corresponding action control of the lock core drive component.
[0049] In the embodiment of the present application, the driving module 140 is used to receive the control signal, and in response to receiving the control signal, control the action of the lock core driving component in the lock body, so that the lock core driving component drives the lock core to perform corresponding opening and closing actions on the lock body. In this way, accurate control of the electronic lock can be achieved, thereby improving the safety and reliability of the electronic lock and preventing illegal unlocking and misoperation.
[0050] It is worth mentioning that receiving the control signal and, in response to receiving the control signal, controlling the action of the lock core drive assembly in the lock body so that the lock core drive assembly drives the lock core to perform the corresponding opening and closing actions on the lock body can be achieved by the following steps. First, the control system in the lock body receives the control signal sent from the outside. Then, the control system decodes the received control signal to determine the type of operation to be performed. For example, the control signal may include an unlocking command or a closing command. Then, according to the decoded control signal, the control system drives the lock core assembly to perform the corresponding action. If the control signal indicates that the unlocking action is to be performed, the lock core drive assembly will start and separate the lock core from the lock body by rotating, pushing, pulling or other means. This will allow the lock core to move in the slot or hole in the lock body to achieve the unlocking operation. If the control signal indicates that the closing action is to be performed, the lock core drive assembly will start and connect the lock core to the lock body by rotating, pushing, pulling or other means. This will align the lock core with the slot or hole of the lock body to achieve the closing operation. Finally, after performing the unlocking or closing action, the control system of the lock body can send a feedback signal to indicate the completion of the operation. This feedback signal can be used to confirm whether the lock core has successfully performed the corresponding action. Through the above steps, the received control signal will be decoded and used to drive the lock core assembly, so that the lock core can perform the corresponding unlocking or locking action. In this way, effective control of the lock body can be achieved to ensure safe opening and closing of the lock.
[0051] It is worth mentioning that those skilled in the art should be aware that before applying a deep neural network model for inference, the deep neural network model must be trained so that the deep neural network can implement specific functional capabilities.
[0052] That is, in the technical solution of the present application, the control system of the electronic lock also includes a training module for training the waveform area feature extractor based on the RCNN model, the first context encoder based on the converter module, the second context encoder based on the converter module and the classifier.
[0053] Figure 5 FIG. 1 is a block diagram of a training module in a control system of an electronic lock according to an embodiment of the present application. Figure 5As shown, the training module 200 includes: a training data acquisition unit 210, which is used to acquire training data, and the training data includes a training detection high-frequency radio signal received by the high-frequency receiving component, a training reference high-frequency radio signal for correct unlocking, and a true value of whether the switch signal is correct; a training signal waveform local area feature extraction unit 220, which is used to pass the training detection high-frequency radio signal and the training reference high-frequency radio signal through a waveform area feature extractor based on the RCNN model to obtain a sequence of training detection signal waveform local area semantic feature vectors and a sequence of training reference signal waveform local area semantic feature vectors; a training detection signal context encoding unit 230, which is used to pass the sequence of training detection signal waveform local area semantic feature vectors through the first context encoder based on the converter module to obtain a sequence of training context detection signal waveform local area semantic feature vectors; a training reference signal context encoding unit 240, which is used to pass the sequence of training reference signal waveform local area semantic feature vectors through the second context encoder based on the converter module to obtain a training context reference signal waveform A sequence of local area semantic feature vectors; a training signal correlation calculation unit 250, used to calculate the correlation between each group of corresponding training context detection signal waveform local area semantic feature vectors and training context reference signal waveform local area semantic feature vectors in the sequence of the training context detection signal waveform local area semantic feature vectors and the sequence of the training context reference signal waveform local area semantic feature vectors to obtain a training detection-reference waveform semantic global contrast feature vector; a classification loss unit 260, used to pass the training detection-reference waveform semantic global contrast feature vector through the classifier to obtain a classification loss function value; and a training unit 270, used to train the waveform area feature extractor based on the RCNN model, the first context encoder based on the converter module, the second context encoder based on the converter module and the classifier based on the classification loss function value and through the direction propagation of gradient descent, wherein when the training detection-reference waveform semantic global contrast feature vector is passed through the classifier for classification training, the training detection-reference waveform semantic global contrast feature vector is optimized at each iteration.
[0054] The training unit 270 is used to train the waveform area feature extractor based on the RCNN model, the first context encoder based on the converter module, the second context encoder based on the converter module and the classifier based on the classification loss function value and through the direction propagation of gradient descent, wherein when the training detection-reference waveform semantic global contrast feature vector is classified and trained through the classifier, the training detection-reference waveform semantic global contrast feature vector is optimized in each iteration. In particular, in the above technical scheme, the sequence of local area semantic feature vectors of the training context detection signal waveform and the sequence of local area semantic feature vectors of the training context reference signal waveform respectively express the local image semantic features in the time domain of the global image semantic context association between the training detection high-frequency radio signal and the training reference high-frequency radio signal. However, considering the difference in the semantic time domain distribution of the source images of the training detection high-frequency radio signal and the training reference high-frequency radio signal, the correlation between each group of corresponding local area semantic feature vectors of the training context detection signal waveform and the local area semantic feature vectors of the training context reference signal waveform in the sequence of local area semantic feature vectors of the training context detection signal waveform and the sequence of local area semantic feature vectors of the training context reference signal waveform will fluctuate significantly, so that the training detection-reference waveform semantic global comparison feature vector composed of the correlation value has a more significant inconsistency and instability in the overall feature distribution, thereby affecting the stability of the training detection-reference waveform semantic global comparison feature vector in classification training through the classifier. Based on this, in the technical solution of the present application, when the training detection-reference waveform semantic global comparison feature vector is subjected to classification training through a classifier, the training detection-reference waveform semantic global comparison feature vector needs to be optimized in each iteration.
[0055] In an embodiment of the present application, the training unit is used to: when the training detection-reference waveform semantic global comparison feature vector is subjected to classification training through a classifier, the training detection-reference waveform semantic global comparison feature vector is optimized using the following optimization formula in each iteration; wherein the optimization formula is:
[0056]
[0057] In summary, the control system 100 of the electronic lock based on the embodiment of the present application is explained, which analyzes the received detection high-frequency radio signal by using the data processing and analysis algorithm based on artificial intelligence, so as to effectively extract the waveform characteristics of the detection radio wave signal, and judge whether the switch signal is correct by comparing the waveform characteristics of the detection signal and the reference signal, and automatically generates a control signal when the switch signal is judged to be correct, so as to realize accurate control of the electronic lock. In this way, the safety and reliability of the electronic lock can be improved, and illegal unlocking and misoperation can be prevented.
[0058] As described above, the control system 100 of the electronic lock according to the embodiment of the present application can be implemented in various wireless terminals, such as a server with a control algorithm for the electronic lock. In a possible implementation, the control system 100 of the electronic lock according to the embodiment of the present application can be integrated into the wireless terminal as a software module and / or a hardware module. For example, the control system 100 of the electronic lock can be a software module in the operating system of the wireless terminal, or can be an application developed for the wireless terminal; of course, the control system 100 of the electronic lock can also be one of the many hardware modules of the wireless terminal.
[0059] Alternatively, in another example, the electronic lock control system 100 and the wireless terminal may be separate devices, and the electronic lock control system 100 may be connected to the wireless terminal via a wired and / or wireless network and transmit interactive information in a predetermined data format.
[0060] Figure 6 FIG. 1 is a flow chart of a control method for an electronic lock according to an embodiment of the present application. Figure 6As shown, the control method of the electronic lock according to the embodiment of the present application includes: S110, acquiring the detection high-frequency radio signal received by the high-frequency receiving component and the reference high-frequency radio signal for correctly unlocking the lock; S120, performing waveform local area feature extraction on the detection high-frequency radio signal and the reference high-frequency radio signal respectively through a waveform area feature extractor based on a deep neural network model to obtain a sequence of semantic feature vectors of the local area of the detection signal waveform and a sequence of semantic feature vectors of the local area of the reference signal waveform; S130, performing context waveform feature extraction on the sequence of semantic feature vectors of the local area of the detection signal waveform and the sequence of semantic feature vectors of the local area of the reference signal waveform respectively. S140, performing semantic correlation analysis on each group of corresponding context detection signal waveform local area semantic feature vectors and context reference signal waveform local area semantic feature vectors in the sequence of context detection signal waveform local area semantic feature vectors and the sequence of context reference signal waveform local area semantic feature vectors to obtain detection-reference waveform semantic global contrast features; S150, determining whether the switch signal is correct based on the detection-reference waveform semantic global contrast features, and determining whether to generate a control signal.
[0061] Here, those skilled in the art will appreciate that the specific operations of each step in the above-mentioned electronic lock control method have been described in detail above. Figures 1 to 5 The control system of the electronic lock has been described in detail, and therefore, its repeated description will be omitted.
[0062] The above descriptions of various implementations of the present disclosure are exemplary and not exhaustive. The disclosure is not limited to the disclosed implementations, and many modifications and variations are obvious to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The terms used herein are selected to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various practical methods disclosed herein.
Claims
1. A control system for an electronic lock, characterized in that: include: A wireless receiving module, the wireless receiving module comprising a low-frequency receiving component and a high-frequency receiving component, the low-frequency receiving component is used to receive low-frequency radio waves emitted by an external lock control device, and the high-frequency receiving component is used to receive high-frequency radio waves with switch signals emitted by the lock control device; A power management module, used for receiving the low-frequency radio waves and converting the low-frequency radio waves into power signals, wherein the power signals are used for controlling a power supply to supply electric energy; a microprocessor module, for receiving the high-frequency radio wave, identifying the high-frequency radio wave to determine whether the switch signal is correct, and generating a control signal in response to the switch signal being correct; A driving module, for receiving the control signal, and in response to receiving the control signal, controlling the action of the lock core driving assembly in the lock body, so that the lock core driving assembly drives the lock core to perform corresponding opening and closing actions on the lock body; Wherein, the micro-processing module comprises: A high frequency radio signal acquisition unit, used to acquire the detection high frequency radio signal received by the high frequency receiving component, and a reference high frequency radio signal for correctly unlocking the lock; A waveform local area semantic feature extraction unit, used to perform waveform local area feature extraction on the detection high-frequency radio signal and the reference high-frequency radio signal respectively through a waveform area feature extractor based on a deep neural network model to obtain a sequence of detection signal waveform local area semantic feature vectors and a sequence of reference signal waveform local area semantic feature vectors; A waveform local area semantic context association coding unit, used to perform context waveform local area semantic association coding on the sequence of the detection signal waveform local area semantic feature vectors and the sequence of the reference signal waveform local area semantic feature vectors respectively to obtain a sequence of context detection signal waveform local area semantic feature vectors and a sequence of context reference signal waveform local area semantic feature vectors; A detection-reference waveform semantic global comparison and analysis unit, used for performing semantic relevance analysis on each group of corresponding context detection signal waveform local area semantic feature vectors and context reference signal waveform local area semantic feature vectors in the sequence of the context detection signal waveform local area semantic feature vectors and the sequence of the context reference signal waveform local area semantic feature vectors to obtain a detection-reference waveform semantic global comparison feature; A switch signal detection and control signal generation unit, used to determine whether the switch signal is correct and whether to generate a control signal based on the detection-reference waveform semantic global comparison feature; Wherein, the waveform local area semantic context association coding unit includes: A detection signal waveform semantic context association encoding subunit, used for passing the sequence of semantic feature vectors of the local area of the detection signal waveform through a first context encoder based on a converter module to obtain a sequence of semantic feature vectors of the local area of the context detection signal waveform; A reference signal waveform semantic context associated encoding subunit, used for passing the sequence of semantic feature vectors of local regions of the reference signal waveform through a second context encoder based on a converter module to obtain a sequence of semantic feature vectors of local regions of the context reference signal waveform; Wherein, the detection-reference waveform semantic global contrast analysis unit is used to: calculate the correlation between each group of corresponding context detection signal waveform local area semantic feature vectors and context reference signal waveform local area semantic feature vectors in the sequence of the context detection signal waveform local area semantic feature vectors and the sequence of the context reference signal waveform local area semantic feature vectors to obtain the detection-reference waveform semantic global contrast feature vector as the detection-reference waveform semantic global contrast feature; Wherein, the detection-reference waveform semantic global comparison and analysis unit is used to: calculate the correlation between each group of corresponding context detection signal waveform local area semantic feature vectors and context reference signal waveform local area semantic feature vectors in the sequence of the context detection signal waveform local area semantic feature vectors and the sequence of the context reference signal waveform local area semantic feature vectors by using the following semantic comparison formula to obtain the detection-reference waveform semantic global comparison feature vector; Wherein, the semantic comparison formula is: Among them, p (i) and q (i) are the feature values of each position of each group of corresponding context detection signal waveform local area semantic feature vectors and context reference signal waveform local area semantic feature vectors in the sequence of the context detection signal waveform local area semantic feature vectors and the sequence of the context reference signal waveform local area semantic feature vectors, N is the scale of each group of corresponding context detection signal waveform local area semantic feature vectors and context reference signal waveform local area semantic feature vectors in the sequence of the context detection signal waveform local area semantic feature vectors and the sequence of the context reference signal waveform local area semantic feature vectors, s i It is the feature value of each position in the detection-reference waveform semantic global comparison feature vector.
2. The electronic lock control system according to claim 1, characterized in that: The deep neural network model is an RCNN model.
3. The electronic lock control system according to claim 2, characterized in that: The switch signal detection and control signal generation unit comprises: A switch signal correctness detection subunit, used for passing the detection-reference waveform semantic global comparison feature vector through a classifier to obtain a classification result, wherein the classification result is used to indicate whether the switch signal is correct; The control signal generating subunit is used to determine whether to generate a control signal based on the classification result.
4. The electronic lock control system according to claim 3, characterized in that: It also includes a training module for training the waveform area feature extractor based on the RCNN model, the first context encoder based on the converter module, the second context encoder based on the converter module, and the classifier.
5. The electronic lock control system according to claim 4, characterized in that: The training module comprises: A training data acquisition unit, used to acquire training data, wherein the training data includes a training detection high-frequency radio signal received by the high-frequency receiving component, a training reference high-frequency radio signal for correct unlocking, and a true value of whether the switch signal is correct; A training signal waveform local area feature extraction unit, used for passing the training detection high-frequency radio signal and the training reference high-frequency radio signal through the waveform area feature extractor based on the RCNN model to obtain a sequence of training detection signal waveform local area semantic feature vectors and a sequence of training reference signal waveform local area semantic feature vectors; A training detection signal context encoding unit, used for passing the sequence of semantic feature vectors of the local area of the training detection signal waveform through the first context encoder based on the converter module to obtain a sequence of semantic feature vectors of the local area of the training context detection signal waveform; A training reference signal context encoding unit, used for passing the sequence of semantic feature vectors of local regions of the training reference signal waveform through the second context encoder based on the converter module to obtain a sequence of semantic feature vectors of local regions of the training context reference signal waveform; A training signal correlation calculation unit, used to calculate the correlation between each group of corresponding training context detection signal waveform local area semantic feature vectors and training context reference signal waveform local area semantic feature vectors in the sequence of the training context detection signal waveform local area semantic feature vectors and the sequence of the training context reference signal waveform local area semantic feature vectors to obtain a training detection-reference waveform semantic global comparison feature vector; A classification loss unit, used for passing the training detection-reference waveform semantic global comparison feature vector through the classifier to obtain a classification loss function value; A training unit is used to train the waveform region feature extractor based on the RCNN model, the first context encoder based on the converter module, the second context encoder based on the converter module, and the classifier based on the classification loss function value and through the direction propagation of gradient descent, wherein when the training detection-reference waveform semantic global contrast feature vector is subjected to classification training through the classifier, the training detection-reference waveform semantic global contrast feature vector is optimized at each iteration.
6. A method for controlling an electronic lock, using the control system of the electronic lock according to claim 1, characterized in that: include: Acquire the detection high-frequency radio signal received by the high-frequency receiving component and the reference high-frequency radio signal for correct unlocking; Performing waveform local area feature extraction on the detection high-frequency radio signal and the reference high-frequency radio signal respectively by a waveform area feature extractor based on a deep neural network model to obtain a sequence of semantic feature vectors of the detection signal waveform local area and a sequence of semantic feature vectors of the reference signal waveform local area; Performing context waveform local area semantic association coding on the sequence of the detection signal waveform local area semantic feature vectors and the sequence of the reference signal waveform local area semantic feature vectors respectively to obtain a sequence of context detection signal waveform local area semantic feature vectors and a sequence of context reference signal waveform local area semantic feature vectors; Performing semantic relevance analysis on each corresponding group of context detection signal waveform local area semantic feature vectors and context reference signal waveform local area semantic feature vectors in the sequence of the context detection signal waveform local area semantic feature vectors and the sequence of the context reference signal waveform local area semantic feature vectors to obtain a detection-reference waveform semantic global contrast feature; Based on the detection-reference waveform semantic global comparison feature, it is determined whether the switch signal is correct and whether a control signal is generated.
Citation Information
Patent Citations
Electronic lock structure
CN113137137A
Alternating current charging electronic lock control method based on scene recognition
CN116486524A
