CN110580804B - Security alarm method for indoor unit multi-mode multi-defense area - Google Patents

Security alarm method for indoor unit multi-mode multi-defense area Download PDF

Info

Publication number
CN110580804B
CN110580804B CN201910872382.XA CN201910872382A CN110580804B CN 110580804 B CN110580804 B CN 110580804B CN 201910872382 A CN201910872382 A CN 201910872382A CN 110580804 B CN110580804 B CN 110580804B
Authority
CN
China
Prior art keywords
mode
configuration
defense
alarm
defense area
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
CN201910872382.XA
Other languages
Chinese (zh)
Other versions
CN110580804A (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.)
Ringslink Xiamen Network Communication Technologies Co ltd
Original Assignee
Ringslink Xiamen Network Communication Technologies 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 Ringslink Xiamen Network Communication Technologies Co ltd filed Critical Ringslink Xiamen Network Communication Technologies Co ltd
Priority to CN201910872382.XA priority Critical patent/CN110580804B/en
Publication of CN110580804A publication Critical patent/CN110580804A/en
Application granted granted Critical
Publication of CN110580804B publication Critical patent/CN110580804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/003Address allocation methods and details
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/006Alarm destination chosen according to type of event, e.g. in case of fire phone the fire service, in case of medical emergency phone the ambulance

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Alarm Systems (AREA)

Abstract

A security alarm method for indoor unit multi-mode multi-defense areas comprises a mode switching method: when the system is initialized, the configuration reading module reads the configuration in a configuration file into a cache; the configuration comprises multi-defense area configuration, wherein each defense area configuration comprises a mode, an activation state of a defense area in each mode and mode switching delay time; clicking a switching mode on a page module, and reading the configuration of all defense areas in a cache in the mode to be switched by a logic control module through a configuration reading module to obtain the maximum value of mode switching delay time in the defense areas activated in the mode as switching delay time; judging whether the switching delay time is 0 or not, if so, executing password verification, and then switching the mode; if not, the page module enters a countdown page to display, executes password verification after countdown is completed, and then switches the mode. The user can more simply switch whether the same defense area needs to be monitored or not under different scenes.

Description

