Gas concentration warning method, device and system

文档序号:1294986 发布日期:2020-08-07 浏览:4次 中文

阅读说明:本技术 气体浓度的告警方法、装置及系统 (Gas concentration warning method, device and system ) 是由 张誉 陈孝良 苏少炜 常乐 于 2020-04-02 设计创作,主要内容包括:本申请公开了一种气体浓度的告警方法、装置及系统。该方法在获取目标气体浓度,且在目标气体浓度大于预设浓度阈值的情况下,根据获取到的至少一个智能提示设备的当前位置和相应智能提示设备所属服务范围内的用户状态信息,确定目标智能提示设备;向目标智能提示设备发送告警指令,以指示目标智能提示设备输出提示信息;提示信息包括告警信息和/或建议操作信息。该方法可以通过多种方式确定了输出告警信息的目标智能提示设备,以实现对用户的告警,提高了用户体验。(The application discloses a gas concentration warning method, device and system. The method comprises the steps that when target gas concentration is obtained and the target gas concentration is larger than a preset concentration threshold value, the target intelligent prompting device is determined according to the obtained current position of at least one intelligent prompting device and user state information in a service range to which the corresponding intelligent prompting device belongs; sending an alarm instruction to the target intelligent prompting device to instruct the target intelligent prompting device to output prompting information; the prompt message comprises an alarm message and/or a suggested operation message. The method can determine the target intelligent prompting equipment for outputting the alarm information in various ways so as to realize the alarm for the user and improve the user experience.)

1. A method of warning of gas concentration, the method comprising:

obtaining the concentration of the target gas;

under the condition that the concentration of the target gas is greater than a preset concentration threshold value, determining target intelligent prompting equipment according to the acquired current position of at least one piece of intelligent prompting equipment and user state information in a service range to which the corresponding intelligent prompting equipment belongs;

sending an alarm instruction to the target intelligent prompting device to instruct the target intelligent prompting device to output prompting information; the prompt message comprises alarm message and/or suggested operation message.

2. The method of claim 1, wherein the method further comprises:

and sending an information acquisition request to the at least one intelligent prompting device under the condition that the concentration of the target gas is greater than a preset concentration threshold, wherein the information acquisition request comprises acquisition indication information of the current position of the intelligent prompting device and acquisition indication information of user state information in a service range to which the intelligent prompting device belongs.

3. The method of claim 1, wherein the method further comprises:

and receiving the current position sent by each intelligent prompting device in the at least one intelligent prompting device and the user state information in the service range of the intelligent prompting device.

4. The method of claim 1, wherein determining a target intelligent prompting device according to the obtained current position of at least one intelligent prompting device and the user state information in the service range of the corresponding intelligent prompting device comprises:

acquiring a distance value between the current position of each intelligent prompting device in the at least one intelligent prompting device and the stored position of the target gas source;

and determining the intelligent prompting equipment with the minimum distance value as the target intelligent prompting equipment, wherein the user state information is the user existing state.

5. The method of claim 4, wherein after determining that the target prompts the smart prompt device, the method further comprises:

if the current position sent by the target intelligent prompting device and the user state information in the service range of the corresponding intelligent prompting device are not obtained within a preset time period, determining that the target intelligent prompting device has a fault;

and determining the intelligent prompting equipment which meets the user state information except the target intelligent prompting equipment as the user existing state and has the minimum distance value as the new target intelligent prompting equipment.

6. The method of claim 1, wherein after determining the target smart signage device, the method further comprises:

acquiring a locking state of household equipment in a space where a target gas concentration sensor is located; the household equipment comprises at least one of a window, a door and a range hood;

and if the locking state is the locking state, controlling the locking state of the household equipment to be updated to the opening state.

7. The method of claim 1 or 6, wherein after determining the target smart signage device, the method further comprises:

acquiring a locking state of a target gas source;

and if the locking state of the target gas source is the opening state, controlling the target gas source to stop releasing the target gas.

8. The method of claim 1, wherein the method further comprises:

and if the target gas concentration is not reduced within a preset monitoring time, sending a notification message to a user bound by the target intelligent prompting device, wherein the notification message comprises an alarm indication that the target gas concentration is greater than a preset concentration threshold value so as to indicate the user to close a release switch of the target gas.

9. An alarm device for gas concentration, the device comprising: the device comprises an acquisition unit, a determination unit and a sending unit;

the acquisition unit is used for acquiring the concentration of the target gas;

the determining unit is used for determining the target intelligent prompting device according to the acquired current position of at least one intelligent prompting device and the user state information in the service range of the corresponding intelligent prompting device under the condition that the target gas concentration is greater than the preset concentration threshold value;

the sending unit is used for sending an alarm instruction to the target intelligent prompting device so as to instruct the target intelligent prompting device to output prompting information; the prompt message comprises alarm message and/or suggested operation message.

10. An electronic device, characterized in that the electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;

a memory for storing a computer program;

a processor for implementing the method steps of any of claims 1-8 when executing a program stored on a memory.

11. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-8.

12. The gas concentration warning system is characterized by comprising at least one intelligent prompting device, a central control device and a target gas concentration sensor; the central control equipment is in communication connection with each intelligent prompting equipment and the target gas concentration sensor respectively;

