CN116798196B - Gas safety alarm method, gas safety alarm equipment and readable storage medium - Google Patents

Gas safety alarm method, gas safety alarm equipment and readable storage medium Download PDF

Info

Publication number
CN116798196B
CN116798196B CN202311085799.4A CN202311085799A CN116798196B CN 116798196 B CN116798196 B CN 116798196B CN 202311085799 A CN202311085799 A CN 202311085799A CN 116798196 B CN116798196 B CN 116798196B
Authority
CN
China
Prior art keywords
gas
alarm
bluetooth
user
preset
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
CN202311085799.4A
Other languages
Chinese (zh)
Other versions
CN116798196A (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.)
Hunan Tianlian City Data Control Co ltd
Original Assignee
Hunan Tianlian City Data Control 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 Hunan Tianlian City Data Control Co ltd filed Critical Hunan Tianlian City Data Control Co ltd
Priority to CN202311085799.4A priority Critical patent/CN116798196B/en
Publication of CN116798196A publication Critical patent/CN116798196A/en
Application granted granted Critical
Publication of CN116798196B publication Critical patent/CN116798196B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/16Combustible gas 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/008Alarm setting and unsetting, i.e. arming or disarming of the security system
    • 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/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/08Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using communication transmission lines
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a gas safety alarm method, equipment and a readable storage medium, wherein the method comprises the following steps: if the gas leakage is detected, performing audible and visual alarm and determining the communication state of a client associated with the gas alarm; if the communication state is communication interruption, searching Bluetooth signals around the gas alarm; if the target Bluetooth signal of the user is searched, monitoring the target Bluetooth signal in real time; if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be larger than the preset amplitude threshold value within the first preset time period and the current signal intensity is smaller than the preset intensity threshold value, stopping audible and visual alarm; or if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be smaller than or equal to the preset amplitude threshold value within the first preset time period, the alarm is given to the outside. According to the application, when the gas alarm cannot carry out two-way communication with the mobile terminal based on the client, the user dynamics can be mastered based on the Bluetooth characteristic, so that the hierarchical intelligent alarm and the user safety are better ensured and balanced.

Description

