CN114320024A - Door lock control method and device, electronic equipment and storage medium - Google Patents

Door lock control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114320024A
CN114320024A CN202111592916.7A CN202111592916A CN114320024A CN 114320024 A CN114320024 A CN 114320024A CN 202111592916 A CN202111592916 A CN 202111592916A CN 114320024 A CN114320024 A CN 114320024A
Authority
CN
China
Prior art keywords
door lock
detection
detection result
control strategy
door
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111592916.7A
Other languages
Chinese (zh)
Other versions
CN114320024B (en
Inventor
唐立
唐杰
李春光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111592916.7A priority Critical patent/CN114320024B/en
Publication of CN114320024A publication Critical patent/CN114320024A/en
Application granted granted Critical
Publication of CN114320024B publication Critical patent/CN114320024B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

The embodiment of the disclosure relates to a door lock control method, a door lock control device, electronic equipment and a storage medium, wherein the method comprises the following steps: according to the door lock control method provided by the embodiment of the disclosure, when an unlocking action is detected, whether a plurality of detection points on a door lock handle in a door form an electric loop is determined, detection results corresponding to the detection points are obtained at the same time, then a control strategy of the door lock is determined according to the detection results, and finally the door lock is controlled based on the control strategy. The door lock handle in the door is detected when the unlocking action is performed, the state of an electric loop among a plurality of detection points is confirmed, the detection result is obtained, and then the control strategy is determined and the door lock is controlled. By this scheme, can realize through the detection to door inner lock handle, do not change the door body structure and increase the conventional degree of difficulty of unblanking to guarantee can't open the lock when the instrument of unblanking enters into the door inside, improve the security.

Description

Door lock control method and device, electronic equipment and storage medium
Technical Field
The disclosed embodiment relates to the technical field of door locks, in particular to a door lock control method and device, electronic equipment and a storage medium.
Background
With the gradual improvement of safety consciousness of people, the requirements on the safety performance of doors are improved, the types of the doors circulating in the market are various, the types of the door locks are also various, the grades of the door locks are also various, but the door locks are unlocked by an unconventional means (for example, unlocking is performed by using unlocking tools such as hooks and the like through cat eyes), and then illegal criminal behaviors such as theft are implemented.
Each main class firm improves preventing that unconventional means from opening the lock, and current improvement mode needs to increase the degree of difficulty of unblanking or changes door structure and then reach the prevention effect, but can change door structure like this, increases the conventional degree of difficulty of unblanking, can't guarantee simultaneously can't open the lock when the unlocking means enters into the door inside.
Disclosure of Invention
In view of this, in order to solve the technical problems that the conventional unlocking difficulty is increased by changing the door structure, and the door lock cannot be opened when an unlocking tool enters the inner side of the door, the embodiments of the present disclosure provide a door lock control method, an apparatus, an electronic device, and a storage medium.
In a first aspect, an embodiment of the present disclosure provides a door lock control method, where the method includes:
when the unlocking action is detected, whether a plurality of detection points on the door lock handle in the door form an electric loop or not is determined, and detection results corresponding to the detection points are obtained;
determining a control strategy of the door lock according to the detection result;
and controlling the door lock based on the control strategy.
Optionally, in the method according to any embodiment of the present disclosure, the obtaining of the detection results corresponding to the plurality of detection points includes:
when the detection points form an electric loop, current parameters corresponding to the detection points are detected to obtain a plurality of corresponding current parameters, and the current parameters are used for determining the detection result.
Optionally, in the method according to any embodiment of the present disclosure, the obtaining detection results corresponding to a plurality of detection points includes:
and when the current parameters corresponding to the detection points are all smaller than a preset current threshold, determining that the detection result is a first detection result, wherein the first detection result is used for indicating that the target object is unlocked.
Optionally, in the method according to any embodiment of the present disclosure, the obtaining detection results corresponding to a plurality of detection points includes:
and when the current parameters corresponding to the detection points are all larger than a preset current threshold, determining that the detection result is a second detection result, wherein the second detection result is used for indicating that the non-target object is unlocked.
Optionally, in the method according to any embodiment of the present disclosure, the obtaining detection results corresponding to a plurality of detection points includes:
when it is determined that the plurality of detection points do not form the electric circuit, the detection result corresponding to the plurality of detection points is a third detection result, and the third detection result is used for indicating that the non-target object is unlocked.
Optionally, in a method according to any embodiment of the present disclosure, the determining a control policy of the door lock according to the detection result includes:
determining that the control strategy of the door lock is a first control strategy when the detection result is a first detection result, wherein the first control strategy is used for indicating to control the door lock to be unlocked;
or the like, or, alternatively,
determining that the control strategy of the door lock is a second control strategy when the detection result is a second detection result, wherein the second control strategy is used for indicating to control the door lock to keep a locking state;
or the like, or, alternatively,
and determining that the control strategy of the door lock is a second control strategy when the detection result is a third detection result, wherein the second control strategy is used for indicating to control the door lock to keep a locking state.
Optionally, in the method of any embodiment of the present disclosure, the method further includes:
and triggering an alarm event of the door lock to alarm the door lock when the control strategy is determined to be a second control strategy.
In a second aspect, an embodiment of the present disclosure provides a door lock control device, where the door lock control device includes:
the detection unit is used for determining whether a plurality of detection points on the door inner lock handle form an electric loop or not when the unlocking action is detected, and obtaining detection results corresponding to the detection points;
the strategy unit is used for determining the control strategy of the door lock according to the detection result;
and the control unit is used for controlling the door lock based on the control strategy.
Optionally, in the apparatus according to any embodiment of the present disclosure, the detection unit includes:
and a detection subunit, configured to, when it is determined that the plurality of detection points form the electrical circuit, detect a current parameter corresponding to the plurality of detection points, and obtain a plurality of corresponding current parameters, where the current parameter is used to determine the detection result.
Optionally, in the apparatus according to any embodiment of the present disclosure, the detection unit includes:
and the target object subunit is configured to determine that the detection result is a first detection result when the plurality of current parameters corresponding to the plurality of detection points are all smaller than a preset current threshold, where the first detection result is used to indicate that the target object is unlocked.
Optionally, in the apparatus according to any embodiment of the present disclosure, the detection unit includes:
and the first non-target object subunit is used for determining the detection result as a second detection result when the plurality of current parameters corresponding to the plurality of detection points are all larger than a preset current threshold, and the second detection result is used for indicating unlocking of the non-target object.
Optionally, in the apparatus according to any embodiment of the present disclosure, the detection unit includes:
and a second non-target object subunit configured to, when it is determined that the plurality of detection points do not form the electrical circuit, determine that the detection result corresponding to the plurality of detection points is a third detection result indicating that the non-target object is unlocked.
Optionally, in an apparatus according to any embodiment of the present disclosure, the policy unit includes:
a first policy subunit, configured to determine, when the detection result is a first detection result, that the control policy of the door lock is a first control policy, where the first control policy is used to instruct to control the door lock to open;
a second policy subunit, configured to determine, when the detection result is a second detection result, that the control policy of the door lock is a second control policy, where the second control policy is used to instruct the door lock to maintain a locked state;
and the third strategy subunit is used for determining that the control strategy of the door lock is a second control strategy when the detection result is a third detection result, and the second control strategy is used for indicating to control the door lock to keep a locking state.
Optionally, in an apparatus according to any embodiment of the present disclosure, the apparatus further includes:
and the time unit is used for triggering an alarm event of the door lock to alarm the door lock when the control strategy is determined to be the second control strategy.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
a memory for storing a computer program;
and a processor configured to execute the computer program stored in the memory, and when the computer program is executed, the method according to any embodiment of the door lock control method according to the first aspect of the present disclosure is implemented.
In a fourth aspect, the disclosed embodiments provide a computer readable medium, and the computer program, when executed by a processor, implements the method of any of the embodiments of the door lock control method according to the first aspect.
In a fifth aspect, the disclosed embodiments provide a computer program comprising computer readable code which, when run on a device, causes a processor in the device to execute instructions for implementing the steps in the method according to any one of the embodiments of the door lock control method according to the first aspect described above.
According to the door lock control scheme provided by the embodiment of the disclosure, when an unlocking action is detected, whether a plurality of detection points on a door lock handle in a door form an electric loop is determined, detection results corresponding to the detection points are obtained at the same time, then a control strategy of the door lock is determined according to the detection results, and finally the door lock is controlled based on the control strategy. The door lock handle in the door is detected when the unlocking action is performed, the state of an electric loop among a plurality of detection points is confirmed, the detection result is obtained, and then the control strategy is determined and the door lock is controlled. By this scheme, can realize through the detection to door inner lock handle, do not change the door body structure and increase the conventional degree of difficulty of unblanking to guarantee can't open the lock when the instrument of unblanking enters into the door inside, improve the security.
Drawings
Fig. 1 is a schematic view of an application scenario of a door lock control method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of a door lock control method according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart of another door lock control method provided in the embodiment of the present disclosure;
fig. 4 is a schematic flow chart of a further door lock control method provided by the embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a door lock control device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of parts and steps, numerical expressions, and values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
It will be understood by those within the art that the terms "first," "second," and the like in the embodiments of the present disclosure are used merely to distinguish one object, step, device, or module from another object, and do not denote any particular technical meaning or logical order therebetween.
It is also understood that in embodiments of the present disclosure, "a plurality" may refer to two or more and "at least one" may refer to one, two or more.
It is also to be understood that any reference to any component, data, or structure in the embodiments of the disclosure, may be generally understood as one or more, unless explicitly defined otherwise or stated otherwise.
In addition, the term "and/or" in the present disclosure is only one kind of association relationship describing an associated object, and means that three kinds of relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in the present disclosure generally indicates that the former and latter associated objects are in an "or" relationship.
It should also be understood that the description of the various embodiments of the present disclosure emphasizes the differences between the various embodiments, and the same or similar parts may be referred to each other, so that the descriptions thereof are omitted for brevity.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. For the purpose of facilitating an understanding of the embodiments of the present disclosure, the present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments. It is to be understood that the described embodiments are only a few, and not all, of the disclosed embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
Fig. 1 is a schematic view of an application scenario of a door lock control method provided in an embodiment of the present disclosure, as shown in fig. 1, the application scenario includes: door lock 101, tool 102, user 103.
The door lock 101 is a door lock used by the user 103, and may be a horizontal grip lock or a circular grip lock, which is not limited herein. The tool 102 is an unlocking tool used in unlocking by an unconventional means, and may be a grapple that enters from a cat eye and hooks a door lock to achieve the unlocking purpose, or may be another unlocking tool, and is not limited specifically here.
In the application scenario shown in fig. 1, the door lock 101 may be a horizontal handle lock, and the tool 102 may be a hook.
When the unlocking action of the door lock 101 is detected, whether an electric loop is formed at a plurality of detection points arranged on the door handle is detected, if the unlocking object is a user 103, the electric loop is formed, at the moment, the plurality of detection points are detected simultaneously to obtain a detection result, then a control strategy is determined, and the door lock is controlled according to the control strategy, so that the user 103 can open the door lock.
Further, when another person unlocks the door by using the tool 102 (hook), the tool 102 (hook) is inserted into the door through the cat eye part on the door, then the hook is hooked on the door handle to unlock the door and enter the room to perform illegal actions, at this time, whether an electrical loop is formed at a plurality of detection points arranged on the door handle is also detected, and a corresponding detection result is also formed, because the tool 102 (hook) is used for opening the door at this time, the electrical loop is formed at the detection points on the door lock handle, but the current data is different from that of a person or the electrical loop is not formed, here, taking the tool 102 (hook) as an example, the electrical loop is not formed, and then a control strategy is determined, and the door lock is controlled according to the control strategy, so that the tool 102 (hook) cannot open the door lock.
The door lock control method provided by the present invention is further explained with reference to the following embodiments, which are not limited to the embodiments of the present invention.
Referring to fig. 2, a flow chart of a door lock control method provided in the embodiment of the present disclosure is schematically shown.
As shown in fig. 2, the method specifically includes:
and S21, when the unlocking action is detected, determining whether a plurality of detection points on the door inner lock handle form an electric loop or not, and obtaining detection results corresponding to the plurality of detection points.
Wherein, the detecting point may include: strip metal, ring metal or sheet metal.
In the embodiment of the disclosure, when the unlocking action is detected, whether a plurality of detection points on the door lock handle in the door form an electric loop is determined, and a detection result corresponding to the plurality of detection points is obtained.
In an example, taking the application scenario in fig. 1 as an example, the user 103 needs to unlock the door, unlock the door lock 101 to enter and exit a house, the user 103 unlocks the door, when the user holds the handle of the door lock 101 with a hand and twists to unlock the door lock, the execution main body detects the unlocking, and determines whether the plurality of detection points on the door handle form an electrical loop, because the hand of the user 103 may hold the handle of the door lock 101 at this time, the formation of the electrical loop is detected, and corresponding detection results are formed for the plurality of detection points. If the unlocking operation is performed by the tool 102, and the tool 102 is a conductor, it is also determined that a plurality of detection points on the handle of the door lock 101 form an electrical circuit, and a corresponding detection result is formed.
Further, when the tool 102 may be used for unlocking and the tool 102 may be a non-conductor, it is determined that no electrical loop is formed at the plurality of detection points when the electrical loop is detected at the plurality of detection points, and the electrical loop is not formed as a result of the detection.
In one example, the detection result may be that no electrical circuit is formed.
And S22, determining the control strategy of the door lock according to the detection result.
In the embodiment of the disclosure, after the detection result is obtained, the control strategy of the corresponding door lock is determined according to the detection result.
In an example, taking the application scenario in fig. 1 as an example, the tool 102 may be used for unlocking, and the tool 102 may be a non-conductor, so that the detection results corresponding to the plurality of detection points may show the characteristics of the tool 102 and may be a non-conductor, and then the control strategy of the door lock when the corresponding tool 102 is used for unlocking is determined according to the detection results. Similarly, when the tool 102 may be a conductor, the detection results corresponding to the detection points may also represent the characteristics of the tool 102 and may be a conductor, so as to determine the control strategy of the corresponding door lock.
Further, the user 103 may be used for unlocking the lock, and the detection results corresponding to the plurality of detection points also show the characteristics of the user 103, so as to determine the corresponding control strategy of the door lock when the user 103 unlocks the lock.
In one example, the control strategy of the door lock may be a control strategy indicating that the door lock remains in a locked state.
And S23, controlling the door lock based on the control strategy.
In the embodiment of the disclosure, the door lock is correspondingly controlled according to the determined control strategy of the door lock.
In an example, taking the application scenario in fig. 1 as an example, the tool 102 may unlock, and the tool 102 may be a non-conductor, and the control policy of the door lock determined based on the detection result may be a control policy indicating that the door lock maintains a locked state, and then the door lock 101 maintains the locked state according to the control policy.
According to the door lock control method provided by the embodiment of the disclosure, when an unlocking action is detected, whether a plurality of detection points on a door lock handle in a door form an electric loop is determined, detection results corresponding to the detection points are obtained at the same time, then a control strategy of the door lock is determined according to the detection results, and finally the door lock is controlled based on the control strategy. The door lock handle in the door is detected when the unlocking action is performed, the state of an electric loop among a plurality of detection points is confirmed, the detection result is obtained, and then the control strategy is determined and the door lock is controlled. By this scheme, can realize through the detection to door inner lock handle, do not change the door body structure and increase the conventional degree of difficulty of unblanking to guarantee can't open the lock when the instrument of unblanking enters into the door inside, improve the security.
Fig. 3 is a schematic flow chart of another door lock control method according to an embodiment of the present disclosure.
As shown in fig. 3, the method specifically includes:
s301, when the unlocking action is detected, whether an electric loop is formed by a plurality of detection points on the door inner lock handle is determined. S302 is executed when the detection result is yes, and S307 is executed when the detection result is no.
And S302, when the plurality of detection points are determined to form the electric loop, detecting current parameters corresponding to the plurality of detection points to obtain a plurality of corresponding current parameters, wherein the current parameters are used for determining the detection result. S303 is performed when the current parameters are all smaller than the preset current threshold, and S305 is performed when the current parameters are all larger than the preset current threshold.
The following describes S301 and S302 collectively:
in the embodiment of the disclosure, when the unlocking action is detected, whether a plurality of detection points on the door lock handle in the door form an electric loop is determined, and a detection result corresponding to the plurality of detection points is obtained. When the detection points on the handle of the door lock in the door are determined to form an electric loop, the detection points are used for detecting the current parameters to further obtain the current parameters corresponding to the detection points, and therefore the detection result is determined.
In an example, taking the application scenario in fig. 1 as an example, the user 103 may perform an unlocking operation, and the user 103 uses a hand to grip the handle of the door lock 101, at this time, because the hand belongs to a conductor, it is determined that a plurality of detection points on the handle of the door lock form an electrical loop, and further, current parameters corresponding to the plurality of detection points are detected, so as to form a detection result.
Further, the tool 102 may perform an unlocking operation, and the tool 102 may be a conductor, at this time, the tool 102 may contact the handle portion of the door lock 101 to determine that an electrical loop is formed, and further, current parameters corresponding to a plurality of detection points are detected, so as to form a detection result.
And S303, when the current parameters corresponding to the detection points are all smaller than a preset current threshold, determining that the detection result is a first detection result, wherein the first detection result is used for indicating that the target object is unlocked.
The target object may be an adult or a minor.
And S304, determining that the control strategy of the door lock is a first control strategy when the detection result is the first detection result, wherein the first control strategy is used for indicating to control the door lock to be unlocked.
S303 and S304 are explained collectively as follows:
in the embodiment of the disclosure, after the current parameters corresponding to the plurality of detection points are obtained, the current parameters are compared with a preset current threshold, and when the current parameters are smaller than the preset threshold, the detection result is determined as a first detection result, and the first detection indicates that the target object is performing an unlocking action. After the detection result is determined to be the first detection result, the control strategy of the door lock is correspondingly determined to be the first control strategy, and the door lock is instructed to be controlled to be unlocked, so that the target object can be unlocked.
In an example, taking the application scenario in fig. 1 as an example, it may be that the user 103 performs an unlocking operation, and accordingly detects that an electrical circuit is formed and detects current parameters of a plurality of detection points on a door inner lock handle, because the user 103 uses a hand end detection point to further form the electrical circuit, current between the plurality of detection points flows through the hand to be transmitted, the resistance of the current is within a human body resistance range, and the current is also within a corresponding data range, so that the detection result is determined that the user 103 is performing the unlocking operation, and the control policy also makes a corresponding determination to instruct to control the door lock to be opened so that the user 103 can perform unlocking normally.
And S305, when the plurality of current parameters corresponding to the plurality of detection points are all larger than a preset current threshold, determining that the detection result is a second detection result, wherein the second detection result is used for indicating that the non-target object is unlocked.
And S307, when the plurality of detection points are determined not to form the electric circuit, the detection results corresponding to the plurality of detection points are third detection results, and the third detection results are used for indicating that the non-target object is unlocked.
S305 and S307 are collectively explained as follows:
in the embodiment of the disclosure, when the electrical circuit is determined to be formed, current parameters corresponding to a plurality of detection points are detected, if the current parameters are larger than a preset current threshold, the current parameters are determined to be a second detection result, and the non-target object performs the unlocking action, and if the electrical circuit is not traveled, the current parameters directly determine that the detection result is a third detection result, and the non-target object performs the unlocking action.
In an example, taking the application scenario in fig. 1 as an example, the tool 102 may perform an unlocking operation, and the tool 102 may also form an electrical loop when it is a conductor, but after detecting the current parameter at a plurality of detection points, the current parameter is outside the preset current threshold, which indicates that the unlocking operation is not performed by a human body, so that the detection result may be determined as a second detection result, and the non-target object opens the door. When the tool 102 may be a non-conductor, an electrical loop is not formed, and if the tool does not conform to the characteristics of human body contact, the tool is directly determined as a third detection result, and it is determined that the non-target object is performing an unlocking action.
And S306, determining that the control strategy of the door lock is a second control strategy when the detection result is a second detection result, wherein the second control strategy is used for indicating to control the door lock to keep a locking state.
And S308, determining that the control strategy of the door lock is a second control strategy when the detection result is a third detection result, wherein the second control strategy is used for indicating to control the door lock to keep a locking state.
The following describes S306 and S308 collectively:
in the embodiment of the present disclosure, the second detection result and the third detection result in the detection results indicate that the non-target object is unlocked, so that the control strategy for the door lock with the detection results of the second detection result and the third detection result is determined to control the door lock to maintain the locked state, so that the non-target object cannot complete unlocking.
In an example, taking the application scenario in fig. 1 as an example, the tool 102 may perform an unlocking operation, and determine that the control strategy of the door lock is to control the door lock to maintain the locked state according to whether the detection result corresponding to the material of the tool is a second detection result or a third detection result, so that the tool 102 cannot unlock the door lock.
And S309, when the control strategy is determined to be the second control strategy, triggering an alarm event of the door lock so as to alarm the door lock.
In the embodiment of the disclosure, after the control strategy is determined according to the detection result, if the determined control strategy is the second control strategy, an alarm event of the door lock is triggered to alarm.
And S310, controlling the door lock based on the control strategy.
Step S310 is already illustrated in fig. 2, and is not described herein again.
According to the door lock control method provided by the embodiment of the disclosure, the condition of an electric circuit of a door lock handle in a door during unlocking is determined, the current parameters of a plurality of detection points are further detected under the condition of forming the circuit, whether an object to be unlocked is a target object is determined according to the parameters and the condition of the electric circuit, whether the door lock is unlocked is further determined, and an alarm event is triggered to give an alarm while the door lock is determined to be kept in a closed state. The scheme can identify whether the door opening object is a person, and when the door is unlocked by other tools, the door lock can not be opened and an alarm can be given out even if the door is made of different materials. The resolution capability of the unlocking object is further improved, the safety is improved, and the alarm can be given in time.
Fig. 4 is a schematic flow chart of a further door lock control method according to an embodiment of the present disclosure.
As shown in fig. 4, the method specifically includes:
the micro-electric loop (namely the electric loop) is composed of metal sheets (namely detection points) on two sides of the door handle and a hand, wherein the metal sheet on one side is connected with a power supply, and the metal sheet on the other side is connected with a current sensor and is grounded. When a person (i.e., a target object) grasps the door handle (i.e., when an unlocking motion is detected), the two metal sheets form an electrical circuit through the conductor of the person's hand, and a potential difference exists between the metal sheet on one side and the metal sheet on the other side, so that a current is received at the current sensor grounded on the other side. Therefore, whether the door is unlocked by manually turning the door handle in the door can be confirmed by detecting the existence of the electric circuit, and if the door lock handle in the door is determined to be pulled by external force (namely, a non-target object) when the current is not detected, namely the electric circuit is not formed, the door lock can refuse to unlock.
For different door locks, the metal sheets need to be mounted on both sides of the location where the user is holding the lock, e.g. door locks with a door handle mount the metal sheets on both sides of the user gripping end of the handle. Therefore, the unlocking action of the user in the door by hands can be detected without any extra action when the user does not need to open the door.
In addition, because the resistance of the human body is larger, the passing current is weaker, the passing magnitude of the current (namely, current parameters) is detected under the condition of detecting the on-off of the circuit, and the unlocking object can be accurately limited to a person by limiting the magnitude of the current (namely, presetting a current threshold), so that the safety is further improved. If an electric loop (namely a second detection result) is formed between the two metal sheets by the hook claw outside the door, the resistance of the electric loop is different from that of a human hand, so that the current formed by the loop is also different from that formed by the human hand, and the current can be eliminated by detecting the magnitude of the current.
According to the door lock control method provided by the embodiment of the disclosure, when an unlocking action is detected, whether a plurality of detection points on a door lock handle in a door form an electric loop is determined, detection results corresponding to the detection points are obtained at the same time, then a control strategy of the door lock is determined according to the detection results, and finally the door lock is controlled based on the control strategy. The door lock handle in the door is detected when the unlocking action is performed, the state of an electric loop among a plurality of detection points is confirmed, the detection result is obtained, and then the control strategy is determined and the door lock is controlled. By this scheme, can realize through the detection to door inner lock handle, do not change the door body structure and increase the conventional degree of difficulty of unblanking to guarantee can't open the lock when the instrument of unblanking enters into the door inside, improve the security.
Fig. 5 is a schematic structural diagram of a door lock control device provided in the embodiment of the present disclosure, which specifically includes:
the detecting unit 501 is configured to determine whether a plurality of detecting points on the door lock handle form an electrical loop when an unlocking operation is detected, and obtain detecting results corresponding to the plurality of detecting points;
a policy unit 502, configured to determine a control policy of the door lock according to the detection result;
a control unit 503, configured to control the door lock based on the control policy.
Optionally, in the apparatus according to any embodiment of the present disclosure, the detection unit 501 includes (not shown in the figure):
and a detection subunit, configured to, when it is determined that the plurality of detection points form the electrical circuit, detect a current parameter corresponding to the plurality of detection points, and obtain a plurality of corresponding current parameters, where the current parameter is used to determine the detection result.
Optionally, in the apparatus according to any embodiment of the present disclosure, the detection unit includes (not shown in the figure):
and the target object subunit is configured to determine that the detection result is a first detection result when the plurality of current parameters corresponding to the plurality of detection points are all smaller than a preset current threshold, where the first detection result is used to indicate that the target object is unlocked.
Optionally, in the apparatus according to any embodiment of the present disclosure, the detection unit includes (not shown in the figure):
and the first non-target object subunit is used for determining the detection result as a second detection result when the plurality of current parameters corresponding to the plurality of detection points are all larger than a preset current threshold, and the second detection result is used for indicating unlocking of the non-target object.
Optionally, in the apparatus according to any embodiment of the present disclosure, the detection unit 501 includes (not shown in the figure):
and a second non-target object subunit configured to, when it is determined that the plurality of detection points do not form the electrical circuit, determine that the detection result corresponding to the plurality of detection points is a third detection result indicating that the non-target object is unlocked.
Optionally, in an apparatus according to any embodiment of the present disclosure, the policy unit 502 includes (not shown in the figure):
a first policy subunit, configured to determine, when the detection result is a first detection result, that the control policy of the door lock is a first control policy, where the first control policy is used to instruct to control the door lock to open;
a second policy subunit, configured to determine, when the detection result is a second detection result, that the control policy of the door lock is a second control policy, where the second control policy is used to instruct the door lock to maintain a locked state;
and the third strategy subunit is used for determining that the control strategy of the door lock is a second control strategy when the detection result is a third detection result, and the second control strategy is used for indicating to control the door lock to keep a locking state.
Optionally, in the apparatus according to any embodiment of the present disclosure, the apparatus further includes (not shown in the figure):
and the time unit is used for triggering an alarm event of the door lock to alarm the door lock when the control strategy is determined to be the second control strategy.
The door lock control device provided in this embodiment may be the door lock control device shown in fig. 5, and may perform all the steps of the door lock control method shown in fig. 2 to 4, so as to achieve the technical effects of the door lock control method shown in fig. 2 to 4, and for brevity, please refer to the description related to fig. 2 to 4, which is not described herein again.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, where the electronic device 600 shown in fig. 6 includes: at least one processor 601, memory 602, at least one network interface 604, and other user interfaces 603. The various components in the electronic device 600 are coupled together by a bus system 605. It is understood that the bus system 605 is used to enable communications among the components. The bus system 605 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 605 in fig. 6.
The user interface 603 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, etc.).
It will be appreciated that the memory 602 in embodiments of the disclosure may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), synchlronous SDRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 602 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 602 stores the following elements, executable units or data structures, or a subset thereof, or an expanded set thereof: an operating system 6021 and application programs 6022.
The operating system 6021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program 6022 includes various application programs such as a Media Player (Media Player), a Browser (Browser), and the like, and is used to implement various application services. Programs that implement methods of embodiments of the disclosure can be included in the application program 6022.
In the embodiment of the present disclosure, by calling a program or an instruction stored in the memory 602, specifically, a program or an instruction stored in the application program 6022, the processor 601 is configured to execute the method steps provided by the method embodiments, for example, including:
when the unlocking action is detected, whether a plurality of detection points on the door lock handle in the door form an electric loop or not is determined, and detection results corresponding to the detection points are obtained;
determining a control strategy of the door lock according to the detection result;
and controlling the door lock based on the control strategy.
Optionally, in the method of any embodiment of the present disclosure, the method further includes:
when the detection points form an electric loop, current parameters corresponding to the detection points are detected to obtain a plurality of corresponding current parameters, and the current parameters are used for determining the detection result.
Optionally, in the method according to any embodiment of the present disclosure, the obtaining detection results corresponding to a plurality of detection points includes:
and when the current parameters corresponding to the detection points are all smaller than a preset current threshold, determining that the detection result is a first detection result, wherein the first detection result is used for indicating that the target object is unlocked.
Optionally, in the method according to any embodiment of the present disclosure, the obtaining detection results corresponding to a plurality of detection points includes:
and when the current parameters corresponding to the detection points are all larger than a preset current threshold, determining that the detection result is a second detection result, wherein the second detection result is used for indicating that the non-target object is unlocked.
Optionally, in the method according to any embodiment of the present disclosure, the obtaining detection results corresponding to a plurality of detection points includes:
when it is determined that the plurality of detection points do not form the electric circuit, the detection result corresponding to the plurality of detection points is a third detection result, and the third detection result is used for indicating that the non-target object is unlocked.
Optionally, in a method according to any embodiment of the present disclosure, the determining a control policy of the door lock according to the detection result includes:
determining that the control strategy of the door lock is a first control strategy when the detection result is a first detection result, wherein the first control strategy is used for indicating to control the door lock to be unlocked;
or the like, or, alternatively,
determining that the control strategy of the door lock is a second control strategy when the detection result is a second detection result, wherein the second control strategy is used for indicating to control the door lock to keep a locking state;
or the like, or, alternatively,
and determining that the control strategy of the door lock is a second control strategy when the detection result is a third detection result, wherein the second control strategy is used for indicating to control the door lock to keep a locking state.
Optionally, in the method of any embodiment of the present disclosure, the method further includes:
and triggering an alarm event of the door lock to alarm the door lock when the control strategy is determined to be a second control strategy.
The method disclosed by the embodiment of the present disclosure can be applied to the processor 601 or implemented by the processor 601. The processor 601 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 601. The Processor 601 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present disclosure may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present disclosure may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602 and completes the steps of the method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The electronic device provided in this embodiment may be the electronic device shown in fig. 6, and may execute all the steps of the door lock control method shown in fig. 2 to 4, so as to achieve the technical effect of the door lock control method shown in fig. 2 to 4, and please refer to the related description of fig. 2 to 4 for brevity, which is not described herein again.
The disclosed embodiments also provide a storage medium (computer-readable storage medium). The storage medium herein stores one or more programs. Among others, the storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
When one or more programs in the storage medium are executable by one or more processors, the door lock control method executed on the electronic device side as described above is realized.
The processor is configured to execute the door lock control program stored in the memory to implement the following steps of the door lock control method executed on the electronic device side:
when the unlocking action is detected, whether a plurality of detection points on the door lock handle in the door form an electric loop or not is determined, and detection results corresponding to the detection points are obtained;
determining a control strategy of the door lock according to the detection result;
and controlling the door lock based on the control strategy.
Optionally, in the method of any embodiment of the present disclosure, the method further includes:
when the detection points form an electric loop, current parameters corresponding to the detection points are detected to obtain a plurality of corresponding current parameters, and the current parameters are used for determining the detection result.
Optionally, in the method according to any embodiment of the present disclosure, the obtaining detection results corresponding to a plurality of detection points includes:
and when the current parameters corresponding to the detection points are all smaller than a preset current threshold, determining that the detection result is a first detection result, wherein the first detection result is used for indicating that the target object is unlocked.
Optionally, in the method according to any embodiment of the present disclosure, the obtaining detection results corresponding to a plurality of detection points includes:
and when the current parameters corresponding to the detection points are all larger than a preset current threshold, determining that the detection result is a second detection result, wherein the second detection result is used for indicating that the non-target object is unlocked.
Optionally, in the method according to any embodiment of the present disclosure, the obtaining detection results corresponding to a plurality of detection points includes:
when it is determined that the plurality of detection points do not form the electric circuit, the detection result corresponding to the plurality of detection points is a third detection result, and the third detection result is used for indicating that the non-target object is unlocked.
Optionally, in a method according to any embodiment of the present disclosure, the determining a control policy of the door lock according to the detection result includes:
determining that the control strategy of the door lock is a first control strategy when the detection result is a first detection result, wherein the first control strategy is used for indicating to control the door lock to be unlocked;
or the like, or, alternatively,
determining that the control strategy of the door lock is a second control strategy when the detection result is a second detection result, wherein the second control strategy is used for indicating to control the door lock to keep a locking state;
or the like, or, alternatively,
and determining that the control strategy of the door lock is a second control strategy when the detection result is a third detection result, wherein the second control strategy is used for indicating to control the door lock to keep a locking state.
Optionally, in the method of any embodiment of the present disclosure, the method further includes:
and triggering an alarm event of the door lock to alarm the door lock when the control strategy is determined to be a second control strategy.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments, objects, technical solutions and advantages of the present disclosure are described in further detail, it should be understood that the above-mentioned embodiments are merely illustrative of the present disclosure and are not intended to limit the scope of the present disclosure, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (10)