Security alarm method for indoor unit multi-mode multi-defense area
Technical Field
The invention particularly relates to a security alarm method for indoor machine multi-mode multi-defense areas.
Background
The smart home industry has just started to develop, and both functional and demand scenarios are still under continuous development. This makes the existing product functionally simpler. During practical use, practical use scenes of users are various, so that mismatch exists between a simple security scheme and a complex use environment, and the requirement for diversity of users cannot be met.
Among the prior art, indoor security alarm method is mostly simple sensor and rings the police dispatch newspaper after triggering, if the user wants to switch the defence area switch at different times then need reset, needs to frequently carry out a plurality of setting operations to a plurality of defence areas, and is comparatively loaded down with trivial details. For residents or managers, different solutions are often needed for different types of alarm events, and the current simpler security alarm scheme cannot meet the requirements.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, the technical problems in the above-described techniques. Therefore, the invention aims to provide a security alarm method for indoor unit multi-mode multi-defense areas.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a security alarm method for an indoor unit in multiple-mode multiple-defense area, including a mode switching method and an alarm triggering method; the mode switching method needs to configure a page module, a configuration reading module and a logic control module, and comprises the following contents:
(1) when the system is initialized, the configuration reading module reads the configuration in a configuration file into a cache; the configuration comprises multiple defense areas configuration, and each defense area configuration comprises a mode, an activation state of each defense area in each mode and mode switching delay time;
(2) clicking a switching mode on the page module, and reading the configuration of all defense areas in the cache in the mode to be switched by the logic control module through the configuration reading module to obtain the value with the maximum mode switching delay time in the defense areas activated in the mode as the switching delay time;
(3) judging whether the switching delay time is 0 or not, if so, executing password verification, and then switching the mode; if not, the page module enters a countdown page to display, executes password verification after countdown is finished, and then switches the mode;
the alarm triggering method needs to be provided with an induction triggering unit, an alarm reading unit, a configuration reading module and an event processing module; the alarm triggering method comprises the following steps:
s1, the induction trigger unit detects the circuit state of each defense area in real time and reports the circuit state to the alarm reading unit;
s2, the alarm reading unit assigns values, namely state values, to the circuit states, and reads corresponding defense area configurations in the cache through the configuration reading module; each defense area configuration also comprises trigger delay time of the defense area in each mode, a state configuration value and a triggered function;
s3, the alarm reading unit judges whether the state value is the same as the state configuration value, if yes, the flow is ended; if not, judging whether the defense area is in an activated state in the current mode, if so, triggering an alarm by the defense area, changing the state configuration value into the state value, setting the triggering delay time of the defense area as the triggering delay time in the configuration, and executing the step S4; if not, ending the flow;
s4, the event processing module judges whether the trigger delay time of the defense area in the current mode is greater than 0, if yes, the value of the trigger delay time is reduced by 1, and the step S5 is executed; if not, executing the function triggered by the defense area;
and S5, repeating the operation flow of the step S4.
Based on the design, a user can more simply and conveniently switch whether the same defense area (connected with one sensor) needs to be monitored or not under different scenes (outgoing, home or sleeping states).
In addition, the security alarm method for the indoor unit multi-mode multi-defense area provided by the embodiment of the invention can also have the following additional technical characteristics:
preferably, the modes include four modes of at home, sleep, night, and disarming.
Preferably, the functions include calling out an emergency call, sounding an alarm sound, sending a special short message, and sending an HTTP command, and the priority order of each function is: emergency call > special short message > HTTP > alarm sound is sent.
Preferably, the status value is represented by 0 or 1, the 0 represents an open circuit, and the 1 represents a short circuit.
Preferably, each of said defence areas configurations further comprises an enabling status of the defence area and a sensor type.
Drawings
FIG. 1 is a schematic block diagram of a mode switching method according to the present invention.
FIG. 2 is a flowchart illustrating the operation of the mode switching method according to the present invention.
FIG. 3 is a schematic block diagram of an alarm triggering method of the present invention.
FIG. 4 is a flowchart of the operation of the alarm triggering method of the present invention.
Detailed Description
In order to better understand the above technical solutions, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Referring to fig. 1-2, a security alarm method for indoor multi-mode multi-defense zones includes a mode switching method and an alarm triggering method, the mode switching method requires a configuration page module, a configuration reading module and a logic control module,
the page module is responsible for clicking switching response among the modes and displaying a page when logic confirmation enters countdown;
the configuration reading module is responsible for reading the configuration in a configuration file into a 'defense area state array' in a cache when the method is initialized, and providing a corresponding configuration value or a setting interface for the logic control module;
and the logic control module is responsible for processing logic control from the response after clicking the switching mode to the final mode switching.
The mode switching method specifically comprises the following steps:
(1) when the system is initialized, the configuration reading module reads the configuration in a configuration file into a cache;
the configuration comprises multiple defense areas, and each defense area configuration comprises an enabling state of the defense area, a sensor type, a mode, an activation state of the defense area in each mode, mode switching delay time, triggering delay time, a state configuration value and a triggered function; all the functional configurations are stored in the configuration file Map in a [ Section ] Key value format, the modes include four modes of home, sleep, night and disarming, and the disarming is a mode of turning off an alarm.
(2) Clicking a switching mode on the page module, and reading the configuration of all defense areas in the cache in the mode to be switched by the logic control module through the configuration reading module to obtain the value with the maximum mode switching delay time in the defense areas activated in the mode as the switching delay time;
(3) judging whether the switching delay time is 0 or not, if so, executing password verification, and then switching the mode; if not, the page module enters a countdown page to display, executes password verification after countdown is completed, and then switches the mode.
Referring to fig. 3-4, the alarm triggering method requires a sensing triggering unit, an alarm reading unit, a configuration reading module, and an event processing module; the alarm triggering method comprises the following steps:
s1, the induction trigger unit detects the circuit state of each defense area in real time and reports the circuit state to the alarm reading unit, and when the abnormal state of one defense area is detected, the corresponding circuit is triggered to be in a short circuit state;
the induction triggering unit mainly comprises various hardware induction devices, such as an infrared inductor, a smoke alarm, a gas alarm and the like, wherein when the sensors detect an abnormal state, the sensors can trigger a circuit to change the state of a circuit switch connected to a corresponding channel port on the indoor unit, for example, if the infrared inductor is in a short circuit state in a normal state, the circuit connected with the indoor unit can be changed into a short circuit state when the infrared inductor is triggered.
S2, the alarm reading unit assigns values, namely state values, to the circuit states, writes the values into a circuit state file, and reads corresponding defense area configurations in the cache through the configuration reading module; each defense area configuration also comprises trigger delay time of the defense area in each mode, a state configuration value and a triggered function; the state value is represented by 0 or 1, the 0 represents open circuit, and the 1 represents short circuit.
S3, the alarm reading unit judges whether the state value is the same as the state configuration value, if yes, the flow is ended; if not, judging whether the defense area is in an activated state in the current mode, if so, triggering an alarm by the defense area, changing the state configuration value into the state value, setting the triggering delay time of the defense area as the triggering delay time in the configuration, and executing the step S4; if not, ending the flow;
s4, the event processing module judges whether the trigger delay time of the defense area in the current mode is greater than 0 (namely whether the delay time counting value time is up), if yes, the value of the trigger delay time is reduced by 1, and the step S5 is executed; if not, executing the function triggered by the defense area;
and S5, repeating the operation flow of the step S4.
The functions comprise calling out an emergency call, sounding an alarm sound, sending a special short message and sending an HTTP command, and the priority order of the functions is as follows: emergency call > special short message > HTTP > alarm sound is sent.
If the emergency call function is started, calling a pre-configured emergency call number after alarm triggering;
if the function of sending the special short message is started, sending a defined special short message to a specified user when an alarm is triggered;
if the function of sending the HTTP is started, sending a well-defined HTTP command when an alarm is triggered;
if the alarm sound is turned on, the corresponding sensor in the sensing triggering unit can make the alarm sound when the alarm is triggered, an alarm window pops up in the page module, and the window displays which defense area triggers the alarm, the configured sensor position, the sensor type and the triggering time.
Exemplary embodiments of the defence area configuration of the present invention are as follows:
taking the defense zone one as an example, the other defense zones are only Section [ Alarm02] - [ Alarm08]
[Alarm01]
Place=Bedroom
Type=Infrared
Status=0
Home_AlarmDelay=90
Home_Status=0
Home_DefenceDelay=90
Night_AlarmDelay=90
Night_Status=0
Night_DefenceDelay=90
Leaving_AlarmDelay=90
Leaving_Status=0
Leaving_DefenceDelay=90
Trigger=1
Wherein, Place: configuring the position where the sensor is placed for display when an alarm is triggered;
type: configuring the type of the sensor for display when an alarm is triggered;
status: whether the current defense area is available or not is configured, and the current defense area can be selectively activated in several modes when the current defense area is available;
home _ AlarmDelay: triggering delay time for the alarm of the defense area in the Home mode;
home _ Status: whether the defense area is activated in the Home mode;
home _ defensivedelay: the mode switching delay time defined by the defense area in the Home mode;
night _ AlarmDelay: alarm trigger delay time of the defence area in the Night mode;
night _ Status: whether the defence area is activated in the Night mode;
night _ Defence delay: mode switching delay time defined by the defense area in Night mode
Leave _ AlarmDelay: alarm triggering delay time of the defense area in Leaving mode
Leave _ Status: whether the defense area is activated in Leaving mode
Leave _ defensins delay: the mode switching delay time defined by the defense area in the Leaving mode
Trigger: and configuring the state of the corresponding sensor of the defense area, and entering a triggering alarm process if the on-off state and the configuration of the corresponding circuit are different.
The invention introduces the concept of alarm mode, different modes can set different enabled defense areas, and a user can set which defense areas need to be monitored in the corresponding mode in advance, and only needs to simply switch the modes when in use. Different defense areas can be provided with different information states, triggering delay time and functions after triggering, connected sensor types, sensor positions, alarming sound when triggering, emergent calling, sending special short messages, delaying triggering and the like. The user can more simply and conveniently switch whether the same defense area (connected with one sensor) needs to be monitored or not under different scenes (outgoing, home or sleeping states). The indoor unit equipment can well reflect the related information of the alarm, and different subsequent processing modes can be adopted for different alarms.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (5)

1. A security alarm method for indoor unit multi-mode multi-defense areas is characterized in that: the method comprises a mode switching method and an alarm triggering method; the mode switching method needs to configure a page module, a configuration reading module and a logic control module, and comprises the following contents:
(1) when the system is initialized, the configuration reading module reads the configuration in a configuration file into a cache; the configuration comprises multiple defense areas configuration, and each defense area configuration comprises a mode, an activation state of each defense area in each mode and mode switching delay time;
(2) clicking a switching mode on the page module, and reading the configuration of all defense areas in the cache in the mode to be switched by the logic control module through the configuration reading module to obtain the value with the maximum mode switching delay time in the defense areas activated in the mode as the switching delay time;
(3) judging whether the switching delay time is 0 or not, if so, executing password verification, and then switching the mode; if not, the page module enters a countdown page to display, executes password verification after countdown is finished, and then switches the mode;
the alarm triggering method needs to be provided with an induction triggering unit, an alarm reading unit, a configuration reading module and an event processing module; the alarm triggering method comprises the following steps:
s1, the induction trigger unit detects the circuit state of each defense area in real time and reports the circuit state to the alarm reading unit;
s2, the alarm reading unit assigns values, namely state values, to the circuit states, and reads corresponding defense area configurations in the cache through the configuration reading module; each defense area configuration also comprises trigger delay time of the defense area in each mode, a state configuration value and a triggered function;
s3, the alarm reading unit judges whether the state value is the same as the state configuration value, if yes, the flow is ended; if not, judging whether the defense area is in an activated state in the current mode, if so, triggering an alarm by the defense area, changing the state configuration value into the state value, setting the triggering delay time of the defense area as the triggering delay time in the configuration, and executing the step S4; if not, ending the flow;
s4, the event processing module judges whether the trigger delay time of the defense area in the current mode is greater than 0, if yes, the value of the trigger delay time is reduced by 1, and the step S5 is executed; if not, executing the function triggered by the defense area;
and S5, repeating the operation flow of the step S4.
2. The indoor unit multi-mode multi-defense area security alarm method of claim 1, characterized in that: the modes comprise four modes of at home, sleeping, night and withdrawing from the defence.
3. The indoor unit multi-mode multi-defense area security alarm method of claim 1, characterized in that: the functions comprise calling out an emergency call, sounding an alarm sound, sending a special short message and sending an HTTP command, and the priority order of the functions is as follows: emergency call > special short message > HTTP > alarm sound is sent.
4. The indoor unit multi-mode multi-defense area security alarm method of claim 1, characterized in that: the state value is represented by 0 or 1, the 0 represents open circuit, and the 1 represents short circuit.
5. The indoor unit multi-mode multi-defense area security alarm method of claim 1, characterized in that: each of the defence area configurations further includes an enabling status of the defence area and a sensor type.
CN201910872382.XA 2019-09-16 2019-09-16 Security alarm method for indoor unit multi-mode multi-defense area Active CN110580804B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910872382.XA CN110580804B (en) 2019-09-16 2019-09-16 Security alarm method for indoor unit multi-mode multi-defense area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910872382.XA CN110580804B (en) 2019-09-16 2019-09-16 Security alarm method for indoor unit multi-mode multi-defense area

Publications (2)

Publication Number Publication Date
CN110580804A CN110580804A (en) 2019-12-17
CN110580804B true CN110580804B (en) 2021-06-22

Family

ID=68811982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910872382.XA Active CN110580804B (en) 2019-09-16 2019-09-16 Security alarm method for indoor unit multi-mode multi-defense area

Country Status (1)

Country Link
CN (1) CN110580804B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4075800B2 (en) * 2003-12-26 2008-04-16 トヨタ自動車株式会社 White line detector
CN102447784A (en) * 2011-10-25 2012-05-09 深圳桑菲消费通信有限公司 Setting method of scenario reduction mode and device
CN103714644A (en) * 2013-09-29 2014-04-09 深圳市中兴新地通信器材有限公司 Indoor security system and security method thereof
CN103747202A (en) * 2013-08-30 2014-04-23 深圳辉锐天眼科技有限公司 Intelligent security and protection system's multiple working mode definition and switching method
CN203720968U (en) * 2014-02-28 2014-07-16 四川为民科技有限公司 Multi-defense-zone electronic fence central controller
CN104717456A (en) * 2013-12-11 2015-06-17 杭州海康威视数字技术股份有限公司 Method and device for processing mobile detection
CN106970600A (en) * 2017-03-31 2017-07-21 广东帝达聚智能科技有限责任公司 Situation location sense answers contextual model control device
CN206684809U (en) * 2017-03-24 2017-11-28 湖南工业大学 A kind of possess the automatic cloth of subregion and withdraw a garrison the safety defense monitoring system of function
CN109842780A (en) * 2017-11-29 2019-06-04 西安玖诚玖谊实业有限公司 A kind of switching method of Multimode Intelligent security system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7042353B2 (en) * 2003-02-03 2006-05-09 Ingrid, Inc. Cordless telephone system
US10332059B2 (en) * 2013-03-14 2019-06-25 Google Llc Security scoring in a smart-sensored home

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4075800B2 (en) * 2003-12-26 2008-04-16 トヨタ自動車株式会社 White line detector
CN102447784A (en) * 2011-10-25 2012-05-09 深圳桑菲消费通信有限公司 Setting method of scenario reduction mode and device
CN103747202A (en) * 2013-08-30 2014-04-23 深圳辉锐天眼科技有限公司 Intelligent security and protection system's multiple working mode definition and switching method
CN103714644A (en) * 2013-09-29 2014-04-09 深圳市中兴新地通信器材有限公司 Indoor security system and security method thereof
CN104717456A (en) * 2013-12-11 2015-06-17 杭州海康威视数字技术股份有限公司 Method and device for processing mobile detection
CN203720968U (en) * 2014-02-28 2014-07-16 四川为民科技有限公司 Multi-defense-zone electronic fence central controller
CN206684809U (en) * 2017-03-24 2017-11-28 湖南工业大学 A kind of possess the automatic cloth of subregion and withdraw a garrison the safety defense monitoring system of function
CN106970600A (en) * 2017-03-31 2017-07-21 广东帝达聚智能科技有限责任公司 Situation location sense answers contextual model control device
CN109842780A (en) * 2017-11-29 2019-06-04 西安玖诚玖谊实业有限公司 A kind of switching method of Multimode Intelligent security system

Also Published As

Publication number Publication date
CN110580804A (en) 2019-12-17

Similar Documents

Publication Publication Date Title
US7162517B2 (en) Timekeeping apparatus providing premises-automation-related function through a network
US10205343B2 (en) Smart power node
KR101432869B1 (en) Alarm unit and alarm system
EP1190402B1 (en) Programmable security alarm system
CN109802871B (en) Control method of intelligent security system
CN105892418A (en) Smart home device control method and device
WO2011085112A1 (en) Control system, security system and method of monitoring a location
CA2623068A1 (en) Systems and methods for infrastructure reporting
US9501911B2 (en) Automatic illuminating user interface device
CN204648819U (en) A kind of refrigerator with remote prompting function
CN105974807A (en) Intelligent household control system
CN107634887B (en) Message processing method and device and intelligent control system
EP2698774B1 (en) A method and a device for controlling a security system
CN203260136U (en) Household security device based on GSM network and 2G wireless technology
CN110580804B (en) Security alarm method for indoor unit multi-mode multi-defense area
JP2004208021A (en) Security system
CN102185893A (en) Intelligent dormitory monitoring system based on ZigBee wireless technology
US9177463B2 (en) Alarm system with smart sensors
EP3343314A1 (en) A method and a device for handling power failures in home wireless systems
CA3014950C (en) Systems and methods for transmitting an updated partition state to sensors or devices
CN104143242A (en) Wireless anti-theft alarm system
CN113852528A (en) Message processing method and device, nonvolatile storage medium and electronic device
CN105444215A (en) Fireproof safety system for kitchen range and management method
CN114764955A (en) Intelligent lock control method, device, equipment and storage medium
JPH11328558A (en) Guard terminal device

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