CN110881278A - Alarm method, device and computer readable medium - Google Patents

Alarm method, device and computer readable medium Download PDF

Info

Publication number
CN110881278A
CN110881278A CN201880000640.9A CN201880000640A CN110881278A CN 110881278 A CN110881278 A CN 110881278A CN 201880000640 A CN201880000640 A CN 201880000640A CN 110881278 A CN110881278 A CN 110881278A
Authority
CN
China
Prior art keywords
alarm
controller
action
information
control signal
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
Application number
CN201880000640.9A
Other languages
Chinese (zh)
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.)
Shenzhen JBT Smart Lighting Co Ltd
Original Assignee
Shenzhen JBT Smart Lighting 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 Shenzhen JBT Smart Lighting Co Ltd filed Critical Shenzhen JBT Smart Lighting Co Ltd
Publication of CN110881278A publication Critical patent/CN110881278A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B7/00Signalling systems according to more than one of groups G08B3/00 - G08B6/00; Personal calling systems according to more than one of groups G08B3/00 - G08B6/00
    • G08B7/06Signalling systems according to more than one of groups G08B3/00 - G08B6/00; Personal calling systems according to more than one of groups G08B3/00 - G08B6/00 using electric transmission, e.g. involving audible and visible signalling through the use of sound and light sources
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/12Alarms for ensuring the safety of persons responsive to undesired emission of substances, e.g. pollution alarms
    • G08B21/14Toxic gas alarms
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/182Level alarms, e.g. alarms responsive to variables exceeding a threshold
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/185Electrical failure alarms
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/187Machine fault alarms
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Emergency Alarm Devices (AREA)

Abstract

The application provides an alarming method, an alarming device and a computer readable medium, which relate to the technical field of intelligent control, wherein the method comprises the steps that a controller acquires the gas concentration of a gas to be detected, which is acquired by a sensing device, the type of the sensing device is at least one, and each sensing device is configured to acquire at least one gas to be detected; the controller analyzes the gas concentration, and generates alarm information under the condition that the analyzed gas concentration is greater than or equal to a preset threshold value, wherein the alarm information comprises: the type of the sensing device and the alarm level of the sensing device; the controller sends a control signal to the intelligent household equipment based on the alarm information so that the intelligent household equipment executes an alarm action based on the control signal, and the technical problem that the existing intelligent household equipment cannot realize linkage control with the alarm detection device is solved.

Description