Gas safety alarm method, gas safety alarm equipment and readable storage medium
Technical Field
The application relates to the technical field of alarm devices, in particular to a gas safety alarm method, gas safety alarm equipment and a computer readable storage medium.
Background
In order to avoid the gas use risk caused by the gas leakage and other situations, the installation of the gas alarm is necessary for any environment needing to use the gas, and the gas alarm can timely carry out an audible and visual alarm when the gas leakage is detected, so that a user is reminded of avoiding the risk.
The gas alarm mainly comprises a gas sensor, a gas alarm controller, an audible and visual alarm, a power supply, a shell and the like. Based on the development of the information technology of the Internet of things, a wireless communication module is also arranged in many gas alarms at present, and comprises a wifi module, a Bluetooth module and even a 4G mobile communication module, and based on the wireless communication module, related information detected by the gas alarms can be transmitted to a mobile terminal (such as a mobile phone, wearable equipment and the like) of a user, so that the user can learn the running state of the gas alarms and the gas leakage risk conveniently, and the gas risk possibly brought can be timely checked and avoided.
Some more advanced intelligent gas alarm combined users' mobile terminals also have the function of sensing human body activities when gas is leaked, so that the state of the user when gas is leaked is judged based on the acquired human body information, and hierarchical alarm is carried out.
However, the premise of implementing the above functions is that the user needs to start the client (application program) matched with the gas alarm at any time, that is, the client is required to stay in the system background of the mobile terminal all the time, most users or mobile terminals actively clean the background based on the resource allocation policy because the client occupies a large amount of system resources and high energy consumption is brought, so that the client cannot be started and run normally easily, and the hierarchical alarm function and other functions implemented by the mobile terminal are not valid.
Therefore, the conventional gas alarm is still limited to the basic functions of simple alarm and reminding, and is difficult to master the activity state and the safety condition of a user when the dangers such as gas leakage and the like occur, so that the help is difficult to be called to the outside based on the state of the user, and the blind and random help calling to the outside is caused to cause the trouble of the user and the waste of human resources or the personal danger of the user is not caused to the help calling to the outside.
In view of this, a new solution is needed to solve the above-mentioned problems.
Disclosure of Invention
The application mainly aims to provide a gas safety alarm method, gas safety alarm equipment and a computer readable storage medium, and aims to solve the technical problems that a client matched with a gas alarm is difficult to stay in a mobile terminal background for a long time, and a user state cannot be acquired, so that gas alarm is difficult to balance in the aspects of hierarchical intellectualization and user safety.
In order to achieve the above object, the present application provides a gas safety alarm method, which is applied to a gas alarm, and the method comprises the following steps:
if the gas leakage is detected, giving an audible and visual alarm and determining the communication state of a client associated with the gas alarm;
if the communication state is communication interruption, searching Bluetooth signals around the gas alarm;
if a target Bluetooth signal of a user is searched, monitoring the target Bluetooth signal in real time;
if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be larger than a preset amplitude threshold value within a first preset time period and the current signal intensity is monitored to be smaller than the preset intensity threshold value, stopping audible and visual alarm; or (b)
And if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be smaller than or equal to the preset amplitude threshold value within the first preset time period, giving an alarm to the outside.
Optionally, the step of determining the communication status of the client associated with the gas alarm includes:
the gas leakage information is sent to a server, so that feedback information sent by a client associated with the gas alarm is received through the server;
And if the feedback information is empty and the connection between the gas alarm and the server is normal, determining that the communication state between the gas alarm and the client is communication interruption.
Optionally, after the step of searching for bluetooth signals around the gas alarm, the method further comprises:
acquiring a Bluetooth list around the gas alarm;
judging whether the Bluetooth list comprises paired Bluetooth equipment or not;
if the matched Bluetooth equipment is included, the target Bluetooth signal of the user is judged to be searched.
Optionally, the target bluetooth signal corresponds to the paired bluetooth device;
if the target Bluetooth signal of the user is searched, the step of monitoring the target Bluetooth signal in real time comprises the following steps:
if a target Bluetooth signal of a user is searched, monitoring the target Bluetooth signal in real time and connecting the paired Bluetooth equipment;
and sending the gas leakage information and the dangerous case response information pre-stored in the gas alarm to the paired Bluetooth equipment.
Optionally, after the step of transmitting the gas leakage information and the dangerous case countermeasure information pre-stored in the gas alarm to the paired bluetooth device, the method further includes:
If the refused receiving information or the receiving information fed back by the paired Bluetooth equipment is received, determining leakage gas concentration information within a second preset duration;
and if the leakage gas concentration information is the information that the leakage gas concentration is reduced to a safe value, stopping audible and visual alarm.
Optionally, after the step of transmitting the gas leakage information and the dangerous case countermeasure information pre-stored in the gas alarm to the paired bluetooth device, the method further includes:
if the refused receiving information or the receiving information fed back by the paired Bluetooth equipment is not received, executing the step of stopping audible and visual alarm if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be larger than a preset amplitude threshold value and the current signal intensity is monitored to be smaller than the preset intensity threshold value within a first preset time period; or (b)
And if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be smaller than or equal to the preset amplitude threshold value within the first preset time period, alarming to the outside.
Optionally, after the step of searching for bluetooth signals around the gas alarm, the method further comprises:
acquiring a Bluetooth list around the gas alarm;
Judging whether the Bluetooth list comprises a high-attention Bluetooth device or not; the high-attention Bluetooth equipment characterizes Bluetooth equipment with Bluetooth broadcasting frequency exceeding a preset frequency threshold value in the current statistical period;
and if the high-attention Bluetooth equipment is included, judging that the target Bluetooth signal of the user is searched.
Optionally, after the step of stopping the audible and visual alarm if the signal intensity variation amplitude of the target bluetooth signal is monitored to be greater than the preset amplitude threshold and the current signal intensity is monitored to be less than the preset intensity threshold within the first preset time period, the method further includes:
acquiring concentration change trend information of the leakage gas within a third preset time period;
and if the concentration change trend information is that the concentration of the gas is increased, recovering an audible and visual alarm or carrying out external alarm based on the concentration increasing rate.
In addition, in order to achieve the above object, the present application also provides a gas safety alarm device, including:
the fuel gas alarm module is used for giving an audible and visual alarm and determining the communication state of a client associated with the fuel gas alarm if fuel gas leakage is detected;
the Bluetooth communication module is used for searching Bluetooth signals around the gas alarm if the communication state is communication interruption; if a target Bluetooth signal of a user is searched, monitoring the target Bluetooth signal in real time;
The alarm regulation and control module is used for stopping audible and visual alarm if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be larger than a preset amplitude threshold value and the current signal intensity is monitored to be smaller than the preset intensity threshold value within a first preset time period; or if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be smaller than or equal to the preset amplitude threshold value within the first preset time period, the alarm is given to the outside.
In addition, in order to achieve the above object, the present application also provides a gas safety alarm device, including a processor, a storage unit, and a gas safety alarm program stored on the storage unit and executable by the processor, wherein the gas safety alarm program, when executed by the processor, implements the steps of the gas safety alarm method as described above.
The application also provides a computer readable storage medium, wherein the computer readable storage medium stores a gas safety alarm program, and the gas safety alarm program realizes the steps of the gas safety alarm method when being executed by a processor.
According to the gas safety alarm method in the technical scheme, under the condition that gas leakage is detected, the communication state of the gas alarm and the mobile terminal based on the two-way communication of the client side is determined while the indoor user is reminded of the sound-light alarm. If the communication is interrupted, i.e. the user does not install or turn on the client or even access the internet, it is possible to determine whether the user is in the vicinity of the gas leakage source by searching the user's target bluetooth signal. If the target Bluetooth signal is searched, the user's dynamic state needs to be further determined, mainly whether the user still has consciousness and action ability or not, and at this time, the gas alarm cannot realize two-way communication with the mobile terminal through the client, and the mobile terminal cannot actively feed back the activity state of the user. In order to grasp the current activity state of the user, the determination of the approximate distance of the user can be realized in a one-way communication mode by monitoring the target Bluetooth signal in real time, namely, whether the user is in the vicinity of gas leakage is determined, and the activity state of the user in the gas leakage alarm is further skillfully judged by monitoring the change of the strength of the target Bluetooth signal. Under the condition that the signal intensity variation amplitude is large, the user can be judged to move, and under the condition that the current signal intensity is small, the situation that the user is far away from the gas leakage vicinity and reaches a safety area can be judged, so that the audible and visual alarm is stopped, and the situation that the user is reminded safely and continuously to cause user interference is avoided. Under the condition that the change amplitude of the signal intensity is small, the user can be judged to be in a static state, and the user can be in coma at the moment, so that the alarm is given to the departments of external emergency contact persons, fire protection, public security, medical treatment, gas management and the like, the user can be timely helped, and the life health safety of the user is guaranteed. Based on the application, the client can be not opened or closed, the client can be not required to be installed in the mobile terminal, the application can also be suitable for non-intelligent mobile terminals such as senior citizens, even the mobile terminal is not required to be connected to the Internet or a local area network, and the dynamic state of the user is mastered mainly by unidirectional monitoring the change of the target Bluetooth signal intensity, so that different alarm strategies are carried out based on different dynamic states, the problem that the user puzzles and the waste of human resources are caused by the fact that the user initiates an alarm to the outside in safe state is avoided, and the external alarm is initiated in time when the user is likely to be in unconscious danger, and better balance and treatment are achieved in the aspects of hierarchical intelligent alarm and user safety.
Drawings
FIG. 1 is a schematic structural diagram of a hardware operating environment of a gas safety alarm device according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a first embodiment of the gas safety alarm method of the present application;
FIG. 3 is a schematic flow chart after step S20 according to an embodiment of the gas safety alarm method of the present application;
FIG. 4 is a detailed flowchart of step S30 according to an embodiment of the gas safety alarm method of the present application;
FIG. 5 is a schematic flow chart after step S20 according to another embodiment of the gas safety alarm method of the present application;
FIG. 6 is a schematic flow chart of an embodiment of a gas safety alarm method of the present application;
FIG. 7 is a schematic diagram of Bluetooth transmission of alarm information according to an embodiment of the gas safety alarm method of the present application;
FIG. 8 is a schematic diagram of a frame structure of the gas safety alarm device of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The embodiment of the application provides a gas safety alarm device. The gas safety alarm device can be a gas alarm device such as a household gas alarm or an industrial gas alarm, and the like, and is not limited herein.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment of a gas safety alarm device according to an embodiment of the present application.
In addition to the basic gas sensor, gas alarm controller, audible and visual alarm, power supply and casing, the gas safety alarm device may further comprise: a processor 1001, such as a CPU, MCU, network interface 1004, user interface 1003, memory unit 1005, communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display (Display), an input unit such as a control panel, and the optional user interface 1003 may also include a standard wired interface, a wireless interface. Network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a WIFI interface). The storage unit 1005 may be a high-speed RAM storage unit or a stable storage unit (non-volatile memory), such as a disk storage unit. The storage unit 1005 may alternatively be a storage device independent of the aforementioned processor 1001. A gas safety warning program may be included in the storage unit 1005 as a computer storage medium.
Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 does not constitute a limitation of the apparatus, and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components.
With continued reference to fig. 1, the storage unit 1005 in fig. 1, which is a computer-readable storage medium, may include an operating system, a user interface module, a network communication module, and a gas safety alarm program.
In fig. 1, the network communication module is mainly used for connecting with a server and performing data communication with the server; and the processor 1001 may call the gas safety warning program stored in the storage unit 1005 and perform the following operations:
if the gas leakage is detected, giving an audible and visual alarm and determining the communication state of a client associated with the gas alarm;
if the communication state is communication interruption, searching Bluetooth signals around the gas alarm;
if a target Bluetooth signal of a user is searched, monitoring the target Bluetooth signal in real time;
if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be larger than a preset amplitude threshold value within a first preset time period and the current signal intensity is monitored to be smaller than the preset intensity threshold value, stopping audible and visual alarm; or (b)
And if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be smaller than or equal to the preset amplitude threshold value within the first preset time period, giving an alarm to the outside.
Further, the processor 1001 may call the gas safety alarm program stored in the storage unit 1005, and further perform the following operations:
the gas leakage information is sent to a server, so that feedback information sent by a client associated with the gas alarm is received through the server;
and if the feedback information is empty and the connection between the gas alarm and the server is normal, determining that the communication state between the gas alarm and the client is communication interruption.
Further, the processor 1001 may call the gas safety alarm program stored in the storage unit 1005, and further perform the following operations:
acquiring a Bluetooth list around the gas alarm;
judging whether the Bluetooth list comprises paired Bluetooth equipment or not;
if the matched Bluetooth equipment is included, the target Bluetooth signal of the user is judged to be searched.
Further, the processor 1001 may call the gas safety alarm program stored in the storage unit 1005, and further perform the following operations:
if a target Bluetooth signal of a user is searched, monitoring the target Bluetooth signal in real time and connecting the paired Bluetooth equipment;
And sending the gas leakage information and the dangerous case response information pre-stored in the gas alarm to the paired Bluetooth equipment.
Further, the processor 1001 may call the gas safety alarm program stored in the storage unit 1005, and further perform the following operations:
if the refused receiving information or the receiving information fed back by the paired Bluetooth equipment is received, determining leakage gas concentration information within a second preset duration;
and if the leakage gas concentration information is the information that the leakage gas concentration is reduced to a safe value, stopping audible and visual alarm.
Further, the processor 1001 may call the gas safety alarm program stored in the storage unit 1005, and further perform the following operations:
if the refused receiving information or the receiving information fed back by the paired Bluetooth equipment is not received, executing the step of stopping audible and visual alarm if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be larger than a preset amplitude threshold value and the current signal intensity is monitored to be smaller than the preset intensity threshold value within a first preset time period; or (b)
And if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be smaller than or equal to the preset amplitude threshold value within the first preset time period, alarming to the outside.
Further, the processor 1001 may call the gas safety alarm program stored in the storage unit 1005, and further perform the following operations:
acquiring a Bluetooth list around the gas alarm;
judging whether the Bluetooth list comprises a high-attention Bluetooth device or not; the high-attention Bluetooth equipment characterizes Bluetooth equipment with Bluetooth broadcasting frequency exceeding a preset frequency threshold value in the current statistical period;
and if the high-attention Bluetooth equipment is included, judging that the target Bluetooth signal of the user is searched.
Further, the processor 1001 may call the gas safety alarm program stored in the storage unit 1005, and further perform the following operations:
acquiring concentration change trend information of the leakage gas within a third preset time period;
and if the concentration change trend information is that the concentration of the gas is increased, recovering an audible and visual alarm or carrying out external alarm based on the concentration increasing rate.
Based on the hardware structure of the gas safety alarm device, various embodiments of the gas safety alarm method are provided.
The embodiment of the application provides a gas safety alarm method.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the gas safety alarm method of the present application; in a first embodiment of the present application, the gas safety alarm method is applied to a gas safety alarm device; the gas safety alarm method comprises the following steps:
Step S10, if gas leakage is detected, giving an audible and visual alarm and determining the communication state of a client associated with the gas alarm;
in this embodiment, once the gas alarm detects a gas leak, an audible and visual alarm is given, which is the basic function of all gas alarms. Some gas alarms can also send gas leakage information, such as gas leakage matters, gas leakage sources, gas leakage concentration and the like, to remote users who are not in gas leakage places through a server, or synchronously send the gas leakage information to short-range users who are in gas leakage places through a local wireless local area network (wifi channel), and users only need to install clients matched with the gas alarms in mobile terminals (such as smart phones, smart bracelets, smart watches and the like), and different gas alarms are generally developed by manufacturers and research and development factories. The function of the client is to enable two-way communication between the gas alarm and the mobile terminal, typically after the gas alarm sends gas leakage information to the mobile terminal, the mobile terminal will also alarm when receiving an audible and visual alarm (flash and speaker) on the mobile terminal, and some mobile terminals can also feed back the user position to the gas alarm and/or the server, and can also obtain the user activity status based on the sensor of the mobile terminal and feed back the user activity status to the gas alarm and/or the server.
However, the existing gas alarm has multiple intelligent performances, and the communication with the mobile terminal is supported by a client. The drawbacks of using clients are also evident as described in the background, which must be kept running in the system background of the mobile terminal all the time, and the mobile terminal must also generally be a smart phone of an intelligent system such as android, ios, hong, etc., and for some users who are still using some senior citizens, even the clients cannot be installed. Therefore, once the client cannot normally run on the mobile terminal, the gas alarm is difficult to carry out two-way communication with the mobile terminal, and functions such as a sensor and a function module of the mobile terminal for acquiring user state information, carrying out audible and visual alarm and the like are unlikely to be called.
Based on this, in this embodiment, at the beginning of gas leakage, the communication state of the gas alarm and the associated client may be determined first, and if the gas alarm may communicate with the mobile terminal through the client and transmit information, it may have a greater guarantee for the user. However, once the gas alarm loses contact with the client, it is difficult to transmit the information of gas leakage at present, and the safety condition of the user at the moment cannot be mastered.
As to how to determine the above communication status, in particular, in an embodiment, the step of determining the communication status of the client associated with the gas alarm includes:
step a, sending the gas leakage information to a server so as to receive feedback information sent by a client associated with the gas alarm through the server;
and b, if the feedback information is empty and the connection between the gas alarm and the server is normal, determining that the communication state between the gas alarm and the client is communication interruption.
The current gas alarm can be accessed to the Internet through a wifi module or a mobile communication module.
For this embodiment, to detect the communication status, the gas leakage information may be sent to the server, waiting for a period of time (e.g., 5 s) for the server to forward back feedback information sent by the client based on the gas leakage information. If the feedback information is not sent by the server after a certain period of time, that is, the feedback information is null, and ACK (Acknowledge character, confirm character) is received when the server receives the gas leakage information, it can be determined that the gas alarm is normally connected with the server, but the communication state between the gas alarm and the client is interrupted.
By the embodiment, the communication state between the gas alarm and the client can be accurately and timely determined, and different alarm strategies can be conveniently executed.
Further, in another embodiment, for the local area network, similarly, the server may be replaced with a router, and if the feedback information is null and the gas alarm is normally connected with the router, it is determined that the communication state between the gas alarm and the client is communication interruption. And will not be described in detail herein.
Step S20, if the communication state is communication interruption, searching Bluetooth signals around the gas alarm;
with development of bluetooth technology, whether intelligent mobile terminals or non-intelligent mobile terminals are currently basically applied with BLE (Bluetooth Low Energy ) technology, even if bluetooth is always in an on state, only very small energy consumption is generated, so that bluetooth of a mobile terminal is generally defaulted to be always in an on state by a manufacturer of the mobile terminal or a user, even if bluetooth is turned off by a small part of users, many other application programs or systems can easily recall bluetooth so that bluetooth is still in an operation state between unintentional. Even some devices operate with low power consumption when powered off.
Therefore, the developer of the application notices that the characteristic of long-term operation of Bluetooth just overcomes the defect that the client is difficult to operate for a long time.
Then, in the case where it is confirmed that the communication state is communication interruption, a search may be performed for a bluetooth signal around the gas alarm in order to determine whether the user's mobile terminal is in the vicinity.
Referring to fig. 3, in an embodiment, after the step S20, the method further includes:
step S21, acquiring a Bluetooth list around the gas alarm;
step S22, judging whether the Bluetooth list comprises paired Bluetooth equipment or not;
step S23, if the paired Bluetooth equipment is included, the target Bluetooth signal of the user is judged to be searched.
The gas alarm obtains the bluetooth list around through searching, and then can judge whether bluetooth list includes paired bluetooth equipment through bluetooth address or bluetooth name, preferably judges through bluetooth address, because bluetooth address is unique, bluetooth name can change along with user's hobby.
The paired bluetooth devices may be one or more. If the paired Bluetooth device is included, the target Bluetooth signal of the user is searched, and the mobile terminal of the user is in the vicinity of the gas alarm, which reflects that the user is in the vicinity of the gas alarm in a high probability.
With this embodiment, due to the limited range of bluetooth signal searching, bluetooth is generally about 10m to 30m for civilian use. Only through searching the Bluetooth signal, whether the user is near the gas leakage can be skillfully and accurately determined, further, the client is not required to grasp important dynamics of a part of the user, and the follow-up intelligent alarm is facilitated.
Step S30, if a target Bluetooth signal of a user is searched, monitoring the target Bluetooth signal in real time;
and under the condition that the target Bluetooth signal of the user is searched, the target Bluetooth signal is monitored in real time to further determine the dynamic change of the user.
Based on the above embodiments, referring to fig. 4, in one embodiment, the target bluetooth signal corresponds to the paired bluetooth device; the step S30 includes:
step S31, if a target Bluetooth signal of a user is searched, monitoring the target Bluetooth signal in real time and connecting the paired Bluetooth equipment;
and step S32, transmitting the gas leakage information and the dangerous case response information pre-stored in the gas alarm to the paired Bluetooth equipment.
Under the condition that the target Bluetooth signal corresponds to the paired Bluetooth device, the gas alarm can initiate Bluetooth connection to the mobile terminal, and the Bluetooth connection between the gas alarm and the mobile terminal can be realized due to the paired trusted device.
Furthermore, after the Bluetooth is connected, the gas leakage information can be sent to the mobile terminal in a file mode, so that point-to-point short-distance communication is realized. In this regard, referring to fig. 7, fig. 7 is a schematic diagram illustrating bluetooth transmission of alarm information according to an embodiment of the gas safety alarm method of the present application. As shown in fig. 7. The gas alarm is ready to send a txt format document to the mobile terminal, and a prompt is displayed on the mobile terminal whether to receive the document, wherein the specific display content comprises the name of a sender, namely the name from the gas alarm, and also comprises the file name of the document sent by the gas alarm: emergency and gas leakage alarm. Thus, the user can receive the prompt about gas leakage, and timely respond to the gas leakage.
More specifically, the content in the txt format document sent by the gas alarm can also include information of dangerous case handling in the gas alarm, namely information for guiding a user how to safely handle the gas leakage, besides the related information of the gas leakage, so that the efficiency and effect of handling the dangerous case are further improved. The dangerous case response information is pre-stored in the gas alarm, and when the gas leakage information needs to be sent, the two kinds of information are combined together to be sent.
It is also necessary to supplement that the txt format of the document is preferably transmitted in case of emergency, because the txt document has not only small capacity and fast transmission speed, but also can be opened by almost any mobile terminal, including non-intelligent mobile terminals, with very strong compatibility.
Besides the txt format document, the audio or video format document can be sent as required, and the user can conveniently make the most correct processing mode in the shortest time under the guidance of audio or video.
Note that the names and file names of the senders mentioned above may be set according to actual needs, and are not limited to the names shown in fig. 7.
Further, after transmitting the gas leakage information and the dangerous case countermeasure information pre-stored in the gas alarm to the paired bluetooth device in the step S32, the method further includes:
step c, if the refused receiving information or the receiving information fed back by the paired Bluetooth equipment is received, determining the leakage gas concentration information within a second preset duration;
and d, stopping audible and visual alarm if the leakage gas concentration information is the information that the leakage gas concentration is reduced to a safe value.
With continued reference to fig. 7, in the case where the gas alarm is already bluetooth paired and connected with the mobile terminal, the gas alarm may not only communicate information of gas leakage to the user in a manner of transmitting a file to the mobile terminal, but also determine the dynamics of the user based on the user's selection operation.
When receiving the prompt shown in fig. 7, the user can select to accept and reject, and the file can be received after accepting, and the gas rejecting alarm can also determine that the user sees the prompt and operates the mobile terminal, and the gas rejecting alarm is in an active state and is not in coma, and does not need to alarm to ask for help to the outside at the moment.
After receiving the gas leakage prompt transmitted by the gas alarm, the user normally closes the gas main valve in time and opens the window for ventilation, or some gas alarms are linked with the electromagnetic cut-off valve to automatically close the gas main valve. So that the concentration of the leaked gas in a later period of time (the second preset time period here can be set according to actual needs, such as 2 minutes), and the audible and visual alarm can be stopped under the condition that the concentration of the leaked gas is reduced to a safe value and the safety of a user is ensured.
But if the concentration of the gas does not drop or does not drop to a safety value, even if the concentration rises, the gas can give an alarm to the outside after the second preset time, so that the user can be timely helped to ensure the safety and the gas leakage is well treated.
Through the embodiment, even though the gas alarm and the mobile terminal cannot perform two-way communication with each other through the client, under the condition that the two are connected in a matched mode through the characteristics of Bluetooth connection and file transmission, more dynamic states of the user can be mastered based on the selection operation of the user on the mobile terminal, so that the current safety state of the user can be accurately determined, and then different alarm strategies can be executed.
Furthermore, in an embodiment, after the step S32, the method further includes:
if the refused receiving information or the receiving information fed back by the paired Bluetooth equipment is not received, executing the step of stopping audible and visual alarm if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be larger than a preset amplitude threshold value and the current signal intensity is monitored to be smaller than the preset intensity threshold value within a first preset time period; or (b)
And if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be smaller than or equal to the preset amplitude threshold value within the first preset time period, alarming to the outside.
If the gas alarm does not receive the refused receiving information or receiving information of the user, that is, the user does not perform the selection operation on the mobile terminal, the gas alarm cannot further determine the vital sign of the user at this time, and further acquire the dynamics of the user and determine the vital safety of the user are required for the life safety of the user, so that the following step S40 or S50 is performed.
Step S40, if the change amplitude of the signal intensity of the target Bluetooth signal is monitored to be larger than a preset amplitude threshold value and the current signal intensity is monitored to be smaller than the preset intensity threshold value within a first preset time period, stopping audible and visual alarm;
when the target Bluetooth signal of the user is monitored in real time, the signal strength (RSSI) of the target Bluetooth signal can be monitored. The signal intensity of the target Bluetooth signal monitored by the gas alarm is unchanged or has small change amplitude (smaller than or equal to a preset amplitude threshold value) under the condition that the mobile terminal is stationary, and larger change amplitude (larger than the preset amplitude threshold value) is generated when the position of the mobile terminal is shifted. In a better understanding manner, in general, after perceiving the audible and visual alarm, a user can pick up the mobile terminal such as the mobile phone of the user to avoid danger, so that a result of larger change amplitude of the signal intensity of the target Bluetooth signal can be generated, and if the user detects that the gas is in coma after the gas alarm is late, the user cannot pick up the mobile terminal to avoid danger, and the signal intensity cannot generate larger change amplitude. The dynamic and safe conditions of the user can be skillfully determined by the signal strength monitoring mode.
The signal strength change amplitude is preferably an average signal strength change amplitude, that is, a plurality of signal strength change values that are continuously acquired and calculated are averaged over a first preset time period. The first preset duration may be set according to actual needs, for example, set to 3 minutes. The preset amplitude threshold may also be set based on practical situations, such as 10dBm.
Considering that the safety situation after the user cannot be determined only by means of the signal strength change, i.e. it is not yet possible to determine accurately at this time whether the user has left the gas leak to the safety zone. The current signal intensity of the target Bluetooth signal can be further monitored to determine whether the user is far away from the vicinity of the gas leakage, and under the condition that the current signal intensity is smaller than the preset intensity threshold value, the user can be considered to be far away from the vicinity of the gas leakage to reach a safety area. The preset intensity threshold may be set according to practical needs, preferably in the interval [ -75dBm, -80dBm ], such as-76 dBm.
According to the method, although accurate position information of a user cannot be determined based on the mode that the gas alarm monitors the target Bluetooth signal, the dynamic state of the user can be determined according to the change of the signal intensity, and the distance degree of the user from the gas alarm (corresponding to the gas leakage position and the position being very close to the gas leakage position) can be determined according to the current signal intensity, so that the safety condition of the user can be accurately determined by combining the two points, audible and visual alarm can be stopped when the user safety is determined, and unnecessary interference to the user is avoided when the user safety is ensured.
In an embodiment, after the step S40, the method further includes:
step e, acquiring concentration change trend information of the leakage gas in a third preset time period;
and f, if the concentration change trend information is that the concentration of the gas is increased, recovering the audible and visual alarm or carrying out external alarm based on the concentration increase rate.
The user can avoid danger when gas leaks, so that the safety of the user can be ensured, but a small number of users do not necessarily make a correct gas leakage treatment mode before avoiding danger, so that the user can generate larger explosion risks indoors and around along with the increase of the concentration of the gas under the condition that the user does not treat or misprocesses the gas leakage.
Therefore, in this embodiment, when it is detected that the user is already in the safe area, further timing is performed to detect the concentration variation trend within a third preset period, and the third preset period may be set as required, for example, 1 minute. If a trend in the concentration change is detected as an increase in the concentration of the gas, an audible and visual alarm may be resumed or an external alarm may be made based on the rate of increase.
Specifically, when the gas concentration rising rate is greater than a certain value (which can be set based on actual conditions), the gas leakage is still continuous and serious, and the user with insufficient treatment experience is not recommended to return to the room, but the user can give an alarm to the outside for help, so that the safety treatment of more specialized departments or personnel can be obtained. When the gas concentration rising efficiency is smaller than or equal to a certain value, the audible and visual alarm can be recovered to remind the user that the gas main valve is not closed or closed, and the gas main valve can be automatically returned to the indoor to be closed relatively safely or the help of other people can be automatically sought, so that larger loss is avoided.
Or step S50, if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be smaller than or equal to the preset amplitude threshold value within the first preset time period, an alarm is given to the outside.
Contrary to step S40, if the signal intensity variation amplitude of the target bluetooth signal is monitored to be less than or equal to the preset amplitude threshold value within the first preset duration, it is likely that the gas leakage has caused the coma of the user, and in order to timely ensure the life safety of the user, the external alarm can be directly given to departments of emergency contact, fire protection, public security, medical treatment, gas management, etc., so as to help the user to depart from the dangerous situation.
According to the gas safety alarm method in the technical scheme, under the condition that gas leakage is detected, the communication state of the gas alarm and the mobile terminal based on the two-way communication of the client side is determined while the indoor user is reminded of the sound-light alarm. If the communication is interrupted, i.e. the user does not install or turn on the client or even access the internet, it is possible to determine whether the user is in the vicinity of the gas leakage source by searching the user's target bluetooth signal. If the target Bluetooth signal is searched, the user's dynamic state needs to be further determined, mainly whether the user still has consciousness and action ability or not, and at this time, the gas alarm cannot realize two-way communication with the mobile terminal through the client, and the mobile terminal cannot actively feed back the activity state of the user. In order to grasp the current activity state of the user, the determination of the approximate distance of the user can be realized in a one-way communication mode by monitoring the target Bluetooth signal in real time, namely, whether the user is in the vicinity of gas leakage is determined, and the activity state of the user in the gas leakage alarm is further skillfully judged by monitoring the change of the strength of the target Bluetooth signal. Under the condition that the signal intensity variation amplitude is large, the user can be judged to move, and under the condition that the current signal intensity is small, the situation that the user is far away from the gas leakage vicinity and reaches a safety area can be judged, so that the audible and visual alarm is stopped, and the situation that the user is reminded safely and continuously to cause user interference is avoided. Under the condition that the change amplitude of the signal intensity is small, the user can be judged to be in a static state, and the user can be in coma at the moment, so that the alarm is given to the departments of external emergency contact persons, fire protection, public security, medical treatment, gas management and the like, the user can be timely helped, and the life health safety of the user is guaranteed. Based on the application, the client can be not opened or closed, the client can be not required to be installed in the mobile terminal, the application can also be suitable for non-intelligent mobile terminals such as senior citizens, even the mobile terminal is not required to be connected to the Internet or a local area network, and the dynamic state of the user is mastered mainly by unidirectional monitoring the change of the target Bluetooth signal intensity, so that different alarm strategies are carried out based on different dynamic states, the problem that the user puzzles and the waste of human resources are caused by the fact that the user initiates an alarm to the outside in safe state is avoided, and the external alarm is initiated in time when the user is likely to be in unconscious danger, and better balance and treatment are achieved in the aspects of hierarchical intelligent alarm and user safety.
Based on the embodiments described above. Referring to fig. 5, in an embodiment, after the step S20, the method further includes:
step S210, acquiring a Bluetooth list around the gas alarm;
step S220, judging whether the Bluetooth list comprises a high-attention Bluetooth device or not; the high-attention Bluetooth equipment characterizes Bluetooth equipment with Bluetooth broadcasting frequency exceeding a preset frequency threshold value in the current statistical period;
step S230, if the bluetooth device with high attention is included, determining that the target bluetooth signal of the user is searched.
For the situation that the user does not pair with the gas alarm, the Bluetooth signals with high frequency (the Bluetooth broadcasting frequency exceeds the preset frequency threshold value in the current statistical period) and effective signal strength (the effective signal strength is larger than a certain value and can be minus 60 dBm) around the gas alarm can be counted, so that the Bluetooth signals are identified as target Bluetooth signals broadcasted by Bluetooth equipment (mobile terminal) of the user, and the target Bluetooth signals can be monitored in real time.
After the Bluetooth list is obtained, judging whether the Bluetooth list comprises a high-attention Bluetooth device, wherein Bluetooth signals broadcasted by the high-attention Bluetooth device correspond to Bluetooth signals with higher frequency and higher signal strength around the gas alarm.
For the determination of the bluetooth device with high attention, the gas alarm can count the occurrence frequency of each bluetooth signal with effective signal strength around the gas alarm in each counting period (which can be set according to the requirement, such as a week), wherein the frequency refers to that each occurrence and disappearance of the bluetooth signal with effective signal strength are recorded as a frequency, and the purpose of counting is to exclude that some nearby bluetooth devices with relatively fixed positions are mistakenly identified as mobile terminals carried by users, such as bluetooth sound, home computers, smart televisions, old mobile phones and the like. The method is characterized in that the Bluetooth signal with effective signal strength is generated and disappeared once, and the situation that the user carries the mobile terminal to come and go from indoor to outdoor is reflected in practice, for example, the Bluetooth signal corresponding to the user carrying the mobile phone home appears near the gas alarm once, the Bluetooth signal corresponding to the user carrying the mobile phone to buy dishes once, and the frequency of the Bluetooth signal is counted as one.
In addition, only the bluetooth signals with effective signal intensity are counted, so that weak bluetooth signals broadcasted by bluetooth devices of neighbors can influence the identification of bluetooth devices with high attention, wherein the weak bluetooth signals are blocked by thick walls and are close to each other in some buildings.
The bluetooth signal may be determined and recorded as a high-attention bluetooth device when the number of times it is counted in the current counting period (e.g., the current week) is greater than a preset frequency threshold.
The preset frequency threshold may be set based on actual needs, and in the case that one week is a statistical period, for example, 5 times.
And each counting period is set instead of a single counting period, so that the new mobile terminal of the user is timely brought into the Bluetooth equipment with high attention, the user is greatly facilitated, and the gas safety of the user is ensured.
The design and screening of the high-attention Bluetooth equipment are designed as described above, and even if a user does not carry out Bluetooth pairing on the mobile terminal and the gas alarm, the high-attention Bluetooth equipment such as a mobile phone, a smart watch and the like which are frequently carried by the user corresponding to Bluetooth signals of the mobile terminal can be intelligently identified based on the occurrence frequency and the signal intensity (effectiveness) of the Bluetooth signals of the mobile terminal, so that the dynamic state of an actual user can be monitored more accurately when gas is leaked, and the safety condition of the user can be accurately judged.
Further, the type of the Bluetooth device sending the Bluetooth signal can be identified through the Bluetooth name or the Bluetooth address, and the Bluetooth devices such as a Bluetooth earphone, a Bluetooth sound box, a computer and the like are filtered out, so that the Bluetooth devices of the types of the mobile phone and the intelligent watch are reserved as far as possible, and the mobile terminal frequently carried by a user is screened out more accurately.
Based on the above embodiments, in an embodiment, referring to fig. 6, under a condition that the gas alarm is paired with the mobile terminal of the user, the gas safety alarm method further includes:
step S100, if gas leakage is detected, whether an audible and visual alarm is started normally is detected;
step S200, if the audible and visual alarm is not started normally, determining the communication state of a client associated with the gas alarm;
and step S300, if the communication state is communication interruption, the gas leakage information is sent to the mobile terminal matched with the Bluetooth of the gas alarm according to the preset sending frequency.
In this embodiment of the present application, if the gas alarm is not normally started when detecting gas leakage and the client is not online, the user is in an extremely dangerous situation at this time, in order to enable the user to timely sense the danger of gas leakage, based on that the mobile terminal of the user is paired with the bluetooth of the gas alarm, the gas leakage information as illustrated in fig. 7 can be sent to the mobile terminal of the user according to a certain preset sending frequency, wherein the larger the preset sending frequency, the better the function of strong reminding, such as 60 times/minute, so that the mobile terminal of the user can timely and more strongly sense the occurrence of gas leakage danger due to vibration, prompt tone and bright screen reminding mode of the bluetooth reminding in the continuous receiving process of the bluetooth reminding, thereby helping the user to keep away danger and ensuring life safety of the user.
And when carrying out the strong warning through bluetooth with the mode of sending the file, gas alarm still can start the timing, detects in a certain duration and reveal gas concentration, if reveal gas concentration and reduce to safe value and below for a certain duration, can stop above-mentioned bluetooth warning.
If the concentration of the leaked gas is not reduced after a certain period of time, external alarm can be started, so that external rescue is timely sought, the danger of gas leakage is resolved, and the life safety of a user is ensured.
As to how external alerting is performed specifically, different contacts or departments may be alerted to seek assistance based on the difference in the current time period.
For example, at 8: 00-22: the time period of 00 can give an alarm to emergency contacts, gas companies and gas management departments;
at 22: 00-8: the time period of 00 can give an alarm to departments such as fire protection, public security and the like.
Of course, assistance may also be sought to different contacts or departments based on real-time gas concentration or the rate of change of gas concentration. When the gas concentration is relatively well understood, the gas concentration monitoring system can alarm emergency contacts, gas companies and gas management departments under the condition of relatively low real-time gas concentration or relatively low gas concentration change rate, and can alarm fire fighting, medical treatment, public security and other departments under the condition of relatively high real-time gas concentration or relatively high gas concentration change rate.
In addition, referring to fig. 8, fig. 8 is a schematic diagram of a frame structure of the gas safety alarm device of the present application. The application also provides a gas safety alarm device, which comprises:
the fuel gas alarm module A10 is used for giving an audible and visual alarm and determining the communication state of a client associated with the fuel gas alarm if fuel gas leakage is detected;
the Bluetooth communication module A20 is used for searching Bluetooth signals around the gas alarm if the communication state is communication interruption; if a target Bluetooth signal of a user is searched, monitoring the target Bluetooth signal in real time;
the alarm regulation and control module A30 is used for stopping audible and visual alarm if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be larger than a preset amplitude threshold value and the current signal intensity is monitored to be smaller than the preset intensity threshold value within a first preset time period; or if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be smaller than or equal to the preset amplitude threshold value within the first preset time period, the alarm is given to the outside.
Optionally, the gas alarm module a10 is further configured to:
the gas leakage information is sent to a server, so that feedback information sent by a client associated with the gas alarm is received through the server;
And if the feedback information is empty and the connection between the gas alarm and the server is normal, determining that the communication state between the gas alarm and the client is communication interruption.
Optionally, the bluetooth communication module a20 is further configured to:
acquiring a Bluetooth list around the gas alarm;
judging whether the Bluetooth list comprises paired Bluetooth equipment or not;
if the matched Bluetooth equipment is included, the target Bluetooth signal of the user is judged to be searched.
Optionally, the bluetooth communication module a20 is further configured to:
if a target Bluetooth signal of a user is searched, monitoring the target Bluetooth signal in real time and connecting the paired Bluetooth equipment;
and sending the gas leakage information and the dangerous case response information pre-stored in the gas alarm to the paired Bluetooth equipment.
Optionally, the alarm regulation module a30 is further configured to:
if the refused receiving information or the receiving information fed back by the paired Bluetooth equipment is received, determining leakage gas concentration information within a second preset duration;
and if the leakage gas concentration information is the information that the leakage gas concentration is reduced to a safe value, stopping audible and visual alarm.
Optionally, the alarm regulation module a30 is further configured to:
if the refused receiving information or the receiving information fed back by the paired Bluetooth equipment is not received, executing the step of stopping audible and visual alarm if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be larger than a preset amplitude threshold value and the current signal intensity is monitored to be smaller than the preset intensity threshold value within a first preset time period; or (b)
And if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be smaller than or equal to the preset amplitude threshold value within the first preset time period, alarming to the outside.
Optionally, the bluetooth communication module a20 is further configured to:
acquiring a Bluetooth list around the gas alarm;
judging whether the Bluetooth list comprises a high-attention Bluetooth device or not; the high-attention Bluetooth equipment characterizes Bluetooth equipment with Bluetooth broadcasting frequency exceeding a preset frequency threshold value in the current statistical period;
and if the high-attention Bluetooth equipment is included, judging that the target Bluetooth signal of the user is searched.
Optionally, the bluetooth communication module a20 is further configured to:
acquiring concentration change trend information of the leakage gas within a third preset time period;
And if the concentration change trend information is that the concentration of the gas is increased, recovering an audible and visual alarm or carrying out external alarm based on the concentration increasing rate.
Optionally, the alarm regulation module a30 is further configured to:
if the gas leakage is detected, detecting whether an audible and visual alarm is started normally;
if the audible and visual alarm is not started normally, determining the communication state of a client associated with the gas alarm;
and if the communication state is communication interruption, transmitting the gas leakage information to the mobile terminal matched with the Bluetooth of the gas alarm according to a preset transmission frequency.
The specific implementation of the gas safety alarm device is basically the same as the above embodiments of the gas safety alarm method, and will not be repeated here.
Furthermore, the application also provides a computer readable storage medium. The computer readable storage medium of the application stores a gas safety alarm program, wherein, when the gas safety alarm program is executed by a processor, the steps of the gas safety alarm method are realized.
The method implemented when the gas safety alarm program is executed may refer to various embodiments of the gas safety alarm method of the present application, and will not be described herein.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage units, CD-ROMs, optical storage units, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory location that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory location produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the application, and all equivalent structural changes made by the description of the present application and the accompanying drawings or direct/indirect application in other related technical fields are included in the scope of the application.

