Indoor unlocking method, system and device and storage medium
By acquiring and judging the normality of the indoor unlocking signal in the smart door lock, combining the target time of living sensing, touch sensing and key signal, the existing smart door locks have been solved, and the problem of poor unlocking effect of cat-eye locks is achieved, achieving higher safety and reliability.
Patent Information
- Application Number
- CN202311180008.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-12
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2043-09-12
AI Technical Summary
The existing smart door locks have poor results in preventing cat-eye lock unlocking and are costly.
By acquiring the indoor unlocking signal of the target door lock, responding to the signal and finding out whether there is a live sensing signal, a touch sensing signal and a key signal in the preset signal memory. If there is, obtain the target time of each signal and determine whether the indoor unlocking signal is normal. The target door lock is only unlocked indoors when the signal is normal.
It improves the safety and reliability of door locks, effectively prevents cat-eye locks, and reduces costs.
Smart Images

Figure CN119625864A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent door locks, and in particular to an indoor unlocking method, system, device and storage medium. Background Art
[0002] In recent years, the indoor lock industry has developed rapidly. As the technology of smart door locks becomes more mature and the cost becomes lower and lower, smart door locks are accepted by more and more consumers.
[0003] At present, most smart door locks generally use special structural parts to achieve the anti-peephole function. This method is costly and has poor effect in preventing peephole unlocking. Summary of the invention
[0004] Based on this, it is necessary to address the technical problem that the existing technology has poor effect in preventing peephole unlocking, and propose an indoor unlocking method, system, device and storage medium.
[0005] In a first aspect, a method for unlocking an indoor door is provided, the method comprising:
[0006] Get the indoor unlocking signal of the target door lock;
[0007] In response to the indoor unlocking signal, searching a preset signal memory for a living body sensing signal, a touch sensing signal, and a key signal;
[0008] If so, obtaining the target times corresponding to the living body sensing signal, the touch sensing signal and the key signal respectively;
[0009] According to each of the target times, determining whether the indoor unlocking signal is normal;
[0010] When the indoor unlocking signal is normal, the target door lock is unlocked indoors.
[0011] Further, judging whether the indoor unlocking signal is normal according to each of the target times includes:
[0012] According to each of the target times, the living body sensing signals, the touch sensing signals, and the key signals are sorted from early to late to obtain a signal set;
[0013] Determining whether the order of the signal set satisfies a preset order;
[0014] If the conditions are met, the interval between the generation time of the indoor unlocking signal and each of the target times is calculated, and if each of the intervals is less than the preset time, it is determined that the indoor unlocking signal is normal;
[0015] If not, it is determined that the indoor unlocking signal is abnormal.
[0016] Further, the determining whether the order of the signal set satisfies a preset order includes:
[0017] Determining whether the first signal in the signal set is the living body sensing signal;
[0018] If yes, determining whether the second signal in the signal set is the touch sensing signal;
[0019] If so, it is determined that the order of the signal set satisfies the preset order.
[0020] Furthermore, if the condition is not satisfied, then after determining that the indoor unlocking signal is abnormal, the method further comprises:
[0021] When the indoor unlocking signal is abnormal, the target door lock is controlled to capture images of indoor and outdoor scenes to obtain a first image set, and early warning information corresponding to the indoor unlocking signal is generated;
[0022] Taking the warning information and the first image set as a data packet, and sending the data packet to a user terminal;
[0023] When the user instruction sent by the user terminal according to the data packet is obtained, the user instruction is executed.
[0024] Further, the user instruction includes an alarm instruction, and when the user instruction sent by the user terminal according to the data packet is acquired, executing the user instruction includes:
[0025] When obtaining the user instruction sent by the user terminal according to the data packet, the alarm information is generated according to the preset alarm configuration and the data packet by executing the alarm instruction, wherein the alarm information includes property information, owner information, community information, room number and the first image set;
[0026] The alarm information is sent according to a preset sending rule.
[0027] Further, the user instruction includes an anti-lock instruction, and when the user instruction sent by the user terminal according to the data packet is acquired, executing the user instruction includes:
[0028] When the user instruction sent by the user end according to the data packet is obtained, the anti-lock instruction is executed, the target door lock is controlled to perform indoor anti-lock, and the alarm is controlled to give an audible and visual alarm.
[0029] Further, when the indoor unlocking signal is normal, unlocking the indoor door lock of the target door lock includes:
[0030] When the indoor unlocking signal is normal, obtaining a living body height of a living body corresponding to the living body sensing signal;
[0031] Determining whether the height of the living body is greater than a preset height value;
[0032] If it is greater than, the target door lock is unlocked indoors;
[0033] If it is not greater than, an unlock request is generated, and the target door lock is controlled to capture images of the indoor scene to obtain a second image set, and the second image set and the unlock request are sent to the user end;
[0034] When obtaining the target instruction sent by the user terminal according to the unlocking request;
[0035] If the target instruction is an unlock instruction, unlocking the target door lock indoors;
[0036] If the target instruction is a non-unlocking instruction, an audible and visual alarm is performed through the alarm.
[0037] In a second aspect, an indoor unlocking device is provided, the device comprising:
[0038] An acquisition module is used to acquire the indoor unlocking signal of the target door lock;
[0039] A query module, used for responding to the indoor unlocking signal and searching a preset signal memory for whether a living body sensing signal, a touch sensing signal and a key signal exist at the same time;
[0040] A time acquisition module, used for acquiring target times corresponding to the living body sensing signal, the touch sensing signal and the key signal respectively, if any;
[0041] A judgment module, used for judging whether the indoor unlocking signal is normal according to each target time;
[0042] The unlocking module is used to unlock the target door lock indoors when the indoor unlocking signal is normal.
[0043] In a third aspect, an indoor unlocking system is provided, the system comprising: a target door lock, the target door lock comprising: an indoor door handle, a lock body, a power module and a door lock controller, the indoor door handle being provided with a living body sensor, a touch sensor and a light touch button;
[0044] The living body sensor block is used to detect whether there is a living body within a preset detection range, and if so, to generate a living body sensing signal, and store the living body sensing signal in a preset signal storage;
[0045] The touch sensor is used to detect whether the sensing area of the touch sensor is touched, and if so, generate a touch sensing signal, and store the touch sensing signal in the signal memory;
[0046] The light touch key device is used to detect the pressing electric signal of the key of the light touch key device as the key signal, and store the key signal in the signal memory;
[0047] The power module is used to supply power to the living body sensor, the touch sensor, the light touch button device, the controller and the lock body;
[0048] The door lock controller is connected to the lock body and is used to implement the indoor unlocking method as described in any one of claims 1 to 7.
[0049] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the indoor unlocking method are implemented.
[0050] In a fifth aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned indoor unlocking method when executing the computer program.
[0051] The indoor unlocking method proposed in the present invention obtains the indoor unlocking signal of the target door lock, and then responds to the indoor unlocking signal to search whether a preset signal memory exists a living body sensing signal, a touch sensing signal and a key signal at the same time, and then if so, obtains the target time corresponding to the living body sensing signal, the touch sensing signal and the key signal respectively, and then judges whether the indoor unlocking signal is normal according to each of the target times, and finally, when the indoor unlocking signal is normal, the target door lock is unlocked indoors, and after obtaining the indoor unlocking signal, it can be determined whether the signal memory exists a living body sensing signal, a touch sensing signal and a key signal at the same time, and judges whether the indoor unlocking signal is normal according to the target time corresponding to the living body sensing signal, the touch sensing signal and the key signal respectively, and only when the indoor unlocking signal is normal, the target door lock is unlocked indoors, thereby improving the safety and reliability of the door lock, and being able to effectively prevent cat-eye unlocking. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0053] in:
[0054] Figure 1 A diagram showing an application environment of an indoor unlocking method in an embodiment;
[0055] Figure 2 is a flow chart of an indoor unlocking method in one embodiment;
[0056] Figure 3 is a structural block diagram of an indoor unlocking system in one embodiment;
[0057] Figure 4 is a structural block diagram of an indoor unlocking device in one embodiment;
[0058] Figure 5 is a structural block diagram of a computer device in one embodiment;
[0059] Figure 6 It is a structural block diagram of a computer device in yet another embodiment. DETAILED DESCRIPTION
[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] In order to better understand the indoor unlocking method, device and storage medium disclosed in the present application, the application environment of the indoor unlocking method is first described. Specifically, the application environment of the indoor unlocking method can be as follows: Figure 1 As shown, Figure 1 : is an application environment diagram of the indoor unlocking method disclosed in the embodiment of the present application. Figure 1The application environment of the indoor unlocking method is an unlocking system, which can be applied to a variety of scenarios such as shopping malls, company scenes, and home scenes, and the embodiments of the present application are not limited here. The unlocking system includes an intelligent system 100, an intelligent gateway 200, a router 300, a server 400, and a terminal 500. The server runs in the server. The number of routers is one or more. The server is connected to the router via a WAN (wide area network). The intelligent gateway 200 is connected to the router via a WAN. The terminal 500 is connected to the router via a WAN. The server 400 can be a single server or a cloud platform. The intelligent system 100 is an indoor unlocking system, which includes: a target door lock, which includes: an indoor door handle, a lock body, a power module and a door lock controller, and the indoor door handle is provided with a living body sensor, a touch sensor and a light touch button; the living body sensor block is used to detect whether there is a living body within a preset detection range, and if so, a living body sensing signal is generated, and the living body sensing signal is stored in a preset signal memory; the touch sensor is used to detect whether the sensing area of the touch sensor is touched, and if so, a touch sensing signal is generated, and the touch sensing signal is stored in the signal memory; the light touch button is used to detect the pressing electric signal of the key of the light touch button as a key signal, and the key signal is stored in the signal memory; the power module is used to supply power to the living body sensor, the touch sensor, the light touch button, the controller and the lock body; the door lock controller is connected to the lock body to implement the steps of the above-mentioned indoor unlocking method.
[0062] The terminal 500 may be a smart phone, a laptop, a personal computer, a tablet computer, a smart control panel or other electronic device that can be connected to a network, which is not limited here. A client runs on the terminal 500, for example, Figure 1 APP (mobile phone software) in.
[0063] The indoor unlocking method of the present application is applied to the intelligent gateway 200, and the user controls the intelligent gateway 200 through the client on the terminal 500. Among them, the function code of each remote control is first obtained by learning, and the function code is stored; then based on the stored function code, the intelligent gateway 200 obtains the function control instruction sent by the first client, obtains the function code according to the function control instruction, and uses it as the hit code. According to the hit code, the target control signal is transmitted to the indoor unlocking system. The user can send the function control instruction to the intelligent gateway through the client, and the intelligent gateway simulates the remote control through the function control instruction to transmit the target control signal to the indoor unlocking system. The user does not need to operate the remote control during the whole process, so that the user can control the indoor unlocking system in a timely and accurate manner. Thereby, one intelligent gateway is used to replace all remote controls to control various indoor unlocking systems.
[0064] Just to express the environment in which the indoor unlocking method is used, the intelligent system 100, intelligent gateway 200, router 300, server 400 and terminal 500 involved are only schematically displayed, and the specific structure / size / shape / location / installation method can be adaptively adjusted according to actual needs, and this application does not limit it here.
[0065] The above describes the application scenarios of the indoor unlocking method. The following describes the indoor unlocking method, system, device and storage medium in detail.
[0066] In another embodiment, the application environment of the indoor unlocking method can also be to directly use the target door lock and the door lock controller. When communication with the client is required, a wireless communication component is set through the target door lock for communication. The wireless communication component can be a wireless network card.
[0067] See also Figure 2 As shown, Figure 2 A schematic flow chart of an indoor unlocking method provided by an embodiment of the present invention includes the following steps:
[0068] S101: Acquire the indoor unlocking signal of the target door lock;
[0069] The room whose door is installed with the target door lock is taken as the target room. The indoor unlocking signal refers to the signal generated when the target door lock is attempted to be opened from the indoor of the target room. As an example, there is an outsider outside the target room, and the outsider turns the indoor door handle of the target door lock through the cat's eye in the hope of unlocking the lock body of the target door lock, thereby generating an indoor unlocking signal. As another example, the indoor person turns the indoor door handle of the target door lock in the hope of unlocking the lock body of the target door lock, thereby generating an indoor unlocking signal.
[0070] S102: In response to the indoor unlocking signal, searching a preset signal memory for a living body sensing signal, a touch sensing signal, and a key signal;
[0071] In this embodiment, in response to the indoor unlocking signal, a search is performed in a preset signal memory to determine whether a liveness sensing signal, a touch sensing signal, and a key signal exist in the preset signal memory at the same time, wherein the signal memory can be used to store various signals, and as an example, the preset signal memory can be a register in a microcontroller unit. The liveness sensing signal can be a signal generated based on the liveness sensor being triggered, the touch sensing signal can be a signal generated based on the touch sensor being triggered, and the key signal can be a signal generated based on the light touch key being triggered.
[0072] Optionally, there is at least one living body sensing signal in the signal storage, and each living body sensing signal carries a signal generation time.
[0073] Optionally, only one living body sensing signal is stored in the signal memory, that is, when a new living body sensing signal needs to be stored in the signal memory, the new living body sensing signal is used to replace and update the living body sensing signal already stored in the signal memory.
[0074] Optionally, there is at least one touch sensing signal in the signal memory, and each touch sensing signal carries a signal generation time.
[0075] Optionally, only one touch sensing signal is stored in the signal memory, that is, when a new touch sensing signal needs to be stored in the signal memory, the new touch sensing signal is used to replace and update the touch sensing signal stored in the signal memory.
[0076] Optionally, there is at least one key signal in the signal storage, and each key signal carries a signal generation time.
[0077] Optionally, only one key signal is stored in the signal memory, that is, when a new key signal needs to be stored in the signal memory, the new key signal is used to replace and update the key signal already stored in the signal memory.
[0078] S103: If yes, obtaining the target time corresponding to the living body sensing signal, the touch sensing signal and the key signal respectively;
[0079] In this embodiment, if they exist, that is, the preset signal memory simultaneously contains the living body sensing signal, the touch sensing signal and the key signal, the target time corresponding to the living body sensing signal, the target time corresponding to the touch sensing signal and the target time corresponding to the key signal are obtained.
[0080] Optionally, there is at least one living body sensing signal in the signal storage, each living body sensing signal carries a signal generation time, the generation time of each living body sensing signal is compared, the living body sensing signal with the latest generation time is used as the target living body sensing signal, and the generation time of the target living body sensing signal is used as the target time corresponding to the living body sensing signal.
[0081] Optionally, only one liveness sensing signal is stored in the signal memory, that is, when a new liveness sensing signal needs to be stored in the signal memory, the new liveness sensing signal is used to replace and update the liveness sensing signal already stored in the signal memory, and the generation time of the new liveness sensing signal is used as the target time corresponding to the liveness sensing signal.
[0082] Optionally, there is at least one touch sensing signal in the signal memory, each touch sensing signal carries a signal generation time, the generation time of each touch sensing signal is compared, the touch sensing signal with the latest generation time is taken as the target touch sensing signal, and the generation time of the target touch sensing signal is taken as the target time corresponding to the touch sensing signal.
[0083] Optionally, only one touch sensing signal is stored in the signal memory, that is, when a new touch sensing signal needs to be stored in the signal memory, the new touch sensing signal is used to replace and update the touch sensing signal stored in the signal memory, and the generation time of the new touch sensing signal is used as the target time corresponding to the touch sensing signal.
[0084] Optionally, there is at least one key signal in the signal storage, each key signal carries a signal generation time, the generation times of the key signals are compared, the key signal with the latest generation time is taken as the target key signal, and the generation time of the target key signal is taken as the target time corresponding to the key signal.
[0085] Optionally, only one key signal is stored in the signal memory, that is, when a new key signal needs to be stored in the signal memory, the new key signal is used to replace and update the key signal stored in the signal memory, and the generation time of the new key signal is used as the target time corresponding to the key signal.
[0086] S104: judging whether the indoor unlocking signal is normal according to each of the target times;
[0087] In this embodiment, whether the indoor unlocking signal is normal is judged by each target time, which provides a basis for preventing the peephole from unlocking the door.
[0088] In an optional embodiment of this embodiment, judging whether the indoor unlocking signal is normal according to each target time includes:
[0089] S1041: According to each of the target times, sort the living body sensing signals, the touch sensing signals, and the key signals from early to late to obtain a signal set;
[0090] S1042: Determine whether the order of the signal set meets the preset order;
[0091] S1043: If satisfied, then calculating the interval between the generation time of the indoor unlocking signal and each of the target times, and if each of the intervals is less than a preset time, determining that the indoor unlocking signal is normal;
[0092] S1044: If not satisfied, determine that the indoor unlocking signal is abnormal.
[0093] In this embodiment, the living body sensing signals, the touch sensing signals and the key signals are sorted from early to late according to the time sequence of each target time, so as to obtain a signal set.
[0094] For example, the target time corresponding to the living body sensing signal is 10 minutes and 01 seconds, the target time corresponding to the touch sensing signal is 10 minutes and 02 seconds, and the target time corresponding to the key signal is 10 minutes and 03 seconds. After sorting from early to late, the signal set obtained is {living body sensing signal, touch sensing signal, key signal}.
[0095] After obtaining the signal set, it is determined whether the order of the signals in the signal set meets the preset order, wherein the preset order can be set by the user end, or the default setting of the target door lock when it leaves the factory can be adopted. As an example, the preset order is the living body sensing signal, the touch sensing signal, and the key signal, that is, the living body sensing signal is the first in the preset order, the touch sensing signal is the second in the preset order, and the key signal is the third in the preset order.
[0096] For S1043, if it is satisfied, that is, the order of the signal set satisfies the preset order, it means that the order of the unlocking operations of the person trying to unlock the room from the room may be correct, and the possibility of normal indoor unlocking is high. Then the generation time of the indoor unlocking signal is obtained, and the interval duration between the generation time of the indoor unlocking signal and each target time is calculated. As an example, the generation time of the indoor unlocking signal minus the target time is subtracted to get the difference, and the difference is the interval duration.
[0097] It is determined whether each interval duration is less than the preset duration. If each interval duration is less than the preset duration, it means that the sequence of unlocking operations by the person trying to unlock the door from indoors is correct, and the indoor unlocking signal is determined to be normal.
[0098] Optionally, the preset duration may be 10 seconds. It is understandable that the preset duration may also be set to other values, which are not limited here.
[0099] If there is an interval duration that is not less than the preset duration among the interval durations, it means that the order of the unlocking operation by the person trying to unlock the door from indoors is wrong, and the indoor unlocking is not performed normally, then the indoor unlocking signal is determined to be abnormal.
[0100] In an optional embodiment, determining whether the order of the signal set satisfies a preset order includes:
[0101] S201: Determine whether the first signal in the signal set is the living body sensing signal;
[0102] S202: If yes, determining whether the second signal in the signal set is the touch sensing signal;
[0103] S203: If yes, determine that the order of the signal set satisfies a preset order.
[0104] Optionally, the preset order is set as follows: the living body sensing signal is first, the touch sensing signal is second, and the key signal is third.
[0105] In this embodiment, first, it is determined whether the first signal in the signal set is a liveness sensing signal. If the first signal in the signal set is a liveness sensing signal, it is determined whether the second signal in the signal set is a touch sensing signal. If the second signal in the signal set is a touch sensing signal, it is determined whether the third signal in the signal set is a key signal. If the third signal in the signal set is a key signal, it is determined that the order of the signal set meets the preset order.
[0106] S105: When the indoor unlocking signal is normal, the target door lock is unlocked indoors.
[0107] In this embodiment, when the indoor unlocking signal is normal, unlocking will not affect the target room, so the component in the lock body of the target door lock corresponding to the indoor lock is unlocked. As an example, when the indoor unlocking signal is normal, an unlocking instruction is generated to control the motor connected to the lock body of the target door lock to rotate, and the rotation will drive the component in the lock body of the target door lock corresponding to the indoor lock to unlock, thereby realizing the indoor unlocking of the target door lock.
[0108] The indoor unlocking method proposed in this embodiment obtains the indoor unlocking signal of the target door lock, and then responds to the indoor unlocking signal to search whether the preset signal memory contains the living body sensing signal, the touch sensing signal and the key signal at the same time. Then, if so, the target time corresponding to the living body sensing signal, the touch sensing signal and the key signal is obtained, and then according to each of the target times, it is judged whether the indoor unlocking signal is normal. Finally, when the indoor unlocking signal is normal, the target door lock is unlocked indoors. After obtaining the indoor unlocking signal, it can be determined whether the signal memory contains the living body sensing signal, the touch sensing signal and the key signal at the same time, and the indoor unlocking signal can be judged whether it is normal according to the target time corresponding to the living body sensing signal, the touch sensing signal and the key signal. Only when the indoor unlocking signal is normal, the target door lock is unlocked indoors, which improves the safety and reliability of the door lock and can effectively prevent cat-eye unlocking.
[0109] In an optional embodiment, if the condition is not satisfied, then after determining that the indoor unlocking signal is abnormal, the method further comprises:
[0110] S301: When the indoor unlocking signal is abnormal, the target door lock is controlled to capture images of indoor and outdoor scenes to obtain a first image set, and early warning information corresponding to the indoor unlocking signal is generated;
[0111] S302: taking the warning information and the first image set as a data packet, and sending the data packet to a user terminal;
[0112] S303: When obtaining the user instruction sent by the user terminal according to the data packet, executing the user instruction.
[0113] Optionally, the target door lock is also provided with an indoor shooting component and an outdoor shooting component.
[0114] Optionally, the indoor shooting component, the outdoor shooting component and the target door lock are set separately. For example, the indoor shooting component can be pre-set by the user at a designated position indoors, and the outdoor shooting component can be pre-set by the user at a designated position outdoors.
[0115] Optionally, both the indoor shooting component and the outdoor shooting component can be high-definition photography equipment.
[0116] The warning information may be a warning text pre-set by the user. As an example, the warning information may be "Dear user, the room numbered C may be illegally invaded. Please query the first image set and reply to the user's instructions."
[0117] In this embodiment, when the indoor unlocking signal is abnormal, the indoor shooting component is controlled to capture the indoor scene to obtain a first indoor image, and the outdoor shooting component is controlled to capture the outdoor scene to obtain a first outdoor image. The obtained first indoor image and the first indoor image are used as the first image set, and the early warning information corresponding to the indoor unlocking signal is generated, wherein the indoor and outdoor scenes can be obtained by pre-setting and adjustment by the user. As an example, the indoor and outdoor scenes can be continuously captured. As another example, during the shooting process, the facial features of the people indoors and outdoors can be captured by the neural network model to obtain the first image set with facial features.
[0118] Then, the warning information and the first image set are used as a data packet, and the data packet is sent to the user terminal, wherein the user terminal notifies the user after receiving the data packet. The user can manually distinguish the content of the data packet through the user terminal; the user terminal sends a user instruction based on the result of the manual distinction. Finally, the user instruction sent by the user terminal according to the data packet is obtained, and the user instruction is executed. It can be understood that if the user instruction sent by the user terminal according to the data packet is not obtained within the preset warning time, the target door lock will not be unlocked indoors.
[0119] Optionally, the user instruction includes: unlocking or locking.
[0120] The indoor unlocking method proposed in this embodiment, when the indoor unlocking signal is abnormal, the indoor and outdoor scenes are captured by controlling the target door lock to obtain a first image set, and the warning information corresponding to the indoor unlocking signal is generated, and then the warning information and the first image set are used as a data packet, and the data packet is sent to the user terminal. Finally, when the user instruction sent by the user terminal according to the data packet is obtained, the user instruction is executed, and when the indoor unlocking signal is abnormal, the indoor and outdoor scenes can be captured, and the warning information and the first image set are sent to the user terminal as a data packet, so that the user can understand the status of the room, so that the user can take appropriate measures through the user instruction sent by the user terminal when the indoor unlocking signal is abnormal, thereby protecting the indoor safety and improving the user experience; and when the indoor unlocking signal is abnormal, the user determines that the indoor unlocking signal is needed according to the data packet, and can send the user instruction through the user terminal to unlock, so as to meet special needs, for example, children are bored at home and lack the need to unlock the door through the cat's eye.
[0121] In an optional embodiment, the user instruction includes an alarm instruction, and when the user instruction sent by the user terminal according to the data packet is acquired, executing the user instruction includes:
[0122] S401: when obtaining a user instruction sent by the user terminal according to the data packet, generating alarm information according to a preset alarm configuration and the data packet by executing the alarm instruction, wherein the alarm information includes property information, owner information, community information, room number and the first image set;
[0123] S402: Send the alarm information according to a preset sending rule.
[0124] In this embodiment, when the user instruction sent by the user end according to the data packet is obtained, the alarm information is generated according to the preset alarm configuration and the data packet through the alarm instruction, wherein the alarm configuration is the property information, the owner information, the community information, and the room number. The alarm information includes the property information, the owner information, the community information, the room number and the first image set. The alarm configuration can be pre-set by the user, and the alarm configuration can also be obtained in the cloud database through the network.
[0125] Finally, the alarm information is sent according to the preset sending rule, wherein the preset sending rule may be to send the alarm information to the monitoring room of the community, or the preset sending rule may be to send the alarm information to a telephone number set by the user.
[0126] The indoor unlocking method proposed in this embodiment, when obtaining the user instruction sent by the user terminal according to the data packet, executes the alarm instruction, generates alarm information according to the preset alarm configuration and the data packet, wherein the alarm information includes property information, owner information, community information, room number and the first image set, and sends the alarm information according to the preset sending rules. The preset sending rules can be used to automatically and timely send the alarm information, which facilitates and timely takes appropriate preventive measures, effectively protects indoor safety, and improves user experience.
[0127] In an optional embodiment, the user instruction includes an anti-lock instruction, and when the user instruction sent by the user terminal according to the data packet is acquired, executing the user instruction includes:
[0128] S501: When the user instruction sent by the user end according to the data packet is obtained, the anti-lock instruction is executed, the target door lock is controlled to perform indoor anti-lock, and the alarm is controlled to perform sound and light alarm.
[0129] In this embodiment, the user instruction includes an anti-lock instruction. When the user instruction sent by the user end according to the data packet is obtained, the anti-lock instruction is executed, the target door lock is controlled to perform indoor anti-lock, and the alarm is controlled to sound and light alarm.
[0130] The alarm can be set in the target door lock, and can be set separately and connected to the target door lock.
[0131] The indoor unlocking method proposed in this embodiment executes the anti-locking instruction when obtaining the user instruction sent by the user terminal according to the data packet, controls the target door lock to perform indoor anti-locking, and controls the alarm to perform sound and light alarm. It can control the target door lock to perform indoor anti-locking and control the alarm to perform sound and light alarm, thereby realizing accurate control based on the user instruction sent remotely by the user, facilitating timely and appropriate preventive measures, effectively protecting indoor safety, and improving user experience; through the sound and light alarm of the alarm, people around the target door lock can be reminded of abnormalities, which facilitates people around the target door lock to quickly check the abnormalities and warns illegal door openers, further effectively protecting indoor safety.
[0132] In an optional embodiment, when the indoor unlocking signal is normal, unlocking the indoor door lock of the target door lock includes:
[0133] S601: When the indoor unlocking signal is normal, obtaining a living body height corresponding to the living body sensing signal;
[0134] S602: Determine whether the height of the living body is greater than a preset height value;
[0135] S603: If it is greater than, unlocking the target door lock indoors;
[0136] S604: If it is not greater than, generating an unlock request, and controlling the target door lock to capture images of the indoor scene to obtain a second image set, and sending the second image set and the unlock request to the user terminal;
[0137] S605: when obtaining the target instruction sent by the user terminal according to the unlocking request;
[0138] S606: If the target instruction is an unlock instruction, unlock the target door lock indoors;
[0139] S607: If the target instruction is a non-unlocking instruction, an audible and visual alarm is issued through an alarm.
[0140] In this embodiment, when the indoor unlocking signal is normal, the height of the living body corresponding to the living body sensing signal is obtained, where the living body can be a human or an animal. Then, it is determined whether the height of the living body is greater than a preset height value, where the preset height value can be 1.5 meters, and the preset height value can also be set by the user according to the actual situation of the family members. As an example, the height of a child in the family is 1.2 meters. In order to prevent the child from going out without permission, the preset height value can be set to be greater than 1.2 meters.
[0141] If the height of the living body is greater than the preset height value, the target door lock is quickly unlocked indoors. If the height of the living body is not greater than the preset height value, an unlocking request is generated, and the indoor shooting component is controlled to capture the indoor scene to obtain a second indoor image, and the outdoor shooting component is controlled to capture the outdoor scene to obtain a second outdoor image. The obtained second indoor image and the second indoor image are used as a second image set to obtain a second image set, and the second image set and the unlocking request are sent to the user terminal; the user generates a target instruction according to the second image set and the unlocking request through the user terminal; after obtaining the target instruction sent by the user terminal according to the unlocking request, if the target instruction is an unlocking instruction, the target door lock is unlocked indoors, and if the target instruction is not an unlocking instruction, an audible and visual alarm is issued through the alarm.
[0142] The indoor unlocking method proposed in this embodiment obtains the height of the living body corresponding to the living body sensing signal when the indoor unlocking signal is normal, and then determines whether the living body height is greater than a preset height value. If so, the target door lock is unlocked indoors. If not, an unlocking request is generated, and the target door lock is controlled to capture an image of the indoor scene to obtain a second image set, and the second image set and the unlocking request are sent to the user terminal. Then, when the target instruction sent by the user terminal according to the unlocking request is obtained, if the target instruction is If it is an unlocking instruction, the target door lock is unlocked indoors. Finally, if the target instruction is not an unlocking instruction, an audible and visual alarm is given through the alarm. When the height of the living body is not greater than the preset height value, an unlocking request is generated and the unlocking request is sent to the user end. The target instruction can be executed based on the user's judgment, so that when the height of the living body is not greater than the preset height value, appropriate measures can be taken to prevent the living body whose height is not greater than the preset height value from opening the door privately, thereby protecting indoor safety and improving user experience, so that the present application is suitable for scenarios where it is necessary to prevent unreasonable unlocking by minors.
[0143] See also Figure 3 As shown, in one embodiment, an indoor unlocking system is provided, the system comprising: a target door lock, the target door lock comprising: an indoor door handle, a lock body, a power module and a door lock controller, the indoor door handle is provided with a living body sensor, a touch sensor and a light touch button;
[0144] The living body sensor block is used to detect whether there is a living body within a preset detection range, and if so, to generate a living body sensing signal, and store the living body sensing signal in a preset signal storage;
[0145] The touch sensor is used to detect whether the sensing area of the touch sensor is touched, and if so, generate a touch sensing signal, and store the touch sensing signal in the signal memory;
[0146] The light touch key device is used to detect the pressing electric signal of the key of the light touch key device as the key signal, and store the key signal in the signal memory;
[0147] The power module is used to supply power to the living body sensor, the touch sensor, the light touch button device, the controller and the lock body;
[0148] The door lock controller is connected to the lock body and is used to implement the steps of the above-mentioned indoor unlocking method.
[0149] See also Figure 4 As shown, in one embodiment, an indoor unlocking device is provided, the device comprising:
[0150] An acquisition module 10 is used to acquire an indoor unlocking signal of a target door lock;
[0151] A query module 20, for responding to the indoor unlocking signal, searching a preset signal memory for a living body sensing signal, a touch sensing signal and a key signal;
[0152] A time acquisition module 30, for acquiring target times corresponding to the living body sensing signal, the touch sensing signal and the key signal respectively, if any;
[0153] A judgment module 40, for judging whether the indoor unlocking signal is normal according to each of the target times;
[0154] The unlocking module 50 is used to perform indoor unlocking on the target door lock when the indoor unlocking signal is normal.
[0155] The indoor unlocking method proposed in this embodiment obtains the indoor unlocking signal of the target door lock, and then responds to the indoor unlocking signal to search whether the preset signal memory contains the living body sensing signal, the touch sensing signal and the key signal at the same time. Then, if so, the target time corresponding to the living body sensing signal, the touch sensing signal and the key signal is obtained, and then according to each of the target times, it is judged whether the indoor unlocking signal is normal. Finally, when the indoor unlocking signal is normal, the target door lock is unlocked indoors. After obtaining the indoor unlocking signal, it can be determined whether the signal memory contains the living body sensing signal, the touch sensing signal and the key signal at the same time, and the indoor unlocking signal can be judged whether it is normal according to the target time corresponding to the living body sensing signal, the touch sensing signal and the key signal. Only when the indoor unlocking signal is normal, the target door lock is unlocked indoors, which improves the safety and reliability of the door lock and can effectively prevent cat-eye unlocking.
[0156] In one embodiment, the determination module 40 is further configured to:
[0157] According to each of the target times, the living body sensing signals, the touch sensing signals, and the key signals are sorted from early to late to obtain a signal set;
[0158] Determining whether the order of the signal set satisfies a preset order;
[0159] If the conditions are met, the interval between the generation time of the indoor unlocking signal and each of the target times is calculated, and if each of the intervals is less than the preset time, it is determined that the indoor unlocking signal is normal;
[0160] If not, it is determined that the indoor unlocking signal is abnormal.
[0161] In one embodiment, the determination module 40 is further configured to:
[0162] Determining whether the first signal in the signal set is the living body sensing signal;
[0163] If yes, determining whether the second signal in the signal set is the touch sensing signal;
[0164] If so, it is determined that the order of the signal set satisfies the preset order.
[0165] In one embodiment, the indoor unlocking device is further used for:
[0166] When the indoor unlocking signal is abnormal, the target door lock is controlled to capture images of indoor and outdoor scenes to obtain a first image set, and early warning information corresponding to the indoor unlocking signal is generated;
[0167] Taking the warning information and the first image set as a data packet, and sending the data packet to a user terminal;
[0168] When the user instruction sent by the user terminal according to the data packet is obtained, the user instruction is executed.
[0169] In one embodiment, the indoor unlocking device is further used for:
[0170] When obtaining the user instruction sent by the user terminal according to the data packet, the alarm information is generated according to the preset alarm configuration and the data packet by executing the alarm instruction, wherein the alarm information includes property information, owner information, community information, room number and the first image set;
[0171] The alarm information is sent according to a preset sending rule.
[0172] In one embodiment, the indoor unlocking device is further used for:
[0173] When the user instruction sent by the user end according to the data packet is obtained, the anti-lock instruction is executed, the target door lock is controlled to perform indoor anti-lock, and the alarm is controlled to give an audible and visual alarm.
[0174] In one embodiment, the unlocking module 50 is further used for:
[0175] When the indoor unlocking signal is normal, obtaining the height of the living body corresponding to the living body sensing signal; and determining whether the height of the living body is greater than a preset height value;
[0176] If it is greater than, the target door lock is unlocked indoors;
[0177] If it is not greater than, an unlock request is generated, and the target door lock is controlled to capture images of the indoor scene to obtain a second image set, and the second image set and the unlock request are sent to the user end;
[0178] When obtaining the target instruction sent by the user terminal according to the unlocking request;
[0179] If the target instruction is an unlock instruction, unlocking the target door lock indoors;
[0180] If the target instruction is a non-unlocking instruction, an audible and visual alarm is performed through the alarm.
[0181] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile and / or volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external client via a network connection. When the computer program is executed by the processor, the functions or steps on the service side of an indoor unlocking method are implemented.
[0182] In one embodiment, a computer device is provided. The computer device may be a client, and its internal structure diagram may be as follows: Figure 6As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external server through a network connection. When the computer program is executed by the processor, the functions or steps on the client side of an indoor unlocking method are implemented.
[0183] In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:
[0184] Get the indoor unlocking signal of the target door lock;
[0185] In response to the indoor unlocking signal, searching a preset signal memory for a living body sensing signal, a touch sensing signal, and a key signal;
[0186] If so, obtaining the target times corresponding to the living body sensing signal, the touch sensing signal and the key signal respectively;
[0187] According to each of the target times, determining whether the indoor unlocking signal is normal;
[0188] When the indoor unlocking signal is normal, the target door lock is unlocked indoors.
[0189] The indoor unlocking method proposed in this embodiment obtains the indoor unlocking signal of the target door lock, and then responds to the indoor unlocking signal to search whether the preset signal memory contains the living body sensing signal, the touch sensing signal and the key signal at the same time. Then, if so, the target time corresponding to the living body sensing signal, the touch sensing signal and the key signal is obtained, and then according to each of the target times, it is judged whether the indoor unlocking signal is normal. Finally, when the indoor unlocking signal is normal, the target door lock is unlocked indoors. After obtaining the indoor unlocking signal, it can be determined whether the signal memory contains the living body sensing signal, the touch sensing signal and the key signal at the same time, and the indoor unlocking signal can be judged whether it is normal according to the target time corresponding to the living body sensing signal, the touch sensing signal and the key signal. Only when the indoor unlocking signal is normal, the target door lock is unlocked indoors, which improves the safety and reliability of the door lock and can effectively prevent cat-eye unlocking.
[0190] In one embodiment, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0191] Get the indoor unlocking signal of the target door lock;
[0192] In response to the indoor unlocking signal, searching a preset signal memory for a living body sensing signal, a touch sensing signal, and a key signal;
[0193] If so, obtaining the target times corresponding to the living body sensing signal, the touch sensing signal and the key signal respectively;
[0194] According to each of the target times, determining whether the indoor unlocking signal is normal;
[0195] When the indoor unlocking signal is normal, the target door lock is unlocked indoors.
[0196] The indoor unlocking method proposed in this embodiment obtains the indoor unlocking signal of the target door lock, and then responds to the indoor unlocking signal to search whether the preset signal memory contains the living body sensing signal, the touch sensing signal and the key signal at the same time. Then, if so, the target time corresponding to the living body sensing signal, the touch sensing signal and the key signal is obtained, and then according to each of the target times, it is judged whether the indoor unlocking signal is normal. Finally, when the indoor unlocking signal is normal, the target door lock is unlocked indoors. After obtaining the indoor unlocking signal, it can be determined whether the signal memory contains the living body sensing signal, the touch sensing signal and the key signal at the same time, and the indoor unlocking signal can be judged whether it is normal according to the target time corresponding to the living body sensing signal, the touch sensing signal and the key signal. Only when the indoor unlocking signal is normal, the target door lock is unlocked indoors, which improves the safety and reliability of the door lock and can effectively prevent cat-eye unlocking.
[0197] It should be noted that the above functions or steps that can be implemented by the computer-readable storage medium or computer device can refer to the relevant descriptions on the server side and the client side in the aforementioned method embodiment. To avoid repetition, they will not be described one by one here.
[0198] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0199] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0200] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for indoor unlocking, the method comprising: Get the indoor unlocking signal of the target door lock; In response to the indoor unlocking signal, searching a preset signal memory for a living body sensing signal, a touch sensing signal, and a key signal; If so, obtaining the target times corresponding to the living body sensing signal, the touch sensing signal and the key signal respectively; According to each of the target times, determining whether the indoor unlocking signal is normal; When the indoor unlocking signal is normal, the target door lock is unlocked indoors.
2. The indoor unlocking method according to claim 1, characterized in that: The step of judging whether the indoor unlocking signal is normal according to each target time includes: According to each of the target times, the living body sensing signals, the touch sensing signals, and the key signals are sorted from early to late to obtain a signal set; Determining whether the order of the signal set satisfies a preset order; If the conditions are met, the interval between the generation time of the indoor unlocking signal and each of the target times is calculated, and if each of the intervals is less than the preset time, it is determined that the indoor unlocking signal is normal; If not, it is determined that the indoor unlocking signal is abnormal.
3. The indoor unlocking method according to claim 2, characterized in that: The determining whether the order of the signal set satisfies a preset order includes: Determining whether the first signal in the signal set is the living body sensing signal; If yes, determining whether the second signal in the signal set is the touch sensing signal; If so, it is determined that the order of the signal set satisfies the preset order.
4. The indoor unlocking method according to claim 2, characterized in that: If the condition is not satisfied, then after determining that the indoor unlocking signal is abnormal, the method further comprises: When the indoor unlocking signal is abnormal, the target door lock is controlled to capture images of indoor and outdoor scenes to obtain a first image set, and early warning information corresponding to the indoor unlocking signal is generated; Taking the warning information and the first image set as a data packet, and sending the data packet to a user terminal; When the user instruction sent by the user terminal according to the data packet is obtained, the user instruction is executed.
5. The indoor unlocking method according to claim 4, characterized in that: The user instruction includes an alarm instruction, and when the user instruction sent by the user terminal according to the data packet is acquired, executing the user instruction includes: When obtaining the user instruction sent by the user terminal according to the data packet, the alarm information is generated according to the preset alarm configuration and the data packet by executing the alarm instruction, wherein the alarm information includes property information, owner information, community information, room number and the first image set; The alarm information is sent according to a preset sending rule.
6. The indoor unlocking method according to claim 4, characterized in that: The user instruction includes an anti-lock instruction, and when the user instruction sent by the user terminal according to the data packet is acquired, executing the user instruction includes: When the user instruction sent by the user end according to the data packet is obtained, the anti-lock instruction is executed, the target door lock is controlled to perform indoor anti-lock, and the alarm is controlled to give an audible and visual alarm.
7. The indoor unlocking method according to claim 1, characterized in that: When the indoor unlocking signal is normal, unlocking the indoor door lock of the target door lock includes: When the indoor unlocking signal is normal, obtaining a living body height of a living body corresponding to the living body sensing signal; Determining whether the height of the living body is greater than a preset height value; If it is greater than, the target door lock is unlocked indoors; If it is not greater than, an unlock request is generated, and the target door lock is controlled to capture images of the indoor scene to obtain a second image set, and the second image set and the unlock request are sent to the user end; When obtaining the target instruction sent by the user terminal according to the unlocking request; If the target command is an unlock command, unlock the target door lock indoors; If the target instruction is a non-unlocking instruction, an audible and visual alarm is performed through the alarm.
8. An indoor unlocking device, characterized in that: The device comprises: An acquisition module is used to acquire the indoor unlocking signal of the target door lock; A query module, for responding to the indoor unlocking signal, searching a preset signal memory for whether a living body sensing signal, a touch sensing signal and a key signal exist at the same time; A time acquisition module, used for acquiring target times corresponding to the living body sensing signal, the touch sensing signal and the key signal respectively, if any; A judgment module, used for judging whether the indoor unlocking signal is normal according to each target time; The unlocking module is used to unlock the target door lock indoors when the indoor unlocking signal is normal.
9. An indoor unlocking system, characterized in that: The system comprises: a target door lock, wherein the target door lock comprises: an indoor door handle, a lock body, a power module and a door lock controller, wherein the indoor door handle is provided with a living body sensor, a touch sensor and a light touch button; The living body sensor block is used to detect whether there is a living body within a preset detection range, and if so, to generate a living body sensing signal, and store the living body sensing signal in a preset signal storage; The touch sensor is used to detect whether the sensing area of the touch sensor is touched, and if so, generate a touch sensing signal, and store the touch sensing signal in the signal memory; The light touch key device is used to detect the pressing electric signal of the key of the light touch key device as the key signal, and store the key signal in the signal memory; The power module is used to supply power to the living body sensor, the touch sensor, the light touch button device, the controller and the lock body; The door lock controller is connected to the lock body and is used to implement the indoor unlocking method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the indoor unlocking method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Electronic lock work control method and device, and electronic lock
CN112435373A
Control method and device of intelligent door lock, intelligent door lock and storage medium
CN115546936A
Intelligent door lock control method, system, equipment and medium
CN116524635A
Smart lock and method for automatically locking smart lock
US20200219347A1
Methods and Systems for Comprehensive Security-Lockdown
US20230016625A1