CN108678558B - Door lock control method and door lock - Google Patents

Door lock control method and door lock Download PDF

Info

Publication number
CN108678558B
CN108678558B CN201810497393.XA CN201810497393A CN108678558B CN 108678558 B CN108678558 B CN 108678558B CN 201810497393 A CN201810497393 A CN 201810497393A CN 108678558 B CN108678558 B CN 108678558B
Authority
CN
China
Prior art keywords
door
door lock
information
lock
opening
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.)
Active
Application number
CN201810497393.XA
Other languages
Chinese (zh)
Other versions
CN108678558A (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.)
Zontek Co ltd
Original Assignee
Zontek 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 Zontek Co ltd filed Critical Zontek Co ltd
Priority to CN201810497393.XA priority Critical patent/CN108678558B/en
Publication of CN108678558A publication Critical patent/CN108678558A/en
Application granted granted Critical
Publication of CN108678558B publication Critical patent/CN108678558B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B45/00Alarm locks
    • E05B45/06Electric alarm locks
    • E05B45/061Electric alarm locks for combination locks
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B2047/0048Circuits, feeding, monitoring
    • E05B2047/0067Monitoring
    • E05B2047/0068Door closed
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B2047/0072Operation

Abstract

The invention belongs to the technical field of door locks, and particularly relates to a door lock control method and a door lock. The door lock control that the door lock is closed when the door is closed and the door lock are integrated when the door is opened is realized, and the technical problem that the door lock has potential safety hazards due to the fact that the state of the door and the state of the door lock are asynchronous in the prior art is solved.

Description