Claims (10)

1. A gas safety alarm method, characterized in that the gas safety alarm method is applied to a gas alarm, the method comprising the steps of:
if the gas leakage is detected, performing audible and visual alarm and determining the communication state of a client associated with the gas alarm;
if the communication state is communication interruption, searching Bluetooth signals around the gas alarm;
if a target Bluetooth signal of a user is searched, monitoring the target Bluetooth signal in real time;
If the signal intensity variation amplitude of the target Bluetooth signal is monitored to be larger than a preset amplitude threshold value within a first preset time period and the current signal intensity is monitored to be smaller than the preset intensity threshold value, stopping audible and visual alarm; or (b)
And if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be smaller than or equal to the preset amplitude threshold value within the first preset time period, giving an alarm to the outside.
2. The gas safety warning method according to claim 1, characterized in that said step of determining the communication status of the client associated with said gas alarm comprises:
the gas leakage information is sent to a server, so that feedback information sent by a client associated with the gas alarm is received through the server;
and if the feedback information is empty and the connection between the gas alarm and the server is normal, determining that the communication state between the gas alarm and the client is communication interruption.
3. The gas safety alarm method according to claim 1, wherein after the step of searching for bluetooth signals around the gas alarm, the method further comprises:
acquiring a Bluetooth list around the gas alarm;
judging whether the Bluetooth list comprises paired Bluetooth equipment or not;
If the matched Bluetooth equipment is included, the target Bluetooth signal of the user is judged to be searched.
4. The gas safety alarm method according to claim 3, wherein the target bluetooth signal corresponds to the paired bluetooth device;
if the target Bluetooth signal of the user is searched, the step of monitoring the target Bluetooth signal in real time comprises the following steps:
if a target Bluetooth signal of a user is searched, monitoring the target Bluetooth signal in real time and connecting the paired Bluetooth equipment;
and sending the gas leakage information and the dangerous case response information pre-stored in the gas alarm to the paired Bluetooth equipment.
5. The gas safety alarm method according to claim 4, wherein after the step of transmitting gas leakage information and danger response information pre-stored in the gas alarm to the paired bluetooth device, the method further comprises:
if the refused receiving information or the receiving information fed back by the paired Bluetooth equipment is received, determining the leakage gas concentration information within a second preset duration;
and if the leakage gas concentration information is the information that the leakage gas concentration is reduced to a safe value, stopping audible and visual alarm.
6. The gas safety alarm method according to claim 4, wherein after the step of transmitting gas leakage information and danger response information pre-stored in the gas alarm to the paired bluetooth device, the method further comprises:
if the refused receiving information or the receiving information fed back by the paired Bluetooth equipment is not received, executing the step of stopping audible and visual alarm if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be larger than a preset amplitude threshold value and the current signal intensity is monitored to be smaller than the preset intensity threshold value within a first preset time period; or (b)
And if the signal intensity variation amplitude of the target Bluetooth signal is monitored to be smaller than or equal to the preset amplitude threshold value within the first preset time period, alarming to the outside.
7. The gas safety alarm method according to claim 1, wherein after the step of searching for bluetooth signals around the gas alarm, the method further comprises:
acquiring a Bluetooth list around the gas alarm;
judging whether the Bluetooth list comprises a high-attention Bluetooth device or not; the high-attention Bluetooth equipment characterizes Bluetooth equipment with Bluetooth broadcasting frequency exceeding a preset frequency threshold value in the current statistical period;
And if the high-attention Bluetooth equipment is included, judging that the target Bluetooth signal of the user is searched.
8. The gas safety alarm method according to claim 1, wherein after the step of stopping the audible and visual alarm if the signal intensity variation amplitude of the target bluetooth signal is monitored to be greater than a preset amplitude threshold and the current signal intensity is less than a preset intensity threshold within a first preset time period, the method further comprises:
acquiring concentration change trend information of the leaked gas within a third preset duration;
and if the concentration change trend information is that the concentration of the gas is increased, recovering an audible and visual alarm or carrying out external alarm based on the concentration increasing rate.
9. A gas safety alarm device, characterized in that it comprises a processor, a memory unit, and a gas safety alarm program stored on the memory unit that is executable by the processor, wherein the gas safety alarm program, when executed by the processor, implements the steps of the gas safety alarm method according to any one of claims 1 to 8.
10. A computer readable storage medium, wherein a gas safety warning program is stored on the computer readable storage medium, wherein the gas safety warning program, when executed by a processor, implements the steps of the gas safety warning method according to any one of claims 1 to 8.
CN202311085799.4A 2023-08-28 2023-08-28 Gas safety alarm method, gas safety alarm equipment and readable storage medium Active CN116798196B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311085799.4A CN116798196B (en) 2023-08-28 2023-08-28 Gas safety alarm method, gas safety alarm equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311085799.4A CN116798196B (en) 2023-08-28 2023-08-28 Gas safety alarm method, gas safety alarm equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN116798196A CN116798196A (en) 2023-09-22
CN116798196B true CN116798196B (en) 2023-10-27