the target gas concentration sensor is used for detecting the concentration of a target gas and uploading the concentration to the central control equipment;

the central control device is configured to execute the method steps of any one of claims 1 to 5 to schedule the intelligent prompting device to perform alarm prompting.

13. The system of claim 12, wherein the system further comprises: a state detection device; the central control equipment is in communication connection with the state detection equipment;

the state detection equipment is used for detecting the locking state of household equipment or the locking state of a target gas source in the space where the target gas concentration sensor is located;

the central control device is further configured to execute the method steps according to any one of claims 6 to 8 to control the locking state of the household device or the locking state of the target gas source.

14. The system of claim 12, wherein the system further comprises: a state detection device; the central control equipment is in communication connection with the state detection equipment;

the state detection equipment is used for detecting and controlling the locking state of household equipment or the locking state of a target gas source in the space where the target gas concentration sensor is located;

the central control device is further configured to execute the method steps according to any one of claims 6 to 8, and send a control instruction to the state detection device, so as to control the locking state of the household device or the locking state of the target gas source through the state detection device.

Technical Field

The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for warning a gas concentration.

Background

The existing central control equipment sends the status information to each intelligent prompting equipment in communication connection with the central control equipment after acquiring the status information input by a user through voice or acquiring the status information detected by the intelligent prompting equipment; the intelligent prompting equipment responds to the condition information and executes corresponding processing operation;

the central control equipment can select any intelligent prompting equipment responding to the condition information as a prompting equipment sending voice prompting information to a corresponding user so as to send the voice prompting information to the user; and after other intelligent prompting equipment responding to the condition information confirms that the existing prompting equipment sends the voice prompting information, the voice prompting information is not sent out any more.

However, in the above scheme, when a plurality of intelligent prompting devices exist in a designated area, the central control device does not relate to how to give an alarm to the user and which intelligent prompting device to select for giving an alarm when acquiring that an error condition or a dangerous condition exists in the condition information detected by the intelligent prompting devices, so that the user experience is reduced.

Disclosure of Invention

The embodiment of the application provides a gas concentration warning method, device and system, which solve the problems in the prior art and improve user experience.

In a first aspect, a method for warning of gas concentration is provided, and the method may include:

obtaining the concentration of the target gas;

under the condition that the concentration of the target gas is greater than a preset concentration threshold value, determining target intelligent prompting equipment according to the acquired current position of at least one piece of intelligent prompting equipment and user state information in a service range to which the corresponding intelligent prompting equipment belongs;

sending an alarm instruction to the target intelligent prompting device to instruct the target intelligent prompting device to output prompting information; the prompt message comprises alarm message and/or suggested operation message.

In an optional implementation, the method further comprises:

and sending an information acquisition request to the at least one intelligent prompting device under the condition that the concentration of the target gas is greater than a preset concentration threshold, wherein the information acquisition request comprises acquisition indication information of the current position of the intelligent prompting device and acquisition indication information of user state information in a service range to which the intelligent prompting device belongs.

In an optional implementation, before determining a target intelligent prompting device according to the obtained current location of at least one intelligent prompting device and user state information within a service range of the corresponding intelligent prompting device, the method further includes:

and receiving the current position sent by each intelligent prompting device in the at least one intelligent prompting device and the user state information in the service range of the intelligent prompting device.

In an optional implementation, determining a target intelligent prompting device according to the obtained current position of at least one intelligent prompting device and user state information in a service range to which the corresponding intelligent prompting device belongs, includes:

acquiring a distance value between the current position of each intelligent prompting device in the at least one intelligent prompting device and the stored position of the target gas source;

and determining the intelligent prompting equipment with the minimum distance value as the target intelligent prompting equipment, wherein the user state information is the user existing state.

In an optional implementation, after determining the target prompting smart prompting device, the method further includes:

if the current position sent by the target intelligent prompting device and the user state information in the service range of the corresponding intelligent prompting device are not obtained within a preset time period, determining that the target intelligent prompting device has a fault;

and determining the intelligent prompting equipment which meets the user state information except the target intelligent prompting equipment as the user existing state and has the minimum distance value as the new target intelligent prompting equipment.

In an optional implementation, after determining the target smart signage device, the method further comprises:

acquiring a locking state of household equipment in a space where a target gas concentration sensor is located; the household equipment comprises at least one of a window, a door and a range hood;

and if the locking state is the locking state, controlling the locking state of the household equipment to be updated to the opening state.

In an optional implementation, after determining the target smart signage device, the method further comprises:

acquiring a locking state of a target gas source;

and if the locking state of the target gas source is the opening state, controlling the target gas source to stop releasing the target gas.

In an optional implementation, the method further comprises:

and if the target gas concentration is not reduced within a preset monitoring time, sending a notification message to a user bound by the target intelligent prompting device, wherein the notification message comprises an alarm indication that the target gas concentration is greater than a preset concentration threshold value so as to indicate the user to close a release switch of the target gas.

In a second aspect, there is provided a gas concentration warning device, which may include: the device comprises an acquisition unit, a determination unit and a sending unit;

the acquisition unit is used for acquiring the concentration of the target gas;