1. A door lock control method, characterized in that the method comprises:
when the unlocking action is detected, whether a plurality of detection points on the door lock handle in the door form an electric loop or not is determined, and detection results corresponding to the detection points are obtained;
determining a control strategy of the door lock according to the detection result;
controlling the door lock based on the control strategy.
2. The method according to claim 1, wherein the obtaining the detection results corresponding to the plurality of detection points comprises:
when the plurality of detection points are determined to form the electric loop, current parameters corresponding to the plurality of detection points are detected to obtain a plurality of corresponding current parameters, and the current parameters are used for determining the detection result.
3. The method according to claim 2, wherein the obtaining the detection results corresponding to the plurality of detection points comprises:
and when the current parameters corresponding to the detection points are all smaller than a preset current threshold, determining that the detection result is a first detection result, wherein the first detection result is used for indicating that the target object is unlocked.
4. The method according to claim 2, wherein the obtaining the detection results corresponding to the plurality of detection points comprises:
and when the current parameters corresponding to the detection points are all larger than a preset current threshold, determining that the detection result is a second detection result, wherein the second detection result is used for indicating that the non-target object is unlocked.
5. The method according to claim 1, wherein the obtaining the detection results corresponding to the plurality of detection points comprises:
when the detection points are determined not to form the electric loop, the detection results corresponding to the detection points are third detection results, and the third detection results are used for indicating that the non-target object is unlocked.
6. The method according to any one of claims 3-5, wherein determining the control strategy of the door lock according to the detection result comprises:
determining that the control strategy of the door lock is a first control strategy when the detection result is a first detection result, wherein the first control strategy is used for indicating to control the door lock to be opened;
or the like, or, alternatively,
determining that the control strategy of the door lock is a second control strategy when the detection result is a second detection result, wherein the second control strategy is used for indicating to control the door lock to keep a locking state;
or the like, or, alternatively,
and determining that the control strategy of the door lock is a second control strategy when the detection result is a third detection result, wherein the second control strategy is used for indicating to control the door lock to keep a locking state.
7. The method of claim 6, further comprising:
and when the control strategy is determined to be a second control strategy, triggering an alarm event of the door lock so as to alarm the door lock.
8. A door lock control apparatus, characterized in that the apparatus comprises:
the detection unit is used for determining whether a plurality of detection points on a door lock handle in the door form an electric loop or not when the unlocking action is detected, and obtaining detection results corresponding to the detection points;
the strategy unit is used for determining a control strategy of the door lock according to the detection result;
and the control unit is used for controlling the door lock based on the control strategy.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing a computer program stored in the memory, and when executed, implementing the method of any of the preceding claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of the preceding claims 1 to 7.
CN202111592916.7A 2021-12-23 2021-12-23 Door lock control method and device, electronic equipment and storage medium Active CN114320024B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111592916.7A CN114320024B (en) 2021-12-23 2021-12-23 Door lock control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111592916.7A CN114320024B (en) 2021-12-23 2021-12-23 Door lock control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114320024A true CN114320024A (en) 2022-04-12
CN114320024B CN114320024B (en) 2022-10-11