Family

ID=88048348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311085799.4A Active CN116798196B (en) 2023-08-28 2023-08-28 Gas safety alarm method, gas safety alarm equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN116798196B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0645610A2 (en) * 1993-09-28 1995-03-29 Repsol-Butano, S.A. Oil liquefied gases telemetering system.
JP2009288061A (en) * 2008-05-29 2009-12-10 Sanyo Electric Co Ltd Monitoring device
CN104167079A (en) * 2014-08-01 2014-11-26 青岛歌尔声学科技有限公司 Rescue method and device applied to multiple scenes
JP2016009334A (en) * 2014-06-24 2016-01-18 新コスモス電機株式会社 Alarm system
CN106530620A (en) * 2016-12-26 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Security monitoring method, device and system and virtual reality equipment
CN107103727A (en) * 2017-06-12 2017-08-29 广东小天才科技有限公司 Bluetooth alarm method and device
JP2017215642A (en) * 2016-05-30 2017-12-07 コニカミノルタ株式会社 Monitoring system
CN108870467A (en) * 2018-07-06 2018-11-23 佛山市川东磁电股份有限公司 Gas-cooker and its control method
CN109496437A (en) * 2017-05-08 2019-03-19 深圳市汇顶科技股份有限公司 Localization method and its device based on bluetooth BLE
WO2019181167A1 (en) * 2018-03-19 2019-09-26 ソニー株式会社 Information processing device, information processing method, and recording medium
CN211083641U (en) * 2019-08-16 2020-07-24 湖南天联城市数控有限公司 Gas on-line monitoring integrated device
CN112885044A (en) * 2021-01-21 2021-06-01 湖南汽车工程职业学院 Gas-cooker remote alarm protection system based on thing networking
CN113595662A (en) * 2021-07-23 2021-11-02 Oppo广东移动通信有限公司 Signal prompting method and device, terminal equipment and storage medium
CN113838264A (en) * 2021-08-26 2021-12-24 深圳市鼎晟开元科技有限公司 Alarm system and alarm method
CN115529549A (en) * 2021-06-25 2022-12-27 中移物联网有限公司 Bluetooth positioning method, related device, electronic equipment and storage medium
CN116092271A (en) * 2021-11-08 2023-05-09 名气家(上海)信息技术有限公司 Gas safety alarm safety system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8432275B2 (en) * 2008-01-10 2013-04-30 Cisco Technology, Inc. Mobile device safety

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0645610A2 (en) * 1993-09-28 1995-03-29 Repsol-Butano, S.A. Oil liquefied gases telemetering system.
JP2009288061A (en) * 2008-05-29 2009-12-10 Sanyo Electric Co Ltd Monitoring device
JP2016009334A (en) * 2014-06-24 2016-01-18 新コスモス電機株式会社 Alarm system
CN104167079A (en) * 2014-08-01 2014-11-26 青岛歌尔声学科技有限公司 Rescue method and device applied to multiple scenes
JP2017215642A (en) * 2016-05-30 2017-12-07 コニカミノルタ株式会社 Monitoring system
CN106530620A (en) * 2016-12-26 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Security monitoring method, device and system and virtual reality equipment
CN109496437A (en) * 2017-05-08 2019-03-19 深圳市汇顶科技股份有限公司 Localization method and its device based on bluetooth BLE
CN107103727A (en) * 2017-06-12 2017-08-29 广东小天才科技有限公司 Bluetooth alarm method and device
WO2019181167A1 (en) * 2018-03-19 2019-09-26 ソニー株式会社 Information processing device, information processing method, and recording medium
CN108870467A (en) * 2018-07-06 2018-11-23 佛山市川东磁电股份有限公司 Gas-cooker and its control method
CN211083641U (en) * 2019-08-16 2020-07-24 湖南天联城市数控有限公司 Gas on-line monitoring integrated device
CN112885044A (en) * 2021-01-21 2021-06-01 湖南汽车工程职业学院 Gas-cooker remote alarm protection system based on thing networking
CN115529549A (en) * 2021-06-25 2022-12-27 中移物联网有限公司 Bluetooth positioning method, related device, electronic equipment and storage medium
CN113595662A (en) * 2021-07-23 2021-11-02 Oppo广东移动通信有限公司 Signal prompting method and device, terminal equipment and storage medium
CN113838264A (en) * 2021-08-26 2021-12-24 深圳市鼎晟开元科技有限公司 Alarm system and alarm method
CN116092271A (en) * 2021-11-08 2023-05-09 名气家(上海)信息技术有限公司 Gas safety alarm safety system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于无线传感器网络的室内燃气监测系统;安静怡;CNKI优秀硕士学位论文;全文 *