Door lock control method and door lock
Technical Field
The invention belongs to the technical field of door locks, and particularly relates to a door lock control method and a door lock.
Background
With the development of science and technology, door locks become more and more intelligent. For example, the unlocking mode of the intelligent door lock has been developed from single key unlocking to the existing multiple unlocking modes such as password unlocking, radio frequency unlocking, fingerprint unlocking, iris unlocking and the like.
However, the existing intelligent door lock cannot determine the closing state or the opening state of the door, so that the mutual synchronization between the state of the door and the state of the intelligent door lock cannot be realized, that is, the door is opened and closed, and some potential safety hazards still exist between the door and the intelligent door lock.
Disclosure of Invention
The invention provides a control method of a door lock and the door lock, which can solve the technical problem that potential safety hazards exist in the door lock due to the fact that the state of a door and the state of an intelligent door lock are asynchronous in the prior art.
The embodiment of the invention provides a control method of a door lock, which comprises the following steps: initializing the door lock when the door is in a closed state; after the door lock is initialized, acquiring motion track information of a door through a six-axis sensor configured on the door lock; judging whether the door is in a closed state or not according to the motion track information; if the door is in a closed state, controlling the door lock to be closed; and if the door is in the opening state, controlling the door lock to open.
Optionally, the control method further includes: after the door lock is initialized, detecting the rotation or displacement of the door lock through a six-axis sensor arranged on the door lock; and if the door lock rotation or displacement information is detected, outputting a door lock abnormity prompting signal.
Optionally, the initializing the door lock includes: judging the position of the door at the door lock initialization moment as the position of the door in a closed state; and/or determining initial position information of the door lock so as to determine motion information when the door lock is pried according to the initial position information of the door lock.
Optionally, initializing the door lock when the door is in a closed state includes: the door lock receives an initialization instruction; and initializing the door lock when the door is in a closed state according to the initialization instruction.
Optionally, after acquiring the motion trajectory information of the door through the six-axis sensor disposed on the door lock, the method includes: uploading the motion trail information of the door to a server so as to obtain the habit information of opening the door of a user, and judging whether the door lock is abnormal or not according to the habit information of opening the door of the user; when the door lock receives an abnormal unlocking signal sent by the server, outputting a door lock abnormal prompting signal; wherein the motion trajectory information of the door includes: the time information of each opening of the door, the angle information of each opening of the door and the time length information of each opening to closing of the door.
Optionally, uploading the motion trajectory information of the door to the server includes: and uploading the opening angle to a server according to a set time interval, or uploading the opening angle to the server when the change value of the opening angle reaches a set value, so that a user can judge the opening state of the door according to the opening angle.
Optionally, if the door is in a closed state, controlling the door lock to close includes: and if the door is in the closed state within a set time interval after the door is changed from the open state to the closed state, controlling the door lock to be closed.
An embodiment of the present invention further provides a door lock, including: the control processing module and the six-axis sensor; the control processing module comprises an initialization unit, an acquisition unit and a control unit; the initialization unit is used for initializing the door lock when the door is in a closed state; the acquiring unit is used for acquiring motion track information of the door through a six-axis sensor configured on the door lock after the door lock is initialized; the control unit is used for judging whether the door is in a closed state or not according to the motion track information; if the door is in a closed state, controlling the door lock to be closed; and if the door is in the opening state, controlling the door lock to open.
Optionally, the control processing module further includes a detection unit and a prompt unit; a detection unit for detecting rotation or displacement of the door lock by a six-axis sensor disposed on the door lock; and the prompting unit is used for outputting a door lock abnormity prompting signal if the door lock rotation or displacement information is detected.
Optionally, the initialization unit is specifically configured to determine a position of the door at an initialization time of the door lock as a position of the door when the door is in a closed state; and determining the initial position information of the door lock so as to determine the motion information when the door lock is pried according to the initial position information of the door lock.
According to the control method of the door lock and the door lock, the door lock is initialized when the door is in a closed state, after the door lock is initialized, the motion track information of the door is acquired through the six-axis sensor configured on the door lock, whether the door is in the closed state or not is judged according to the motion track information, if the door is in the closed state, the door lock is controlled to be closed, if the door is in the open state, the door lock is controlled to be opened, and through the matching of the state of the door and the state of the door lock, the fact that the door is closed when the door is closed is guaranteed, the fact that the door lock is opened when the door is opened is guaranteed, and the technical problem that potential safety hazards exist in the door lock due to the fact that the state of the door and.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a control method of a door lock according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a door lock control method according to a second embodiment of the present invention;
FIG. 3 is a schematic view of the direction of movement of a door latch provided by an embodiment of the present invention;
fig. 4 is a schematic flowchart of a control method of a door lock according to a third embodiment of the present invention;
fig. 5 is a schematic flow chart of a method for controlling a door lock according to a fourth embodiment of the present invention
Fig. 6 is a schematic structural diagram of a door lock according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
According to the control method of the door lock and the door lock, provided by the embodiment of the invention, the motion track information of the door is acquired through the six-axis sensor arranged on the door lock; judging whether the door is in a closed state in real time according to the motion track information; when the door is in a closed state, the door lock is controlled to be closed; when the door is in the open mode, the control lock is opened, the door and the lock are integrated, and the potential safety hazard caused by the fact that the state of the door is asynchronous with the state of the intelligent lock is solved.
Fig. 1 shows a schematic implementation flow diagram of a control method for a door lock according to an embodiment of the present invention, where the control method includes the steps of: s101 to S103.
In S101, the door lock is initialized while the door is in a closed state.
The user performs initial setting on the door lock when the door is in a closed state, so that the door lock can detect the motion state of the door after the initialization is completed.
As an embodiment of the present invention, the initializing the door lock includes: the position of the door at the time of initialization of the door lock is determined as the position when the door is in the closed state.
Specifically, dispose six sensors and AE arithmetic element in the lock, this six sensors include triaxial accelerometer and triaxial gyroscope, AE arithmetic element is used for right triaxial accelerometer with the acceleration data and the rotation data that triaxial gyroscope obtained calculate the movement track information that obtains the door.
When a user initializes the door lock, the door needs to be in a closed state, so that the AE operation unit can judge the position of the door at the door lock initialization moment as the position of the door in the closed state, and on the basis, the motion trail information of the door is accurately calculated according to the induction data acquired by the three-axis accelerometer. In practical applications, if the door lock is initialized when the door is in the open state, the AE operation unit will default the door in the closed state when the door is in the open state, and thus an error occurs when calculating the motion trajectory information of the door.
The three-axis accelerometer can be used for calculating the motion track information of the door by acquiring the circumferential acceleration or the linear acceleration. For example, when the door is opened or closed by rotating clockwise or counterclockwise, the motion trail information of the door is calculated by acquiring the circumferential acceleration of the door through the three-axis accelerometer, and at this time, the motion trail information of the door includes the opening angle information of the door and the opening direction information of the door, and the opening direction information includes clockwise opening or counterclockwise opening. When the door is a sliding door, the linear acceleration of the door is acquired through the three-axis accelerometer to calculate the motion trail information of the door, and the motion trail information of the door comprises opening information or closing information.
In S102, after the initialization of the door lock is completed, the movement trajectory information of the door is acquired by the six-axis sensor disposed on the door lock.
In this embodiment, after the door lock is initialized, the door lock moves following the movement of the door, and when the door moves, the six-axis sensor on the door lock acquires acceleration data generated by the movement of the door in real time, so as to obtain the movement track information of the door.
In S103, judging whether the door is in a closed state or not according to the motion track information; if the door is in a closed state, controlling the door lock to be closed; and if the door is in the opening state, controlling the door lock to open.
At present, when the door lock judges whether the door is in a closed state or an open state, the door lock can judge through setting a door magnet on the door, however, the method often causes false alarm, and therefore the door can not be well determined to be in the closed state or the open state.
In the embodiment of the invention, when the door is in a closed state, the door lock is controlled to be closed; when the door is in the open mode, the control lock is opened, the door and the lock are integrated, and the potential safety hazard caused by the fact that the state of the door is asynchronous with the state of the intelligent lock is solved.
As an embodiment of the present invention, if the door is in a closed state, the controlling the door lock to close may further include: and if the door is in the closed state within a set time interval after the door is changed from the open state to the closed state, controlling the door lock to be closed.
For example, if the set time interval is 5 seconds, the door is in the closed state within 5 seconds after the open state is changed to the closed state, which indicates that the user wants to lock the door, but does not carelessly close the door.
The set time interval may be set by a user in a customized manner, for example, 8 seconds, 10 seconds, 20 seconds, etc., and the set time interval may be set by default at the time of factory shipment, for example, 3 seconds, 5 seconds, etc.
Fig. 2 is a schematic flow chart of a control method for a door lock according to a second embodiment of the present invention, and this embodiment further defines steps S102 to S103 in the first embodiment of the present invention, so as to achieve the purpose of implementing locking of a door and a door, and simultaneously detecting damage to the door lock caused by an external force in an all-around manner. As shown in fig. 2, in the present embodiment, the control method includes the steps of: s201 to S203.
In S201, the door lock is initialized with the door in a closed state.
The user performs initial setting on the door lock when the door is in a closed state, so that the door lock can detect the motion state of the door after the initialization is completed.
Optionally, the initializing the door lock includes: the position of the door at the time of initialization of the door lock is determined as the position when the door is in the closed state.
Specifically, dispose six sensors and AE arithmetic element in the lock, this six sensors include triaxial accelerometer and triaxial gyroscope, AE arithmetic element is used for right triaxial accelerometer with the acceleration data and the rotation data that triaxial gyroscope obtained calculate the movement track information that obtains the door.
When a user initializes the door lock, the door needs to be in a closed state, so that the AE operation unit can judge the position of the door at the door lock initialization moment as the position of the door in the closed state, and on the basis, the motion trail information of the door is accurately calculated according to the induction data acquired by the three-axis accelerometer. In practical applications, if the door lock is initialized when the door is in the open state, the AE operation unit will default the door in the closed state when the door is in the open state, and thus an error occurs when calculating the motion trajectory information of the door.
The three-axis accelerometer can be used for calculating the motion track information of the door by acquiring the circumferential acceleration or the linear acceleration. For example, when the door is opened or closed by rotating clockwise or counterclockwise, the three-axis accelerometer acquires the circumferential acceleration of the door and calculates the motion trail information of the door, and at this time, the motion trail information of the door includes the opening angle information of the door and the opening direction information of the door, and the opening direction information includes clockwise opening or counterclockwise opening. When the door is a sliding door, the linear acceleration of the door is acquired through the three-axis accelerometer to calculate the motion trail information of the door, and the motion trail information of the door comprises opening information or closing information.
In an embodiment of the present invention, the initializing door lock further includes: and determining the initial position information of the door lock so as to determine the motion information when the door lock is pried according to the initial position information of the door lock.
The user carries out initialization setting on the position information of the door lock when the door lock is normally installed, so that the door lock can detect the motion state of the door lock after the initialization is completed.
For example, when the door lock is initialized, the door lock records door lock initialization position information so as to determine motion information of the door lock when the door lock is pried according to sensing data acquired by a six-axis sensor arranged on the door lock.
In S202, after the initialization of the door lock is completed, the motion trajectory information of the door is acquired by the six-axis sensor disposed on the door lock, and the motion information of the door lock is detected.
In this embodiment, after the door lock is initialized, the door lock moves following the movement of the door, and when the door moves, the six-axis sensor on the door lock acquires acceleration data generated by the movement of the door in real time, so as to obtain the movement track information of the door.
In addition, in this embodiment, dispose six sensors and AE arithmetic element in the lock, this six sensors include triaxial accelerometer and triaxial gyroscope, AE arithmetic element is used for to triaxial accelerometer with the response data that triaxial gyroscope obtained calculate the motion information when obtaining the lock and prizing.
In S203, determining whether the door is in a closed state according to the motion trajectory information; if the door is in a closed state, controlling the door lock to be closed; if the door is in the opening state, controlling the door lock to open; and if the motion information of the door lock is detected, outputting a door lock abnormity prompting signal.
In the embodiment of the invention, when the motion information of the door lock is detected, the door lock is indicated to be rotated or translated, and the door lock is possibly illegally pried, so that the door lock can output a door lock abnormity prompting signal when the motion information of the door lock is detected.
The door lock abnormity prompting signal comprises voice prompting information and/or a light flicker prompting signal.
Optionally, in some embodiments of the present invention, if the motion information of the door lock is detected, outputting a door lock abnormality prompting signal, where the door lock abnormality prompting signal includes uploading the motion information of the door lock to a server, and the server notifies a mobile terminal of a user of sending a door lock prying prompting message, so as to implement intelligent control of prying prevention of the door lock.
In the embodiment of the invention, when the door is in a closed state, the door lock is controlled to be closed; when the door is in the open mode, the control lock is opened, the door and the lock are integrated, and the potential safety hazard caused by the fact that the state of the door is asynchronous with the state of the intelligent lock is solved. In addition, the motion information of the door lock is detected through the six-axis sensor, when the motion information of the door lock is detected, the door lock outputs a door lock abnormity prompting signal so that a user or surrounding people can notice the abnormity of the door lock, and the user or surrounding people can notice the abnormity of the door lock, so that the aims of integrating the door and the door lock and detecting the damage of external force to the door lock in all directions are fulfilled. Compared with the existing microswitch which can only detect the motion information of the door lock from a single direction, the six-axis sensor can detect the motion information of the door lock from at least six directions of up and down (Z, W), front and back (V, Y), left and right (U, X) and multiple rotation directions as shown in fig. 3, and has higher accuracy.
Fig. 4 is a schematic flowchart of a control method for a door lock according to a third embodiment of the present invention, where the embodiment of the present invention further defines initialization of the door lock based on the embodiments described in fig. 1 and fig. 2, and as shown in fig. 4, the control method includes the steps of: s401 to S403.
In S401, the door lock receives an initialization instruction, and initializes the door lock when the door is in a closed state according to the initialization instruction.
For example, when a door is in a closed state, a user sends an initialization instruction to the intelligent door lock through a door lock application on a mobile terminal, so that the door lock receives the initialization instruction and initializes the door lock according to the initialization instruction. The mobile terminal comprises terminal equipment such as a smart phone and intelligent wearable equipment.
Optionally, in some embodiments of the invention, the initializing the door lock comprises: and initializing the door opening mode of the door lock.
For example, the door opening mode of the door lock is set to an inward opening mode or an outward opening mode, wherein the inward opening mode refers to the door opening mode when the door lock moves clockwise, and the outward opening mode refers to the door opening mode when the door lock moves counterclockwise.
Optionally, in some embodiments of the invention, the initializing the door lock comprises: and setting the angle range of the motion track of the door according to the maximum opening angle of the door.
For example, the angle ranges of the door movement trajectories are set to 0 to 180 °, -180 to 180 °, 0 to 90 °, -90 to 90 ° according to the maximum opening angle of the door. It should be noted that the present invention is only illustrated by way of example, and is not meant to limit the scope of the present invention, and in other embodiments of the present application, the angular range of the door motion trajectory may be other ranges.
In S402, after the initialization of the door lock is completed, the movement trajectory information of the door is acquired by the six-axis sensor disposed on the door lock.
In S403, determining whether the door is in a closed state according to the motion trajectory information; if the door is in a closed state, controlling the door lock to be closed; and if the door is in the opening state, controlling the door lock to open.
In the embodiment of the invention, when the door is in a closed state, the door lock is controlled to be closed; when the door is in the open mode, the control lock is opened, the door and the lock are integrated, and the potential safety hazard caused by the fact that the state of the door is asynchronous with the state of the intelligent lock is solved.
Fig. 5 is a schematic flowchart of a method for controlling a door lock according to a fourth embodiment of the present invention, and in this embodiment, step S102 in the embodiment shown in fig. 1 is further defined. Uploading the motion trail information of the door to a server so as to obtain the habit information of opening the door of a user, and judging whether the door lock is abnormal or not according to the habit information of opening the door of the user; when the door lock receives the abnormal unlocking signal sent by the server, the abnormal prompting signal of the door lock is output, and the safety of the door lock is further improved. As shown in fig. 5, the control method includes the steps of: s501 to S504.
In S501, the door lock is initialized while the door is in a closed state.
In S502, after the initialization of the door lock is completed, the movement trajectory information of the door is acquired by the six-axis sensor disposed on the door lock.
In S503, uploading the motion trajectory information of the door to a server, so as to obtain habit information of opening the door of the user, and determining whether the door lock is abnormal according to the habit information of opening the door of the user; when the door lock receives an abnormal unlocking signal sent by the server, outputting a door lock abnormal prompting signal; wherein the motion trajectory information of the door includes: the time information of each opening of the door, the angle information of each opening of the door and the time length information of each opening to closing of the door.
For example, the time information of each time the door is opened, the angle information of each time the door is opened, and the time length information of each time the door is opened to be closed are uploaded to the server, so that the server calculates the behavior habit information of the user according to the time information of each time the door is opened, the angle information of each time the door is opened, and the time length information of each time the door is opened to be closed, when the door is opened abnormally, for example, the user does not perform door opening operation from 12 pm to 5 am, when the door is opened at 3 am, the door lock is abnormal.
Optionally, in some embodiments of the present invention, the uploading the motion trail information of the door to the server includes: and uploading the opening angle to a server according to a set time interval, or uploading the opening angle to the server when the change value of the opening angle reaches a set value, so that a user can judge the opening state of the door according to the opening angle.
For example, after the opening angle is uploaded to the server, the opening angle of the door can be displayed on the mobile terminal in a graphical manner in real time, so that the door is intelligent.
The door lock abnormity prompting signal comprises voice prompting information and/or light flashing prompting signals, so that a user or surrounding people can notice the abnormity of the door lock.
In S504, whether the door is in a closed state is determined according to the motion trajectory information; if the door is in a closed state, controlling the door lock to be closed; and if the door is in the opening state, controlling the door lock to open.
In the embodiment of the invention, when the door is in a closed state, the door lock is controlled to be closed; when the door is in the open mode, the control lock is opened, the door and the lock are integrated, and the potential safety hazard caused by the fact that the state of the door is asynchronous with the state of the intelligent lock is solved. In addition, the embodiment of the invention uploads the motion trail information of the door to the server so as to obtain the habit information of opening the door of the user, and judges whether the door lock is abnormal or not according to the habit information of opening the door of the user; when the door lock receives the abnormal unlocking signal sent by the server, the abnormal prompting signal of the door lock is output, and the safety of the door lock is further improved.
Fig. 6 is a schematic structural diagram of a door lock according to an embodiment of the present invention, and as shown in fig. 6, the door lock according to the embodiment of the present invention includes: a control processing module 61 and a six-axis sensor 62; wherein, the control processing module 61 includes an initialization unit 611, an acquisition unit 612, and a control unit 613;
an initialization unit 611 for initializing the door lock when the door is in a closed state;
an obtaining unit 612, configured to obtain motion trajectory information of a door through a six-axis sensor configured on the door lock after the initialization of the door lock is completed;
a control unit 613, configured to determine whether the door is in a closed state according to the motion trajectory information; if the door is in a closed state, controlling the door lock to be closed; and if the door is in the opening state, controlling the door lock to open.
As an embodiment of the present invention, the control processing module 61 further includes a detection unit and a prompt unit; the detection unit is used for detecting the motion information of the door lock through a six-axis sensor arranged on the door lock; and the prompting unit is used for outputting a door lock abnormity prompting signal if the motion information of the door lock is detected.
As an embodiment of the present invention, the initialization unit 611 is specifically configured to determine the position of the door at the time of initializing the door lock as the position when the door is in the closed state; and determining the initial position information of the door lock so as to determine the motion information when the door lock is pried according to the initial position information of the door lock.
As an embodiment of the present invention, the initialization unit 611 includes: the instruction receiving subunit is used for receiving an initialization instruction; and the initialization subunit is used for initializing the door lock when the door is in a closed state according to the initialization instruction.
As an embodiment of the present invention, the control processing module 61 further includes: the uploading unit is used for uploading the motion trail information of the door to the server after the motion trail information of the door is acquired through the six-axis sensor arranged on the door lock so as to acquire the habit information of opening the door of the user and judge whether the door lock is abnormal or not according to the habit information of opening the door of the user; when the door lock receives an abnormal unlocking signal sent by the server, outputting a door lock abnormal prompting signal; wherein the motion trajectory information of the door includes: the time information of each opening of the door, the angle information of each opening of the door and the time length information of each opening to closing of the door.
As an embodiment of the present invention, the uploading unit is further configured to upload the opening angle to a server at a set time interval, or upload the opening angle to the server when a variation value of the opening angle reaches a set value, so that a user determines an opening state of the door according to the opening angle.
As an embodiment of the present invention, the control unit is further configured to control the door lock to close if the door is in the closed state within a set time interval after the door is changed from the open state to the closed state.
According to the control method of the door lock and the door lock, the door lock is initialized when the door is in a closed state, after the door lock is initialized, the motion track information of the door is acquired through the six-axis sensor configured on the door lock, whether the door is in the closed state or not is judged according to the motion track information, if the door is in the closed state, the door lock is controlled to be closed, if the door is in the open state, the door lock is controlled to be opened, and through the matching of the state of the door and the state of the door lock, the safety of a user is guaranteed in an all-round mode, the door lock is closed when the door is closed, the door lock is opened when the door is opened, and the technical problem that potential safety hazards exist in the door lock due to the fact that the state of the door and the.
It should be noted that, for convenience and brevity of description, the specific working process of the door lock described above may refer to the corresponding process of the control method of the door lock described in fig. 1 to fig. 5, and is not described herein again.
It should be understood that, in the embodiment of the present Application, the control Processing module 61 may be a Central Processing Unit (CPU), and the Processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (7)