Family

ID=81055187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111592916.7A Active CN114320024B (en) 2021-12-23 2021-12-23 Door lock control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114320024B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115434578A (en) * 2022-08-05 2022-12-06 深圳市润点创新科技有限公司 State detection method for intelligent lock

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105042649A (en) * 2015-07-08 2015-11-11 广东美的厨房电器制造有限公司 Microwave cooking utensil
US20180201184A1 (en) * 2017-01-16 2018-07-19 Siriustek Incorporated Light emitting device for car belt molding
CN108547508A (en) * 2018-06-15 2018-09-18 安徽中科智链信息科技有限公司 Door-locking system based on palm BIS
CN110347076A (en) * 2019-05-22 2019-10-18 珠海格力电器股份有限公司 Control method, control device, electronic equipment and storage medium
CN209556540U (en) * 2018-09-19 2019-10-29 吴江市立兴精密五金有限公司 A kind of security warning handle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105042649A (en) * 2015-07-08 2015-11-11 广东美的厨房电器制造有限公司 Microwave cooking utensil
US20180201184A1 (en) * 2017-01-16 2018-07-19 Siriustek Incorporated Light emitting device for car belt molding
CN108547508A (en) * 2018-06-15 2018-09-18 安徽中科智链信息科技有限公司 Door-locking system based on palm BIS
CN209556540U (en) * 2018-09-19 2019-10-29 吴江市立兴精密五金有限公司 A kind of security warning handle
CN110347076A (en) * 2019-05-22 2019-10-18 珠海格力电器股份有限公司 Control method, control device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115434578A (en) * 2022-08-05 2022-12-06 深圳市润点创新科技有限公司 State detection method for intelligent lock
CN115434578B (en) * 2022-08-05 2024-05-03 深圳市润点创新科技有限公司 State detection method for intelligent lock