the determining unit is used for determining the target intelligent prompting device according to the acquired current position of at least one intelligent prompting device and the user state information in the service range of the corresponding intelligent prompting device under the condition that the target gas concentration is greater than the preset concentration threshold value;

the sending unit is used for sending an alarm instruction to the target intelligent prompting device so as to instruct the target intelligent prompting device to output prompting information; the prompt message comprises alarm message and/or suggested operation message.

In an optional implementation, the sending unit is further configured to send an information acquisition request to the at least one intelligent prompting device when the target gas concentration is greater than a preset concentration threshold, where the information acquisition request includes acquisition indication information of a current location of the intelligent prompting device and acquisition indication information of user state information in a service range to which the intelligent prompting device belongs.

In an alternative implementation, the apparatus further comprises a receiving unit;

the receiving unit is further configured to receive, before determining a target intelligent prompting device, a current location sent by each of the at least one intelligent prompting device and user status information within a service range to which the intelligent prompting device belongs.

In an optional implementation, the determining unit is specifically configured to obtain a distance value between a current location of each of the at least one intelligent prompting device and a stored location of the target gas source;

and determining the intelligent prompting equipment with the minimum distance value as the target intelligent prompting equipment, wherein the user state information is the user existing state.

In an optional implementation, the determining unit is further configured to determine that the target intelligent prompting device has a fault if the current position sent by the target intelligent prompting device and the user state information in the service range to which the corresponding intelligent prompting device belongs are not obtained within a preset time period;

and determining the intelligent prompting equipment which meets the user state information except the target intelligent prompting equipment as the user existing state and has the minimum distance value as the new target intelligent prompting equipment.

In an optional implementation, the obtaining unit is further configured to obtain a locking state of a door and a window in a space where the target intelligent prompting device belongs;

the sending unit is further configured to send an opening control instruction to a door and window in a space to which the target intelligent prompting device belongs if the locking state is the locking state, so as to instruct to update the locking state of the door and window to the opening state.

In an optional implementation, the acquiring unit is further configured to acquire a lock-up state of the target gas source;

the sending unit is further configured to send a closing control instruction to the target gas source to instruct the target gas source to stop releasing the target gas if the locking state of the target gas source is the on state.

In an optional implementation, the sending unit is further configured to send a notification message to a user bound to the target intelligent prompting device if the target gas concentration is not reduced within a preset monitoring duration, where the notification message includes an alarm indication that the target gas concentration is greater than a preset concentration threshold, so as to indicate that the user turns off a release switch of the target gas.

In a third aspect, an electronic device is provided, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;

a memory for storing a computer program;

a processor adapted to perform the method steps of any of the above first aspects when executing a program stored in the memory.

In a fourth aspect, a computer-readable storage medium is provided, having stored therein a computer program which, when executed by a processor, performs the method steps of any of the above first aspects.

In a fifth aspect, a gas concentration warning system is provided, the system comprises at least one intelligent prompting device, a central control device and a target gas concentration sensor; the central control equipment is in communication connection with each intelligent prompting equipment and the target gas concentration sensor respectively;

the target gas concentration sensor is used for detecting the concentration of the target gas released by the target gas source and uploading the concentration to the central control equipment;

the central control device is used for executing the method steps of the first five implementation modes of the first aspect so as to schedule the intelligent prompting device to perform alarm prompting.

In an optional implementation, the system further comprises: a state detection device; the central control equipment is in communication connection with the state detection equipment;

the state detection equipment is used for detecting the locking state of household equipment or the locking state of a target gas source in the space where the target gas concentration sensor is located;

the central control device is further configured to execute the method steps of the last three implementation manners of the first aspect to control the locking state of the household device or the locking state of the target gas source.

In an optional implementation, the system further comprises: a state detection device; the central control equipment is in communication connection with the state detection equipment;

the state detection equipment is used for detecting and controlling the locking state of household equipment or the locking state of a target gas source in the space where the target gas concentration sensor is located;

the central control device is further configured to execute method steps of the last three implementation manners of the first aspect, and send a control instruction to the state detection device, so as to control the locking state of the household device or the locking state of the target gas source through the state detection device.

According to the gas concentration warning method provided by the embodiment of the invention, when the target gas concentration is obtained and the target gas concentration is greater than the preset concentration threshold value, the target intelligent prompting device is determined according to the obtained current position of at least one intelligent prompting device and the user state information in the service range to which the corresponding intelligent prompting device belongs; sending an alarm instruction to the target intelligent prompting device to instruct the target intelligent prompting device to output prompting information; the prompt message comprises an alarm message and/or a suggested operation message. The method can determine the target intelligent prompting equipment for outputting the alarm information in various ways so as to realize the alarm for the user and improve the user experience.

Drawings

Fig. 1 is a system architecture diagram of an application of a gas concentration alarm method according to an embodiment of the present invention;

fig. 2 is a schematic flow chart of a gas concentration warning method according to an embodiment of the present invention;

fig. 3 is a schematic structural diagram of a gas concentration warning apparatus according to an embodiment of the present invention;

fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without any creative effort belong to the protection scope of the present application.