1. A method of controlling a door lock, the method comprising:
initializing the door lock when the door is in a closed state;
after the initialization of the door lock is completed, acquiring the motion trail information of the door through a six-axis sensor configured on the door lock, uploading the motion trail information of the door to a server so as to acquire the habit information of opening the door of a user, judging whether the door lock is abnormal or not according to the habit information of opening the door of the user, and outputting a door lock abnormality prompt signal when the door lock receives an abnormal unlocking signal sent by the server;
judging whether the door is in a closed state or not according to the motion track information;
if the door is in a closed state, controlling the door lock to be closed; if the door is in the opening state, controlling the door lock to open;
wherein the motion trajectory information of the door includes: the time information of each opening of the door, the angle information of each opening of the door and the time length information of each opening to closing of the door.
2. The control method of claim 1, wherein the initializing the door lock comprises:
judging the position of the door at the door lock initialization moment as the position of the door in a closed state; and/or
And determining the door lock initialization position information so as to determine the motion track information when the door lock is pried according to the door lock initialization position information.
3. The control method of claim 1, wherein initializing the door lock with the door in the closed state comprises:
the door lock receives an initialization instruction;
and initializing the door lock when the door is in a closed state according to the initialization instruction.
4. The control method of claim 1, wherein the uploading the motion trajectory information of the door to the server comprises: and uploading the opening angle to a server according to a set time interval, or uploading the opening angle to the server when the change value of the opening angle reaches a set value, so that a user can judge the opening state of the door according to the opening angle.
5. The control method of claim 1, wherein controlling the door lock to close if the door is in the closed state comprises:
and if the door is in the closed state within a set time interval after the door is changed from the open state to the closed state, controlling the door lock to be closed.
6. A door lock, characterized in that the door lock comprises: the control processing module and the six-axis sensor; the control processing module comprises an initialization unit, an acquisition unit, a control unit and an uploading unit;
the initialization unit is used for initializing the door lock when the door is in a closed state;
the acquiring unit is used for acquiring motion track information of the door through a six-axis sensor configured on the door lock after the door lock is initialized;
the control unit is used for judging whether the door is in a closed state or not according to the motion track information; if the door is in a closed state, controlling the door lock to be closed; if the door is in the opening state, controlling the door lock to open;
the uploading unit is used for uploading the motion trail information of the door to the server after the six-axis sensor arranged on the door lock acquires the motion trail information of the door so as to acquire the habit information of opening the door of a user, judging whether the door lock is abnormal or not according to the habit information of opening the door of the user, and outputting an abnormal prompt signal of the door lock when the door lock receives an abnormal unlocking signal sent by the server;
wherein the motion trajectory information of the door includes: the time information of each opening of the door, the angle information of each opening of the door and the time length information of each opening to closing of the door.
7. The door lock of claim 6,
the initialization unit is specifically used for judging the position of the door at the door lock initialization time as the position of the door in the closed state; and determining the door lock initialization position information so as to determine the motion track information when the door lock is pried according to the door lock initialization position information.
CN201810497393.XA 2018-05-22 2018-05-22 Door lock control method and door lock Active CN108678558B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810497393.XA CN108678558B (en) 2018-05-22 2018-05-22 Door lock control method and door lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810497393.XA CN108678558B (en) 2018-05-22 2018-05-22 Door lock control method and door lock

