CN114187719A - Indoor safety early warning method, device, equipment and medium based on door state - Google Patents
Indoor safety early warning method, device, equipment and medium based on door state Download PDFInfo
- Publication number
- CN114187719A CN114187719A CN202111250624.5A CN202111250624A CN114187719A CN 114187719 A CN114187719 A CN 114187719A CN 202111250624 A CN202111250624 A CN 202111250624A CN 114187719 A CN114187719 A CN 114187719A
- Authority
- CN
- China
- Prior art keywords
- information
- door
- state information
- indoor safety
- door state
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B13/00—Burglar, theft or intruder alarms
- G08B13/02—Mechanical actuation
- G08B13/08—Mechanical actuation by opening, e.g. of door, of window, of drawer, of shutter, of curtain, of blind
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Alarm Systems (AREA)
Abstract
The present invention can provide a door status-based indoor safety precaution method, apparatus, device and medium, wherein the related indoor safety precaution method can include, but is not limited to, one or more of the following steps. Acquiring at least one acceleration information and at least one displacement information of the door, determining a first comparison result by comparing the acceleration information with an acceleration threshold value, and determining a second comparison result by comparing the displacement information with a displacement threshold value; generating first gate state information using the first comparison result and generating second gate state information using the second comparison result; and sending indoor safety early warning information according to the first door state information and the second door state information. Based on the acquisition and processing of the acceleration information and the displacement information, the invention can send out an alarm in time under the condition of abnormal door state so as to achieve the aim of indoor safety early warning and further avoid the loss of users to the maximum extent.
Description
Technical Field
The invention relates to the technical field of intelligent security and protection, in particular to an indoor safety early warning method, device, equipment and medium based on a door state.
Background
Along with the continuous development of society and the remarkable improvement of living standard, the requirement of people on indoor safety is higher and higher, and various intelligent security devices such as security doors, intelligent door locks, intelligent doorbells and the like are in charge of. However, due to the limitations of the prior art, indoor safety still cannot be fully guaranteed, cases of burglary or robbery by lawbreakers who open doors by various means often occur, the problem that the old or children in homes go out accidentally also often occurs, and the indoor safety problem needs to be solved urgently. And some burglary-resisting doors or locks have integrateed a large amount of intelligent hardware such as AI camera, though this mode can help improving indoor safety, nevertheless leads to the too high problem of manufacturing cost simultaneously, and most users often can refuse to use because its price is high, can't use widely by a large scale.
Disclosure of Invention
In order to solve the problem that the indoor safety cannot be fully ensured in the prior art, one or more embodiments of the invention can provide an indoor safety early warning method, an indoor safety early warning device, indoor safety equipment and an indoor safety medium based on a door state, so as to achieve the purposes of early warning and improving the indoor safety before a danger occurs.
To achieve the above technical objects, the present invention provides an indoor safety precaution method based on door status, which may include, but is not limited to, one or more of the following steps.
At least one acceleration information and at least one displacement information of the door are acquired.
And determining a first comparison result by comparing the acceleration information with an acceleration threshold value, and determining a second comparison result by comparing the displacement information with a displacement threshold value.
Generating first gate state information using the first comparison result, and generating second gate state information using the second comparison result.
And sending indoor safety early warning information according to the first door state information and the second door state information.
Further, the generating first gate state information using the first comparison result includes: and generating the first door state information according to the condition that a plurality of first comparison results in a first set time period are all in a first preset range.
The generating second gate state information using the second comparison result includes: and generating the second gate state information according to the condition that a plurality of second comparison results in a second set time period are all in a second preset range.
Wherein the second set time period is the same as or different from the first set time period.
Further, the sending out the indoor safety early warning information according to the first door state information and the second door state information includes:
and generating indoor safety early warning information based on the first door state information and the second door state information.
And sending the indoor safety early warning information to at least one of a target mobile terminal, a voice alarm device and a light alarm device for real-time early warning reminding.
Further, the generating indoor safety warning information based on the first door state information and the second door state information includes:
and if the first door state information is recognized as the motion information after the door is opened and the second door state information is recognized as the door opening information, generating first-class indoor safety early warning information.
Further, the generating indoor safety warning information based on the first door state information and the second door state information includes:
and if the first door state information is recognized as the static information after the door is opened and the second door state information is recognized as the door opening information, generating second type indoor safety early warning information.
Further, the generating indoor safety warning information based on the first door state information and the second door state information includes:
and if the first door state information is recognized as the motion information after the door closing action and the second door state information is recognized as the door opening information, generating third type indoor safety early warning information.
Further, the generating indoor safety warning information based on the first door state information and the second door state information includes:
and if the first door state information is recognized as the static information after the door closing action and the second door state information is recognized as the door opening information, generating fourth type indoor safety early warning information.
In order to achieve the above technical objects, the present invention may further specifically provide an indoor safety precaution device based on a door state, where the precaution device may include, but is not limited to, a door information obtaining module, a door information comparing module, a door state determining module, and a precaution information sending module.
The door information acquisition module is used for acquiring at least one piece of acceleration information and at least one piece of displacement information of the door.
And the door information comparison module is used for determining a first comparison result by comparing the acceleration information with an acceleration threshold value and determining a second comparison result by comparing the displacement information with a displacement threshold value.
And the door state determining module is used for generating first door state information by using the first comparison result and generating second door state information by using the second comparison result.
And the early warning information sending module is used for sending indoor safety early warning information according to the first door state information and the second door state information.
In order to achieve the above technical objects, the present invention may further provide an intelligent door lock device, which includes a memory and a processor, wherein the memory stores computer-readable instructions, and the computer-readable instructions, when executed by the processor, cause the processor to perform the steps of the indoor safety precaution method based on the door state according to any embodiment of the present invention.
To achieve the above technical objects, the present invention can also provide a storage medium storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to execute the door state-based indoor safety warning method according to any one of the embodiments of the present invention.
The invention has the beneficial effects that: based on the acquisition and processing of acceleration information and displacement information, the method comprehensively considers the door opening action state, the next step state after opening, the door closing action state and the next step state after closing, and judges the possible danger in real time or in advance by comprehensively judging the two states so as to thoroughly solve the indoor safety problem and fully ensure the indoor safety. The invention can send out alarm in time when the door state is abnormal, thereby achieving the purpose of indoor safety early warning, greatly improving the indoor safety, further avoiding the loss of users and protecting the life and property safety of the users to the greatest extent. In addition, the invention has the advantages of strong anti-interference capability, better reliability and low manufacturing cost; for example, compared with a gyroscope, the scheme does not need to consider drifting and calibration, and compared with a geomagnetic sensor, the scheme does not need to consider magnetic field change and interference, so that the technical scheme provided by the invention is suitable for large-area popularization and application.
Drawings
Fig. 1 is a flow chart illustrating a door status-based indoor security early warning method according to one or more embodiments of the present invention.
Fig. 2 is a schematic diagram illustrating an implementation of an indoor safety precaution method based on a door state in one or more embodiments of the invention.
Fig. 3 is a schematic view illustrating a door to which the door-lock apparatus according to the present invention is mounted in one or more embodiments of the present invention.
Fig. 4 shows a schematic diagram of the operation of an acceleration sensor in one or more embodiments of the invention.
Fig. 5 shows a schematic diagram of a hardware structure included in the door lock device according to one or more embodiments of the present invention.
Detailed Description
The method, apparatus, device and medium for indoor safety precaution based on door status provided by the present invention will be explained and explained in detail below with reference to the drawings of the specification.
As shown in fig. 1, one or more embodiments of the present invention may specifically provide an indoor safety pre-warning method based on a door state, which identifies an abnormal situation by a door state detection method, so as to improve indoor safety; the indoor safety precaution method includes, but is not limited to, one or more of the following steps.
First, the present invention may acquire at least one acceleration information and at least one displacement information of the door. As shown in fig. 3 and 4, the present invention can collect acceleration information of the door using an acceleration sensor mounted on the door lock, and further monitor the opening and closing of the door. According to the invention, the infrared sensor can be used for detecting the distance between the door and the door frame so as to determine the displacement information of the door, namely the displacement information of the embodiment of the invention is the distance information between the door and the door frame, such as the distance information between the door lock and the door frame, so that the monitoring of the closing state or the opening state of the door is realized.
As shown in fig. 2, and in conjunction with fig. 4, when the door is in the closed state, the acceleration sensor has a gravity component only in the Z-axis direction, and has no component in the X, Y-axis direction, and the measured data is the initial value D (x, y, Z) of the closed state, i.e., the initial acceleration information. When the door is opened, the detection result of the acceleration sensor will generate a corresponding acceleration component on the X, Y axis, such as data Δ D1(x- Δ x, y + Δ y, z) measured in fig. 4, so as to calculate the offset relative to the 0g voltage, and convert the offset into a voltage value and transmit the voltage value to the MCU for determination, which is not limited to this; rx shown specifically in fig. 4 represents a component of the current detection result on the X axis, Ry represents a component of the current detection result on the Y axis, Rz represents a component of the current detection result on the Z axis, Axr represents an angle between the acceleration vector and the X axis, Ayr represents an angle between the acceleration vector and the Y axis, and Azr represents an angle between the acceleration vector and the Z axis.
The principle of the infrared distance measurement is as follows: the infrared sensor on the door of the invention transmits infrared rays to the door frame and receives the infrared rays reflected back after irradiating the door frame, thereby judging the distance between the door and the door frame according to the intensity of the received reflected light, and setting the distance as an initial value L, namely initial displacement information. The embodiment of the invention can perform infrared ranging after determining the door action, and is not limited to this. The distance detection value is judged to be L1 according to the intensity of the received reflected light, and if the delta L1 is L1-L ≠ 0, the door is in an open state.
Secondly, a first comparison result is determined by comparing the acceleration information with an acceleration threshold value, and a second comparison result is determined by comparing the displacement information with a displacement threshold value. The acceleration threshold in the embodiment of the present invention may specifically be an initial value D (x, y, z) of a door-closed state, that is, an acceleration detection value corresponding to a voltage of 0g, and the acceleration offset is determined by subtracting the acceleration detection value from the acceleration threshold, where a first comparison result in the embodiment of the present invention is the acceleration offset. The displacement threshold value in the embodiment of the invention is L, namely the displacement threshold value is the distance between the infrared sensor and the door frame in a door closing state; and the displacement offset is determined by the difference between the distance detection values L1 and L, and the second comparison result in the embodiment of the present invention is the displacement offset.
Again, first gate state information is generated using the first comparison result and second gate state information is generated using the second comparison result. In the present embodiment, if the acceleration offset amount is Δ D1(x- Δ x, y + Δ y, z), the generated first door state information is information of the door opening operation, but the present invention is not limited to this. In the embodiment of the present invention, if the displacement offset amount Δ L1 is L1-L ≠ 0, the second gate state information generated by the displacement offset amount Δ L1 is information that the gate is in an open state (i.e., information that the gate is not closed). Based on the disclosure of the present invention, the corresponding relationship between the first comparison result and the first gate status information and the relationship between the second comparison result and the second gate status information can be determined according to the actual application or function, so as to achieve the technical object of the present invention.
Optionally, one or more embodiments of the present invention may further include: generating first door state information according to the condition that a plurality of first comparison results in a first set time period are all in a first preset range; generating the second gate state information using the second comparison result includes: generating second gate state information according to the fact that a plurality of second comparison results in a second set time period are all in a second preset range; the second set time period is the same as or different from the first set time period. In the embodiment of the present invention, the second setting time period may be the same as the first setting time period, and is T, that is, the first door state information and the second door state information of the door in the same time period may be determined.
Finally, the indoor safety early warning information is sent according to the first door state information and the second door state information generated by the embodiment of the invention, so that the corresponding indoor safety early warning information is sent after the two states of the door are comprehensively judged.
As shown in fig. 2, the sending of the indoor safety warning information according to the first door state information and the second door state information in the embodiment of the present invention includes: indoor safety early warning information is generated based on the first door state information and the second door state information, different indoor safety early warning information can be generated by the different first door state information and second door state information, and the indoor safety early warning information is sent to at least one of a target mobile terminal, a voice warning device and a light warning device for real-time early warning reminding, which is not limited to the above.
Optionally, the generating indoor safety early warning information based on the first door state information and the second door state information in the embodiment of the present invention includes: and if the first door state information is recognized as the motion information after the door is opened and the second door state information is recognized as the door opening information, generating first-class indoor safety early warning information, wherein the first-class indoor safety early warning information is information that the door is not closed all the time after the door is opened and exceeds T time. With reference to fig. 2, in the embodiment of the present invention, the detected value obtained by the acceleration sensor may be Δ D1(x- Δ x, y + Δ y, z), and it is determined based on the infrared sensor that the distance change Δ L1 is not equal to 0 all the time when the time exceeds T, in this case, the present invention may send the first type of indoor safety warning information, and the present invention may specifically include, but is not limited to, transmitting the first type of indoor safety warning information to the intelligent terminal by using the wireless module, controlling the LED indication module to emit a light warning, controlling the voice warning module to perform a sound warning, and the like.
Optionally, in the embodiment of the present invention, generating the indoor safety warning information based on the first door state information and the second door state information includes: and if the first door state information is recognized as static information after the door is opened and the second door state information is recognized as door opening information, generating second-type indoor safety early warning information, wherein the second-type indoor safety early warning information is information that the door is kept static and is not closed after the time T is exceeded after the door is opened. The detection value obtained by the acceleration sensor is delta D1 (x-delta x, y + delta y, z), and the distance change delta L1 is determined to be constant and not 0 all the time when the time exceeds T based on the infrared sensor, so that the second type of indoor safety early warning information is sent out in the embodiment of the invention, and the second type of indoor safety early warning information can specifically include but not be limited to the mode that a wireless module is used for transmitting the second type of indoor safety early warning information to an intelligent terminal, and an LED indication module and a voice alarm module are controlled to give an alarm.
Optionally, in the embodiment of the present invention, generating the indoor safety warning information based on the first door state information and the second door state information includes: if the first door state information is recognized as motion information after door closing action and the second door state information is recognized as door opening information, third-type indoor safety early warning information is generated, and the third-type indoor safety early warning information is that the door is still in an open state after the door closing action exceeds T time, namely the door is not closed although the door closing action is executed. With reference to fig. 2, in the embodiment of the present invention, a detected value obtained by an acceleration sensor is Δ D2(x- Δ x, y + Δ y, z), and it is determined that a distance change Δ L1 is not zero all the time when the time exceeds T based on an infrared sensor, then the embodiment of the present invention sends out a third type of indoor safety early warning information, specifically, but not limited to, transmitting the second type of indoor safety early warning information to an intelligent terminal by using a wireless module, controlling an LED indication module and a voice alarm module to alarm, and the like.
Optionally, the generating indoor safety warning information based on the first door state information and the second door state information includes: if the first door state information is recognized as static information after the door closing action and the second door state information is recognized as door opening information, fourth type indoor safety early warning information is generated, and the fourth type indoor safety early warning information can be information that the door is kept static and is not closed after the door closing action exceeds T time. In this embodiment, a detection value obtained by the acceleration sensor is Δ D2(x- Δ x, y + Δ y, z), and it is determined that the distance change Δ L1 is always unchanged and is not zero when the time exceeds T based on the infrared sensor, then the embodiment of the present invention sends out the fourth type of indoor safety early warning information, and includes but is not limited to transmitting the second type of indoor safety early warning information to the intelligent terminal by using the wireless module, controlling the LED indication module and the voice alarm module to alarm, and the like.
Of course, if the first door state information is still information after the door closing action and the second door state information is recognized as not closed information, that is, the over-acceleration sensor obtains the detection value D and determines that the distance is still L based on the infrared sensor, the alarm does not need to be given at this time, and the invention is not limited thereto.
In addition, the intelligent terminal in some embodiments of the present invention may send a control instruction to the MCU, for example, control on or off of the acceleration sensor, control on or off of the infrared sensor, control on or off of the LED indication module, and control on or off of the voice alarm module. Therefore, the invention improves the selectivity of users, is suitable for application occasions with different requirements, and improves the market competitiveness of the technical scheme of the invention.
The embodiment of the invention can also provide an indoor safety early warning device based on the door state, and the device can be integrated on a door lock MCU. The door state-based indoor safety early warning device specifically comprises but is not limited to a door information acquisition module, a door information comparison module, a door state determination module and an early warning information sending module.
The door information acquisition module is used for acquiring at least one acceleration information and at least one displacement information of the door.
The door information comparison module is used for determining a first comparison result by comparing the acceleration information with an acceleration threshold value and determining a second comparison result by comparing the displacement information with a displacement threshold value.
The gate state determination module is configured to generate first gate state information using the first comparison result and to generate second gate state information using the second comparison result. The door state determining module in the embodiment of the present invention is specifically configured to generate first door state information according to a first preset range of a plurality of first comparison results within a first set time period, and is specifically configured to generate second door state information according to a second preset range of a plurality of second comparison results within a second set time period. It should be understood that the second set period of time may be the same or different than the first set period of time.
The early warning information sending module is used for sending indoor safety early warning information according to the first door state information and the second door state information. The early warning information sending module provided by the embodiment of the invention can be specifically used for generating indoor safety early warning information based on the first door state information and the second door state information, and sending the indoor safety early warning information to at least one of a target mobile terminal, a voice alarm device and a light alarm device for real-time early warning reminding.
Optionally, the early warning information sending module in the embodiment of the present invention may be configured to generate the first type of indoor safety early warning information according to the motion information after the first door state information is recognized as the door opening motion and the second door state information is recognized as the door opening motion.
Optionally, the early warning information sending module in the embodiment of the present invention may be configured to generate second-type indoor safety early warning information according to the first door state information being recognized as static information after a door opening action and the second door state information being recognized as door opening information.
Optionally, the early warning information sending module in the embodiment of the present invention may be configured to generate a third type of indoor safety early warning information according to the fact that the first door state information is recognized as the motion information after the door closing action and the second door state information is recognized as the door opening information.
Optionally, the early warning information sending module in the embodiment of the present invention may be configured to generate a fourth type of indoor safety early warning information according to the first door state information being recognized as the static information after the door closing action and the second door state information being recognized as the door opening information.
As shown in fig. 3, 4 and 5, the present invention may also provide an intelligent door lock device based on the same technical concept as the indoor safety pre-warning method based on the door state. In the embodiment of the present invention, an acceleration sensor 301 and an infrared sensor are provided in an intelligent door lock device 300, and the infrared sensor of the embodiment includes an infrared transmitting tube 302 and a photosensitive receiving tube 303. When the door is static, X, Y axes have no variation in horizontal direction, when the door moves, X, Y axes generate acceleration, and the variation value can be measured through an acceleration sensor. In the present embodiment, infrared light is emitted through an infrared emission tube 302 disposed on the door 100, reflected light is received by a photosensitive receiving tube 303 after being emitted through the door frame 200, and distance information between the door 100 and the door frame 200 is measured according to the intensity of the received energy of the emitted light, and is used as displacement information of the door. And if the door is in the open state, the displacement information measured by the infrared sensor is inconsistent with the displacement information in the closed state, and the door is judged not to be in the closed state. Therefore, the technical scheme provided by the invention is very little influenced by the environment, has very low manufacturing cost and is suitable for popularization and application.
The intelligent door lock device in the embodiment of the invention further comprises an MCU (micro controller Unit), a wireless module, a voice alarm module and an LED indication module. The MCU is integrated with a memory and a processor. The wireless module, the voice alarm module, the LED indication module, the acceleration sensor and the infrared sensor are all connected with the MCU, the acceleration sensor can be used for transmitting acceleration information to the MCU, and the infrared sensor can be used for transmitting displacement information to the MCU. After the MCU judges according to the received acceleration information and displacement information, the early warning information is sent to a user intelligent terminal (such as a smart phone) through a wireless module when the judgment result is that early warning is needed, and the alarm can be sent out through a voice alarm module and an LED indication module.
The intelligent door lock device comprises a memory and a processor, wherein computer readable instructions are stored in the memory, and when the computer readable instructions are executed by the processor, the processor executes the steps of the indoor safety early warning method based on the door state in any embodiment of the invention. The indoor safety early warning method of the invention can comprise but is not limited to at least one of the following steps: first, at least one acceleration information and at least one displacement information of the door are acquired. Secondly, a first comparison result is determined by comparing the acceleration information with an acceleration threshold value, and a second comparison result is determined by comparing the displacement information with a displacement threshold value. Again, first gate state information is generated using the first comparison result, and second gate state information is generated using the second comparison result. Optionally, the generating of the first gate state information by using the first comparison result in the embodiment of the present invention includes: generating first door state information according to the condition that a plurality of first comparison results in a first set time period are all in a first preset range; generating the second gate state information using the second comparison result includes: generating second gate state information according to the fact that a plurality of second comparison results in a second set time period are all in a second preset range; the second set time period is the same as or different from the first set time period. And finally, sending indoor safety early warning information according to the first door state information and the second door state information. Specifically, the sending of the indoor safety early warning information according to the first door state information and the second door state information in the embodiment of the present invention includes: and generating indoor safety early warning information based on the first door state information and the second door state information, and sending the indoor safety early warning information to at least one of a target mobile terminal, a voice alarm device and a light alarm device for real-time early warning reminding. Optionally, the generating indoor safety early warning information based on the first door state information and the second door state information in the embodiment of the present invention includes: and if the first door state information is recognized as the motion information after the door is opened and the second door state information is recognized as the door opening information, generating first-class indoor safety early warning information. Optionally, the generating indoor safety warning information based on the first door state information and the second door state information includes: and if the first door state information is recognized as the static information after the door is opened and the second door state information is recognized as the door opening information, generating second type indoor safety early warning information. Optionally, the generating indoor safety warning information based on the first door state information and the second door state information includes: and if the first door state information is recognized as the motion information after the door closing action and the second door state information is recognized as the door opening information, generating third type indoor safety early warning information. Optionally, the generating indoor safety warning information based on the first door state information and the second door state information includes: and if the first door state information is recognized as the static information after the door closing action and the second door state information is recognized as the door opening information, generating fourth type indoor safety early warning information.
The present invention also provides a storage medium storing computer readable instructions, which when executed by one or more processors, cause the one or more processors to execute the door state-based indoor security early warning method according to any embodiment of the present invention. The indoor safety early warning method of the invention can comprise but is not limited to at least one of the following steps: first, at least one acceleration information and at least one displacement information of the door are acquired. Secondly, a first comparison result is determined by comparing the acceleration information with an acceleration threshold value, and a second comparison result is determined by comparing the displacement information with a displacement threshold value. Again, first gate state information is generated using the first comparison result, and second gate state information is generated using the second comparison result. Optionally, the generating of the first gate state information by using the first comparison result in the embodiment of the present invention includes: generating first door state information according to the condition that a plurality of first comparison results in a first set time period are all in a first preset range; generating the second gate state information using the second comparison result includes: generating second gate state information according to the fact that a plurality of second comparison results in a second set time period are all in a second preset range; the second set time period is the same as or different from the first set time period. And finally, sending indoor safety early warning information according to the first door state information and the second door state information. Specifically, the sending of the indoor safety early warning information according to the first door state information and the second door state information in the embodiment of the present invention includes: and generating indoor safety early warning information based on the first door state information and the second door state information, and sending the indoor safety early warning information to at least one of a target mobile terminal, a voice alarm device and a light alarm device for real-time early warning reminding. Optionally, the generating indoor safety early warning information based on the first door state information and the second door state information in the embodiment of the present invention includes: and if the first door state information is recognized as the motion information after the door is opened and the second door state information is recognized as the door opening information, generating first-class indoor safety early warning information. Optionally, the generating indoor safety warning information based on the first door state information and the second door state information includes: and if the first door state information is recognized as the static information after the door is opened and the second door state information is recognized as the door opening information, generating second type indoor safety early warning information. Optionally, the generating indoor safety warning information based on the first door state information and the second door state information includes: and if the first door state information is recognized as the motion information after the door closing action and the second door state information is recognized as the door opening information, generating third type indoor safety early warning information. Optionally, the generating indoor safety warning information based on the first door state information and the second door state information includes: and if the first door state information is recognized as the static information after the door closing action and the second door state information is recognized as the door opening information, generating fourth type indoor safety early warning information.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable storage medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable storage medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer cartridge (magnetic device), a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM-Only Memory, or flash Memory), an optical fiber device, and a portable Compact Disc Read-Only Memory (CDROM). Additionally, the computer-readable storage medium may even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic Gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic Gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "the present embodiment," "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and simplifications made in the spirit of the present invention are intended to be included in the scope of the present invention.
Claims (10)
1. An indoor safety early warning method based on a door state is characterized by comprising the following steps:
acquiring at least one acceleration information and at least one displacement information of the door;
determining a first comparison result by comparing the acceleration information with an acceleration threshold value, and determining a second comparison result by comparing the displacement information with a displacement threshold value;
generating first gate state information using the first comparison result and generating second gate state information using the second comparison result;
and sending indoor safety early warning information according to the first door state information and the second door state information.
2. The indoor safety pre-warning method based on a door state according to claim 1,
the generating first gate state information using the first comparison result includes: generating the first door state information according to the condition that a plurality of first comparison results in a first set time period are all in a first preset range;
the generating second gate state information using the second comparison result includes: generating second gate state information according to the fact that a plurality of second comparison results in a second set time period are all in a second preset range;
wherein the second set time period is the same as or different from the first set time period.
3. The door-state-based indoor safety precaution method according to claim 1 or 2, wherein the sending indoor safety precaution information according to the first door state information and the second door state information comprises:
generating indoor safety early warning information based on the first door state information and the second door state information;
and sending the indoor safety early warning information to at least one of a target mobile terminal, a voice alarm device and a light alarm device for real-time early warning reminding.
4. The door-state-based indoor safety precaution method of claim 3, wherein the generating indoor safety precaution information based on the first door state information and the second door state information comprises:
and if the first door state information is recognized as the motion information after the door is opened and the second door state information is recognized as the door opening information, generating first-class indoor safety early warning information.
5. The door-state-based indoor safety precaution method of claim 3, wherein the generating indoor safety precaution information based on the first door state information and the second door state information comprises:
and if the first door state information is recognized as the static information after the door is opened and the second door state information is recognized as the door opening information, generating second type indoor safety early warning information.
6. The door-state-based indoor safety precaution method of claim 3, wherein the generating indoor safety precaution information based on the first door state information and the second door state information comprises:
and if the first door state information is recognized as the motion information after the door closing action and the second door state information is recognized as the door opening information, generating third type indoor safety early warning information.
7. The door-state-based indoor safety precaution method of claim 3, wherein the generating indoor safety precaution information based on the first door state information and the second door state information comprises:
and if the first door state information is recognized as the static information after the door closing action and the second door state information is recognized as the door opening information, generating fourth type indoor safety early warning information.
8. The utility model provides an indoor safety precaution device based on door state which characterized in that includes:
the door information acquisition module is used for acquiring at least one acceleration information and at least one displacement information of the door;
the door information comparison module is used for determining a first comparison result by comparing the acceleration information with an acceleration threshold value and determining a second comparison result by comparing the displacement information with a displacement threshold value;
the gate state determining module is used for generating first gate state information by using the first comparison result and generating second gate state information by using the second comparison result;
and the early warning information sending module is used for sending indoor safety early warning information according to the first door state information and the second door state information.
9. An intelligent door lock device, characterized in that the device comprises a memory and a processor, wherein the memory stores computer readable instructions, and the computer readable instructions, when executed by the processor, cause the processor to execute the steps of the door state-based indoor safety precaution method according to any one of claims 1 to 7.
10. A storage medium storing computer readable instructions, which when executed by one or more processors, cause the one or more processors to perform the door state-based indoor safety warning method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111250624.5A CN114187719A (en) | 2021-10-26 | 2021-10-26 | Indoor safety early warning method, device, equipment and medium based on door state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111250624.5A CN114187719A (en) | 2021-10-26 | 2021-10-26 | Indoor safety early warning method, device, equipment and medium based on door state |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114187719A true CN114187719A (en) | 2022-03-15 |
Family
ID=80601570
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111250624.5A Pending CN114187719A (en) | 2021-10-26 | 2021-10-26 | Indoor safety early warning method, device, equipment and medium based on door state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114187719A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104994251A (en) * | 2015-06-23 | 2015-10-21 | 上海卓易科技股份有限公司 | Door-opening monitoring method and device |
CN105336072A (en) * | 2015-11-06 | 2016-02-17 | 童迎伟 | Multilayer protection intelligent antitheft door lock system based on Internet of things, and alarm processing method |
US20160187368A1 (en) * | 2014-12-30 | 2016-06-30 | Google Inc. | Systems and methods of detecting failure of an opening sensor |
CN107396027A (en) * | 2017-07-27 | 2017-11-24 | 北京小米移动软件有限公司 | Knock at the door information processing method and device |
CN110853269A (en) * | 2019-11-20 | 2020-02-28 | 四川研宝科技有限公司 | Door state detection method and device |
-
2021
- 2021-10-26 CN CN202111250624.5A patent/CN114187719A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160187368A1 (en) * | 2014-12-30 | 2016-06-30 | Google Inc. | Systems and methods of detecting failure of an opening sensor |
CN104994251A (en) * | 2015-06-23 | 2015-10-21 | 上海卓易科技股份有限公司 | Door-opening monitoring method and device |
CN105336072A (en) * | 2015-11-06 | 2016-02-17 | 童迎伟 | Multilayer protection intelligent antitheft door lock system based on Internet of things, and alarm processing method |
CN107396027A (en) * | 2017-07-27 | 2017-11-24 | 北京小米移动软件有限公司 | Knock at the door information processing method and device |
CN110853269A (en) * | 2019-11-20 | 2020-02-28 | 四川研宝科技有限公司 | Door state detection method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9811986B2 (en) | Method and device for determining an unauthorized intrusion at a door | |
CN108198292B (en) | Household monitoring method and system based on intelligent cloud lock | |
CN110222659A (en) | Electric vehicle recognition methods, device and system | |
US10115296B2 (en) | In-field sensor programming | |
CN106506794A (en) | Condition monitoring method and device of terminal equipment and terminal equipment | |
CN201749536U (en) | Electronic intelligent anti-theft system | |
US11164435B1 (en) | Audio/video recording and communication doorbell devices with supercapacitors | |
CN103065410A (en) | Method and device of intrusion detection and alarm | |
CN106199629A (en) | A kind of information processing method and processor | |
CN109191718A (en) | Platform is rented in fool proof method, the article-storage device with maloperation warning function and space | |
CN116013009B (en) | Intelligent door and window alarm method and system based on Internet of things and readable storage medium | |
CN114187719A (en) | Indoor safety early warning method, device, equipment and medium based on door state | |
CN114511978B (en) | Intrusion early warning method, device, vehicle and computer readable storage medium | |
US11069163B2 (en) | Closure member sensor | |
CN108346249A (en) | A kind of vital signs detecting burglary-resisting system based on millimeter wave | |
CN108364424A (en) | Anti-theft prewarning system | |
CN211786151U (en) | Sensing device for detecting object approaching | |
CN210802700U (en) | Close range warning module based on pyroelectric sensor | |
CN114359839A (en) | Method and system for identifying entrance of electric vehicle into elevator | |
CN115656999B (en) | Elevator personnel presence detection method based on PIR and PCR sensors | |
CN117690457B (en) | Intelligent sound-identifying doorbell, control method thereof and storage medium | |
CN111402527A (en) | Door and window intrusion detection reporting method, device, equipment and storage medium | |
CN107526088B (en) | Proximity sensor based error cancellation method and related product | |
KR102102775B1 (en) | Apparatus for sensing a variation of an indoor space | |
CN115424387A (en) | Smart door lock and unlocking method |
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 |