Lock interference detection method, lock interference detection device and computer storage medium

By installing an interference detection module on the lock, signals are transmitted and received to calculate the time interval, the lock interference situation is judged and the alarm is output, the problem of interference detection of the lock tongue and buckle plate is solved, and the detection efficiency and accuracy are improved.

CN118913643APending Publication Date: 2024-11-08HANGZHOU HUACHENG NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410788536.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

Existing lock detection technology cannot effectively detect the interference between the lock tongue and the buckle plate, especially when the door sinks or installs a deviated position, which leads to difficult opening or inability to open and close the door.

Method used

The interference detection module is adopted to transmit detection signals to the direction of the lock plate, receive the return signal, calculate the real-time time interval, determine whether the difference between the preset threshold value exceeds the threshold, output the interference alarm prompt, and adjust the time interval during the calibration stage to ensure that Accurate detection.

Benefits of technology

Automatic detection of lock interference is realized, detection efficiency is improved, alarms are promptly reported and the possibility of lock interference is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118913643A_ABST
    Figure CN118913643A_ABST
Patent Text Reader

Abstract

The invention provides a lock interference detection method, a lock interference detection device and a computer storage medium. The lock interference detection method is applied to an interference detection module, a lock comprises a lock body and a buckle plate, and the interference detection module is arranged on the lock body. The lockset interference detection method comprises the following steps: in response to a closing state of a lockset, transmitting a first detection signal to a buckle plate direction of the lockset; receiving a second detection signal returned in the pinch plate direction of the lock; acquiring a real-time time interval between the first detection signal and the second detection signal; judging whether a difference value between the real-time time interval and a preset time interval exceeds a preset threshold value or not; and if yes, outputting an alarm prompt indicating that the lock is interfered. Through the lock interference detection method, automatic detection of lock interference is realized, and the detection efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of lock detection, and in particular to a lock interference detection method, a lock interference detection device and a computer storage medium. Background Art

[0002] With the development of society and the continuous improvement of the quality of life, people's safety awareness is getting higher and higher. As the first line of defense at home, the door is also given great attention. The lock body used with the door is also becoming more and more widely used.

[0003] Generally, the lock body and the gusset plate are used together. The lock body is placed inside the door, the gusset plate is located on the door frame, and the lock tongue is directly opposite the middle of the opening of the gusset plate. When locking, the oblique tongue / square tongue of the lock body extends and passes through the gusset plate, thereby achieving the function of locking the door. However, as the door is used for a longer time, the door will sink; or it will be installed at an angle, in which case the lock tongue and the gusset plate will interfere with each other; making it difficult or impossible to open and close the door.

[0004] Some of the existing technologies are purely mechanical structures and cannot realize the electronic detection function; or the lock body and the buckle plate are greatly offset, the interference is serious, the lock tongue is against the buckle plate metal, and the lock tongue cannot be extended or extended, and it can only be detected. Summary of the invention

[0005] In order to solve the above technical problems, the present application proposes a lock interference detection method, a lock interference detection device and a computer storage medium.

[0006] In order to solve the above technical problems, the present application proposes a lock interference detection method, which is applied to an interference detection module. The lock includes a lock body and a buckle plate, and the interference detection module is arranged on the lock body. The lock interference detection method includes:

[0007] In response to the lock being in a closed state, transmitting a first detection signal in the direction of a pinch plate of the lock;

[0008] Receiving a second detection signal returned from the direction of the buckle plate of the lock;

[0009] Obtaining a real-time time interval between the first detection signal and the second detection signal;

[0010] Determine whether the difference between the real-time time interval and the preset time interval exceeds a preset threshold;

[0011] If so, an alarm indicating that the lock has been interfered with is output.

[0012] The lock body includes a lock tongue, and the interference detection module is arranged in any one direction or multiple directions above, below, on the left side and on the right side of the lock tongue and is close to the lock tongue.

[0013] Wherein, the outputting of the alarm prompt of the lock interference includes:

[0014] A target interference detection module is provided to obtain a detection signal corresponding to a difference value exceeding the preset threshold value;

[0015] According to the interference alarm direction of the target interference detection module compared with the lock tongue;

[0016] Output an alarm prompt of the interference alarm direction.

[0017] Wherein, the lock body also includes a lock tongue detection module;

[0018] The lock interference detection method further includes:

[0019] Obtaining the lock tongue extension length output by the lock tongue detection module;

[0020] When the extended length of the lock tongue exceeds a preset length, it is confirmed that the lock is in a closed state.

[0021] Wherein, the lock interference detection method further includes:

[0022] After the first installation, a third detection signal is emitted in the direction of the buckle plate of the lock;

[0023] Receiving a fourth detection signal returned from the direction of the buckle plate of the lock;

[0024] Acquire a calibration time interval between the third detection signal and the fourth detection signal;

[0025] Determining whether the difference between the calibration time interval and a preset reference value exceeds the preset threshold;

[0026] If so, output calibration adjustment information.

[0027] Wherein, after obtaining the calibration time interval between the third detection signal and the fourth detection signal, the lock interference detection method further includes:

[0028] When the difference between the calibration time interval and the preset reference value does not exceed the preset threshold, the calibration time interval is set to the preset time interval.

[0029] Wherein, the preset reference value is set by the physical distance between the lock body and the buckle plate.

[0030] In order to solve the above technical problems, the present application also proposes a lock interference detection device, which includes a transmitting module, a receiving module, and a detection module; wherein:

[0031] The transmitting module is used to transmit a first detection signal toward the pinch plate of the lock in response to the closed state of the lock;

[0032] The receiving module is used to receive a second detection signal returned from the direction of the lock plate;

[0033] The detection module is used to obtain the real-time time interval between the first detection signal and the second detection signal; determine whether the difference between the real-time time interval and the preset time interval exceeds a preset threshold; if so, output an alarm prompt indicating that interference has occurred in the lock.

[0034] In order to solve the above technical problems, the present application also proposes another lock interference detection device, which includes a memory and a processor coupled to the memory; wherein the memory is used to store program data, and the processor is used to execute the program data to implement the lock interference detection method as described above.

[0035] In order to solve the above technical problems, the present application further proposes a computer storage medium, wherein the computer storage medium is used to store program data, and when the program data is executed by a computer, it is used to implement the above lock interference detection method.

[0036] Compared with the prior art, the beneficial effects of the present application are: the interference detection module responds to the closed state of the lock, transmits a first detection signal to the direction of the lock's gusset plate; receives a second detection signal returned from the direction of the lock's gusset plate; obtains the real-time time interval between the first detection signal and the second detection signal; determines whether the difference between the real-time time interval and the preset time interval exceeds a preset threshold; if so, outputs an alarm prompt indicating that the lock has interfered. Through the above lock interference detection method, automatic detection of lock interference is achieved, improving detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0038] in:

[0039] Figure 1 It is a flowchart of an embodiment of a lock interference detection method provided by the present application;

[0040] Figure 2 It is a schematic diagram of the overall process of the lock interference detection method provided in the detection phase of the present application;

[0041] Figure 3 is a schematic diagram of the installation position of the interference detection module provided in this application;

[0042] Figure 4 It is a structural schematic diagram of an embodiment of a lock provided by the present application;

[0043] Figure 5 It is a structural schematic diagram of an embodiment of a lock in a normal state provided by the present application;

[0044] Figure 6 It is a structural schematic diagram of an embodiment of the interference between the lock tongue and the buckle plate provided by the present application;

[0045] Figure 7 is a flow chart of another embodiment of the lock interference detection method provided by the present application;

[0046] Figure 8 It is a schematic diagram of the overall process of the lock interference detection method in the calibration phase provided by the present application;

[0047] Fig. 9 It is a structural schematic diagram of an embodiment of a lock interference detection device provided by the present application;

[0048] Fig.10 It is a structural diagram of an embodiment of a computer storage medium provided by the present application. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0050] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can, for example, be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0051] Please refer to Figure 1 and Figure 2 , Figure 1 is a flow chart of an embodiment of a lock interference detection method provided by the present application, Figure 2 It is a schematic diagram of the overall flow of the lock interference detection method in the detection phase provided by this application.

[0052] The lock interference detection method of the present application is applied to a lock interference detection device, wherein the lock interference detection device of the present application can be a server, a terminal device, or a system composed of a server and a terminal device. Accordingly, the various parts of the lock interference detection device, such as various units, subunits, modules, and submodules, can all be set in the server, can all be set in the terminal device, or can be set in the server and the terminal device respectively.

[0053] Furthermore, the above-mentioned server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules, such as software or software modules used to provide distributed servers, or it can be implemented as a single software or software module, which is not specifically limited here.

[0054] Specifically, the lock interference detection device of the present application can be embodied as an interference detection module installed in the lock. For example, the present application can add an interference detection module in the empty space between the edge of the lock tongue and the edge of the gusset plate. For details, please refer to Figure 3 , Figure 3 Schematic diagram of the installation position of the interference detection module provided in this application. The working principle of the interference detection module is as follows:

[0055] The interference detection module sends out a signal (such as laser, infrared, etc.), and the signal is reflected back after encountering an obstacle or a gusset plate. After receiving the returned signal, the detection module can calculate the time of signal transmission-return. When the lock tongue and the gusset plate interfere with each other, the position of the interference detection module will change with the lock body, and the signal transmission-return time will change. The interference detection module can obtain the detection result of the lock interference.

[0056] like Figure 1 As shown, the specific steps are as follows:

[0057] Step S11: in response to the closed state of the lock, a first detection signal is transmitted toward the pinch plate of the lock.

[0058] In the embodiments of this application, please refer to Figure 4 , Figure 4 Schematic diagram of the structure of a lock provided by the present application. Figure 4As shown, the lock of the present application specifically includes a lock body and a gusset plate, and a lock tongue is arranged on the lock body. When the lock is locked, the lock tongue of the lock body extends and passes through the gusset plate, thereby achieving the function of locking the door. Among them, the shape of the lock tongue of the present application is not specifically limited, and it can be an oblique tongue or a square tongue, etc. However, as the door is used for a longer time, the door will sink; or it will be installed at an angle, and then there will be interference between the lock tongue and the gusset plate; it will be difficult to open and close the door or it will be impossible to open and close the door.

[0059] Therefore, this application uses the interference detection module to monitor Figure 4 Whether the lock shown has interference fault, timely alarm or even early warning can be realized.

[0060] Specifically, Figure 3 As shown, the interference detection module can be installed in any one direction or multiple directions above, below, on the left side, and on the right side of the lock tongue, and close to the lock tongue. Therefore, the direction and number of the interference detection modules of the present application are not limited, and can be set according to the detection requirements of the specific scene.

[0061] For example, the interference detection module is installed on the top of the lock tongue, and can detect the interference fault of the lock body deviating upward when the lock body is installed or used. The interference detection module is installed on the bottom of the lock tongue, and can detect the interference fault of the lock body deviating downward when the lock body is installed or used. The interference detection module is installed on the left side of the lock tongue, and can detect the interference fault of the lock body deviating to the left when the lock body is installed or used. The interference detection module is installed on the right side of the lock tongue, and can detect the interference fault of the lock body deviating to the right when the lock body is installed or used.

[0062] When the lock is in the closed state, that is, in the normal state, the lock tongue extends from the lock body and extends into the middle of the strike plate hole, that is, Figure 5 In the normal state shown, the lock tongue is located in the middle of the pinch plate hole, and the interference detection module transmits a first detection signal toward the pinch plate of the lock.

[0063] In addition, the present application also provides a lock tongue detection module, which can be integrated into the interference detection module to detect the extension length of the lock tongue. The interference detection module can confirm whether the lock is in a closed state according to whether the extension length of the lock tongue exceeds a preset length.

[0064] Furthermore, even if the lock fails to interfere, the lock tongue will still extend out of the lock body, but the extended length is less than the extended length when no interference occurs. Therefore, the interference detection module can set the preset length to be as small as possible, and can detect that the lock is in a closed state both when interference occurs and when no interference occurs.

[0065] Step S12: receiving a second detection signal returned from the locking plate direction.

[0066] Step S13: Acquire the real-time time interval between the first detection signal and the second detection signal.

[0067] In an embodiment of the present application, the interference detection module receives a second detection signal returned from the direction of the lock's buckle plate, and compares the emission time of the first detection signal with the reception time of the second detection signal, thereby generating a real-time time interval for this interference detection, which can effectively represent the actual distance between the interference detection module and the buckle plate, and is used to determine whether interference occurs in the lock.

[0068] Step S14: Determine whether the difference between the real-time time interval and the preset time interval exceeds a preset threshold.

[0069] In the embodiment of the present application, the interference detection module calculates the difference between the real-time time interval and the preset time interval, and determines whether the time difference exceeds the preset threshold. If not, it proceeds to step S15; if yes, it continues to perform interference detection in the next cycle.