Also Published As

Publication number Publication date
CN116798196A (en) 2023-09-22

Similar Documents

Publication Publication Date Title
US11202247B2 (en) System and method for providing information about a leader node to follower nodes in a wireless mesh communication network
US9721457B2 (en) Global positioning system equipped with hazard detector and a system for providing hazard alerts thereby
US10258295B2 (en) Voice controlled assistance for monitoring adverse events of a user and/or coordinating emergency actions such as caregiver communication
US9183731B1 (en) Emergency detection and alert device and system utilizing a mobile communication device
CN112150766B (en) Early warning method and device for remote safety prevention and control
WO2016206507A1 (en) Monitoring method and apparatus, electronic device and computer storage medium
EP3041274A1 (en) Wearable technology based apparatus and method for accelerated enrollment of parallel wireless sensors into their own network
WO2017011173A1 (en) Auxiliary alarm notification
CN116798196B (en) Gas safety alarm method, gas safety alarm equipment and readable storage medium
CN112327773B (en) Intelligent household terminal equipment control method and device and intelligent household system
CN113808358B (en) Family fire monitoring alarm processing system based on Internet of things platform
WO2022242150A1 (en) Air conditioner and fire monitoring control method therefor
KR20050102515A (en) Apparatus for discriminating smell using the mobile communication terminal
US11176799B2 (en) Global positioning system equipped with hazard detector and a system for providing hazard alerts thereby
CN111726745B (en) Signal broadcasting method, device, terminal equipment and storage medium
US10229573B1 (en) Immediate alert for tracking movement via wireless tethered devices
CN112750268A (en) Fire alarm system and related product
CN113240878A (en) Smoke alarm method and device and electronic equipment
CN110636456A (en) Method and device for receiving operation instruction and method and device for sending operation instruction
CN105263004A (en) Active application-type safety protection method based on camera monitoring system
US20220182921A1 (en) Device and method for monitoring social distancing and contact tracing
CN111341067A (en) Safety monitoring method, device and system
JP2023148419A (en) Alarm system and alarm device
CN115883428A (en) Method and device for reminding user of losing contact of wireless Internet of things equipment and electronic equipment
CN116456135A (en) Environment monitoring method, environment monitoring device, television device and readable storage medium

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