Control method and apparatus for access control door lock
By receiving and calculating the difference in positioning signal strength inside and outside the door, the terminal device location is determined, solving the problem that access control door locks cannot be repeatedly unlocked over short distances, and achieving more efficient and reliable access control.
Patent Information
- Application Number
- PCT/CN2025/080900
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-09
- Filing Date
- 2025-03-06
- Publication Date
- 2025-10-16
AI Technical Summary
In the prior art, access control door locks cannot be repeatedly unlocked over short distances, especially due to GPS errors and limitations of Bluetooth electronic fences, resulting in the inability to effectively control the unlocking and locking of the access control door locks.
By receiving the positioning signal strength from inside and outside the door, and using the positioning information receiving module and position determination module of the terminal device or the access control door lock itself, the signal strength difference is calculated to determine the current location of the terminal device, and based on this, an unlocking command is issued to the access control door lock to achieve precise control.
It improves the efficiency and reliability of repeated short-distance unlocking of access control door locks, ensuring the safety and reliability of the access control system.
Smart Images

Figure CN2025080900_16102025_PF_FP_ABST
Abstract
Description
Method and device for controlling access control lock TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, in particular to a method and device for controlling access control lock. BACKGROUND
[0002] In the related art, when the access control lock locates a person, it usually forms an electronic fence based on the GPS and Bluetooth of the communication equipment. However, due to the 10m error of GPS, the access control lock cannot repeatedly open the lock for a short distance. The person must exit the electronic fence and then re-enter to use the access control lock again. SUMMARY
[0003] Therefore, the present application provides a method and device for controlling access control lock to solve the problem that the access control lock cannot repeatedly open the lock for a short distance in the related art.
[0004] In a first aspect, the present application provides a method for controlling access control lock, applied to a terminal device, which comprises: receiving positioning information sent by a target access control lock connected, the positioning information comprising a first positioning signal from inside the door and a second positioning signal from outside the door; determining the current position of the terminal device based on the signal strength of the first positioning signal and the second positioning signal in the positioning information; and issuing an unlocking instruction to the target access control lock based on the current position of the terminal device to control the target access control lock to unlock. Through the above process, the efficiency and reliability of the access control lock repeatedly opening the lock for a short distance can be improved.
[0005] In some optional embodiments, determining the current position of the terminal device based on the signal strength of the first positioning signal and the second positioning signal in the positioning information comprises:
[0006] obtaining a first signal strength threshold corresponding to the first positioning signal and the second positioning signal;
[0007] when the signal strength of the first positioning signal or the second positioning signal is greater than the corresponding first signal strength threshold, calculating the signal strength difference between the first positioning signal and the second positioning signal;
[0008] determining the current position of the terminal device based on the signal strength difference.
[0009] In some optional embodiments, determining the current position of the terminal device based on the signal strength difference comprises:
[0010] obtaining a signal strength difference threshold of the first positioning signal and the second positioning signal;
[0011] comparing the signal strength difference with the signal strength difference threshold to obtain a threshold comparison result;
[0012] When the threshold comparison result represents that the signal strength difference is greater than the signal strength difference threshold, and the signal strength of the first positioning signal is less than the signal strength of the second positioning signal, the current position of the terminal device is determined to be outside the door.
[0013] In some optional embodiments, the current position of the terminal device is determined based on the signal strength difference, including:
[0014] When the threshold comparison result represents that the signal strength difference is greater than the signal strength difference threshold, and the signal strength of the first positioning signal is greater than the signal strength of the second positioning signal, the current position of the terminal device is determined to be inside the door.
[0015] In some optional embodiments, based on the current position of the terminal device, an unlocking instruction is issued to the target access control door lock to control the target access control door lock to be unlocked, including:
[0016] When the current position of the terminal device is outside the door, and the signal strength of the second positioning signal is greater than a second signal strength threshold, an authorization file is issued to the target access control door lock, and the second signal strength threshold is greater than or equal to the first signal strength threshold.
[0017] When receiving the indication information of authorization success fed back by the target access control door lock for the authorization file, an unlocking instruction is issued to the target access control door lock to control the target access control door lock to be unlocked.
[0018] In some optional embodiments, the current position of the terminal device is determined based on the signal strengths of the first positioning signal and the second positioning signal in the positioning information, including:
[0019] The sampling information of the first positioning signal and the second positioning signal in each sampling period is obtained;
[0020] Based on the sampling information, the abnormal signals in the first positioning signal and the second positioning signal are determined;
[0021] The abnormal signals in the first positioning signal and the second positioning signal are filtered out to obtain a first positioning signal set and a second positioning signal set;
[0022] Based on the average signal strength difference of the first positioning signal set and the second positioning signal set, the current position of the terminal device is determined.
[0023] In some optional embodiments, based on the sampling information, the abnormal signals in the first positioning signal and the second positioning signal are determined, including:
[0024] Based on the sampling information, the target signal strength corresponding to the first positioning signal and the second positioning signal is determined;
[0025] The signal strength difference between the signal strengths of the first positioning signal and the second positioning signal and the corresponding target signal strength is calculated.
[0026] determine an abnormal signal in the first positioning signal and the second positioning signal based on the signal strength difference.
[0027] In a second aspect, the present application provides a method for controlling an access door lock, which is applied to a target access door lock, and the method comprises:
[0028] receiving feedback information fed back by a terminal device based on positioning information, wherein the positioning information comprises a first positioning signal from inside a door and a second positioning signal from outside the door, and the first positioning signal and the second positioning signal have different signal strengths;
[0029] determining a current position of the terminal device based on the signal strengths of the first positioning signal and the second positioning signal in the feedback information;
[0030] unlocking the target access door lock based on the current position of the terminal device and a received unlocking instruction.
[0031] In a third aspect, the present application provides a device for controlling an access door lock, which mainly comprises a positioning information receiving module, a first position determining module, and a first access door lock unlocking module; wherein the positioning information receiving module is configured to receive positioning information sent by a connected target access door lock, and the positioning information comprises a first positioning signal from inside a door and a second positioning signal from outside the door; the first position determining module is configured to determine a current position of a terminal device based on the signal strengths of the first positioning signal and the second positioning signal in the positioning information; and the first access door lock unlocking module is configured to issue an unlocking instruction to the target access door lock based on the current position of the terminal device, so as to control the target access door lock to be unlocked. Through the above modules, the efficiency and reliability of repeated short-distance unlocking of the access door lock can be improved.
[0032] In a fourth aspect, the present application provides a device for controlling an access door lock, which mainly comprises a feedback information receiving module, a second position determining module, and a second access door lock unlocking module; wherein the feedback information receiving module is configured to receive feedback information fed back by a terminal device based on positioning information, and the positioning information comprises a first positioning signal from inside a door and a second positioning signal from outside the door; the second position determining module is configured to determine a current position of the terminal device based on the signal strengths of the first positioning signal and the second positioning signal in the feedback information; and the second access door lock unlocking module is configured to unlock a target access door lock based on the current position of the terminal device and a received unlocking instruction. Through the above modules, the efficiency and reliability of repeated short-distance unlocking of the access door lock can be improved.
[0033] In a fifth aspect, the present application provides a computer device, comprising a memory and a processor, which are communicatively connected with each other, and the memory stores computer instructions, and the processor executes the method for controlling the access door lock according to the first aspect or any one of the corresponding embodiments.
[0034] In a sixth aspect, the present application provides a computer readable storage medium, which stores computer instructions for making a computer execute the method for controlling the access door lock according to the first aspect or any one of the corresponding embodiments. BRIEF DESCRIPTION OF DRAWINGS
[0035] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the drawings needed in the specific embodiments or prior art description will be briefly introduced as follows. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0036] Fig. 1 is a schematic diagram of an application environment of an embodiment of the present application;
[0037] Fig. 2 is a schematic diagram of a structure of a target access door lock in the method for controlling the access door lock of an embodiment of the present application;
[0038] Fig. 3 is a schematic diagram of another structure of a target access door lock in the method for controlling the access door lock of an embodiment of the present application;
[0039] Fig. 4 is a schematic diagram of a layout of a directional antenna in the method for controlling the access door lock of an embodiment of the present application;
[0040] Fig. 5 is a schematic diagram of another layout of a directional antenna in the method for controlling the access door lock of an embodiment of the present application;
[0041] Fig. 6 is a schematic diagram of still another layout of a directional antenna in the method for controlling the access door lock of an embodiment of the present application;
[0042] Fig. 7 is a schematic diagram of a flow of the method for controlling the access door lock of an embodiment of the present application;
[0043] Fig. 8 is a schematic diagram of another flow of the method for controlling the access door lock of an embodiment of the present application;
[0044] Fig. 9 is an effect diagram of the method for controlling the access door lock of an embodiment of the present application;
[0045] Fig. 10 is a structural block diagram of a device for controlling the access door lock of an embodiment of the present application;
[0046] Fig. 11 is another structural block diagram of a device for controlling the access door lock of an embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts should fall into the scope of the present application.
[0048] The terms "first" and "second" in the description and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific sequence. In addition, the term "comprising" and any variations thereof are intended to cover the non-exclusive protection. For example, the process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but can optionally include steps or units not listed, or can optionally include other steps or units inherent to the process, method, product or device. "Multiple" in the present application can mean at least two, for example, can be two, three or more, and the embodiments of the present application are not limited.
[0049] Please refer to FIG. 1, which is a schematic diagram of an application environment provided by the embodiments of the present application, including a target access control lock 100 which can include a display 101, a processor 102 and a memory 103. The target access control lock 100 can be connected with a terminal device 200 through a network 300, which can be used to provide services (such as user location judgment services) for the computing program installed on the target access control lock. A database 201 can be set on the terminal device 200 or independently of the terminal device 200, which can be used to provide data storage services for the terminal device 200. In addition, the terminal device 200 is provided with a processing engine 202, which can be used to execute the steps executed by the terminal device 200.
[0050] Optionally, the terminal device 200 can be, but is not limited to, a terminal that can calculate data, such as a mobile terminal (for example, a mobile phone), a smart watch, a wearable device, a personal computer and the like. The above network can include but is not limited to a wireless network or a wired network. The wireless network includes Bluetooth, WIFI (Wireless Fidelity), and other networks that realize wireless communication. The above wired network can include but is not limited to a wide area network, a metropolitan area network, and a backup management server cluster.
[0051] In an alternative embodiment, when the target access door lock communicates with the terminal device using Bluetooth, a Bluetooth module with dual antennas or a Bluetooth module with multiple antennas can be used. When a Bluetooth module with dual antennas is used, two symmetrical directional antennas (such as directional antenna 1 and directional antenna 2) can be arranged on both sides of the target access door lock or the door body where the target access door lock is located, as shown in FIG. 2. When a Bluetooth module with multiple antennas, such as a Bluetooth module with 4 antennas, is used, two pairs of directional antennas (such as directional antenna 1, directional antenna 2, directional antenna 3, and directional antenna 4) can be arranged on both sides of the target access door lock or the door body where the target access door lock is located, as shown in FIG. 3.
[0052] To improve the accuracy of positioning the terminal device, the front of the directional antenna will not be blocked by metal or magnetically permeable material, and the back will be provided with a blocking metal with a corresponding space, and the antenna is symmetrically arranged front and back. Among them, the above Bluetooth module can use multiple wireless SOC schemes or one SOC plus RF switch scheme in the circuit and be connected to the corresponding antenna. FIG. 4 is a communication chip that switches antennas through a radio frequency switch, divided into a low-cost dual-antenna and a high-cost 4-antenna. FIG. 5 is a device using 2 communication chips, each of which controls one or 2 antennas, and 2 communication chips can control 2 or 4 antennas. One communication chip controlling 2 antennas can refer to FIG. 4. FIG. 6 is 2 devices (which can be expanded to multiple) controlling 2 or 4 antennas, and each SOC device controls 2 antennas, which can refer to FIG. 4 or FIG. 5.
[0053] When one Bluetooth SOC chip controls 2 or more antennas, the same Bluetooth name can be used, but different directional antennas 1 and 2 are identified for sending positioning information. When two Bluetooth SOC chips control 2 or more antennas, two similar Bluetooth names can be used, and different directional antennas 1 and 2 are identified for sending positioning information. When two independent Bluetooth SOC devices control 2 or more antennas, two different Bluetooth names can be used, and different directional antennas 1 and 2 are identified for sending positioning information. Among them, the sending of positioning information can be in the form of broadcast or long connection. In the case of good front and back suppression of directional antennas, the difference between the two directional antennas is generally 10-30db or more, and the position can be effectively determined through software filtering algorithm. In the case of small directional antenna angle, the number of antennas can be increased to compensate.
[0054] In addition, in the embodiment, the method for controlling the access control lock can also be applied in a separate processing device with high processing capability without data interaction. For example, the processing device can be a terminal device with high processing capability, that is, each operation in the method for controlling the access control lock can be integrated in a separate processing device. The above is only an example, and the embodiment does not make any limitation in this regard.
[0055] Optionally, in the embodiment, the method for controlling the access control lock can be executed by the terminal device 200, the target access control lock 100, or both the terminal device 200 and the target access control lock 100. The target access control lock 100 can execute the method for controlling the access control lock according to the embodiment of the application by a client installed thereon.
[0056] According to the embodiment of the application, a method for controlling an access control lock is provided. It should be noted that the steps shown in the flowchart of the drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0057] In the embodiment, a method for controlling an access control lock is provided, which can be used in the terminal device such as a mobile phone, a wearable device, and the like. FIG. 7 is a flowchart of the method for controlling an access control lock according to the embodiment of the application. As shown in FIG. 7, the flowchart includes the following steps:
[0058] In step S701, the terminal device receives positioning information sent by the target access control lock.
[0059] The positioning information includes a first positioning signal from inside the door and a second positioning signal from outside the door, and the signal strength of the first positioning signal is the same as that of the second positioning signal. In other embodiments, the signal strength of the first positioning signal can be different from that of the second positioning signal, so that the terminal device or the access control lock can more quickly determine whether the user is currently inside or outside the door.
[0060] In some optional embodiments, when the terminal device is in the communication range of the target access control lock, the target access control lock is in communication connection with the terminal device, and when the terminal device is in the recognition range of the target access control lock in the unlocking direction, the target access control lock sends the positioning information to the terminal device by broadcasting or long connection, so that the terminal device can determine the current position of the user based on the signal strength of the first positioning signal and the second positioning signal in the received positioning information, thereby improving the security and reliability of the access control lock control.
[0061] Specifically, taking FIG. 2 as an example, the two directional antennas on the target access control lock, i.e., directional antenna 1 and directional antenna 2, are respectively arranged on opposite sides of the target access control lock, i.e., are respectively installed inside and outside the door, and the end of the antenna also corresponds to the inside or outside of the door. The directional antenna 1 and the directional antenna 2 alternately send the corresponding positioning signals to the terminal device based on different radiation intensities (such as the radiation intensity of the directional antenna 2 located outside the door is greater than the radiation intensity of the directional antenna 1 located inside the door), so that the terminal device judges the user's position based on the received positioning signal. Wherein, when the terminal device is far away from the target access control lock, low frequency can be used for sending positioning information, and when the terminal device is close to the target access control lock, high frequency can be used for sending positioning information, so as to improve the efficiency and reliability of the unlocking of the access control lock.
[0062] In step S702, the current position of the terminal device is determined based on the signal strengths of the first positioning signal and the second positioning signal in the positioning information.
[0063] As described above, by determining the current position of the terminal device based on the signal strengths of the first positioning signal and the second positioning signal in the positioning information, a basis is provided for the unlocking control of the target access control lock.
[0064] In some optional embodiments, when determining the current position of the terminal device based on the signal strengths of the first positioning signal and the second positioning signal in the positioning information, the first signal strength threshold corresponding to the first positioning signal and the second positioning signal can be obtained; when the signal strength of the first positioning signal or the second positioning signal is greater than the corresponding first signal strength threshold, the signal strength difference between the first positioning signal and the second positioning signal is calculated; and the current position of the terminal device is determined based on the signal strength difference.
[0065] In some optional embodiments, when determining the current position of the terminal device based on the signal strength difference, the signal strength difference threshold of the first positioning signal and the second positioning signal is obtained; the signal strength difference and the signal strength difference threshold are compared to obtain a threshold comparison result; when the threshold comparison result represents that the signal strength difference is greater than the signal strength difference threshold and the signal strength of the first positioning signal is less than the signal strength of the second positioning signal, it is determined that the current position of the terminal device is outside the door. When the threshold comparison result represents that the signal strength difference is greater than the signal strength difference threshold and the signal strength of the first positioning signal is greater than the signal strength of the second positioning signal, it is determined that the current position of the terminal device is inside the door.
[0066] Specifically, the terminal device receives the first positioning signal sent by the directional antenna 1 located inside the door and the second positioning signal sent by the directional antenna 2 located outside the door, obtains the first signal strength threshold corresponding to the first positioning signal and the second positioning signal, compares the signal strengths of the first positioning signal and the second positioning signal with the corresponding first signal strength threshold, and when the signal strength of the first positioning signal or the second positioning signal is greater than the corresponding first signal strength threshold, it indicates that the terminal device is currently in the range of the opening lock direction judgment. At this time, the signal strength difference between the first positioning signal and the second positioning signal can be calculated, and the signal strength difference threshold of the first positioning signal and the second positioning signal can be obtained. When the signal strength difference is greater than the signal strength difference threshold (i.e. at this time the terminal device is not in the blind area of the opening lock, the size of the blind area can be set based on actual needs, and the setting of the blind area can improve the security of the access door lock unlocking and avoid abnormal unlocking), and the signal strength of the first positioning signal is less than the signal strength of the second positioning signal, it is determined that the current position of the terminal device is outside the door. When the signal strength difference is greater than the signal strength difference threshold, and the signal strength of the first positioning signal is greater than the signal strength of the second positioning signal, it is determined that the current position of the terminal device is inside the door. That is, when inside the non-blind area door, the signal strength of the directional antenna 1 located inside the door is greater than the signal strength of the directional antenna 2 located outside the door; when outside the non-blind area door, the signal strength of the directional antenna 1 located inside the door is less than the signal strength of the directional antenna 2 located outside the door.
[0067] In some optional embodiments, when determining the current position of the terminal device based on the signal strengths of the first positioning signal and the second positioning signal in the positioning information, the sampling information of the first positioning signal and the second positioning signal in each sampling period can be obtained; when the first positioning signal and the second positioning signal are consistent in multiple sampling periods, the abnormal signals in the first positioning signal and the second positioning signal are determined based on the sampling information; the abnormal signals in the first positioning signal and the second positioning signal are filtered to obtain the first positioning signal set and the second positioning signal set; and the current position of the terminal device is determined based on the average signal strength difference of the first positioning signal set and the second positioning signal set.
[0068] In some optional embodiments, when determining the abnormal signals in the first positioning signal and the second positioning signal based on the sampling information, the target signal strength corresponding to the first positioning signal and the second positioning signal can be determined based on the sampling information; the signal strength difference between the signal strength of the first positioning signal and the second positioning signal and the corresponding target signal strength is calculated; and the abnormal signals in the first positioning signal and the second positioning signal are determined based on the signal strength difference.
[0069] Specifically, the first positioning signal of the directional antenna 1 and the second positioning signal of the directional antenna 2 can be continuously sampled based on a preset sampling period, so as to obtain sampling information of the first positioning signal and the second positioning signal in each sampling period; then, based on the sampling information, a target signal strength corresponding to the first positioning signal and the second positioning signal is determined, and a signal strength difference between the signal strength of the first positioning signal and the second positioning signal and the target signal strength is calculated, and then based on the size relationship between the signal strength difference and the target signal strength difference, an abnormal signal in the first positioning signal and the second positioning signal is determined; then, the abnormal signal in the first positioning signal and the second positioning signal is filtered, so as to obtain a first positioning signal set and a second positioning signal set with higher accuracy; finally, based on a signal strength average value difference of the first positioning signal set and the second positioning signal set, the current position of the terminal device is determined. That is, when the signal strength average value of the first positioning signal set is greater than the signal strength average value of the second positioning signal set, it is determined that the current position of the terminal device is inside the door; when the signal strength average value of the first positioning signal set is less than the signal strength average value of the second positioning signal set, it is determined that the current position of the terminal device is outside the door.
[0070] Wherein, when the continuous abnormal signal of the first positioning signal or the second positioning signal in any sampling period is greater than a target value, the sampling information in the sampling period is cleared, and in the judgment of the abnormal signal, only the positioning signal is occasional and discontinuous; at the same time, the signal strength and the cumulative average value have a certain threshold value to consider that the positioning signal is an abnormal signal.
[0071] In step S703, based on the current position of the terminal device, a lock release instruction is issued to the target access control door lock to control the target access control door lock to be unlocked.
[0072] As described above, by issuing a lock release instruction to the target access control door lock based on the current position of the terminal device to control the target access control door lock to be unlocked, the safety and reliability of the control of the target access control door lock are further improved.
[0073] In some optional embodiments, when the current position of the terminal device is outside the door, and the signal strength of the second positioning signal is greater than a second signal strength threshold value, an authorization file is issued to the target access control door lock, the second signal strength threshold value is greater than or equal to the first signal strength threshold value; when receiving the indication information of authorization success feedback by the target access control door lock to the authorization file, a lock release instruction is issued to the target access control door lock to control the target access control door lock to be unlocked.
[0074] Specifically, after determining that the user is outside the door and the signal strength of the second positioning signal is greater than the second signal strength threshold (i.e., within the authorized door opening range to ensure the safety and reliability of the target access control lock unlocking), the terminal device sends an authorization file (Bluetooth credential) to the target access control lock, the access control lock judges that the Bluetooth credential meets the whitelist, and the user triggers (trigger mode: touch, app click) the unlocking.
[0075] The method for controlling the access control lock provided in this embodiment first receives the positioning information sent by the connected target access control lock, the positioning information includes the first positioning signal from inside the door and the second positioning signal from outside the door, and the signal strengths of the first positioning signal and the second positioning signal are different; based on the signal strengths of the first positioning signal and the second positioning signal in the positioning information, the current position of the terminal device is determined; based on the current position of the terminal device, an unlocking instruction is issued to the target access control lock to control the target access control lock to unlock. Through the above process, the efficiency and reliability of the repeated short-distance unlocking of the access control lock can be improved.
[0076] In this embodiment, a method for controlling an access control lock is provided, which can be used in the terminal device described above. FIG. 8 is a flowchart of the method for controlling the access control lock according to an embodiment of the present application. As shown in FIG. 8, the flowchart includes the following steps:
[0077] Step S801 receives feedback information fed back by the terminal device based on positioning information, the positioning information including a first positioning signal from inside the door and a second positioning signal from outside the door.
[0078] Specifically, when the terminal device is within the communication range of the target access control lock, the target access control lock is in communication connection with the terminal device, and when the terminal device is within the unlocking direction recognition range of the target access control lock, the target access control lock sends positioning information to the terminal device in a broadcast or long connection manner; at the same time, feedback information (the first positioning signal and the second positioning signal received by the terminal device) fed back by the terminal device based on the positioning information is received, so that the target access control lock judges the current position of the user based on the signal strengths of the first positioning signal and the second positioning signal in the received feedback information, thereby improving the safety and reliability of the access control lock control.
[0079] Step S802 determines the current position of the terminal device based on the signal strengths of the first positioning signal and the second positioning signal in the feedback information.
[0080] Specifically, the target access control lock obtains, based on the feedback information, a first signal strength threshold corresponding to the first positioning signal and the second positioning signal; when the signal strength of the first positioning signal or the second positioning signal is greater than the corresponding first signal strength threshold, the signal strength difference between the first positioning signal and the second positioning signal is calculated; and based on the signal strength difference, the current position of the terminal device is determined.
[0081] For details, please refer to step S702 of the embodiment shown in FIG. 7, which will not be repeated here.
[0082] In step S803, based on the current position of the terminal device and the received unlocking instruction, the target access control lock is unlocked.
[0083] For details, please refer to step S703 of the embodiment shown in FIG. 7, which will not be repeated here.
[0084] The method for controlling the access control lock provided in this embodiment first receives feedback information fed back by a terminal device based on positioning information, the positioning information including a first positioning signal originating from inside a door and a second positioning signal originating from outside the door, and the signal strengths of the first positioning signal and the second positioning signal are different; based on the signal strengths of the first positioning signal and the second positioning signal in the feedback information, the current position of the terminal device is determined; and based on the current position of the terminal device, an unlocking instruction is issued to a target access control lock to control the target access control lock to be unlocked. Through the above process, the efficiency and reliability of repeated short-distance unlocking of the access control lock can be improved.
[0085] In some optional embodiments, when the distance between the terminal device and the target access control lock is 0.5 meters, the angle is 90°, and the terminal device is placed horizontally, the cumulative and average signal strength RSSI (DBm) of the second positioning signal set and the first positioning signal set is -50.817 / -68.011, and the signal difference DBm is 18; when the distance between the terminal device and the target access control lock is 0.5 meters, the angle is 90°, and the terminal device is placed vertically, the cumulative and average signal strength RSSI (DBm) of the second positioning signal set and the first positioning signal set is -46.935 / -66.274, and the signal difference DBm is 20. When determining the door opening direction (i.e., from inside to outside, or from outside to inside), if the continuous abnormal signals of the first positioning signal and the second positioning signal are both greater than a target threshold, and the continuous abnormal signals show a reverse trend, the door opening direction can be determined, as shown in FIG. 9, the intersection of the abnormal signals is a blind area.
[0086] There is also provided in the present embodiments an apparatus for controlling access door locks, which is used to implement the above embodiments and preferred embodiments, and which has been described above and will not be repeated. As used below, the term "module" refers to a combination of software and / or hardware that can implement a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
[0087] The present embodiments provide an apparatus for controlling access door locks, as shown in FIG. 10, which includes:
[0088] A positioning information receiving module 1001 is configured to receive positioning information transmitted by a target access door lock connected thereto, the positioning information including a first positioning signal originating from inside the door and a second positioning signal originating from outside the door.
[0089] A first position determining module 1002 is configured to determine a current position of the terminal device based on signal strengths of the first positioning signal and the second positioning signal in the positioning information.
[0090] A first access door lock unlocking module 1003 is configured to issue an unlocking instruction to the target access door lock based on the current position of the terminal device, so as to control the target access door lock to unlock.
[0091] In some optional embodiments, the first position determining module 1002 includes:
[0092] A first threshold obtaining unit is configured to obtain a first signal strength threshold corresponding to the first positioning signal and the second positioning signal.
[0093] A signal strength difference calculating unit is configured to calculate a signal strength difference between the first positioning signal and the second positioning signal when the signal strength of the first positioning signal or the second positioning signal is greater than the corresponding first signal strength threshold.
[0094] A current position determining unit is configured to determine the current position of the terminal device based on the signal strength difference.
[0095] In some optional embodiments, the current position determining unit includes:
[0096] A signal strength difference obtaining subunit is configured to obtain a signal strength difference threshold of the first positioning signal and the second positioning signal.
[0097] A strength difference threshold comparing subunit is configured to compare the signal strength difference with the signal strength difference threshold to obtain a threshold comparison result.
[0098] The first current position determining subunit is configured to determine the current position of the terminal device as outside the door when the threshold comparison result represents that the signal strength difference is greater than the signal strength difference threshold, and the signal strength of the first positioning signal is less than the signal strength of the second positioning signal.
[0099] The second current position determining subunit is configured to determine the current position of the terminal device as inside the door when the threshold comparison result represents that the signal strength difference is greater than the signal strength difference threshold, and the signal strength of the first positioning signal is greater than the signal strength of the second positioning signal.
[0100] In some optional embodiments, the first access control lock unlocking module 1003 includes:
[0101] The authorization file issuing unit is configured to issue an authorization file to the target access control lock when the current position of the terminal device is outside the door, and the signal strength of the second positioning signal is greater than a second signal strength threshold, the second signal strength threshold being greater than or equal to the first signal strength threshold.
[0102] The access control lock control unit is configured to issue an unlocking instruction to the target access control lock to control the target access control lock to unlock when receiving indication information fed back by the target access control lock for the authorization file, the indication information representing authorization success.
[0103] In some optional embodiments, the first position determining module 1002 is further configured to acquire sampling information of the first positioning signal and the second positioning signal in each sampling period; determine abnormal signals in the first positioning signal and the second positioning signal based on the sampling information; filter out the abnormal signals in the first positioning signal and the second positioning signal to obtain a first positioning signal set and a second positioning signal set; and determine the current position of the terminal device based on a signal strength average value difference of the first positioning signal set and the second positioning signal set.
[0104] Specifically, when determining the abnormal signals in the first positioning signal and the second positioning signal based on the sampling information, the target signal strength corresponding to the first positioning signal and the second positioning signal can be determined based on the sampling information; the signal strength difference between the signal strength of the first positioning signal and the second positioning signal and the target signal strength can be calculated; and the abnormal signals in the first positioning signal and the second positioning signal can be determined based on the signal strength difference.
[0105] The embodiment provides an access control lock control device, as shown in FIG. 11, which includes:
[0106] The feedback information receiving module 1101 is configured to receive feedback information fed back by a terminal device based on positioning information, the positioning information including a first positioning signal originating from inside a door and a second positioning signal originating from outside the door.
[0107] The second position determining module 1102 is configured to determine the current position of the terminal device based on the signal strengths of the first positioning signal and the second positioning signal in the feedback information.
[0108] The second access control lock unlocking module 1103 is configured to unlock the target access control lock based on the current position of the terminal device and the received unlocking instruction.
[0109] Further function descriptions of the above modules and units are the same as those of the corresponding embodiments, and thus are not described herein.
[0110] The access control lock control device in the embodiment is presented in the form of function units. The units herein refer to ASIC (Application Specific Integrated Circuit) circuits, processors and memories for executing one or more software or fixed programs, and / or other devices that can provide the above functions.
[0111] The embodiment of the present application also provides a computer device with the above access control lock control device.
[0112] The optional embodiment of the present application also provides a structural schematic diagram of a computer device. The computer device includes one or more processors, memories, and interfaces for connecting components, including high-speed interfaces and low-speed interfaces. The components are communicatively connected with different buses, and can be installed on a common mainboard or in other manners as needed. The processor can process instructions executed in the computer device, including graphic information stored in the memories or on the memories to display a GUI on an external input / output device, such as a display device coupled to the interface. In some optional embodiments, multiple processors and / or buses can be used together with multiple memories and multiple storage devices, if needed. Similarly, multiple computer devices can be connected, and each device provides part of necessary operations (for example, as a storage server array, a group of blade storage servers, or a multi-processor system).
[0113] The processor can be a central processor, a network processor, or a combination thereof. The processor can further include a hardware chip. The hardware chip can be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device can be a complex programmable logic device, a field programmable logic device, a general array logic, or any combination thereof.
[0114] The memory stores instructions executable by the at least one processor, so that the at least one processor executes the method shown in the above embodiments.
[0115] The memory can include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required by at least one function; the data storage area can store data created by the use of the computer device according to the display of a small program landing page, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-transient memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transient solid-state memory device. In some optional embodiments, the memory can optionally include a memory disposed remotely relative to the processor, and these remote memories can be connected to the computer device through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a server cluster, a mobile communication network, and combinations thereof.
[0116] The memory can include a volatile memory, such as a random access memory; the memory can also include a non-volatile memory, such as a flash memory, a hard disk, or a solid-state disk; and the memory can also include a combination of the above kinds of memories.
[0117] The computer device further includes a communication interface for the computer device to communicate with other devices or a communication network.
[0118] The embodiments of the present application also provide a computer readable storage medium, and the above method according to the embodiments of the present application can be implemented in hardware, firmware, or recorded in a storage medium, or stored in a remote storage medium or a non-transient machine readable storage medium through network downloading and stored in a local storage medium, so that the method described herein can be processed by such software on a storage medium using a general-purpose computer, a special-purpose processor, or programmable or special-purpose hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid-state disk, etc. Further, the storage medium can also include a combination of the above kinds of memories. It can be understood that the computer, the processor, the microprocessor controller, or the programmable hardware includes a storage component that can store or receive software or computer code, when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the method shown in the above embodiments is implemented.
[0119] Although the embodiments of the present application are described in conjunction with the accompanying drawings, various modifications and changes can be made by those skilled in the art without departing from the spirit and scope of the present application, and such modifications and changes fall within the scope defined by the appended claims.
Claims
1. A method for controlling access control and door locks, characterized in that: Applied to a terminal device, the method includes: Receive positioning information sent by the connected target access control door lock, the positioning information including a first positioning signal from inside the door and a second positioning signal from outside the door; Determining a current location of the terminal device based on signal strengths of the first positioning signal and the second positioning signal in the positioning information; Based on the current location of the terminal device, an unlocking instruction is sent to the target access control door lock to control the target access control door lock to be unlocked.
2. The method according to claim 1, characterized in that Determining the current location of the terminal device based on the signal strengths of the first positioning signal and the second positioning signal in the positioning information includes: Obtaining first signal strength thresholds corresponding to the first positioning signal and the second positioning signal; When the signal strength of the first positioning signal or the second positioning signal is greater than the corresponding first signal strength threshold, calculating the signal strength difference between the first positioning signal and the second positioning signal; Based on the signal strength difference, the current location of the terminal device is determined.
3. The method according to claim 2, characterized in that The determining the current location of the terminal device based on the signal strength difference includes: Obtaining a signal strength difference threshold between the first positioning signal and the second positioning signal; Comparing the signal strength difference with the signal strength difference threshold to obtain a threshold comparison result; When the threshold comparison result indicates that the signal strength difference is greater than the signal strength difference threshold, and the signal strength of the first positioning signal is less than the signal strength of the second positioning signal, it is determined that the current location of the terminal device is outside the door.
4. The method according to claim 3, characterized in that The determining the current location of the terminal device based on the signal strength difference includes: When the threshold comparison result indicates that the signal strength difference is greater than the signal strength difference threshold, and the signal strength of the first positioning signal is greater than the signal strength of the second positioning signal, it is determined that the current position of the terminal device is inside the door.
5. The method according to claim 3, characterized in that The step of issuing an unlocking instruction to the target access control door lock based on the current location of the terminal device to control the target access control door lock to unlock includes: When the current location of the terminal device is outside the door and the signal strength of the second positioning signal is greater than a second signal strength threshold, the authorization file is issued to the target access control door lock, and the second signal strength threshold is greater than or equal to the first signal strength threshold; When receiving the authorization success indication information fed back by the target access control door lock for the authorization file, an unlocking instruction is sent to the target access control door lock to control the target access control door lock to be unlocked.
6. The method according to claim 1, characterized in that The determining the current location of the terminal device based on the signal strengths of the first positioning signal and the second positioning signal in the positioning information includes: Acquire sampling information of the first positioning signal and the second positioning signal in each sampling period; Determining abnormal signals in the first positioning signal and the second positioning signal based on the sampling information; Filtering abnormal signals in the first positioning signal and the second positioning signal to obtain a first positioning signal set and a second positioning signal set; The current location of the terminal device is determined based on the difference in average signal strength between the first positioning signal set and the second positioning signal set.
7. The method according to claim 6, characterized in that The determining, based on the sampling information, abnormal signals in the first positioning signal and the second positioning signal includes: Determining target signal strengths corresponding to the first positioning signal and the second positioning signal based on the sampling information; Calculating a signal strength difference between the signal strengths of the first positioning signal and the second positioning signal and the corresponding target signal strength; Based on the signal strength difference, an abnormal signal in the first positioning signal and the second positioning signal is determined.
8. A method for controlling access control and door locks, characterized in that: Applied to a target access control door lock, the method includes: Receiving feedback information fed back by the terminal device based on the positioning information, wherein the positioning information includes a first positioning signal originating from inside the door and a second positioning signal originating from outside the door; Determining a current location of the terminal device based on signal strengths of the first positioning signal and the second positioning signal in the feedback information; Based on the current location of the terminal device and the received unlocking instruction, the target access control door lock is unlocked.
9. An access control and door lock control device, characterized in that: The device comprises: A positioning information receiving module is used to receive positioning information sent by the connected target access control door lock, wherein the positioning information includes a first positioning signal from inside the door and a second positioning signal from outside the door, and the signal strengths of the first positioning signal and the second positioning signal are different; a first location determination module, configured to determine a current location of the terminal device based on the signal strengths of the first positioning signal and the second positioning signal in the positioning information; The first access control door lock module is used to send an unlocking instruction to the target access control door lock based on the current location of the terminal device to control the target access control door lock to unlock.
10. An access control and door lock control device, characterized in that: The device comprises: a feedback information receiving module, configured to receive feedback information fed back by a terminal device based on positioning information, wherein the positioning information includes a first positioning signal originating from inside the door and a second positioning signal originating from outside the door, and the signal strengths of the first positioning signal and the second positioning signal are different; a second location determination module, configured to determine a current location of the terminal device based on signal strengths of the first positioning signal and the second positioning signal in the feedback information; The second access control door lock module is used to unlock the target access control door lock based on the current location of the terminal device and the received unlocking instruction.
Citation Information
Patent Citations
Lock arrangement and method for detecting the presence and location of a device sending a radio signal
CN105980646A
Intelligent lock capable of identifying positions of mobile phone and Bluetooth key
CN108550217A
Method and device for controlling access control door lock
CN118135697A
Entrance Control Apparatus and Method Capable of Preventing Entrance-Control Indoors under Unwilled Bluetooth Pairing
KR101623432B1
Wireless access control system for a door including proximity based lock disabling and related methods
US20160343189A1