The gas concentration warning method provided by the embodiment of the invention can be applied to the system architecture shown in fig. 1, and the system can include at least one intelligent prompting device, a central control device and a target gas concentration sensor, wherein at least one intelligent prompting device is provided. The intelligent household equipment can further comprise state detection equipment, and if the target gas source is the intelligent household equipment, the target gas source serving as the intelligent household equipment can be further included. And the central control equipment is in communication connection with the intelligent prompt equipment, the target gas concentration sensor, the state detection equipment and the target gas source respectively.

The target gas concentration sensor detects the target gas released by the target gas source and uploads the detected target gas concentration to the central control device. And the central control equipment compares the target gas concentration with a preset concentration threshold, and under the condition that the target gas concentration is greater than the preset concentration threshold, the intelligent prompting equipment is dispatched to perform alarm prompting and control the state detection equipment to be started and the target gas source to be closed. The specific implementation process of each component device is as follows:

and the target gas concentration sensor is used for detecting the concentration of the target gas released by the target gas source. The target gas concentration sensor is separately arranged in the space where the target gas source is located, or can be integrated on the intelligent prompting device. The target gas concentration sensor is independently arranged in the space where the target gas source is located, so that the intelligent prompting equipment can be flexibly distributed in other indoor spaces.

The central control device, which may be an application server or a cloud server, is configured to compare the received target gas concentration, the current position of the intelligent prompting device, and the user state information within the service range to which the intelligent prompting device belongs, and is configured to compare the target gas concentration with a preset concentration threshold, determine the target intelligent prompting device according to the current position of the intelligent prompting device and the user state information within the service range to which the intelligent prompting device belongs, schedule the target intelligent prompting device for alarm prompting, and control the state detection device to be turned on when the target gas concentration is greater than the preset concentration threshold. The alarm prompt refers to outputting prompt information; the prompt message comprises alarm message and/or suggested operation message.

The intelligent prompting device can be a terminal with an audio playing function, a user state monitoring function and an indoor positioning technology/system, and can be an intelligent sound box.

The indoor positioning refers to realizing position positioning in an indoor environment, and mainly adopts multiple technologies such as wireless communication, base station positioning, inertial navigation positioning and the like to integrate to form a set of indoor position positioning system, so as to realize position monitoring of equipment in an indoor space, for example, an indoor positioning system can be integrated in an intelligent prompting device, so as to realize an indoor positioning function, specifically, the indoor positioning function can be realized through a Real Time L positioning Systems (RT L S), and the RT L S can calculate the position of a receiver antenna in Real Time according to receiver observation data.

The intelligent prompting device combined with the indoor positioning technology/system can determine the current position of the intelligent prompting device and send the current position of the intelligent prompting device to the central control device, or send the current position of the intelligent prompting device to the central control device after receiving an information acquisition request (used for requesting acquisition indication information of the current position of the intelligent prompting device) from the central control device.

And the state detection equipment comprises first state detection equipment, second state detection equipment, third state detection equipment and fourth state detection equipment. The state detection equipment is used for locking the household equipment; the household equipment comprises at least one of a window, a door and a range hood;

the first state detection device is used for detecting the locking state of the window, and can be a sensor used for detecting the locking state of the window or an electronic switch of an intelligent window in the intelligent household equipment.

The second state detection device is used for detecting the locking state of the door, and can be a sensor used for detecting the locking state of the door, or an intelligent window and door electronic lock in intelligent household equipment.

The third state detection device is used for detecting a sensor of a locking state of the range hood, or an electronic switch of the intelligent range hood in the intelligent household device.

The fourth state detection device is used for detecting the locking state of the target gas source, and may be a sensor for detecting the locking state of the target gas source, or an electronic switch of the target gas source in the smart home device, and may be mounted on the target gas source. The locked state may include an open state and a locked state, i.e., open and closed. The state detection equipment only has the functions of detecting the locking state and reporting the locking state, the control function of the state detection equipment is executed by the central control equipment, and in practical application, the scheme can be used for non-fully-intelligent household equipment. Under the condition, after the state detection equipment detects the locking state (detected by the first to third state detection equipment) of the household equipment or the locking state (detected by the fourth state detection equipment) of the target gas source in the space where the target gas concentration sensor is located, if the locking state of the household equipment is the locking state and the locking state of the target gas source is the opening state, if the state detection equipment adopted by the household equipment and the target gas source is the sensor, the central control equipment directly sends a control instruction to the electronic locks or electronic switches of the household equipment and the target gas source, and if the state detection equipment adopted by the household equipment and the target gas source is the electronic switch, the central control equipment directly sends the control instruction to the state detection equipment to control the locking state of the household equipment or the locking state of the target gas source, namely, the locking state of the household equipment is controlled to be updated to the opening state, the locking state of the target gas source is controlled to be updated to the locking state, and the target gas is stopped to be released.