Also Published As

Publication number Publication date
CN114320024B (en) 2022-10-11

Similar Documents

Publication Publication Date Title
US10999718B2 (en) Vehicle function control device and vehicle function control system
CN109863048B (en) Vehicle door device
CN114320024B (en) Door lock control method and device, electronic equipment and storage medium
JP2006231967A (en) Vehicle remote controlling device
CN109774656B (en) Lock falling control method and device for vehicle, intelligent vehicle lock and vehicle
CN111395887A (en) Automobile intelligent door system, switch control method, storage medium and automobile
JP6356593B2 (en) Control device and control system for vehicle opening / closing body
JP6200827B2 (en) Smart entry system
CN107600031B (en) Vehicle control method and system and vehicle
KR101793002B1 (en) Console box locking system for vehicle
CN113989957B (en) Door lock control method for preventing children or pets from going out
JP5170858B2 (en) Control and unlocking control device for vehicle door
JP5067932B2 (en) Garage doorway safety device and building with inner garage
JP2015206237A (en) Electronic key system, portable machine and on-vehicle device
CN114202833B (en) Intelligent door lock alarm method, device, equipment and storage medium
JP2005212506A (en) Door control device for vehicle
JP3207670U (en) Sensing lock system for motorcycles
JP4581806B2 (en) Vehicle door lock device
CN113838230B (en) Door lock control method and device, door lock and storage medium
KR102652461B1 (en) Vehicle door lock release system and method thereof
JP6108097B2 (en) Control system
JP2018150690A (en) Door unlock device and its program
CN114407833B (en) Vehicle locking method, device, equipment and readable storage medium
JP2005212505A (en) Automatic door opening and closing device for vehicle
Surendra VEHICLE ANTI THEFT DETECTION AND PROTECTION WITH SHOCK USING FACIAL RECOGNITION

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant