Door lock control method and device, door lock and medium
By real-time sensing and identifying the identity and intention of moving objects inside the door, the door lock is controlled to remain locked, which solves the problem that existing smart door locks cannot effectively prevent school-age children from going out, and effectively monitor and protect school-age children from going out.
Patent Information
- Application Number
- CN202510160138.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-13
- Publication Date
- 2025-05-16
AI Technical Summary
The children's lock function of existing smart door locks cannot effectively prevent school-age children from going out, resulting in safety hazards.
By obtaining the identity information of the target object and limiting the time period of going out, the moving object in the door is sensed in real time, and whether it is the target object is identified and judged. If there is an intention to go out, the door lock will be kept locked.
Effectively prevent school-age children from going out, eliminate safety hazards when going out, and ensure personal safety.
Smart Images

Figure CN120014737A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of door locks, and in particular to a door lock control method, device, door lock and medium. Background Art
[0002] At present, compared with traditional mechanical door locks, smart door locks have been widely used in smart homes because they are more intelligent and simple in terms of user safety, identification and management. For the actual application scenario of children unlocking and opening the door, there is a certain safety risk when going out, so the existing smart door locks usually have a child lock function, that is, by setting a physical button, such as a dial button on the outside of the rear panel inside the door. Once the dial button is turned up, the door handle can be locked and cannot be turned, so that the door cannot be opened, thereby preventing children from going out. However, this function can only prevent children under the age of 5 from opening the door and going out. For older children, it is easy to open the door lock through learning, that is, school-age children will take the initiative to turn the dial button down and open the door to go out when they want to go out, which is easy to cause getting lost or accidents, and seriously endanger the personal safety of school-age children. Therefore, there is an urgent need for a door lock control solution that monitors the unlocking situation of school-age children from the inside in real time to prevent school-age children from going out, thereby avoiding safety hazards caused by going out. Summary of the invention
[0003] In view of this, the present invention provides a door lock control method, device, door lock and medium to solve the problem that the child lock function of the existing door lock cannot avoid the safety hazards of school-age children when going out, which seriously endangers the personal safety of school-age children.
[0004] In a first aspect, the present invention provides a door lock control method, the method comprising:
[0005] In response to the door lock control setting result, obtaining the identity information of the target object and limiting the time period for going out;
[0006] During the restricted time period, check whether there is a moving object inside the sensing door;
[0007] When a moving object is sensed inside the door, it is identified whether the moving object is a target object;
[0008] When the moving object belongs to the target object, determining whether the target object has the intention to go out;
[0009] When the target object intends to go out, the door lock is controlled to remain locked during the restricted time period.
[0010] The present invention sets the door unlocking control for the target object and the restricted time period for going out, and senses the indoor moving object in real time during the restricted time period for going out. When the moving object is sensed in the door, its identity is compared with the target object. When the moving object belongs to the target object, it is simultaneously judged whether it has the intention to go out. If there is the intention to go out, the anti-going out processing is immediately performed to control the door lock to remain in the locked state during the restricted time period for going out. The target object of concern can be flexibly set, and the target object's intention to go out in real time can be monitored indoors, which can effectively prevent the target object from going out, thereby eliminating the safety hazards of going out, and greatly ensuring the personal safety of the target object.
[0011] In an optional implementation, determining whether the target object has an intention to go out includes:
[0012] Detect whether there is a target object within a preset range inside the door;
[0013] When the target object exists, the duration of the target object's stay is recorded;
[0014] If the duration of stay is longer than the preset duration threshold, it is determined that the target object has the intention to go out;
[0015] If the stay time is not greater than the preset time threshold, it is determined that the target object has no intention to go out.
[0016] The present invention is designed to detect the target object within a preset range inside the door, compare the acquired residence time with the preset time threshold, and determine whether the target object has the intention to go out based on the size judgment result. This can ensure the accurate judgment of the target object's intention to go out, and further help to ensure the authenticity and reliability of the door lock's anti-going-out processing, which can effectively eliminate potential safety hazards when going out and ensure the personal safety of the target object to a great extent.
[0017] In an optional implementation, if the stay duration is not greater than a preset duration threshold, the method further includes:
[0018] Get the current image of the target object;
[0019] Determine whether the target object is in a door opening action based on the current image;
[0020] If the target object opens the door, it is determined that the target object intends to go out;
[0021] If the target object does not open the door, it is determined that the target object has no intention to go out.
[0022] The present invention not only takes into account the length of time the target object stays inside the door when determining the target object's intention to go out, but also takes into account whether the target object actually performs the door opening action. Specifically, it determines whether there is a door opening action through the current image of the target object, and determines whether the target object intends to go out based on whether the door opening action is recognized. This improves the accuracy of determining the target object's intention to go out to a certain extent, thereby helping to protect the personal safety of the target object.
[0023] In an optional implementation, if the dwell time is greater than a preset time threshold, or if the target object has a door opening action, the method further includes:
[0024] Detect whether there is an opening signal from the door handle;
[0025] If there is an open signal from the door handle, it is determined that the target object intends to go out;
[0026] If there is no opening signal from the door handle, it is determined that the target object has no intention to go out.
[0027] The present invention not only takes into account the behavioral data of the target object, but also takes into account the actual situation of whether the inner door handle of the door lock is open when judging the target object's intention to go out. Specifically, by detecting the presence or absence of the inner door handle opening signal, it is determined whether the target object has the intention to go out. This can achieve multi-dimensional judgment of the target object's intention to go out, greatly improving the accurate judgment of the target object's intention to go out.
[0028] In an optional implementation, after controlling the door lock to remain in a locked state within the restricted exit time period, the door lock control method further includes:
[0029] Control the door lock to broadcast reminders and keep the door lock locked during the restricted time period;
[0030] Real-time monitoring of whether the target object intends to go out;
[0031] If the target object intends to go out, determine whether to unlock the door lock according to the preset release rules, where the preset release rules at least include consent to release after a remote call with the target object, the guardian of the target object has performed an external unlocking authentication operation, and the lifting of the restricted time period for going out;
[0032] If the preset release rules are met, the door lock is controlled to perform the unlocking operation;
[0033] If the preset release rules are not met, the door lock will remain locked.
[0034] When the present invention determines that the target object has the intention to go out, a voice broadcast of the door lock is designed accordingly to remind the target object that it is forbidden to go out, and the door lock is controlled to remain locked during the restricted time period to ensure that the target object cannot open the door to go out to prevent the target object from doing so. At the same time, special going-out scene requirements that may exist for children are also taken into consideration. For example, if the target object has the need to go out, a remote call is designed to assist in determining whether to open the door and let the child go. The door can be opened and let the child go after the guardian of the target object unlocks the door and returns home, or after the restricted time period expires, that is, the restriction is lifted. The real intention of the child to go out can be fully considered, and the potential safety hazards of the child going out are avoided to a certain extent, thereby ensuring the personal safety of the child.
[0035] In an optional implementation, identifying whether the moving object belongs to the target object includes:
[0036] Determine whether the moving object and the target object are similar;
[0037] If the moving object is similar to the target object, it is determined that the moving object belongs to the target object;
[0038] If the moving object and the target object are not similar, it is determined that the moving object does not belong to the target object.
[0039] The present invention identifies whether a moving object belongs to a target object by designing a similarity judgment process between the moving object and the target object, thereby ensuring accurate identification of the target object and further protecting the personal safety of the target object.
[0040] In an optional implementation, before sensing whether there is a moving object in the door, the method further includes:
[0041] Detect whether the target object has performed an unlocking authentication operation outside the door, or whether the target object is tracked inside the door;
[0042] If the target object is detected to have an unlocking authentication operation outside the door, or the target object is tracked inside the door, the step of sensing whether there is a moving object inside the door is executed;
[0043] If no unlocking authentication operation is detected for the target object outside the door, and the target object is not tracked inside the door, the process returns to the step of obtaining the target object's identity information and limiting the time period for going out in response to the door lock control setting result.
[0044] The present invention designs relevant detection processes to determine whether the target object is indoors, and only executes the subsequent determination process of whether the target object has the intention to go out when it is ensured that the target object is indoors. This can provide the execution prerequisite of the door lock control process to prevent school-age children from going out, and to a certain extent optimizes the door lock's control process to prevent the target object from going out.
[0045] In a second aspect, the present invention provides a door lock control device, the device comprising:
[0046] An acquisition module, used to obtain the identity information of the target object and the restricted time period for going out in response to the door lock control setting result;
[0047] The sensing module is used to sense whether there is a moving object in the door during the restricted time period;
[0048] A recognition module, for identifying whether the moving object is a target object when a moving object is sensed in the door;
[0049] A judgment module, used for judging whether the target object has an intention to go out when the moving object belongs to the target object;
[0050] The control module is used to control the door lock to remain locked within the restricted time period when the target object intends to go out.
[0051] The door lock control device of the present invention focuses on the door lock scenario in which school-age children open the door and go out from the inside. It performs real-time sensing of indoor moving objects within the set target object's restricted time period for going out, compares whether the sensed moving object is the target object, and judges whether the moving object has the intention to go out when the moving object belongs to the target object. If there is an intention to go out, the door lock is controlled to remain locked within the restricted time period for going out, which can effectively avoid potential safety hazards of children going out, thereby ensuring the personal safety of the target object.
[0052] In a third aspect, the present invention provides a door lock, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, computer instructions being stored in the memory, and the processor executing the computer instructions to thereby execute a door lock control method of the first aspect or any corresponding embodiment thereof.
[0053] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute a door lock control method according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0055] Figure 1is a flow chart of a door lock control method according to an embodiment of the present invention;
[0056] Figure 2 is a flow chart of another door lock control method according to an embodiment of the present invention;
[0057] Figure 3 This is a schematic diagram of fingerprint lock monitoring to prevent going out;
[0058] Figure 4 This is another fingerprint lock monitoring diagram to prevent going out;
[0059] Figure 5 is a structural block diagram of a door lock control device according to an embodiment of the present invention;
[0060] Figure 6 Schematic diagram of the structure of a door lock according to an embodiment of the present invention. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0062] An embodiment of the present invention provides an embodiment of a door lock control method. It should be noted that the steps shown in the flowchart of the accompanying 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.
[0063] In this embodiment, a door lock control method is provided. Figure 1 FIG. 1 is a flow chart of a door lock control method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0064] Step S101, in response to the door lock control setting result, obtain the target object identity information and the restricted time period for going out.
[0065] It should be noted that the setting of the door lock control in this embodiment is essentially the door unlocking setting of the door lock administrator, which obtains the corresponding setting result by performing relevant operations using the mobile terminal that interacts with the door lock, that is, the door lock control setting result, and the specific setting content of the door lock control can be adaptively adjusted according to actual needs. For example, through the APP installed on the mobile phone, the corresponding settings for the children at home can be set, and the restricted time for the children to not go out can be set, that is, the restricted time period for going out, where the specific value of the restricted time period for going out is determined based on the actual needs, such as two hours; in addition, the setting content can also include the frequency of allowing the child to go out, and the specific value of the frequency is not limited here, such as 1 time, which is only used as an exemplary explanation.
[0066] Step S102, sensing whether there is a moving object inside the door during the restricted time period.
[0067] In this embodiment, the moving objects mainly refer to moving people or animals, and the specific content can be adaptively determined according to the family situation of the door lock administrator. For example, the moving objects include the elderly, children, and pets such as cats or dogs.
[0068] Step S103, when it is sensed that there is a moving object inside the door, it is identified whether the moving object is a target object.
[0069] In this embodiment, the target object refers to the child who needs to be prevented from going out and is set in advance by the door lock administrator. In actual applications, there may be multiple children in the family of the door lock administrator. Since this embodiment only focuses on school-age children between 6 and 12 years old, for slightly older children, such as teenagers over 12 years old, this embodiment does not identify and process them to prevent going out, so it is necessary to verify the true identity of the moving object currently sensed indoors.
[0070] Step S104: when the moving object is a target object, it is determined whether the target object has an intention to go out.
[0071] In this embodiment, the intention to go out is mainly detected by detecting whether the target object has any behavior related to going out. The specific content of the behavior related to going out is adaptively adjusted according to actual needs, such as staying in front of the door, opening the door, etc., which is only used as an example and is not limited to this.
[0072] Step S105: When the target object intends to go out, the door lock is controlled to remain locked within the restricted time period.
[0073] In this embodiment, the anti-exit processing mainly puts the door lock in a locked state so that the target object cannot unlock and go out. The specific content can be adaptively determined according to actual needs, such as achieving the locked state of the door lock by locking the door handle, which is only an exemplary description.
[0074] In the embodiment of the present invention, the administrator sets the door unlocking for the target object and the restricted time period for going out, and senses the moving objects in the room in real time during the restricted time period for going out. When the moving object is sensed in the door, its identity is compared with the target object. When the moving object belongs to the target object, it is simultaneously determined whether it has the intention to go out. If there is the intention to go out, anti-going out processing is immediately performed to control the door lock to remain locked during the restricted time period for going out. The target object of concern can be flexibly set, and the target object's intention to go out in real time can be monitored indoors, which can effectively prevent the target object from going out, thereby eliminating the safety hazards of going out and greatly ensuring the personal safety of the target object.
[0075] In this embodiment, a door lock control method is provided. Figure 2 FIG. 1 is a flow chart of another door lock control method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0076] Step S201, in response to the door lock control setting result, obtain the target object's identity information and the restricted time period for going out. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.
[0077] Step S202, during the restricted time period for going out, sensing whether there is a moving object inside the door.
[0078] It should be noted that the premise for executing the door lock control method in this embodiment is that the target object set by the door lock administrator must be in an indoor environment or inside the door (such as when the target object opens the door to go home after school or when a child stays at home on weekends) in order to achieve real-time monitoring of the target object and prevent it from going out. Therefore, before sensing whether there is a moving object in the door, the door lock control method of this embodiment also includes:
[0079] Step A1, detecting whether the target object has an unlocking authentication operation outside the door, or whether the target object is tracked inside the door.
[0080] In this embodiment, the specific detection method of the door unlocking authentication operation and the specific tracking method of the target object are not limited in detail, and can be determined by referring to the adaptability of conventional operations in the field. For example, when the target object opens the door to go home after school, the unlocking authentication method supported by the door lock is used for unlocking identification. After the target object successfully matches the unlocking information entered in advance with the current corresponding door lock collection information, the door lock is controlled to open and the unlocking information of the target object is recorded. The recorded unlocking information of the target object can be used to identify whether there is an outdoor unlocking authentication operation; when the target object opens the door to go home, the target object can be tracked in real time through the video camera installed in the door lock; or other home appliances linked to the door lock, such as home cameras, can be used to track the target object in real time, and the tracked message is synchronized to the door lock, which is only an exemplary description.
[0081] Step A2: If it is detected that the target object has an unlocking authentication operation outside the door, or the target object is tracked inside the door, the step of sensing whether there is a moving object inside the door is executed.
[0082] Step A3: If no unlocking authentication operation is detected for the target object outside the door, and the target object is not tracked inside the door, the process returns to the step of obtaining the target object's identity information and limiting the time period for going out in response to the door lock control setting result.
[0083] In the embodiment of the present invention, a relevant detection process is designed to determine whether the target object is indoors, and a subsequent determination process of whether the target object has the intention to go out is performed only when it is ensured that the target object is indoors. This can provide a prerequisite for executing the door lock control process to prevent school-age children from going out, and to a certain extent optimize the door lock's control process to prevent the target object from going out.
[0084] Step S203, when it is sensed that there is a moving object inside the door, it is identified whether the moving object is a target object.
[0085] Specifically, the above step S203 includes:
[0086] Step S2031, when it is sensed that there is a moving object inside the door, it is determined whether the moving object is similar to the target object.
[0087] In this embodiment, the specific implementation method of similarity judgment is not limited here, and is adaptively determined according to actual needs. For example, respectively obtaining images containing the moving object and the target object, and using the existing image matching algorithm to identify whether the two images are the same is only an example and is not limited to this.
[0088] Step S2032: If the moving object is similar to the target object, it is determined that the moving object belongs to the target object.
[0089] Step S2033: if the moving object and the target object are not similar, it is determined that the moving object does not belong to the target object.
[0090] In the embodiment of the present invention, a similarity judgment process between a moving object and a target object is designed to identify whether the moving object belongs to the target object, thereby ensuring accurate identification of the target object and further protecting the personal safety of the target object.
[0091] Step S204: when the moving object is a target object, it is determined whether the target object has an intention to go out.
[0092] Specifically, the above step S204 includes:
[0093] Step S2041: when the moving object is a target object, detecting whether there is a target object within a preset range inside the door.
[0094] In this embodiment, the specific value of the preset range is determined based on the adaptability of actual needs and is not limited in detail here.
[0095] Step S2042: When the target object exists, the stay time of the target object is recorded.
[0096] In this embodiment, the dwell time is used to represent the length of time the target object stays in front of the door.
[0097] Step S2043: If the stay duration is greater than the preset duration threshold, it is determined that the target object has the intention to go out.
[0098] In this embodiment, the specific value of the preset duration threshold is not limited in detail and can be determined based on actual demand adaptability. For example, the preset duration threshold is 3 minutes.
[0099] Step S2044: If the stay time is not greater than the preset time threshold, it is determined that the target object has no intention to go out.
[0100] In the embodiment of the present invention, by designing the detection of the target object within a preset range inside the door and comparing the acquired residence time with the preset time threshold, and determining whether the target object has the intention to go out based on the size judgment result, it is possible to ensure the accurate judgment of the target object's intention to go out, which in turn helps to ensure the authenticity and reliability of the door lock's anti-going-out processing, effectively eliminate potential safety hazards when going out, and greatly ensure the personal safety of the target object.
[0101] It should be noted that when the target object's stay time is not greater than the preset time threshold, in this case, there may be a situation where a child has unlocked the door and left. Therefore, in order to ensure accurate identification of the target object's intention to go out, it is also necessary to detect whether the target object has opened the door. Therefore, if the stay time is not greater than the preset time threshold, the door lock control method of this embodiment also includes:
[0102] Step B1, obtaining the current image of the target object.
[0103] In this embodiment, the specific method of acquiring the current image can be adaptively adjusted according to actual needs. For example, the current image containing the target object can be acquired through a camera installed in the door lock.
[0104] Step B2: determine whether the target object has a door opening action based on the current image.
[0105] In this embodiment, the door opening action mainly refers to the target object's hands placing on the door handle to open the door. The specific judgment method for whether the target object has the door opening action can be adaptively determined according to the conventional action recognition method in the field, such as using a trained neural network model containing a series of door opening actions to predict whether there is a door opening action in the current image, which is only used as an example.
[0106] Step B3: If the target object opens the door, it is determined that the target object intends to go out.
[0107] Step B4: If the target object does not open the door, it is determined that the target object does not intend to go out.
[0108] In the embodiment of the present invention, the determination of the target object's intention to go out not only takes into account the length of time the target object stays inside the door, but also takes into account whether the target object actually performs the door opening action. Specifically, it is determined through the current image of the target object whether it performs the door opening action, and based on whether the door opening action is recognized, it is determined whether the target object intends to go out. This improves the accuracy of determining the target object's intention to go out to a certain extent, thereby helping to protect the personal safety of the target object.
[0109] It should be noted that judging whether the target object has the intention to open the door simply from the perspective of its behavior is error-prone. It is also necessary to detect whether the door handle is turned to assist in the judgment, so as to improve the accurate recognition of the intention to open the door. Therefore, in order to improve the accurate recognition of the intention to open the door, if the dwell time is greater than the preset time threshold, or if the target object has the action of opening the door, the door lock control method of this embodiment also includes:
[0110] Step C1, detecting whether there is an opening signal from the inner door handle.
[0111] In this embodiment, the specific detection method of the door handle opening signal needs to be determined according to the adaptability of the hardware design of the actual door handle. For example, when the door handle is a built-in Hall handle, since the working principle of the Hall is that the cylindrical magnet on the clutch seat is facing the Hall sensor on the PCB board, if the handle is turned, the magnet will be driven to rotate, that is, the magnet and the Hall sensor will be separated. At this time, a relevant signal will be collected, that is, the opening signal, which is used to indicate that someone turns the handle to open the door. It should be noted that there will be no change when a person approaches the Hall switch. Only when someone turns the indoor door handle, the magnet will be separated from the Hall switch as the handle rotates, thereby generating a corresponding signal.
[0112] It should be noted that, in addition to the detection method of the Hall switch in this embodiment, the inner door handle can also use an infrared pair tube method, a travel switch method, a connecting rod method, a roller method, a cam method, etc.; wherein, the detection principle of the travel switch is to connect or disconnect the circuit based on the contact or displacement of the mechanical parts. Specifically, when a moving part (such as a slider, a lever, etc.) on the mechanical equipment reaches a preset position, it will touch the contact of the switch, thereby changing the state of the circuit to achieve control or protection of the mechanical equipment. In this embodiment, a roller travel switch (which transmits the action signal through the rolling contact between the roller and the moving part, reduces wear, and is suitable for mechanical control of medium precision and speed) can also be used and a corresponding opening signal detection method can be designed.
[0113] Step C2: If there is an opening signal from the door handle, it is determined that the target object intends to go out.
[0114] Step C3: If there is no opening signal from the door handle, it is determined that the target object has no intention to go out.
[0115] In the embodiment of the present invention, the determination of the target object's intention to go out not only takes into account the target object's behavioral data, but also takes into account the actual situation of whether the inner door handle of the door lock is open. Specifically, by detecting the presence or absence of the inner door handle opening signal, it is determined whether the target object has the intention to go out. This can achieve multi-dimensional determination of the target object's intention to go out, greatly improving the accuracy of the target object's intention to go out.
[0116] Step S205: When the target object intends to go out, the door lock is controlled to remain locked within the restricted time period.
[0117] Specifically, the above step S205 includes:
[0118] Step S2051, when the target object intends to go out, the door lock is controlled to broadcast a reminder and at the same time control the door lock to remain locked during the restricted time period.
[0119] In this embodiment, the specific content of the reminder broadcast by the door lock can be adaptively determined according to actual needs, such as "XXX is not allowed to go out". The purpose of controlling the door lock to remain locked during the restricted time period is to perform a locking operation on the door lock so that the target object cannot open the door. The specific implementation method is not limited here, such as it can be achieved by locking the door handle.
[0120] Step S2052: monitor in real time whether the target object has the intention to go out.
[0121] In this embodiment, the relevant content of whether the target object has the intention to go out is referred to the above, that is, detecting the object's related behavior of going out, such as staying inside the door or performing the door opening action, which will not be repeated here.
[0122] Step S2053, if the target object intends to go out, determine whether to unlock the door lock according to the preset release rules, where the preset release rules at least include consent to release after a remote call with the target object, the guardian of the target object performing an outdoor unlocking authentication operation, and lifting the restriction on the time period for going out.
[0123] In this embodiment, the preset release rule refers to the special situation where the child must go out. It should be noted that in this embodiment, the remote call with the target object is initiated by the door lock administrator through the mobile phone APP, and the remote call is used to communicate with the target object so that the door lock administrator can decide whether the target object goes out according to the content of the call, that is, agree or disagree to release the child to go out; in addition, the door unlocking authentication operation of the guardian of the target object is a personnel identity authentication operation, and the door can be unlocked and the child can go home after the personnel identity is recognized. It should be noted that in this embodiment, the door lock administrator is used to manage and configure the door lock related functions, and the guardian of the target object is responsible for supervising the target object, such as the child's parent; the door lock administrator and the guardian of the target object in this embodiment can belong to the same person or different persons, and the specific settings of the personnel can be adaptively adjusted according to actual needs.
[0124] Step S2054: If the preset release rules are met, the door lock is controlled to perform an unlocking operation.
[0125] Step S2055: If the preset release rules are not met, the door lock is controlled to remain locked.
[0126] In the embodiment of the present invention, when it is determined that the target object has the intention to go out, a voice broadcast of the door lock is designed accordingly to remind the target object that it is prohibited to go out, and the door lock is controlled to remain locked during the restricted time period to ensure that the target object cannot open the door to go out; at the same time, special going-out scene needs that children may have are also taken into consideration. For example, if the target object has a scene need to go out, a remote call is designed to assist in determining whether to open the door and let the child go. The door can be opened and let the child go after the guardian of the target object unlocks the door and returns home, or after the restricted time period expires, that is, the restriction is lifted. The real intention of the child to go out can be fully considered, and the potential safety hazards of children going out can be avoided to a certain extent, thereby ensuring the personal safety of the child.
[0127] In a specific embodiment, the door lock is a fingerprint lock, providing a monitoring solution for protecting children from going out through the fingerprint lock. Figure 3 and Figure 4 is the corresponding monitoring process. It should be noted that the rear camera in the figure is the door camera of the fingerprint lock, and the rear handle detection switch in the figure is the door handle of the fingerprint lock. In this embodiment, the determination of whether the child goes out is that within the time period set by the administrator, the indoor rear camera will take pictures of whether the child stays in front of the door and compare whether the child is the calibrated person; at the same time, detect whether the handle is turned; the two conditions are added together to determine whether the child has the tendency to open the door and go out; at the same time, connect to the administrator's mobile phone APP for video calls; further, the administrator will judge whether the behavior of the child going out is reasonable and whether to release it or not, that is, the administrator can remotely manually click the lock button on the mobile phone APP to realize the locking function of the fingerprint lock. In addition, if the child does not go out within the set time, the monitoring function can automatically lift the restriction as the time period expires; or the mobile phone APP starts a floating window to stay on the mobile phone page for corresponding reminders, such as "You have turned on the child prevention mode, and the administrator manually clicks to confirm the closure before the restriction can be lifted.
[0128] In summary, the embodiments of the present invention focus on the scenario of school-age children opening the door from the inside to go out. By sensing indoor moving objects in real time during the restricted time period when going out is prohibited, comparing whether the sensed object is the target object, and if it is the target object, it is simultaneously determined whether it has the intention to go out. If so, the door lock is controlled to remain locked during the restricted time period, which can greatly protect the personal safety of the target object.
[0129] In this embodiment, a door lock control device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As the term "module" is used below, it can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0130] The present invention provides a door lock control device, such as Figure 5 As shown, the device comprises:
[0131] The acquisition module 501 is used to obtain the identity information of the target object and the restricted time period for going out in response to the door lock control setting result.
[0132] The sensing module 502 is used to sense whether there is a moving object in the door during the restricted time period.
[0133] The identification module 503 is used to identify whether the moving object is a target object when the moving object is sensed to exist in the door.
[0134] The judgment module 504 is used to judge whether the target object has the intention to go out when the moving object belongs to the target object.
[0135] The control module 505 is used to control the door lock to remain locked within the restricted time period when the target object intends to go out.
[0136] In some optional embodiments, the identification module 503 includes: a first identification submodule, a second identification submodule and a third identification submodule; wherein the first identification submodule is used to determine whether the mobile object and the target object are similar; the second identification submodule is used to determine that the mobile object belongs to the target object if the mobile object and the target object are similar; and the third identification submodule is used to determine that the mobile object does not belong to the target object if the mobile object and the target object are not similar.
[0137] In some optional embodiments, the judgment module 504 includes: a first judgment submodule, a second judgment submodule, a third judgment submodule and a fourth judgment submodule; wherein the first judgment submodule is used to detect whether there is a target object within a preset range inside the door when the moving object belongs to the target object; the second judgment submodule is used to record the stay duration of the target object when the target object exists; the third judgment submodule is used to determine whether the target object has the intention to go out if the stay duration is greater than the preset duration threshold; the fourth judgment submodule is used to determine whether the target object has the intention to go out if the stay duration is not greater than the preset duration threshold.
[0138] In some optional embodiments, the judgment module 504 also includes: a fifth judgment submodule, a sixth judgment submodule, a seventh judgment submodule and an eighth judgment submodule; wherein the fifth judgment submodule is used to obtain the current image of the target object if the stay time is not greater than the preset time threshold; the sixth judgment submodule is used to determine whether the target object has a door opening action based on the current image; the seventh judgment submodule is used to determine whether the target object has an intention to go out if the target object has a door opening action; the eighth judgment submodule is used to determine whether the target object has no intention to go out if the target object does not have a door opening action.
[0139] In some optional embodiments, the third judgment submodule or the seventh judgment submodule includes: a handle auxiliary detection unit, used to detect whether there is an opening signal on the door handle; if there is an opening signal on the door handle, it is determined that the target object has the intention to go out; if there is no opening signal on the door handle, it is determined that the target object does not have the intention to go out.
[0140] In some optional embodiments, the control module 505 includes: a first control submodule, a second control submodule, a third control submodule, a fourth control submodule and a fifth control submodule; wherein the first control submodule is used to control the door lock to broadcast reminders and control the door lock to remain locked during the restricted time period; the second control submodule is used to monitor in real time whether the target object has the intention to go out; the third control submodule is used to determine whether to unlock the door lock according to the preset release rules if the target object has the intention to go out, wherein the preset release rules at least include agreeing to release after a remote call with the target object, the guardian of the target object having an outside door unlocking authentication operation, and lifting the restricted time period; the fourth control submodule is used to control the door lock to perform an unlocking operation if the preset release rules are met; the fifth control submodule is used to control the door lock to remain locked if the preset release rules are not met.
[0141] In some optional embodiments, the device also includes: a verification module, used to detect whether there is an outside door unlocking authentication operation for the target object, or whether the target object is tracked inside the door; if it is detected that there is an outside door unlocking authentication operation for the target object, or the target object is tracked inside the door, the step of sensing whether there is a moving object inside the door is executed; if no outside door unlocking authentication operation is detected for the target object, and the target object is not tracked inside the door, the step of returning to the step of obtaining the target object's identity information and restricting the time period for going out in response to the door lock control setting result.
[0142] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.
[0143] The door lock control device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0144] The door lock control device of the embodiment of the present invention focuses on the scenario of school-age children opening the door and going out from the inside. It senses indoor moving objects in real time within the restricted time period for going out, compares whether the sensed object is the target object, and synchronously determines whether it has the intention to go out when it is the target object. If so, the door lock is controlled to remain locked within the restricted time period for going out. The target object of concern can be flexibly set, and the target object's intention to go out indoors can be monitored in real time, which effectively prevents the target object from going out, thereby eliminating safety hazards when going out, and greatly ensuring the personal safety of the target object.
[0145] The present invention also provides a door lock. Figure 6 , Figure 6 is a schematic diagram of the structure of the door lock provided in an optional embodiment of the present invention, such as Figure 6 As shown, the door lock includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the door lock, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple door locks can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.
[0146] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0147] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0148] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by at least one function; the data storage area may store data created according to the use of the door lock, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the door lock via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0149] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0150] The door lock also includes a communication interface 30 for the main control chip to communicate with other devices or a communication network.
[0151] A computer-readable storage medium is also provided in an embodiment of the present invention. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium and downloaded through a network, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor main control chip or 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 a computer, a processor or hardware, the method shown in the above embodiment is implemented.
[0152] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A door lock control method, characterized in that: The method comprises: In response to the door lock control setting result, obtaining the identity information of the target object and limiting the time period for going out; During the restricted time period, whether there is a moving object in the sensing door; When sensing the presence of a moving object in the door, identifying whether the moving object belongs to the target object; When the mobile object belongs to the target object, determining whether the target object has an intention to go out; When the target object intends to go out, the door lock is controlled to remain locked within the restricted time period.
2. The door lock control method according to claim 1, characterized in that: The determining whether the target object has an intention to go out includes: Detecting whether the target object exists within a preset range inside the door; When the target object exists, the length of stay of the target object is recorded; If the duration of stay is greater than a preset duration threshold, it is determined that the target object has an intention to go out; If the stay duration is not greater than the preset duration threshold, it is determined that the target object has no intention to go out.
3. The door lock control method according to claim 2, characterized in that: After the stay duration is not greater than the preset duration threshold, the method further includes: Acquire a current image of the target object; Determining whether the target object is in a door opening action based on the current image; If the target object opens the door, it is determined that the target object intends to go out; If the target object does not have the door opening action, it is determined that the target object has no intention to go out.
4. The door lock control method according to claim 2 or 3, characterized in that: If the stay time is greater than a preset time threshold, or if the target object has a door opening action, the method further includes: Detect whether there is an opening signal from the door handle; If there is an opening signal from the door handle, it is determined that the target object intends to go out; If there is no opening signal from the inner door handle, it is determined that the target object has no intention to go out.
5. The door lock control method according to claim 1, characterized in that: After controlling the door lock to remain in a locked state within the restricted exit time period, the method further includes: Control the door lock to broadcast a reminder and control the door lock to remain locked during the restricted time period; Real-time monitoring of whether the target object intends to go out; If the target object intends to go out, determine whether to perform the unlocking operation on the door lock according to the preset release rules, wherein the preset release rules at least include consent to release after a remote call with the target object, the guardian of the target object has performed an external unlocking authentication operation, and the lifting of the restricted time period for going out; If the preset release rules are met, the door lock is controlled to perform an unlocking operation; If the preset release rule is not met, the door lock is controlled to remain in a locked state.
6. The door lock control method according to claim 1, characterized in that: The identifying whether the moving object belongs to the target object comprises: determining whether the moving object and the target object are similar; If the moving object is similar to the target object, determining that the moving object belongs to the target object; If the moving object and the target object are not similar, it is determined that the moving object does not belong to the target object.
7. The door lock control method according to claim 1, characterized in that: Before sensing whether there is a moving object in the door, the method further includes: Detect whether the target object has performed an unlocking authentication operation outside the door, or whether the target object is tracked inside the door; If the target object is detected to have an unlocking authentication operation outside the door, or the target object is tracked inside the door, the step of sensing whether there is a moving object inside the door is executed; If no unlocking authentication operation is detected for the target object outside the door, and the target object is not tracked inside the door, the process returns to the step of obtaining the target object's identity information and limiting the time period for going out in response to the door lock control setting result.
8. A door lock control device, characterized in that: The device comprises: An acquisition module, used to obtain the identity information of the target object and the restricted time period for going out in response to the door lock control setting result; A sensing module is used to sense whether there is a moving object in the door during the restricted time period; An identification module, for identifying whether the moving object belongs to the target object when sensing the presence of the moving object in the door; A judging module, used for judging whether the target object has an intention to go out when the moving object belongs to the target object; The control module is used to control the door lock to remain locked within the restricted time period when the target object intends to go out.
9. A door lock, characterized in that: The door lock includes: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the door lock control method according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the door lock control method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Control equipment, method and device for door
CN105401807A
Child safety intelligent door lock control method and system
CN112863014A
Child lock function starting method based on intelligent door lock and intelligent door lock
CN117711101A