Publications (2)

Publication Number Publication Date
CN108678558A CN108678558A (en) 2018-10-19
CN108678558B true CN108678558B (en) 2020-06-19

Family

ID=63807732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810497393.XA Active CN108678558B (en) 2018-05-22 2018-05-22 Door lock control method and door lock

Country Status (1)

Country Link
CN (1) CN108678558B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109629914A (en) * 2018-11-23 2019-04-16 深圳市慧星辰科技有限公司 Earth induction door lock autocontrol method
CN111505947B (en) * 2019-01-30 2023-05-30 佛山市云米电器科技有限公司 Household appliance control method, intelligent door lock and computer readable storage medium
CN109972923B (en) * 2019-03-19 2021-01-22 陈坤 Locking control method based on door leaf behavior state
CN112211497B (en) * 2019-07-10 2021-09-24 威海新北洋数码科技有限公司 Control method of electronic lock and storage cabinet
CN110379056A (en) * 2019-07-12 2019-10-25 移康智能科技(上海)股份有限公司 Smart lock pick-proof method
CN112343429B (en) * 2019-08-06 2021-12-24 云丁网络技术(北京)有限公司 Door lock state detection method, device and system
WO2021023276A1 (en) 2019-08-06 2021-02-11 云丁网络技术(北京)有限公司 Smart lock control method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102014201130A1 (en) * 2014-01-22 2015-07-23 Robert Bosch Gmbh Method and device for determining an unauthorized intrusion on a door
CN106778924B (en) * 2015-11-24 2021-07-23 小米科技有限责任公司 Door and window state detection method and device
CN105590360B (en) * 2015-12-29 2018-02-13 伟林电子股份有限公司 Door-locking system and control method for door lock
CN207092724U (en) * 2017-06-02 2018-03-13 瑞高科技(深圳)有限责任公司 A kind of intelligent electronic lock and intelligent safety door
CN107462148B (en) * 2017-09-19 2019-09-17 浙江大华技术股份有限公司 A kind of door state detection method and device