Alarm method, device and computer readable medium
Technical Field
The present application relates to the field of intelligent control technologies, and in particular, to an alarm method, an alarm device, and a computer-readable medium.
Background
With the rapid development of intelligent control technology, more and more intelligent devices are provided, such as an intelligent air conditioner, an intelligent refrigerator, an intelligent electric cooker, and the like, and the intelligent devices gradually enter thousands of households. The smart home devices developed therewith gradually enter the lives of people. The intelligent household equipment can be conveniently controlled by a user. For example, a user may remotely control the smart home device through a client installed on the terminal device.
In the prior art, a user may control a smart home device through a terminal device at home, for example, control a home device such as an air conditioner, a refrigerator, a curtain, and a television at home. The user can also control the smart home equipment through the terminal device before arriving at home, for example, before arriving at home, control the water heater to be turned on, or control the air conditioner to be turned on, and the like.
However, for the existing smart home devices, the user can only control the smart home devices, but the smart home devices cannot be linked with other electrical devices in the home. For example, when an alarm detection device is installed at home, the alarm detection device typically sends an alarm message to the user's terminal device to alert the user. However, the existing alarm detection device cannot be linked with the intelligent household equipment.
Disclosure of Invention
In view of this, the object of the present application includes: the alarm method, the alarm device and the computer readable medium are provided to solve the technical problem that the existing intelligent household equipment cannot realize linkage control with an alarm detection device.
In a first aspect, an embodiment of the present application provides an alarm method, which is applied to a controller of an intelligent home device, and the method includes: the controller acquires the gas concentration of the gas to be detected, which is acquired by the sensing device; the controller is right gas concentration carries out the analysis to when analyzing out gas concentration is greater than or equal to the condition of predetermineeing the threshold value, generate alarm information, wherein, alarm information includes: the type of the sensing device and the alarm level of the sensing device; and the controller sends a control signal to the intelligent household equipment based on the alarm information so that the intelligent household equipment executes an alarm action based on the control signal.
Optionally, the sending, by the controller, a control signal to the smart home device based on the alarm information includes: the controller inquires an alarm action corresponding to the alarm information from a target mapping table, wherein the target mapping table comprises a corresponding relation between the alarm information and the alarm action of the intelligent household equipment; the controller generates the control signal based on the corresponding alarm action and sends the control signal to the intelligent household equipment.
Optionally, the method further comprises: acquiring configuration information sent by a user through a terminal, wherein the configuration information is information configuring the corresponding relation between alarm information and alarm action of the intelligent household equipment; updating the target mapping table based on the configuration information.
Optionally, the smart home device includes a smart lamp; the controller sends control signal to intelligent household equipment based on alarm information still includes: the controller determines a first alarm action matched with the intelligent lamp based on the alarm information, wherein the first alarm action is determined by at least one of the following parameters: the color of the intelligent lamp, the brightness of the intelligent lamp and the flicker frequency of the intelligent lamp; the controller generates a first control signal based on the first alarm action and sends the first control signal to the intelligent lamp so that the intelligent lamp executes the first alarm action.
Optionally, the controller determining, based on the alarm information, a first alarm action that matches the smart lamp includes: the controller determines an alarm color of the intelligent lamp based on the alarm information; the controller determines the alarm brightness of the intelligent lamp based on the alarm information; the controller determines an alarm flicker frequency of the intelligent lamp based on the alarm information; and determining the first alarm action based on the alarm color, the alarm brightness and the alarm flicker frequency.
Optionally, the smart home device includes an alarm buzzer; the controller sends control signal to intelligent household equipment based on alarm information includes: the controller determines a second alarm action matched with the alarm buzzer based on the alarm information, wherein the second alarm action is determined by at least one of the following parameters: the sound intensity of the alarm buzzer, the frequency of the alarm buzzer and the alarm interval of the alarm buzzer; and the controller generates a second control signal based on the second alarm action and sends the second control signal to the alarm buzzer so as to enable the alarm buzzer to execute the second alarm action.
Optionally, the controller determining, based on the alarm information, a second alarm action matching the alarm buzzer includes: the controller determines the alarm sound intensity of the alarm buzzer based on the alarm information; the controller determines the alarm frequency of the alarm buzzer based on the alarm information; the controller determines an alarm interval of the alarm buzzer based on the alarm information; determining the second alert action based on the alert sound intensity, the alert frequency, and the alert interval.
Optionally, after analyzing the gas concentration and generating an alarm message when the gas concentration is greater than or equal to a preset threshold, the method further includes: sending the first byte and the second byte to a client on the terminal; the first byte is used for representing the type of a sensing device in the alarm information, and each bit in the first byte corresponds to the type of the sensing device; the second byte is used for representing the alarm level of the sensing device in the alarm information, and each bit in the second byte corresponds to the alarm level of one sensing device.
In a second aspect, an embodiment of the present application further provides an alarm system, including: the intelligent household equipment comprises a sensing device and a controller of the intelligent household equipment; the sensing device is configured to collect a gas concentration of a gas to be detected; the controller is configured to acquire the gas concentration of the gas to be detected, which is acquired by the sensing device; the controller is further configured to analyze the gas concentration and generate alarm information when the gas concentration is greater than or equal to a preset threshold value, wherein the alarm information includes: the type of the sensing device and the alarm level of the sensing device; the controller is further configured to send a control signal to the smart home device based on the alarm information, so that the smart home device executes an alarm action based on the control signal.
Optionally, the controller comprises: the query module is configured to query an alarm action corresponding to the alarm information from a target mapping table, wherein the target mapping table comprises a corresponding relation between the alarm information and the alarm action of the intelligent household equipment; and the first generating module is configured to generate the control signal based on the corresponding alarm action and send the control signal to the intelligent household equipment.
Optionally, the controller further comprises: the intelligent home equipment comprises an acquisition module, a processing module and a display module, wherein the acquisition module is configured to acquire configuration information sent by a user through a terminal, and the configuration information is information configuring the corresponding relation between alarm information and alarm action of the intelligent home equipment; an update module configured to update the target mapping table based on the configuration information.
Optionally, the smart home device includes a smart lamp; the controller further includes: a first determination module configured to determine a first alarm action matching the smart lamp based on the alarm information, wherein the first alarm action is determined by at least one of the following parameters: the color of the intelligent lamp, the brightness of the intelligent lamp and the flicker frequency of the intelligent lamp; a second generating module configured to generate a first control signal based on the first alarm action and send the first control signal to the smart light to cause the smart light to perform the first alarm action.
Optionally, the first determining module is further configured to: the controller determines an alarm color of the intelligent lamp based on the alarm information; the controller determines the alarm brightness of the intelligent lamp based on the alarm information; the controller determines an alarm flicker frequency of the intelligent lamp based on the alarm information; and determining the first alarm action based on the alarm color, the alarm brightness and the alarm flicker frequency.
Optionally, the smart home device includes an alarm buzzer; the controller further includes: a second determination module configured to determine a second alarm action matching the alarm buzzer based on the alarm information, wherein the second alarm action is determined by at least one of the following parameters: the sound intensity of the alarm buzzer, the frequency of the alarm buzzer and the alarm interval of the alarm buzzer; a third generating module configured to generate a second control signal based on the second alarm action and send the second control signal to the alarm buzzer, so that the alarm buzzer executes the second alarm action.
In a third aspect, an embodiment of the present application further provides a computer-readable medium having non-volatile program code executable by a processor, where the program code causes the processor to execute any one of the methods described above.
In the embodiment of the application, the controller firstly obtains the gas concentration of the gas to be detected, which is collected by the sensing devices, wherein the type of the sensing devices is at least one, and each sensing device is configured to collect at least one gas to be detected; afterwards, the controller analyzes the gas concentration, and generates alarm information when analyzing that the gas concentration is greater than or equal to a preset threshold value, wherein the alarm information comprises: the type of the sensing device and the alarm level of the sensing device; and finally, the controller sends a control signal to the intelligent household equipment based on the alarm information so that the intelligent household equipment executes an alarm action based on the control signal.
According to the description, in the controller of the smart home device, by adopting the method provided by the embodiment, the linkage control between the smart home device and the alarm detection device can be realized, so that the alarm action can be executed through the smart home device, not only controlled by a user, and further the technical problem that the existing smart home device cannot realize the linkage control with the alarm detection device is solved.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the detailed description of the present application or the technical solutions in the prior art, the drawings needed to be used in the detailed description of the present application or the prior art description will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart of a method of alerting according to an embodiment of the present application;
fig. 2 is a flowchart illustrating an optional sending of a control signal to an intelligent home device based on alarm information according to an embodiment of the present application;
fig. 3 is a flowchart illustrating another alternative process of sending a control signal to a smart home device based on alarm information according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an alarm system according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In accordance with an embodiment of the present application, there is provided an embodiment of a method of alerting, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a flowchart of an alarm method according to an embodiment of the present application, and as shown in fig. 1, the method is applied to a controller of a smart home device, and includes the following steps:
step S102, the controller acquires the gas concentration of the gas to be detected, which is acquired by the sensing devices, wherein the type of the sensing devices is at least one, and each sensing device is configured to acquire at least one gas to be detected;
step S104, the controller analyzes the gas concentration and generates alarm information under the condition that the gas concentration is greater than or equal to a preset threshold value, wherein the alarm information comprises: the type of the sensing device and the alarm level of the sensing device;
and S106, the controller sends a control signal to the intelligent household equipment based on the alarm information so that the intelligent household equipment executes an alarm action based on the control signal.
According to the description, in the controller of the smart home device, by adopting the method provided by the embodiment, the linkage control between the smart home device and the alarm detection device can be realized, so that the alarm action can be executed through the smart home device, not only controlled by a user, and further the technical problem that the existing smart home device cannot realize the linkage control with the alarm detection device is solved.
In this embodiment, a plurality of sensing devices (i.e., a plurality of sensors) that detect the concentration of the gas to be detected may be placed in the home. For example, a sensor for detecting combustible gas, a sensor for detecting carbon dioxide gas, a sensor for detecting formaldehyde, and the like. The plurality of sensing devices can be arranged at each corner of the home, and each sensing device is in wireless connection with the controller of the intelligent household equipment.
In an embodiment of the present application, the gas concentration of the gas to be detected may be collected by the sensing device. After the gas concentration is detected, the gas concentration is sent to a controller of the intelligent household equipment through the wireless connection module. The controller analyzes the gas concentration after acquiring the gas concentration to determine whether the gas concentration is greater than or equal to a preset threshold. And if yes, generating alarm information, and sending a control signal to the intelligent household equipment based on the alarm information so that the intelligent household equipment executes an alarm action based on the control signal.
It should be noted that, in the embodiment of the present application, since the types of the gases to be detected can be multiple, in this case, the gas concentrations of multiple gases to be detected, and further, multiple gas concentrations are obtained. And if at least one of the plurality of gas concentrations is judged to exceed a preset threshold (the preset threshold is a concentration threshold corresponding to the gas concentration), alarm information is generated.
It should be further noted that the preset threshold corresponding to each gas to be detected may be the same or different, and may be specifically set according to actual needs.
For example, the preset threshold value set for combustible gas is a1, the preset threshold value set for carbon dioxide gas is a2, and the preset threshold value set for formaldehyde is A3. Generating alarm information if it is analyzed that at least one of the following conditions is met: the gas concentration of the combustible gas is greater than or equal to a preset threshold A1, the gas concentration of the carbon dioxide gas is greater than or equal to a preset threshold A2, and the gas concentration of the formaldehyde is greater than or equal to a preset threshold A3.
In an optional implementation manner of this embodiment, in step S106, the sending, by the controller, the control signal to the smart home device based on the alarm includes the following steps:
step S1061, the controller queries an alarm action corresponding to the alarm information from a target mapping table, wherein the target mapping table includes a corresponding relationship between the alarm information and the alarm action of the smart home device;
step S1062, the controller generates the control signal based on the corresponding alarm action, and sends the control signal to the smart home device.
In this embodiment, the controller generates alarm information after analyzing that the gas concentration of the gas to be detected is greater than the preset threshold, where the alarm information includes the type of the sensing device and the alarm level of the sensing device, and the alarm level of the sensing device may be determined according to the gas concentration.
After the alert information is generated, an alert action corresponding to the alert information may be queried from the target mapping table. The target mapping table comprises a corresponding relation between alarm information and alarm actions of the intelligent household equipment.
After the alarm action is inquired, the controller can generate a control signal based on the corresponding alarm action so as to control the intelligent household equipment to execute the alarm action.
It should be noted that, in this embodiment, when the sensing device is in a state of insufficient power, a signal of insufficient power is also sent to the controller, and after the controller acquires the signal, alarm information is generated by the controller, where the alarm information is used to remind a user that the power of the sensing device is insufficient, and the alarm information at this time includes: the type of the sensing device with insufficient electric quantity and the identification information of the sensing device in the state of insufficient electric quantity. When the controller obtains the alarm information, the controller can also inquire corresponding alarm actions from the target mapping table, generate control signals based on the corresponding alarm actions, and send the control signals to the intelligent household equipment.
It should be further noted that, in this embodiment, when the sensing device is damaged, if the sensing device is capable of sending a signal to the controller, the sensing device sends a signal that the sensing device is damaged to the controller, and after the controller acquires the signal, the controller generates alarm information, where the alarm information is used to remind a user of the damage of the sensing device, and the alarm information at this time includes: the type of the damaged sensing device, and identification information that the sensing device is in a damaged state. When the controller obtains the alarm information, the controller can also inquire corresponding alarm actions from the target mapping table, generate control signals based on the corresponding alarm actions, and send the control signals to the intelligent household equipment.
In another alternative embodiment, the user may modify the target mapping table.
Specifically, the controller may obtain configuration information sent by a user through a terminal, where the configuration information is information configuring a correspondence between alarm information and an alarm action of the smart home device; then, the target mapping table is updated based on the configuration information.
In this embodiment, the user may set an alarm action corresponding to each alarm information through the client, thereby implementing personalized configuration of the alarm action.
In another alternative embodiment, as shown in fig. 2, if the smart home device includes a smart light; then, in step S106, the controller sending a control signal to the smart home device based on the alarm information further includes the following steps:
step S201, the controller determines a first alarm action matched with the intelligent lamp based on the alarm information, wherein the first alarm action is determined by at least one of the following parameters: the color of the intelligent lamp, the brightness of the intelligent lamp and the flicker frequency of the intelligent lamp;
optionally, the controller determining, based on the alarm information, a first alarm action that matches the smart lamp includes: the controller determines an alarm color of the intelligent lamp based on the alarm information; the controller determines the alarm brightness of the intelligent lamp based on the alarm information; the controller determines an alarm flicker frequency of the intelligent lamp based on the alarm information; and determining the first alarm action based on the alarm color, the alarm brightness and the alarm flicker frequency.
Step S202, the controller generates a first control signal based on the first alarm action, and sends the first control signal to the intelligent lamp, so that the intelligent lamp executes the first alarm action.
In this embodiment, if the smart home device is a smart lamp, after the controller obtains the alarm information, a first alarm action matched with the smart lamp may be determined from the target mapping table. For example, the alarm color of the intelligent lamp, the alarm brightness of the intelligent lamp, and the alarm flashing frequency of the intelligent lamp may be determined. And finally, determining the first alarm action based on the alarm color, the alarm brightness and the alarm flicker frequency.
After determining the first alert action, a first control signal may be generated based on the first alert action and sent to the smart light to cause the smart light to perform the first alert action.
As can be seen from the above description, in this embodiment, the corresponding alarm actions are set for different alarm information, so that the user can determine the alarm sensing device and the alarm level of the sensing device more intuitively, and the user does not need to check the alarm sensing device from the client of the terminal device.
In another alternative embodiment, as shown in fig. 3, if the smart home device includes an alarm buzzer; then, in step S106, the controller sending a control signal to the smart home device based on the alarm information includes the following steps:
step S301, the controller determines a second alarm action matched with the alarm buzzer based on the alarm information, wherein the second alarm action is determined by at least one of the following parameters: the sound intensity of the alarm buzzer, the frequency of the alarm buzzer and the alarm interval of the alarm buzzer;
optionally, the controller determining, based on the alarm information, a second alarm action matching the alarm buzzer includes: the controller determines the alarm sound intensity of the alarm buzzer based on the alarm information; the controller determines the alarm frequency of the alarm buzzer based on the alarm information; the controller determines an alarm interval of the alarm buzzer based on the alarm information; determining the second alert action based on the alert sound intensity, the alert frequency, and the alert interval.
Step S302, the controller generates a second control signal based on the second alarm action, and sends the second control signal to the alarm buzzer, so that the alarm buzzer executes the second alarm action.
In this embodiment, if the smart home device is an alarm buzzer, after the controller obtains the alarm information, a second alarm action matched with the alarm buzzer may be determined from the target mapping table. For example, the alarm sound intensity of the alarm buzzer, the alarm frequency of the alarm buzzer, and the alarm interval of the alarm buzzer may be determined. Finally, the second alert action is determined based on the alert sound intensity, the alert frequency, and the alert interval.
After determining the second alarm action, a second control signal may be generated based on the second alarm action and sent to the alarm buzzer to cause the alarm buzzer to perform the first alarm action.
As can be seen from the above description, in this embodiment, the corresponding alarm actions are set for different alarm information, so that the user can determine the alarm sensing device and the alarm level of the sensing device more intuitively, and the user does not need to check the alarm sensing device from the client of the terminal device.
As can be seen from the above description, in this embodiment, the sensing device is directly linked with the smart home device, for example, directly connected with the smart lamp in the home or other devices capable of alarming, and then analyzes the data through the controller inside the smart lamp, and simultaneously controls the lamp in the color, brightness, flashing frequency and other modes according to different levels, so as to realize the linkage of the smart home. Or controlling an alarm in the home to alarm according to different sound intensity, frequency and interval.
It should be noted that, in the whole process, the participation of the client APP is not needed, but the definition of the lamp can be realized through the APP, for example, what color should appear in the lamp if the alarm is a primary alarm is defined, and after the definition, the lamp is executed according to the defined color in the later execution process.
In this embodiment, after analyzing the gas concentration and generating an alarm message when the gas concentration is greater than or equal to a preset threshold, the method further includes:
sending the first byte and the second byte to a client on the terminal;
the first byte is used for representing the type of a sensing device in the alarm information, and each bit in the first byte corresponds to the type of the sensing device; the second byte is used for representing the alarm level of the sensing device in the alarm information, and each bit in the second byte corresponds to the alarm level of one sensing device.
When one or more sensing devices detect that the gas concentration of the gas to be detected exceeds the standard, a signal is sent to the client APP. In this application, the signal is at least two bytes, where one byte represents the sensor class, e.g., carbon dioxide sensor, and the other byte represents the alarm class.
Wherein, a byte comprises 8 bits, each bit can be defined as a category, and the alarm categories are arranged in a grading way. For example, the high 4 of the 8 bits correspond to a first-level alarm, wherein the first-level alarm is divided into 4 levels, and each level corresponds to different gas concentrations; the lower 4 bits of the 8 bits respectively correspond to a second-level alarm, a third-level alarm, a fourth-level alarm and the like, wherein the second-level alarm is that the electric quantity of the sensing device is insufficient, the third-level alarm is that the detection device is damaged, and the fourth-level alarm is that the sensing device detects abnormity.
In this embodiment, through this mode of setting up, when realizing the linkage between sensing device and the intelligent household equipment, can also in time pass through user sensing device's behavior to and wait to detect the concentration condition of gaseous at home.
The embodiment of the present application further provides an alarm system, which is mainly used for executing the alarm method provided by the foregoing content of the embodiment of the present application, and the following provides a detailed description of the alarm system provided by the embodiment of the present application.
Fig. 4 is a schematic diagram of an alarm system according to an embodiment of the present application, and as shown in fig. 4, the alarm system mainly includes a sensing device 10 and a controller 20 of a smart home device, where:
the sensing device is configured to collect a gas concentration of a gas to be detected;
the controller is configured to acquire the gas concentration of the gas to be detected, which is acquired by the sensing devices, wherein the variety of the sensing devices is at least one, and each sensing device is configured to acquire at least one gas to be detected;
the controller is further configured to analyze the gas concentration and generate alarm information when the gas concentration is greater than or equal to a preset threshold value, wherein the alarm information includes: the type of the sensing device and the alarm level of the sensing device;
the controller is further configured to send a control signal to the smart home device based on the alarm information, so that the smart home device executes an alarm action based on the control signal.
According to the description, the method provided by the embodiment is adopted for the controller of the intelligent household equipment, and linkage control between the intelligent household equipment and the alarm detection device can be realized, so that alarm actions can be executed through the intelligent household equipment, and the intelligent household equipment is not only controlled by a user, and further the technical problem that the existing intelligent household equipment cannot realize linkage control with the alarm detection device is solved.
Optionally, the controller comprises: the query module is configured to query an alarm action corresponding to the alarm information from a target mapping table, wherein the target mapping table comprises a corresponding relation between the alarm information and the alarm action of the intelligent household equipment; and the first generating module is configured to generate the control signal based on the corresponding alarm action and send the control signal to the intelligent household equipment.
Optionally, the controller further comprises: the intelligent home equipment comprises an acquisition module, a processing module and a display module, wherein the acquisition module is configured to acquire configuration information sent by a user through a terminal, and the configuration information is information configuring the corresponding relation between alarm information and alarm action of the intelligent home equipment; an update module configured to update the target mapping table based on the configuration information.
Optionally, the smart home device includes a smart lamp; the controller further includes: a first determination module configured to determine a first alarm action matching the smart lamp based on the alarm information, wherein the first alarm action is determined by at least one of the following parameters: the color of the intelligent lamp, the brightness of the intelligent lamp and the flicker frequency of the intelligent lamp; a second generating module configured to generate a first control signal based on the first alarm action and send the first control signal to the smart light to cause the smart light to perform the first alarm action.
Optionally, the first determining module is further configured to: determining an alarm color of the intelligent lamp based on the alarm information; determining the alarm brightness of the intelligent lamp based on the alarm information; the controller determines an alarm flicker frequency of the intelligent lamp based on the alarm information; and determining the first alarm action based on the alarm color, the alarm brightness and the alarm flicker frequency.
Optionally, the smart home device includes an alarm buzzer; the controller further includes: a second determination module configured to determine a second alarm action matching the alarm buzzer based on the alarm information, wherein the second alarm action is determined by at least one of the following parameters: the sound intensity of the alarm buzzer, the frequency of the alarm buzzer and the alarm interval of the alarm buzzer; a third generating module configured to generate a second control signal based on the second alarm action and send the second control signal to the alarm buzzer, so that the alarm buzzer executes the second alarm action.
Optionally, the second determining module is further configured to: determining the alarm sound intensity of the alarm buzzer based on the alarm information; determining the alarm frequency of the alarm buzzer based on the alarm information; determining an alarm interval of the alarm buzzer based on the alarm information; determining the second alert action based on the alert sound intensity, the alert frequency, and the alert interval.
Optionally, the controller is further configured to: analyzing the gas concentration, and sending a first byte and a second byte to a client on a terminal after generating alarm information under the condition that the gas concentration is analyzed to be greater than or equal to a preset threshold value; the first byte is used for representing the type of a sensing device in the alarm information, and each bit in the first byte corresponds to the type of the sensing device; the second byte is used for representing the alarm level of the sensing device in the alarm information, and each bit in the second byte corresponds to the alarm level of one sensing device.
The system provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiment, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiment where no part of the embodiment of the apparatus is mentioned.
In this embodiment, there is also provided a computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform any of the above-described alarm methods.
In addition, in the description of the embodiments of the present application, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present application. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Industrial applicability
The alarm method, the alarm device and the computer readable medium provided by the embodiment of the application can be applied to controllers of various intelligent household devices. Linkage control between the intelligent household equipment and the alarm detection device can be achieved, alarm actions can be executed through the intelligent household equipment, and the intelligent household equipment is not only controlled by a user, so that functions of the intelligent household equipment are diversified.

Claims (15)

1. The alarm method is characterized by being applied to a controller of intelligent household equipment, and comprises the following steps:
the controller acquires the gas concentration of the gas to be detected, which is acquired by the sensing device;
the controller is right gas concentration carries out the analysis to when analyzing out gas concentration is greater than or equal to the condition of predetermineeing the threshold value, generate alarm information, wherein, alarm information includes: the type of the sensing device and the alarm level of the sensing device;
and the controller sends a control signal to the intelligent household equipment based on the alarm information so that the intelligent household equipment executes an alarm action based on the control signal.
2. The method of claim 1, wherein the controller sending a control signal to a smart home device based on the alarm information comprises:
the controller inquires an alarm action corresponding to the alarm information from a target mapping table, wherein the target mapping table comprises a corresponding relation between the alarm information and the alarm action of the intelligent household equipment;
the controller generates the control signal based on the corresponding alarm action and sends the control signal to the intelligent household equipment.
3. The method of claim 2, further comprising:
acquiring configuration information sent by a user through a terminal, wherein the configuration information is information configuring the corresponding relation between alarm information and alarm action of the intelligent household equipment;
updating the target mapping table based on the configuration information.
4. The method according to any one of claims 1 to 3, wherein the smart home device comprises a smart light;
the controller sends control signal to intelligent household equipment based on alarm information still includes:
the controller determines a first alarm action matched with the intelligent lamp based on the alarm information, wherein the first alarm action is determined by at least one of the following parameters: the color of the intelligent lamp, the brightness of the intelligent lamp and the flicker frequency of the intelligent lamp;
the controller generates a first control signal based on the first alarm action and sends the first control signal to the intelligent lamp so that the intelligent lamp executes the first alarm action.
5. The method of claim 4, wherein the controller determining, based on the alert information, a first alert action that matches the smart lamp comprises:
the controller determines an alarm color of the intelligent lamp based on the alarm information;
the controller determines the alarm brightness of the intelligent lamp based on the alarm information;
the controller determines an alarm flicker frequency of the intelligent lamp based on the alarm information;
and determining the first alarm action based on the alarm color, the alarm brightness and the alarm flicker frequency.
6. The method according to any one of claims 1 to 5, wherein the smart home device comprises an alarm buzzer;
the controller sends control signal to intelligent household equipment based on alarm information includes:
the controller determines a second alarm action matched with the alarm buzzer based on the alarm information, wherein the second alarm action is determined by at least one of the following parameters: the sound intensity of the alarm buzzer, the frequency of the alarm buzzer and the alarm interval of the alarm buzzer;
and the controller generates a second control signal based on the second alarm action and sends the second control signal to the alarm buzzer so as to enable the alarm buzzer to execute the second alarm action.
7. The method of claim 6, wherein the controller determining, based on the alarm information, a second alarm action that matches the alarm buzzer comprises:
the controller determines the alarm sound intensity of the alarm buzzer based on the alarm information;
the controller determines the alarm frequency of the alarm buzzer based on the alarm information;
the controller determines an alarm interval of the alarm buzzer based on the alarm information;
determining the second alert action based on the alert sound intensity, the alert frequency, and the alert interval.
8. The method according to any one of claims 1 to 7, wherein after analyzing the gas concentration and generating an alarm message in a case where it is analyzed that the gas concentration is greater than or equal to a preset threshold, the method further comprises:
sending the first byte and the second byte to a client on the terminal;
the first byte is used for representing the type of a sensing device in the alarm information, and each bit in the first byte corresponds to the type of the sensing device; the second byte is used for representing the alarm level of the sensing device in the alarm information, and each bit in the second byte corresponds to the alarm level of one sensing device.
9. An alarm system, comprising: the intelligent household equipment comprises a sensing device and a controller of the intelligent household equipment;
the sensing device is configured to collect a gas concentration of a gas to be detected;
the controller is configured to acquire the gas concentration of the gas to be detected, which is acquired by the sensing device;
the controller is further configured to analyze the gas concentration and generate alarm information when the gas concentration is greater than or equal to a preset threshold value, wherein the alarm information includes: the type of the sensing device and the alarm level of the sensing device;
the controller is further configured to send a control signal to the smart home device based on the alarm information, so that the smart home device executes an alarm action based on the control signal.
10. The system of claim 9, wherein the controller comprises:
the query module is configured to query an alarm action corresponding to the alarm information from a target mapping table, wherein the target mapping table comprises a corresponding relation between the alarm information and the alarm action of the intelligent household equipment;
and the first generating module is configured to generate the control signal based on the corresponding alarm action and send the control signal to the intelligent household equipment.
11. The system of claim 10, wherein the controller further comprises:
the intelligent home equipment comprises an acquisition module, a processing module and a display module, wherein the acquisition module is configured to acquire configuration information sent by a user through a terminal, and the configuration information is information configuring the corresponding relation between alarm information and alarm action of the intelligent home equipment;
an update module configured to update the target mapping table based on the configuration information.
12. The system according to any one of claims 9 to 11, wherein the smart home device comprises a smart light; the controller further includes:
a first determination module configured to determine a first alarm action matching the smart lamp based on the alarm information, wherein the first alarm action is determined by at least one of the following parameters: the color of the intelligent lamp, the brightness of the intelligent lamp and the flicker frequency of the intelligent lamp;
a second generating module configured to generate a first control signal based on the first alarm action and send the first control signal to the smart light to cause the smart light to perform the first alarm action.
13. The system of claim 12, wherein the first determination module is further configured to:
determining an alarm color of the intelligent lamp based on the alarm information;
determining the alarm brightness of the intelligent lamp based on the alarm information;
determining an alarm flicker frequency of the intelligent lamp based on the alarm information;
and determining the first alarm action based on the alarm color, the alarm brightness and the alarm flicker frequency.
14. The system according to any one of claims 9 to 13, wherein the smart home device comprises an alarm buzzer; the controller further includes:
a second determination module configured to determine a second alarm action matching the alarm buzzer based on the alarm information, wherein the second alarm action is determined by at least one of the following parameters: the sound intensity of the alarm buzzer, the frequency of the alarm buzzer and the alarm interval of the alarm buzzer;
a third generating module configured to generate a second control signal based on the second alarm action and send the second control signal to the alarm buzzer, so that the alarm buzzer executes the second alarm action.
15. A computer-readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the method of any of claims 1-8.
CN201880000640.9A 2018-05-31 2018-05-31 Alarm method, device and computer readable medium Pending CN110881278A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/089256 WO2019227392A1 (en) 2018-05-31 2018-05-31 Alarm method and device, and computer readable medium

Publications (1)

Publication Number Publication Date
CN110881278A true CN110881278A (en) 2020-03-13

Family

ID=68697238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880000640.9A Pending CN110881278A (en) 2018-05-31 2018-05-31 Alarm method, device and computer readable medium

Country Status (2)

Country Link
CN (1) CN110881278A (en)
WO (1) WO2019227392A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114038137A (en) * 2021-10-30 2022-02-11 深圳市艾美迪电子科技有限公司 Lower limb fracture rehabilitation nursing method, system, terminal and storage medium
CN114241735A (en) * 2021-12-24 2022-03-25 长春昆仑建设股份有限公司 Method and system for high risk positioning in sensing data loading IP address model

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113593192A (en) * 2021-06-27 2021-11-02 广州智特信息科技有限公司 Gas safety linkage control method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201387414Y (en) * 2008-12-20 2010-01-20 杜向阳 Indoor air environment monitor
CN102521947A (en) * 2011-12-28 2012-06-27 河南汉威电子股份有限公司 Carbon dioxide concentration alarming device and method thereof
CN102797501A (en) * 2012-08-07 2012-11-28 哈尔滨东方报警设备开发有限公司 Wireless portable gas detection alarm control method
CN204557717U (en) * 2015-04-16 2015-08-12 福建师范大学 A kind of device automatically monitoring museum's safety case
CN105096545A (en) * 2015-08-28 2015-11-25 广东奥迪威传感科技股份有限公司 Intelligent alarm system and method
CN105444349A (en) * 2015-11-27 2016-03-30 小米科技有限责任公司 Indoor air purification method and device
CN205508022U (en) * 2016-03-04 2016-08-24 深圳万慧通自动化有限公司 Intelligence audible -visual annunciator
CN106127986A (en) * 2016-08-29 2016-11-16 龙元 The window theft-proof that a kind of APP controls is remotely and local alarm system
CN106124703A (en) * 2016-07-06 2016-11-16 中山市森灿光电科技有限公司 Intelligent indoor air detection management system
CN106996619A (en) * 2017-03-28 2017-08-01 深圳市元征科技股份有限公司 A kind of Detection of Air Quality method and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5705428B2 (en) * 2009-04-15 2015-04-22 矢崎エナジーシステム株式会社 Gas alarm
CN203164721U (en) * 2013-03-13 2013-08-28 安徽工程大学 Indoor environment monitoring device
CN107918998A (en) * 2017-11-30 2018-04-17 孟笛 A kind of Household fuel gas leakage monitoring and pre-warning system and method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201387414Y (en) * 2008-12-20 2010-01-20 杜向阳 Indoor air environment monitor
CN102521947A (en) * 2011-12-28 2012-06-27 河南汉威电子股份有限公司 Carbon dioxide concentration alarming device and method thereof
CN102797501A (en) * 2012-08-07 2012-11-28 哈尔滨东方报警设备开发有限公司 Wireless portable gas detection alarm control method
CN204557717U (en) * 2015-04-16 2015-08-12 福建师范大学 A kind of device automatically monitoring museum's safety case
CN105096545A (en) * 2015-08-28 2015-11-25 广东奥迪威传感科技股份有限公司 Intelligent alarm system and method
CN105444349A (en) * 2015-11-27 2016-03-30 小米科技有限责任公司 Indoor air purification method and device
CN205508022U (en) * 2016-03-04 2016-08-24 深圳万慧通自动化有限公司 Intelligence audible -visual annunciator
CN106124703A (en) * 2016-07-06 2016-11-16 中山市森灿光电科技有限公司 Intelligent indoor air detection management system
CN106127986A (en) * 2016-08-29 2016-11-16 龙元 The window theft-proof that a kind of APP controls is remotely and local alarm system
CN106996619A (en) * 2017-03-28 2017-08-01 深圳市元征科技股份有限公司 A kind of Detection of Air Quality method and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
中国科学技术协会: "《首届中国湖泊论坛论文集》", 31 December 2011, 东南大学出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114038137A (en) * 2021-10-30 2022-02-11 深圳市艾美迪电子科技有限公司 Lower limb fracture rehabilitation nursing method, system, terminal and storage medium
CN114241735A (en) * 2021-12-24 2022-03-25 长春昆仑建设股份有限公司 Method and system for high risk positioning in sensing data loading IP address model
CN114241735B (en) * 2021-12-24 2023-10-24 长春昆仑建设股份有限公司 Method and system for high risk positioning of sensing data loading IP address in model

Also Published As

Publication number Publication date
WO2019227392A1 (en) 2019-12-05

Similar Documents

Publication Publication Date Title
US10741059B2 (en) Systems and methods for handling latent anomalies
EP3237809B1 (en) Systems and methods for monitoring air quality and events likely to affect air quality, and taking remedial action
EP2204787B1 (en) Communication system and alarm
CN109872491B (en) Fire monitoring method and device, electronic equipment and system
JP4659819B2 (en) Electronic device control apparatus, electronic device control method, electronic device control program, and computer-readable recording medium recording electronic device control program
CN109451882B (en) Intelligent lamp control method, device and system
US20170138626A1 (en) Controller, indoor environment adjustment system, and indoor environment adjustment method
WO2022121298A1 (en) Air conditioner alarm control method and apparatus, and electronic device and storage medium
CN111126632B (en) Household appliance fault prediction method, prediction device, refrigerator and storage medium
CN110881278A (en) Alarm method, device and computer readable medium
JP5520807B2 (en) Residential electrical equipment maintenance management device and residential electrical equipment maintenance system
CN110278135B (en) Equipment position searching method, device, gateway and storage medium
US10989426B2 (en) Information processing device, electronic apparatus, method, and program
KR101864828B1 (en) Method and apparatus for managing electornic appliance
CN109185712A (en) Gas leakage protects system and method
US20240120690A1 (en) Electrical socket system and method
CN112446536A (en) Ecological environment monitoring gridding system based on big data architecture and monitoring method thereof
CN107063336A (en) Environment detection method and device
CN106406187A (en) System and method for terminal cabinet and monitoring environment
CN109478154A (en) Gateway apparatus, firmware update and firmware update program
US11493492B2 (en) Compensation of environmentally-induced drift in an electrochemical carbon-monoxide sensor
CN108156059B (en) Instant messaging method and device of intelligent household equipment and intelligent household system
CN112328438A (en) Self-checking method and device of terminal equipment and computer storage medium
CN113496580B (en) Method and device for setting door and window sensor, electronic equipment and storage medium
KR100673706B1 (en) Environment information supply system

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200313

RJ01 Rejection of invention patent application after publication