In addition, the first state detection device may also be a smart home device having a window lock state detection function and a window lock control function, such as a smart window. The second state detection device may also be a smart home device having a door lock state detection function and a window lock control function, such as a smart door. The third state detection device can also be an intelligent household device with a range hood locking state detection function and a range hood locking control function, such as an intelligent range hood. The fourth state detection device may also be an intelligent home device having a target gas source locking state detection function and a target gas source control function, such as an intelligent natural gas range or an intelligent gas range. The four state detection devices in this section all have the functions of detecting and controlling the locking state, and in practical application, the scheme can be used for fully intelligent (with a control function) household equipment, and the central control device can control the household equipment by controlling the four state detection devices. Under the condition, after the state detection equipment detects the locking state of the household equipment or the locking state of the target gas source in the space where the target gas concentration sensor is located, if the locking state of the household equipment is the locking state and the locking state of the target gas source is the opening state, the central control equipment directly sends an instruction to the state detection equipment to instruct the state detection equipment to control the locking state of the household equipment or the locking state of the target gas source, namely the state detection equipment controls the locking state of the household equipment to be updated to the opening state, controls the locking state of the target gas source to be updated to the locking state, and stops releasing the target gas.

Each state detection device uploads the detected locking state to the central control device in real time, or after the central control device detects that the concentration of the target gas exceeds a preset concentration threshold value, the central control device sends a state acquisition request to each state detection device, so that the corresponding state detection device uploads the locking state of the door and window or the locking state of the target gas source to the central control device.

The intelligent prompting device can be combined with an infrared detection sensor, the infrared radiation of each object in a target range is detected through an infrared thermal imaging function, a temperature distribution image of each object is obtained, whether a person exists in the service range is determined according to the body temperature of the person, and if the person exists in the service range is determined, the intelligent prompting device can generate user state information in the service range as a user existing state; if it is determined that no person exists in the service range, the intelligent prompting device can generate user state information in the service range as a user non-existing state. Or, the intelligent prompting device may actively initiate a voice query after receiving an information acquisition request sent by the central control device, and after receiving a response voice of the user, the intelligent prompting device determines that the user state information in the service range to which the intelligent prompting device belongs is the user existing state; if the intelligent prompting equipment does not receive the response voice of the user within the preset time after actively initiating the voice inquiry, the intelligent prompting equipment determines that the user state information in the service range of the intelligent prompting equipment is the user non-existing state.

The target gas source refers to a device for releasing target gas, and may be a device for releasing natural gas storage, or may be an intelligent household device having a target gas source locking state detection function and/or a target gas source locking control function, such as an intelligent gas source device (e.g., an intelligent natural gas cooker, an intelligent gas cooker).

It should be noted that, after receiving the target gas concentration detected by the target gas concentration sensor, the central control device may associate the target gas concentration sensor, the room, and the first state detection device, the second state detection device, the third state detection device, and the fourth state detection device, which are respectively used for detecting or detecting and controlling the locking states of the window, the door, the range hood, and the target gas source, in order to determine the room where the target gas source is located and accurately control the opening of the window, the door, and the range hood in the room and control the closing of the target gas source, so as to eliminate possible harm caused by the target gas. Specifically, the identifier of the target gas concentration sensor and the device identifier of each state detection device may be associated with the room identifiers of the window, the door, the range hood, and the room in which the target gas source is located in advance, and configured as an associated configuration information table, as shown in table 1.

After the central control device receives the target gas concentration detected by the target gas concentration sensor, the associated configuration information table is searched according to the identifier of the target gas concentration sensor, the room where the target gas concentration sensor is located (namely the room where the target gas source is located) is determined, and then the first state detection device, the second state detection device, the third state detection device and the fourth state detection device which are associated with the room are determined, so that the window, the door and the range hood in the room are controlled to be opened, and the target gas source is controlled to be closed.

After receiving the target gas concentration detected by the target gas concentration sensor, the central control device searches the association configuration information table according to the identifier of the target gas concentration sensor, and determines the room where the target gas concentration sensor is located (i.e., the room where the target gas source is located). After the central control device receives the current position of each intelligent prompting device and the user state information in the service range of the corresponding intelligent prompting device, the intelligent prompting device with the user state information of the user existing state and the minimum distance value between the user state information and the room where the target gas source is located can be determined as the target intelligent prompting device according to the current position of each intelligent prompting device and the distance between the current position of the target gas source and the room where the target gas source is located on an indoor map, and an alarm instruction is sent to the target intelligent prompting device to instruct the target intelligent prompting device to output the prompting information; the prompt message comprises an alarm message and/or a suggested operation message.

Of course, in another alternative embodiment, it may also be implemented that the location information of the target gas concentration sensor, each state detection device, and the target gas source is configured on the indoor map, and after the central control device receives the current location of each intelligent prompting device and the user state information in the service range to which the corresponding intelligent prompting device belongs, according to the current location of each intelligent prompting device and the distance of the target gas concentration sensor on the indoor map, the intelligent prompting device whose user state information is the user presence state and whose distance value from the room in which the target gas source is located is determined as the target intelligent prompting device.

TABLE 1

In table 1, a room with a room number F0001 is associated with a first state detection device a0001 for detecting or detecting and controlling the window lock state, a second state detection device B0001 for detecting or detecting and controlling the window lock state, a third state detection device C0001 for detecting or detecting and controlling the window hood lock state, and a target gas concentration sensor Q0001;

the room with the room number F0002 is associated with a first state detection device a0002 for detecting or detecting and controlling the window lock state, a second state detection device B0002 for detecting or detecting and controlling the window lock state, a third state detection device C0002 for detecting or detecting and controlling the window hood lock state, and a target gas concentration sensor Q0002.

The room with the room number F0003 is associated with a first state detection device a0003 for detecting or detecting and controlling the window lock state, a second state detection device B0003 for detecting or detecting and controlling the window lock state, a third state detection device C0003 for detecting or detecting and controlling the window hood lock state, and a target gas concentration sensor Q0003.

It can be understood that the room, the door and the window, the target gas concentration sensor, the gas source and the corresponding intelligent prompting device can also be associated by setting numbers, that is, the room identifier + the intelligent prompting device identifier, the room identifier + the door and window identifier, the room identifier + the gas source device identifier, and the room identifier + the target gas concentration sensor identifier. For example, the number 010001, where the first two digits "01" indicate a kitchen and the last 4 digits indicate a target gas concentration sensor, i.e., the number 010001 associates the kitchen with the target gas concentration sensor, and the devices identified by the numbers beginning with "01" are both associated with the room identified by "01".

The correlation configuration information may be stored in the central control device, and the central control device may determine which room is closest to or located in which room, and which gas concentration detection sensor of which room detected a high concentration, and further control which door and window is opened and which gas source is closed, when determining that the transmitted gas concentration is high, based on the correlation configuration information.

The target gas may be a gas, such as coal gas, which is hazardous to the health of the user.

The preferred embodiments of the present application will be described below with reference to the accompanying drawings of the specification, it being understood that the preferred embodiments described herein are merely for illustrating and explaining the present invention and are not intended to limit the present invention, and that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.

Fig. 2 is a schematic flow chart of a gas concentration warning method according to an embodiment of the present invention. As shown in fig. 2, the method may include:

step 210, the central control device obtains the target gas concentration collected by the target gas concentration sensor.

Each of the at least one intelligent prompting device can send the current target gas concentration to the central control device in real time or periodically. Or sending the current target gas concentration to the central control equipment according to the target gas concentration obtaining request sent by the central control equipment.

And step 220, the central control device acquires the current position of at least one intelligent prompting device and the user state information in the service range of the corresponding intelligent prompting device according to the target gas concentration.

The central control equipment compares the concentration of the target gas uploaded by each intelligent prompting device with a preset concentration threshold value of the target gas;

and if the concentration of the target gas is greater than the preset concentration threshold value, sending an information acquisition request to at least one intelligent prompting device, wherein the information acquisition request can comprise acquisition indication information of the current position of the intelligent prompting device and acquisition indication information of user state information in the service range of the intelligent prompting device.

And the at least one intelligent prompting device acquires the current position of each intelligent prompting device and the user state information in the service range to which each intelligent prompting device belongs according to the acquisition indication information of the current position and the acquisition indication information of the user state information, and respectively sends the respective current position and the user state information in the service range to which each intelligent prompting device belongs to the central control device.

The user state information comprises a user existing state and a user nonexistent state.

Optionally, the intelligent prompting device may also send the current location of each intelligent prompting device and the user state information in the service range to which each intelligent prompting device belongs in real time, so that the central control device obtains the current location of at least one intelligent prompting device and the user state information in the service range to which the corresponding intelligent prompting device belongs.

And step 230, the central control device determines a target intelligent prompting device according to the acquired current position of at least one intelligent prompting device and the user state information in the service range of the corresponding intelligent prompting device.

The central control device can acquire a distance value between the current position of each intelligent prompting device and the stored position of the target gas source; and determining the intelligent prompting equipment with the minimum distance value as the target intelligent prompting equipment, wherein the user state information is the user existing state.

This mode is through having the user around, and the nearest intelligent suggestion equipment of distance target gas source sets up to target intelligent suggestion equipment, can guarantee that the user in this space can be accurate timely receive the dangerous suggestion of target intelligent suggestion equipment.

Optionally, the target intelligent prompting device still sends the current target gas concentration to the central control device in real time

If the current position sent by the target intelligent prompting device and the user state information in the service range of the corresponding intelligent prompting device are not obtained within the preset time period, determining that the target intelligent prompting device has a fault; and determining the intelligent prompting equipment which meets the user state information except the target intelligent prompting equipment as the user existing state and has the minimum distance value as the new target intelligent prompting equipment.

And step 240, the central control equipment sends an alarm instruction to the target intelligent prompting equipment.

The alarm instruction is used for indicating that the current target gas concentration is greater than a preset concentration threshold value.

And step 250, the target intelligent prompting device outputs prompting information according to the alarm instruction.

The prompt message may include an alarm message and/or a suggested operation message, and may be output in the form of voice.

The suggested operation information may be a suggestion to the user to open a door or a window or to close a target gas source.

Optionally, if the central control device detects that the concentration of the target gas uploaded by the target intelligent prompting device is not reduced within a preset monitoring duration, a notification message is sent to a user bound to the target intelligent prompting device.

The notification message may include an alarm indication that the target gas concentration is greater than the preset concentration threshold to instruct the user to manually close the release switch for the target gas.

Optionally, after determining the target smart prompt device, the method of this embodiment further includes the following steps:

acquiring a locking state of household equipment in a space where a target gas concentration sensor is located; acquiring a locking state of the target gas source;

the central control equipment can search the stored associated configuration information, and obtain the affiliated space (namely a room) associated with the target gas concentration sensor, home equipment and a target gas source in the affiliated space, and corresponding state detection equipment; and acquiring locking state information of the household equipment and the target gas source (the acquiring mode can be that the locking state information is actively uploaded to the central control equipment by the household equipment and the state detection equipment of the target gas source, or the central control equipment sends a state acquiring request to the state detection equipment under the condition that the concentration of the target gas is greater than a preset concentration threshold value or after the target intelligent prompting equipment is determined, and then the locking state information is actively uploaded to the central control equipment by the state detection equipment).

And if the locking state is the locking state, controlling the locking state of the household equipment to be updated to the opening state. And if the locking state of the target gas source is the opening state, controlling the target gas source to stop releasing the target gas.

Specifically, if the locking state of the home equipment is a locking state and the locking state of the target gas source is an opening state, if the state detection equipment adopted by the home equipment and the target gas source is a sensor, the central control equipment directly issues a control instruction to the electronic locks or the electronic switches of the home equipment and the target gas source, and if the state detection equipment adopted by the home equipment and the target gas source is an electronic switch, the central control equipment directly issues a control instruction to the state detection equipment to control the locking state of the home equipment or the locking state of the target gas source, namely, control the locking state of the home equipment to be updated to the opening state, control the locking state of the target gas source to be updated to the locking state, and stop releasing the target gas. If the household equipment and the target gas source are used as state detection equipment and have the functions of detecting and controlling the locking state (namely, intelligent household equipment), the central control equipment directly sends an instruction to the state detection equipment to indicate the state detection equipment to control the locking state of the household equipment or the locking state of the target gas source, namely, the state detection equipment controls the locking state of the household equipment to be updated to the opening state, controls the locking state of the target gas source to be updated to the locking state, and stops releasing the target gas. And updating the locking state of the door and window into the opening state by indicating so as to reduce the concentration of the target gas in the space where the target intelligent prompting equipment belongs.

Optionally, the central control device may further search the stored associated configuration information, and obtain a locking state of the target gas source associated with the target intelligent prompting device, such as a locking state of the target gas source closest to the target intelligent prompting device;

if the locking state of the target gas source is the opening state, the central control device may send a closing control instruction to the target gas source to instruct the target gas source to stop releasing the target gas.

According to the gas concentration warning method provided by the embodiment of the invention, when the target gas concentration is obtained and the target gas concentration is greater than the preset concentration threshold value, the target intelligent prompting device is determined according to the obtained current position of at least one intelligent prompting device and the user state information in the service range to which the corresponding intelligent prompting device belongs; sending an alarm instruction to the target intelligent prompting device to instruct the target intelligent prompting device to output prompting information; the prompt message comprises an alarm message and/or a suggested operation message. The method can determine the target intelligent prompting equipment for outputting the alarm information in various ways so as to realize the alarm for the user and improve the user experience.

Corresponding to the above method, an embodiment of the present invention further provides a gas concentration warning device, as shown in fig. 3, where the gas concentration warning device includes: an acquisition unit 310, a determination unit 320, and a transmission unit 330;

an acquisition unit 310 for acquiring a target gas concentration;

a determining unit 320, configured to determine, when the target gas concentration is greater than a preset concentration threshold, a target intelligent prompting device according to the obtained current position of at least one intelligent prompting device and user state information in a service range to which the corresponding intelligent prompting device belongs;

a sending unit 330, configured to send an alarm instruction to the target intelligent prompting device to instruct the target intelligent prompting device to output a prompting message; the prompt message comprises alarm message and/or suggested operation message.

In an optional implementation, the sending unit 330 is further configured to send an information obtaining request to the at least one intelligent prompting device when the target gas concentration is greater than a preset concentration threshold, where the information obtaining request includes obtaining indication information of a current location of the intelligent prompting device and obtaining indication information of user status information in a service range to which the intelligent prompting device belongs.

In an optional implementation, the apparatus further comprises a receiving unit 340;

the receiving unit 340 is further configured to receive, before determining a target intelligent prompting device, a current location sent by each intelligent prompting device of the at least one intelligent prompting device and user status information within a service range to which the intelligent prompting device belongs.

In an optional implementation, the determining unit 320 is specifically configured to obtain a distance value between a current location of each of the at least one intelligent prompting device and a stored location of the target gas source;

and determining the intelligent prompting equipment with the minimum distance value as the target intelligent prompting equipment, wherein the user state information is the user existing state.

In an optional implementation, the determining unit 320 is further configured to determine that the target intelligent prompting device has a fault if the current position sent by the target intelligent prompting device and the user state information in the service range to which the corresponding intelligent prompting device belongs are not obtained within a preset time period;

and determining the intelligent prompting equipment which meets the user state information except the target intelligent prompting equipment as the user existing state and has the minimum distance value as the new target intelligent prompting equipment.

In an optional implementation, the obtaining unit 310 is further configured to obtain a locking state of a door and a window in a space where the target intelligent prompting device belongs;

the sending unit 330 is further configured to send an opening control instruction to a door and window in the space to which the target intelligent prompting device belongs if the locking state is the locking state, so as to instruct to update the locking state of the door and window to the opening state.

In an optional implementation, the obtaining unit 310 is further configured to obtain a lock-up state of the target gas source;

the sending unit is further configured to send a closing control instruction to the target gas source to instruct the target gas source to stop releasing the target gas if the locking state of the target gas source is the on state.

In an optional implementation, the sending unit 330 is further configured to send a notification message to a user bound to the target intelligent prompting device if the target gas concentration is not reduced within a preset monitoring duration, where the notification message includes an alarm indication that the target gas concentration is greater than a preset concentration threshold, so as to indicate that the user turns off a release switch of the target gas.

The functions of the functional units of the gas concentration warning device provided in the above embodiment of the present invention may be implemented by the above method steps, and therefore, detailed working processes and beneficial effects of the units in the gas concentration warning device provided in the embodiment of the present invention are not repeated herein.

An embodiment of the present invention further provides an electronic device, as shown in fig. 4, including a processor 410, a communication interface 420, a memory 430, and a communication bus 440, where the processor 410, the communication interface 420, and the memory 430 complete mutual communication through the communication bus 440.

A memory 430 for storing computer programs;

the processor 410, when executing the program stored in the memory 430, implements the following steps:

obtaining the concentration of the target gas;

under the condition that the concentration of the target gas is greater than a preset concentration threshold value, determining target intelligent prompting equipment according to the acquired current position of at least one piece of intelligent prompting equipment and user state information in a service range to which the corresponding intelligent prompting equipment belongs;

sending an alarm instruction to the target intelligent prompting device to instruct the target intelligent prompting device to output prompting information; the prompt message comprises alarm message and/or suggested operation message.

In an optional implementation, the method further comprises:

and sending an information acquisition request to the at least one intelligent prompting device under the condition that the concentration of the target gas is greater than a preset concentration threshold, wherein the information acquisition request comprises acquisition indication information of the current position of the intelligent prompting device and acquisition indication information of user state information in a service range to which the intelligent prompting device belongs.

In an optional implementation, before determining a target intelligent prompting device according to the obtained current location of at least one intelligent prompting device and user state information within a service range of the corresponding intelligent prompting device, the method further includes:

and receiving the current position sent by each intelligent prompting device in the at least one intelligent prompting device and the user state information in the service range of the intelligent prompting device.

In an optional implementation, determining a target intelligent prompting device according to the obtained current position of at least one intelligent prompting device and user state information in a service range to which the corresponding intelligent prompting device belongs, includes:

acquiring a distance value between the current position of each intelligent prompting device in the at least one intelligent prompting device and the stored position of the target gas source;

and determining the intelligent prompting equipment with the minimum distance value as the target intelligent prompting equipment, wherein the user state information is the user existing state.

In an optional implementation, after determining the target prompting smart prompting device, the method further includes:

if the current position sent by the target intelligent prompting device and the user state information in the service range of the corresponding intelligent prompting device are not obtained within a preset time period, determining that the target intelligent prompting device has a fault;

and determining the intelligent prompting equipment which meets the user state information except the target intelligent prompting equipment as the user existing state and has the minimum distance value as the new target intelligent prompting equipment.

In an optional implementation, after determining the target smart signage device, the method further comprises:

acquiring the locking state of a door and a window in the space where the target intelligent prompting equipment belongs;

and if the locking state is the locking state, sending an opening control instruction to the door and window in the space to which the target intelligent prompting equipment belongs so as to indicate that the locking state of the door and window is updated to the opening state.

In an optional implementation, after determining the target smart signage device, the method further comprises:

acquiring a locking state of a target gas source;

and if the locking state of the target gas source is the opening state, sending a closing control instruction to the target gas source to indicate the target gas source to stop releasing the target gas.

In an optional implementation, the method further comprises:

and if the target gas concentration is not reduced within a preset monitoring time, sending a notification message to a user bound by the target intelligent prompting device, wherein the notification message comprises an alarm indication that the target gas concentration is greater than a preset concentration threshold value so as to indicate the user to close a release switch of the target gas.

The aforementioned communication bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.

The communication interface is used for communication between the electronic equipment and other equipment.

The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.

The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.

Since the implementation manner and the beneficial effects of the problem solving of each device of the electronic device in the foregoing embodiment can be implemented by referring to each step in the embodiment shown in fig. 2, detailed working processes and beneficial effects of the electronic device provided by the embodiment of the present invention are not described herein again.

In yet another embodiment of the present invention, a computer-readable storage medium is further provided, which has instructions stored therein, which when run on a computer, cause the computer to perform the gas concentration alarm method described in any of the above embodiments.

In a further embodiment provided by the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of gas concentration alerting as described in any of the above embodiments.

As will be appreciated by one of skill in the art, the embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, embodiments of 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, embodiments of 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, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

Embodiments of the present application are 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 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 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.

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. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the true scope of the embodiments of the present application.

It is apparent that those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the embodiments of the present application and their equivalents, the embodiments of the present application are also intended to include such modifications and variations.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种车载环境监测装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!