Also Published As

Publication number Publication date
CN108678558A (en) 2018-10-19

Similar Documents

Publication Publication Date Title
CN108678558B (en) Door lock control method and door lock
TWI757201B (en) Door hardware assembly and door orientation system
US9786139B2 (en) Programmable security sensor
CN108222674B (en) Door lock state detection method and device and door lock
JP6246428B2 (en) Method and apparatus for reliable detection of switching events
WO2016196583A1 (en) Door improvements and data mining via accelerometer and magnetometer electronic component
US11879268B2 (en) Door lock bezel with touch and wireless capabilities
US9767660B1 (en) Adjustable entry security sensor
US9779225B2 (en) Method and system to provide access to secure features of a device
EP3211613B1 (en) Door and window contact system and method that include a mems accelerometer and a mems magnetometer
US10062249B1 (en) Systems and methods of tamper detection
CA3163604A1 (en) Electronic door system
CN104902171A (en) Camera angle correction method and terminal
EP3550465B1 (en) Security system for preventiving misuse of entered sensitive information
CN106778924A (en) Door and window condition detection method and device
US10180319B2 (en) Device and method to determine height of a panel using elevation determination
CN105091903B (en) Ambulatory status monitoring method and device
JP2014167226A (en) Locking/unlocking detector, locking/unlocking detection method, and program
US20210158673A1 (en) Geo-locked field device
KR20170094726A (en) Smart doorlock and method of using the same
Kommey et al. A GSM Based Alert System for Detection and Reporting of Room Burglary
JP6327906B2 (en) Notification system
ITMI20150080U1 (en) THE KEYCHAIN THAT LOOKS FOR THE CLOSING AND OPENING OF A DOOR THROUGH ITS MOVEMENT

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