[0070] The preset time interval is the time when the interference detection module Figure 5 The detection time interval in the normal state shown is, if the lock does not interfere, the real-time time interval should be very close to the preset time interval. Therefore, the present application can use the preset time interval as the main factor for determining whether interference occurs.

[0071] Please continue reading Figure 6 , Figure 6 Schematic diagram of the structure of an embodiment of the interference between the lock tongue and the buckle plate provided by the present application. Figure 6 As described above, when the lock tongue interferes with the gusset plate, the signal sent by the interference detection module at the bottom of the lock tongue is immediately returned on the gusset plate metal, and the real-time time interval is naturally shorter than the real-time time interval detected by the signal returned in the gusset plate hole. Therefore, in the case of interference, the time difference between the real-time time interval and the preset time interval should exceed the preset threshold.

[0072] Furthermore, when the lock tongue and the buckle plate do not interfere with each other but are about to interfere with each other, due to the offset between the interference detection module and the lock tongue, the signal sent by the interference detection module still returns on the buckle plate metal, thereby achieving the effect of interference warning.

[0073] Step S15: Outputting an alarm indicating that the lock has been interfered with.

[0074] In the embodiment of the present application, the interference detection module outputs an alarm prompt of interference in the lock, and the output form includes but is not limited to: sending a prompt message to the user's client, emitting a buzzer, and flashing a warning light.

[0075] Furthermore, since different deviation directions of lock interference are detected by the interference detection module at different installation positions, the present application can further obtain the interference deviation direction of the lock according to the interference detection module that outputs an alarm prompt, thereby facilitating the user to make corresponding adjustments in a timely manner.

[0076] In the embodiment of the present application, the interference detection module responds to the closed state of the lock by transmitting a first detection signal to the direction of the lock plate; receiving a second detection signal returned from the direction of the lock plate; obtaining the real-time time interval between the first detection signal and the second detection signal; determining whether the difference between the real-time time interval and the preset time interval exceeds a preset threshold; if so, outputting an alarm prompt indicating that the lock has interfered. The above lock interference detection method can realize automatic detection of lock interference and improve detection efficiency.

[0077] based on Figure 1 The lock interference detection method proposed in the detection phase is shown in the figure. The present application also provides a lock interference detection method provided in the calibration phase. Figure 7 and Figure 8 , Figure 7 is a flow chart of another embodiment of the lock interference detection method provided by the present application, Figure 8 It is a schematic diagram of the overall flow of the lock interference detection method in the calibration phase provided by the present application.

[0078] like Figure 7 As shown, the specific steps are as follows:

[0079] Step S21: after the first installation, a third detection signal is emitted toward the buckle plate of the lock.

[0080] Step S22: receiving a fourth detection signal returned from the locking plate direction of the lock.

[0081] Step S23: obtaining a calibration time interval between the third detection signal and the fourth detection signal.

[0082] Step S24: determining whether the difference between the calibration time interval and the preset reference value exceeds a preset threshold.

[0083] In the embodiment of the present application, the preset reference value can be a default reference value set by the staff in the interference detection module based on engineering experience when the lock is shipped out of the factory. In addition, the preset reference value can also be generated by system simulation after the physical distance between the lock body and the gusset plate is input into the interference detection module.

[0084] The preset reference value is the time interval when the lock body is in a normally closed state by default. Therefore, after the lock is installed for the first time, if the difference between the calibration time interval obtained by the interference detection module and the preset reference value is within the preset threshold range, the calibration is successful. At this time, the interference detection module can also overwrite the preset reference value with the calibration time interval as Figure 1 The preset time interval of the detection phase shown is more in line with the actual situation.

[0085] If the difference between the calibration time interval obtained by the interference detection module and the preset reference value exceeds the preset threshold range, the calibration fails and the process goes to step S25.

[0086] Step S25: Output calibration adjustment information.

[0087] In the embodiment of the present application, the interference detection module can obtain the offset direction of the lock, thereby outputting calibration adjustment information, which is convenient for the staff to accurately install the lock and reduce the possibility of interference between the locks.

[0088] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0089] In order to implement the above lock interference detection method, the present application also proposes a lock interference detection device, for details, please refer to Fig. 9 , Fig. 9 It is a structural schematic diagram of an embodiment of a lock interference detection device provided in the present application.

[0090] The lock interference detection device 400 of this embodiment includes a processor 41 , a memory 42 , an input / output device 43 , and a bus 44 .

[0091] The processor 41 , the memory 42 , and the input / output device 43 are respectively connected to the bus 44 . The memory 42 stores program data. The processor 41 is used to execute the program data to implement the lock interference detection method described in the above embodiment.

[0092] In the embodiment of the present application, the processor 41 may also be referred to as a CPU (Central Processing Unit). The processor 41 may be an integrated circuit chip having the ability to process signals. The processor 41 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, or discrete hardware components. A general-purpose processor may be a microprocessor or the processor 41 may also be any conventional processor, etc.

[0093] This application also provides a computer storage medium, please continue to refer to Fig.10 , Fig.10 1 is a schematic diagram of the structure of an embodiment of a computer storage medium provided in the present application. The computer storage medium 600 stores a computer program 61. When the computer program 61 is executed by a processor, it is used to implement the lock interference detection method of the above embodiment.

[0094] When the embodiments of the present application are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0095] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A lock interference detection method, characterized in that: The lock interference detection method is applied to an interference detection module, the lock includes a lock body and a pinch plate, and the interference detection module is arranged on the lock body; the lock interference detection method includes: In response to the lock being in a closed state, transmitting a first detection signal in the direction of a pinch plate of the lock; Receiving a second detection signal returned from the direction of the buckle plate of the lock; Obtaining a real-time time interval between the first detection signal and the second detection signal; Determine whether the difference between the real-time time interval and the preset time interval exceeds a preset threshold; If so, an alarm indicating that the lock has been interfered with is output.

2. The lock interference detection method according to claim 1, characterized in that: The lock body includes a lock tongue, and the interference detection module is arranged in any one direction or multiple directions above, below, on the left side and on the right side of the lock tongue and is close to the lock tongue.

3. The lock interference detection method according to claim 2, characterized in that: The outputting of the alarm prompt of the lock interference includes: A target interference detection module is provided to obtain a detection signal corresponding to a difference value exceeding the preset threshold value; According to the interference alarm direction of the target interference detection module compared with the lock tongue; Output an alarm prompt of the interference alarm direction.

4. The lock interference detection method according to claim 2, characterized in that: The lock body also includes a lock tongue detection module; The lock interference detection method further includes: Obtaining the lock tongue extension length output by the lock tongue detection module; When the extended length of the lock tongue exceeds a preset length, it is confirmed that the lock is in a closed state.

5. The lock interference detection method according to claim 1, characterized in that: The lock interference detection method further includes: After the first installation, a third detection signal is emitted in the direction of the buckle plate of the lock; Receiving a fourth detection signal returned from the direction of the buckle plate of the lock; Acquire a calibration time interval between the third detection signal and the fourth detection signal; Determining whether the difference between the calibration time interval and a preset reference value exceeds the preset threshold; If so, output calibration adjustment information.

6. The lock interference detection method according to claim 5, characterized in that: After obtaining the calibration time interval between the third detection signal and the fourth detection signal, the lock interference detection method further includes: When the difference between the calibration time interval and the preset reference value does not exceed the preset threshold, the calibration time interval is set to the preset time interval.

7. The lock interference detection method according to claim 5, characterized in that: The preset reference value is set by the physical distance between the lock body and the pinch plate.

8. A lock interference detection device, characterized in that: The lock interference detection device includes a transmitting module, a receiving module, and a detection module; wherein, The transmitting module is used to transmit a first detection signal toward the pinch plate of the lock in response to the closed state of the lock; The receiving module is used to receive a second detection signal returned from the direction of the lock plate; The detection module is used to obtain the real-time time interval between the first detection signal and the second detection signal; determine whether the difference between the real-time time interval and the preset time interval exceeds a preset threshold; if so, output an alarm prompt indicating that interference has occurred in the lock.

9. A lock interference detection device, characterized in that: The lock interference detection device includes a memory and a processor coupled to the memory; The memory is used to store program data, and the processor is used to execute the program data to implement the lock interference detection method according to any one of claims 1 to 7.

10. A computer storage medium, characterized in that: The computer storage medium is used to store program data, and when the program data is executed by a computer, it is used to implement the lock interference detection method according to any one of claims 1 to 7.