[go: up one dir, main page]

WO2019033319A1 - Gas concentration detection method and server - Google Patents

Gas concentration detection method and server Download PDF

Info

Publication number
WO2019033319A1
WO2019033319A1 PCT/CN2017/097735 CN2017097735W WO2019033319A1 WO 2019033319 A1 WO2019033319 A1 WO 2019033319A1 CN 2017097735 W CN2017097735 W CN 2017097735W WO 2019033319 A1 WO2019033319 A1 WO 2019033319A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
user
alarm information
concentration
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.)
Ceased
Application number
PCT/CN2017/097735
Other languages
French (fr)
Chinese (zh)
Inventor
曾禄明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Qihui Intelligent Technology Co Ltd
Shenzhen 360 Smart Life Technology Co Ltd
Original Assignee
Shenzhen Qihui Intelligent Technology Co Ltd
Shenzhen Qihu Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Qihui Intelligent Technology Co Ltd, Shenzhen Qihu Intelligent Technology Co Ltd filed Critical Shenzhen Qihui Intelligent Technology Co Ltd
Priority to PCT/CN2017/097735 priority Critical patent/WO2019033319A1/en
Publication of WO2019033319A1 publication Critical patent/WO2019033319A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

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/14Toxic gas alarms

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a gas concentration detecting method and a server.
  • the embodiment of the invention provides a gas concentration detecting method and a server, which can automatically detect the concentration of harmful gases in the area, so as to promptly notify the user when the harmful gas concentration exceeds the standard.
  • an embodiment of the present invention provides a gas concentration detecting method, the method comprising:
  • the server acquires a concentration index of the target gas in the preset region range, and detects whether the concentration index of the target gas exceeds a preset concentration threshold;
  • the server detects whether a user exists in a preset area
  • the server When the user exists in the preset area range, and the concentration index of the target gas exceeds the concentration threshold, the server outputs alarm information;
  • the alarm information includes audio information.
  • the method before the server outputs the alarm information, the method further includes:
  • the server determines that the user is in a sleep state, the server performs the step of outputting alarm information.
  • the server outputs alarm information, including:
  • the server acquires a current state of the user, where the current state includes a sleep state and an active state;
  • the server If the user is in a sleep state, the server outputs the alarm information by using the first output manner;
  • the server If the user is in an active state, the server outputs the alarm information by using a second output manner;
  • the audio volume corresponding to the first output mode is greater than the audio volume corresponding to the second output mode.
  • the server outputs alarm information, including:
  • the server sends the alarm information to the pre-associated first terminal device, so that the first terminal device outputs a prompt message to prompt the user that the concentration of the target gas exceeds the standard.
  • the method further includes:
  • the server sends an alert to the second terminal device corresponding to the preset phone number.
  • an embodiment of the present invention further provides a server, where the server includes: a user interface and a processor; optionally, the electronic book package may further include a memory, and the processor, the user interface, and the memory are connectable to each other.
  • the memory is for storing application code supporting an electronic book package to perform the above method, the processor being configured to perform the method of the first aspect above.
  • the processor is configured to acquire a concentration index of a target gas in a preset area, and detect whether a concentration index of the target gas exceeds a preset concentration threshold; and detect whether a user exists in a preset area; When a user exists in the preset area range, and the concentration index of the target gas exceeds the concentration threshold, the alarm information is output through the user interface;
  • the alarm information includes audio information.
  • the processor is further configured to obtain a physical parameter of the user, and determine, according to the physical parameter, whether the user is in a sleep state; if the server determines that the user is in a sleep state, The user interface outputs alarm information.
  • the physical parameter includes one or more of a heart rate, a respiratory rate, and a body temperature parameter.
  • the processor is further configured to acquire a current state of the user, where the current state includes a sleep state and an active state; if the user is in a sleep state, pass the user interface and adopt a first output manner Outputting alarm information; if the user is in an active state, outputting alarm information through the user interface and using a second output manner;
  • the audio volume corresponding to the first output mode is greater than the audio volume corresponding to the second output mode.
  • the server further includes: a transceiver;
  • the processor is further configured to send, by using the transceiver, the alarm information to the pre-associated first terminal device, so that the first terminal device outputs a prompt message to prompt the user that the concentration of the target gas exceeds the standard.
  • the processor is further configured to: when the acknowledgment instruction returned by the terminal device for the alarm information is not received within a preset time range, the transceiver corresponds to a preset phone number The second terminal device sends an alert.
  • an embodiment of the present invention provides a server, where the server includes: a determining unit and an output unit, and the server performs some or all of the steps of the method of the first aspect by using the foregoing unit.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer storage medium stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processing The method of the first aspect described above is performed.
  • the present application also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods described in the various aspects above.
  • the present application further provides a chip system including a processor for supporting a server to implement the functions involved in the above aspects.
  • the chip system further includes a memory for storing necessary program instructions and data of the server.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • the embodiment of the invention can obtain the concentration index of the target gas in the preset region range, and detect whether the concentration index of the target gas exceeds a preset concentration threshold, and detect whether a user exists in the preset region range, and preset
  • the alarm information including the audio information is output, so that the concentration of the harmful gas in the area can be automatically detected, so that the user can be notified in time when the concentration of the harmful gas exceeds the standard.
  • FIG. 1 is a schematic flow chart of a gas concentration detecting method according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a server according to another embodiment of the present invention.
  • the term “if” can be interpreted as “when” or “on” or “in response to determining” or “in response to detecting” depending on the context. .
  • the phrase “if determined” or “if detected [condition or event described]” may be interpreted in context to mean “once determined” or “in response to determining” or “once detected [condition or event described] ] or “in response to detecting [conditions or events described]”.
  • the embodiment of the invention discloses a gas concentration detecting method and a server, which can automatically detect the concentration of harmful gas in the region, so as to promptly notify the user when the harmful gas concentration exceeds the standard. The details are explained below.
  • FIG. 1 it is a schematic flowchart of a method for detecting a gas concentration according to an embodiment of the present invention.
  • the gas concentration detecting method of the embodiment of the present invention may include the following steps:
  • the server acquires a concentration index of the target gas in the preset area, and detects whether the concentration index of the target gas exceeds a preset concentration threshold.
  • the method in the embodiment of the present invention may be used in a server, where the server may be a device that controls or manages the home appliance, and is also referred to as a controller, or other name, which is not limited in the embodiment of the present invention.
  • the server may be provided separately or in combination with the home appliance, which is not limited in the embodiment of the present invention.
  • the target gas may be any gas, such as a harmful gas
  • the concentration index of the target gas may be detected by a preset sensor, so that the sensor can send the detected concentration index to the server.
  • the concentration threshold corresponding to each gas, that is, the safety value, may be pre-stored in the server.
  • the type of the sensor includes, but is not limited to, a formaldehyde sensor, a benzene sensor, a hydrogen sulfide gas sensor, a carbon monoxide gas sensor, a sulfur dioxide sensor, and the like.
  • the server detects whether a user exists in a preset area.
  • the server When there is a user in the preset area range, and the concentration index of the target gas exceeds the concentration threshold, the server outputs the alarm information.
  • the alarm information may include audio information in order to effectively remind users in the area.
  • the audio information may be pre-set voice information, such as “gas exceeding the standard, please pay attention”, “attention to ventilation, carbon monoxide concentration exceeding the standard”, etc., which are not enumerated here.
  • the preset area may be a certain area of the room, or the working area of the sensor, and the like, which is not limited by the embodiment of the present invention, and is not limited by the embodiment of the present invention.
  • the server may further obtain the physical parameter of the user, and determine, according to the physical parameter, whether the user is in a sleep state, wherein the physical parameter includes one of a heart rate, a respiratory rate, and a body temperature parameter. Item or multiple; if the server determines that the user is in a sleep state, the server performs the step of outputting the alarm information. That is to say, the server can output an alarm message to remind the user when the user is in a sleep state and it is not easy to find that the harmful gas exceeds the standard.
  • the server outputs the alarm information, which may be specifically: the server acquires a current state of the user, where the current state includes a sleep state and an active state; if the user is in a sleep state, the server outputs the alarm information by using the first output mode. ; if the user is active, the server The second output mode is used to output the alarm information.
  • the audio volume corresponding to the first output mode is greater than the audio volume corresponding to the second output mode. That is to say, in order to prevent the sleep user from being able to know in time that the target gas concentration exceeds the standard, the volume of the reminder can be increased to remind the user.
  • the server outputs the alarm information, which may be specifically: the server sends the alarm information to the pre-associated first terminal device, so that the first terminal device outputs a prompt message to prompt the user that the concentration of the target gas exceeds the standard.
  • the server may further send the alarm information to the associated terminal device, so that the terminal device reminds the user that the harmful gas exceeds the standard, for example, when detecting that the associated terminal device is closer to the user, if the distance is lower than a preset distance threshold.
  • the terminal device is triggered to alert the user.
  • the user may reply to the server with a confirmation command to determine a successful reminder.
  • the server also sends an alert to the second terminal device corresponding to the preset phone number if the confirmation command returned by the first terminal device for the alarm information is not received within the preset time range.
  • the phone number is pre-stored in the server, and the phone number may be a phone number of another contact, or may be an alarm phone such as “110”, which may be obtained by a user-defined setting, which is not limited by the embodiment of the present invention.
  • the server may obtain a concentration index of the target gas in the preset area, and detect whether the concentration index of the target gas exceeds a preset concentration threshold, and detect whether a user exists in the preset area. And if there is a user in the preset area, and the concentration index of the target gas exceeds the concentration threshold, the alarm information including the audio information is output, so that the concentration of the harmful gas in the area can be automatically detected, so that the concentration of the harmful gas exceeds the standard. Notify the user in time.
  • FIG. 2 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • the server 200 of the embodiment of the present invention may include a determining unit 201 and an output unit 202. Among them, these units can perform the corresponding functions of the server in the above method example, for example,
  • a determining unit 201 configured to acquire a concentration index of the target gas in the preset region range, and detect whether the concentration index of the target gas exceeds a preset concentration threshold
  • the determining unit 201 is further configured to detect whether a user exists in a preset area
  • the output unit 202 is configured to output alarm information when a user exists in the preset area range, and a concentration index of the target gas exceeds the concentration threshold;
  • the alarm information includes audio information.
  • the determining unit 201 is further configured to acquire the physical parameter of the user, and determine, according to the physical parameter, whether the user is in a sleep state, wherein the physical parameter includes one of a heart rate, a respiratory frequency, and a body temperature parameter. Or more than one;
  • the output unit 202 is specifically configured to output alarm information.
  • the determining unit 201 is further configured to acquire a current state of the user, where the current state includes a sleep state and an active state;
  • the output unit 202 is specifically configured to:
  • the server If the user is in a sleep state, the server outputs the alarm information by using the first output manner;
  • the server If the user is in an active state, the server outputs the alarm information by using a second output manner;
  • the audio volume corresponding to the first output mode is greater than the audio volume corresponding to the second output mode.
  • the output unit 202 is specifically configured to:
  • the output unit 202 is further configured to send, when the terminal device does not receive the confirmation instruction returned by the terminal device for the alarm information, to the second terminal device corresponding to the preset phone number. alarm.
  • the server may implement some or all of the steps in the gas concentration detecting method in the embodiment shown in FIG. 1 by using the above unit.
  • the embodiments of the present invention are device embodiments corresponding to the method embodiments, and the description of the method embodiments is also applicable to the embodiments of the present invention.
  • FIG. 3 is a schematic structural diagram of a server according to another embodiment of the present invention.
  • the server 300 of the embodiment of the present invention may include: one or more processors 301; optionally including one or more transceivers 302, a user interface 303, a memory 304, and the like.
  • the processor 301, the transceiver 302, the user interface 303, and the memory 304 may be connected by a bus 305, or may be connected by other means.
  • Memory 304 can be used to store instructions, and processor 301 can be used to execute instructions stored in memory 304.
  • the processor 301 may be a central processing unit (CPU), and the processor may also be another general-purpose processor, a digital signal processor (DSP). , Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the transceiver 302 can be used to receive and/or transmit information.
  • the user interface 303 may include a touchpad, a sensor, a microphone, etc., and may also include a display (LCD or the like), a speaker, and the like.
  • the memory 304 can include read only memory and random access memory and provides instructions and data to the processor 301. A portion of the memory 304 may also include a non-volatile random access memory.
  • the processor 301 is specifically configured to: obtain a concentration index of the target gas in the preset region, and detect whether the concentration index of the target gas exceeds a preset concentration threshold; and detect whether a user exists in the preset region; When the user exists in the preset area range, and the concentration index of the target gas exceeds the concentration threshold, the alarm information is output through the user interface 303;
  • the alarm information includes audio information.
  • the processor 301 is further configured to obtain a physical parameter of the user, and determine, according to the physical parameter, whether the user is in a sleep state; if the server determines that the user is in a sleep state, The user interface 303 outputs alarm information;
  • the physical parameter includes one or more of a heart rate, a respiratory rate, and a body temperature parameter.
  • the processor 301 is further configured to acquire a current state of the user, where the current state includes a sleep state and an active state; if the user is in a sleep state, pass the user interface 303 and adopt the first state. Output mode outputting alarm information; if the user is in an active state, outputting alarm information through the user interface 303 and using a second output manner;
  • the audio volume corresponding to the first output mode is greater than the audio volume corresponding to the second output mode.
  • the processor 301 is further configured to send, by using the transceiver 302, alarm information to a pre-associated first terminal device, so that the first terminal device outputs a prompt message to prompt the user of the target gas.
  • the concentration is exceeded.
  • the processor 301 is further configured to: when the terminal device does not receive the confirmation instruction returned by the terminal device for the alarm information, correspond to the preset phone number through the transceiver 302. The second terminal device sends an alert.
  • the processor 301, the transceiver 302, the user interface 303, and the memory 304 described in the embodiment of the present invention may perform the implementation described in the gas concentration detecting method in the embodiment shown in FIG.
  • the implementation manner of the server described in the embodiment of the present invention is not described herein again.
  • a computer readable storage medium storing a computer program that, when executed by a processor, implements gas concentration detection of the embodiment of FIG. method.
  • the computer readable storage medium may be an internal storage unit of a server as described in any of the preceding embodiments, such as a hard disk or a memory of a server.
  • the computer readable storage medium may also be an external storage device of the server, such as a plug-in hard disk equipped on the server, a smart memory card (SMC), and a Secure Digital (SD) card. , Flash Card, etc.
  • the computer readable storage medium may also include both an internal storage unit of the server and an external storage device.
  • the computer readable storage medium is for storing the computer program and other programs and data required by the server.
  • the computer readable storage medium can also be used to temporarily store data that has been output or is about to be output.
  • the disclosed server and method may be implemented in other manners.
  • the division of the unit in the embodiment of the present invention is schematic.
  • Each functional unit in the embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated in one unit, or some features may be ignored or not executed.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

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

Abstract

A gas concentration detection method and a server. The method comprises: acquiring by the server a concentration index of target gas within a preset area, and detecting whether the concentration index of the target gas exceeds a preset concentration threshold (101); detecting by the server whether a user exists within a preset area (102); and if the user exists within the preset area and the concentration index of the target gas exceeds the concentration threshold, outputting by the server a warning message (103), the warning message including audio information. According to the present technical solution, the concentration of harmful gas in an area can be automatically detected, so that a user is timely informed when the concentration index of the harmful gas exceeds the threshold.

Description

一种气体浓度检测方法及服务器Gas concentration detecting method and server 技术领域Technical field

本发明涉及通信技术领域,尤其涉及一种气体浓度检测方法及服务器。The present invention relates to the field of communications technologies, and in particular, to a gas concentration detecting method and a server.

背景技术Background technique

目前,经常有报道出现煤气泄漏导致用户中毒的情况,或者其他气体中毒的情况。一般是用户没有及时察觉有害气体浓度过高,可能导致危害,最终造成悲剧的发生。At present, there are often reports of gas leakage leading to user poisoning, or other gas poisoning. Generally, the user does not notice that the concentration of harmful gases is too high, which may cause harm and eventually cause tragedy.

发明内容Summary of the invention

本发明实施例提供一种气体浓度检测方法及服务器,能够实自动检测区域内的有害气体的浓度,以便于在该有害气体浓度超标时及时通知用户。The embodiment of the invention provides a gas concentration detecting method and a server, which can automatically detect the concentration of harmful gases in the area, so as to promptly notify the user when the harmful gas concentration exceeds the standard.

第一方面,本发明实施例提供了一种气体浓度检测方法,该方法包括:In a first aspect, an embodiment of the present invention provides a gas concentration detecting method, the method comprising:

服务器获取预设区域范围内的目标气体的浓度指数,并检测所述目标气体的浓度指数是否超过预设的浓度阈值;The server acquires a concentration index of the target gas in the preset region range, and detects whether the concentration index of the target gas exceeds a preset concentration threshold;

所述服务器检测预设区域范围内是否存在用户;The server detects whether a user exists in a preset area;

当所述预设区域范围内存在用户,且所述目标气体的浓度指数超过所述浓度阈值时,所述服务器输出告警信息;When the user exists in the preset area range, and the concentration index of the target gas exceeds the concentration threshold, the server outputs alarm information;

其中,所述告警信息包括音频信息。The alarm information includes audio information.

可选的,在所述服务器输出告警信息之前,所述方法还包括:Optionally, before the server outputs the alarm information, the method further includes:

所述服务器获取所述用户的体征参数,并根据所述体征参数确定所述用户是否处于睡眠状态;其中,所述体征参数包括心率、呼吸频率以及体温参数中的一项或多项;Obtaining, by the server, a physical parameter of the user, and determining, according to the physical parameter, whether the user is in a sleep state; wherein the physical parameter includes one or more of a heart rate, a respiratory frequency, and a body temperature parameter;

如果所述服务器确定所述用户处于睡眠状态,所述服务器执行所述输出告警信息的步骤。If the server determines that the user is in a sleep state, the server performs the step of outputting alarm information.

可选的,所述服务器输出告警信息,包括:Optionally, the server outputs alarm information, including:

所述服务器获取所述用户的当前状态,所述当前状态包括睡眠状态和活动状态; The server acquires a current state of the user, where the current state includes a sleep state and an active state;

如果所述用户处于睡眠状态,所述服务器采用第一输出方式输出告警信息;If the user is in a sleep state, the server outputs the alarm information by using the first output manner;

如果所述用户处于活动状态,所述服务器采用第二输出方式输出告警信息;If the user is in an active state, the server outputs the alarm information by using a second output manner;

其中,所述第一输出方式对应的音频音量大于所述第二输出方式对应的音频音量。The audio volume corresponding to the first output mode is greater than the audio volume corresponding to the second output mode.

可选的,所述服务器输出告警信息,包括:Optionally, the server outputs alarm information, including:

所述服务器向预先关联的第一终端设备发送告警信息,以使所述第一终端设备输出提示消息,以提示用户所述目标气体的浓度超标。The server sends the alarm information to the pre-associated first terminal device, so that the first terminal device outputs a prompt message to prompt the user that the concentration of the target gas exceeds the standard.

可选的,所述方法还包括:Optionally, the method further includes:

如果预设时间范围内未接收到所述终端设备针对所述告警信息返回的确认指令,所述服务器向预先设置的电话号码对应的第二终端设备发送警报。If the confirmation command returned by the terminal device for the alarm information is not received within the preset time range, the server sends an alert to the second terminal device corresponding to the preset phone number.

第二方面,本发明实施例还提供了一种服务器,该服务器包括:用户接口和处理器;可选的,该电子书包还可包括存储器,所述处理器、用户接口和存储器可相互连接,其中,所述存储器用于存储支持电子书包执行上述方法的应用程序代码,所述处理器被配置用于执行上述第一方面的方法。具体的,In a second aspect, an embodiment of the present invention further provides a server, where the server includes: a user interface and a processor; optionally, the electronic book package may further include a memory, and the processor, the user interface, and the memory are connectable to each other. Wherein the memory is for storing application code supporting an electronic book package to perform the above method, the processor being configured to perform the method of the first aspect above. specific,

所述处理器,用于获取预设区域范围内的目标气体的浓度指数,并检测所述目标气体的浓度指数是否超过预设的浓度阈值;检测预设区域范围内是否存在用户;当所述预设区域范围内存在用户,且所述目标气体的浓度指数超过所述浓度阈值时,通过所述用户接口输出告警信息;The processor is configured to acquire a concentration index of a target gas in a preset area, and detect whether a concentration index of the target gas exceeds a preset concentration threshold; and detect whether a user exists in a preset area; When a user exists in the preset area range, and the concentration index of the target gas exceeds the concentration threshold, the alarm information is output through the user interface;

其中,所述告警信息包括音频信息。The alarm information includes audio information.

可选的,所述处理器,还用于获取所述用户的体征参数,并根据所述体征参数确定所述用户是否处于睡眠状态;如果所述服务器确定所述用户处于睡眠状态,通过所述用户接口输出告警信息;Optionally, the processor is further configured to obtain a physical parameter of the user, and determine, according to the physical parameter, whether the user is in a sleep state; if the server determines that the user is in a sleep state, The user interface outputs alarm information.

其中,所述体征参数包括心率、呼吸频率以及体温参数中的一项或多项。Wherein the physical parameter includes one or more of a heart rate, a respiratory rate, and a body temperature parameter.

可选的,所述处理器,还用于获取所述用户的当前状态,所述当前状态包括睡眠状态和活动状态;如果所述用户处于睡眠状态,通过所述用户接口并采用第一输出方式输出告警信息;如果所述用户处于活动状态,通过所述用户接口并采用第二输出方式输出告警信息;Optionally, the processor is further configured to acquire a current state of the user, where the current state includes a sleep state and an active state; if the user is in a sleep state, pass the user interface and adopt a first output manner Outputting alarm information; if the user is in an active state, outputting alarm information through the user interface and using a second output manner;

其中,所述第一输出方式对应的音频音量大于所述第二输出方式对应的音频音量。 The audio volume corresponding to the first output mode is greater than the audio volume corresponding to the second output mode.

可选的,所述服务器还包括:收发器;Optionally, the server further includes: a transceiver;

所述处理器,还用于通过所述收发器向预先关联的第一终端设备发送告警信息,以使所述第一终端设备输出提示消息,以提示用户所述目标气体的浓度超标。The processor is further configured to send, by using the transceiver, the alarm information to the pre-associated first terminal device, so that the first terminal device outputs a prompt message to prompt the user that the concentration of the target gas exceeds the standard.

可选的,所述处理器,还用于在预设时间范围内未接收到所述终端设备针对所述告警信息返回的确认指令时,通过所述收发器向预先设置的电话号码对应的第二终端设备发送警报。Optionally, the processor is further configured to: when the acknowledgment instruction returned by the terminal device for the alarm information is not received within a preset time range, the transceiver corresponds to a preset phone number The second terminal device sends an alert.

第三方面,本发明实施例提供了一种服务器,该服务器包括:确定单元、输出单元,该服务器通过上述单元执行该第一方面的方法的部分或全部步骤。In a third aspect, an embodiment of the present invention provides a server, where the server includes: a determining unit and an output unit, and the server performs some or all of the steps of the method of the first aspect by using the foregoing unit.

第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行上述第一方面的方法。In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, where the computer storage medium stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processing The method of the first aspect described above is performed.

第五方面,本申请还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In a fifth aspect, the present application also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods described in the various aspects above.

第六方面,本申请还提供了一种芯片系统,该芯片系统包括处理器,用于支持服务器实现上述方面中所涉及的功能。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存服务器必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。In a sixth aspect, the present application further provides a chip system including a processor for supporting a server to implement the functions involved in the above aspects. In a possible design, the chip system further includes a memory for storing necessary program instructions and data of the server. The chip system can be composed of chips, and can also include chips and other discrete devices.

本发明实施例可通过获取预设区域范围内的目标气体的浓度指数,并检测该目标气体的浓度指数是否超过预设的浓度阈值,以及检测预设区域范围内是否存在用户,并在预设区域范围内存在用户,且该目标气体的浓度指数超过浓度阈值时,输出包括音频信息的告警信息,从而能够自动检测区域内的有害气体的浓度,以便于在该有害气体浓度超标时及时通知用户。The embodiment of the invention can obtain the concentration index of the target gas in the preset region range, and detect whether the concentration index of the target gas exceeds a preset concentration threshold, and detect whether a user exists in the preset region range, and preset When there is a user in the area and the concentration index of the target gas exceeds the concentration threshold, the alarm information including the audio information is output, so that the concentration of the harmful gas in the area can be automatically detected, so that the user can be notified in time when the concentration of the harmful gas exceeds the standard. .

附图说明DRAWINGS

为了更清楚地说明本发明实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention. For the ordinary technicians, other drawings can be obtained based on these drawings without any creative work.

图1是本发明实施例提供的一种气体浓度检测方法的流程示意图;1 is a schematic flow chart of a gas concentration detecting method according to an embodiment of the present invention;

图2是本发明实施例提供的一种服务器的结构示意图;2 is a schematic structural diagram of a server according to an embodiment of the present invention;

图3是本发明另一实施例提供的一种服务器的结构示意图。FIG. 3 is a schematic structural diagram of a server according to another embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.

应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。The use of the terms "comprising", "comprising", "","," The presence or addition of a plurality of other features, integers, steps, operations, elements, components, and/or collections thereof.

还应当理解,在此本发明说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本发明。如在本发明说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It is also to be understood that the terminology of the present invention is to be construed as a The singular forms "", ",",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

还应当进一步理解,在本发明说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It is further understood that the term "and/or" used in the description of the invention and the appended claims means any combination and all possible combinations of one or more of the associated listed items, .

如在本说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "on" or "in response to determining" or "in response to detecting" depending on the context. . Similarly, the phrase "if determined" or "if detected [condition or event described]" may be interpreted in context to mean "once determined" or "in response to determining" or "once detected [condition or event described] ] or "in response to detecting [conditions or events described]".

本发明实施例公开了一种气体浓度检测方法及服务器,能够自动检测区域内的有害气体的浓度,以便于在该有害气体浓度超标时及时通知用户。以下分别详细说明。 The embodiment of the invention discloses a gas concentration detecting method and a server, which can automatically detect the concentration of harmful gas in the region, so as to promptly notify the user when the harmful gas concentration exceeds the standard. The details are explained below.

请参见图1,是本发明实施例提供一种气体浓度检测方法的流程示意图。具体的,如图1所示,本发明实施例的气体浓度检测方法可包括以下步骤:Referring to FIG. 1 , it is a schematic flowchart of a method for detecting a gas concentration according to an embodiment of the present invention. Specifically, as shown in FIG. 1, the gas concentration detecting method of the embodiment of the present invention may include the following steps:

101、服务器获取预设区域范围内的目标气体的浓度指数,并检测该目标气体的浓度指数是否超过预设的浓度阈值。101. The server acquires a concentration index of the target gas in the preset area, and detects whether the concentration index of the target gas exceeds a preset concentration threshold.

可选的,本发明实施例的所述方法可用于服务器中,该服务器可以是对家电设备进行控制或管理的设备,又称控制器,或者称为其他名称,本发明实施例不做限定。该服务器可以是独立设置的,也可以是与家电设备一体设置的,本发明实施例不做限定。Optionally, the method in the embodiment of the present invention may be used in a server, where the server may be a device that controls or manages the home appliance, and is also referred to as a controller, or other name, which is not limited in the embodiment of the present invention. The server may be provided separately or in combination with the home appliance, which is not limited in the embodiment of the present invention.

可选的,该目标气体可以是任一气体,如可以是有害气体,具体可通过预置的传感器检测得到该目标气体的浓度指数,从而该传感器可将该检测得到的浓度指数发送给服务器。其中,该服务器中可预先存储有各种气体对应的浓度阈值,即安全值。可选的,该传感器的类型包括但不限于甲醛传感器、苯传感器、硫化氢气体传感器、一氧化碳气体传感器以及二氧化硫传感器等等。Optionally, the target gas may be any gas, such as a harmful gas, and the concentration index of the target gas may be detected by a preset sensor, so that the sensor can send the detected concentration index to the server. The concentration threshold corresponding to each gas, that is, the safety value, may be pre-stored in the server. Optionally, the type of the sensor includes, but is not limited to, a formaldehyde sensor, a benzene sensor, a hydrogen sulfide gas sensor, a carbon monoxide gas sensor, a sulfur dioxide sensor, and the like.

102、服务器检测预设区域范围内是否存在用户。102. The server detects whether a user exists in a preset area.

103、当该预设区域范围内存在用户,且该目标气体的浓度指数超过该浓度阈值时,服务器输出告警信息。103. When there is a user in the preset area range, and the concentration index of the target gas exceeds the concentration threshold, the server outputs the alarm information.

其中,该告警信息可包括音频信息,以便于有效地对该区域内的用户进行提醒。可选的,该音频信息可以是预先设置的语音信息,比如“煤气超标,请注意”、“注意通风,一氧化碳浓度超标”等等,此处不一一列举。The alarm information may include audio information in order to effectively remind users in the area. Optionally, the audio information may be pre-set voice information, such as “gas exceeding the standard, please pay attention”, “attention to ventilation, carbon monoxide concentration exceeding the standard”, etc., which are not enumerated here.

可选的,该预设区域可以是指某一房间区域,或者上述的传感器的工作区域等等,本发明实施例不做限定,本发明实施例不做限定。Optionally, the preset area may be a certain area of the room, or the working area of the sensor, and the like, which is not limited by the embodiment of the present invention, and is not limited by the embodiment of the present invention.

可选的,在输出告警信息之前,该服务器还可获取该用户的体征参数,并根据该体征参数确定该用户是否处于睡眠状态;其中,该体征参数包括心率、呼吸频率以及体温参数中的一项或多项;如果该服务器确定该用户处于睡眠状态,该服务器执行该输出告警信息的步骤。也就是说,服务器可在用户处于睡眠状态不容易发现有害气体超标时再输出告警信息对用户进行提醒。Optionally, before outputting the alarm information, the server may further obtain the physical parameter of the user, and determine, according to the physical parameter, whether the user is in a sleep state, wherein the physical parameter includes one of a heart rate, a respiratory rate, and a body temperature parameter. Item or multiple; if the server determines that the user is in a sleep state, the server performs the step of outputting the alarm information. That is to say, the server can output an alarm message to remind the user when the user is in a sleep state and it is not easy to find that the harmful gas exceeds the standard.

可选的,该服务器输出告警信息,可以具体为:该服务器获取该用户的当前状态,该当前状态包括睡眠状态和活动状态;如果该用户处于睡眠状态,该服务器采用第一输出方式输出告警信息;如果该用户处于活动状态,该服务器 采用第二输出方式输出告警信息;其中,该第一输出方式对应的音频音量大于该第二输出方式对应的音频音量。也就是说,为了避免睡眠用户无法及时获知该目标气体浓度超标,可以调高提醒的音量,来提醒用户。Optionally, the server outputs the alarm information, which may be specifically: the server acquires a current state of the user, where the current state includes a sleep state and an active state; if the user is in a sleep state, the server outputs the alarm information by using the first output mode. ; if the user is active, the server The second output mode is used to output the alarm information. The audio volume corresponding to the first output mode is greater than the audio volume corresponding to the second output mode. That is to say, in order to prevent the sleep user from being able to know in time that the target gas concentration exceeds the standard, the volume of the reminder can be increased to remind the user.

可选的,该服务器输出告警信息,可以具体为:该服务器向预先关联的第一终端设备发送告警信息,以使该第一终端设备输出提示消息,以提示用户该目标气体的浓度超标。具体的,服务器还可通过向关联的终端设备发送告警信息,以使该终端设备来提醒用户有害气体超标,比如在检测到该关联的终端设备距离用户较近,如距离低于预设距离阈值时,触发通过该终端设备来提醒用户。Optionally, the server outputs the alarm information, which may be specifically: the server sends the alarm information to the pre-associated first terminal device, so that the first terminal device outputs a prompt message to prompt the user that the concentration of the target gas exceeds the standard. Specifically, the server may further send the alarm information to the associated terminal device, so that the terminal device reminds the user that the harmful gas exceeds the standard, for example, when detecting that the associated terminal device is closer to the user, if the distance is lower than a preset distance threshold. When the terminal device is triggered to alert the user.

可选的,第一终端设备在接收到该告警信息之后,如果成功地提醒了用户,用户可向服务器回复一个确认指令,以确定成功提醒。在如果预设时间范围内未接收到该第一终端设备针对该告警信息返回的确认指令,该服务器还向预先设置的电话号码对应的第二终端设备发送警报。其中,该服务器中预先存储有电话号码,该电话号码可以是其他联系人的电话,或者可以是报警电话如“110”,具体可以由用户自定义设置得到,本发明实施例不做限定。Optionally, after the first terminal device receives the alarm information, if the user is successfully alerted, the user may reply to the server with a confirmation command to determine a successful reminder. The server also sends an alert to the second terminal device corresponding to the preset phone number if the confirmation command returned by the first terminal device for the alarm information is not received within the preset time range. The phone number is pre-stored in the server, and the phone number may be a phone number of another contact, or may be an alarm phone such as “110”, which may be obtained by a user-defined setting, which is not limited by the embodiment of the present invention.

在本发明实施例中,服务器可通过获取预设区域范围内的目标气体的浓度指数,并检测该目标气体的浓度指数是否超过预设的浓度阈值,以及检测预设区域范围内是否存在用户,并在预设区域范围内存在用户,且该目标气体的浓度指数超过浓度阈值时,输出包括音频信息的告警信息,从而能够自动检测区域内的有害气体的浓度,以便于在该有害气体浓度超标时及时通知用户。In the embodiment of the present invention, the server may obtain a concentration index of the target gas in the preset area, and detect whether the concentration index of the target gas exceeds a preset concentration threshold, and detect whether a user exists in the preset area. And if there is a user in the preset area, and the concentration index of the target gas exceeds the concentration threshold, the alarm information including the audio information is output, so that the concentration of the harmful gas in the area can be automatically detected, so that the concentration of the harmful gas exceeds the standard. Notify the user in time.

请参见图2,是本发明实施例提供的一种服务器的结构示意图。具体的,如图2所示,本发明实施例的所述服务器200可包括确定单元201以及输出单元202。其中,这些单元可以执行上述方法示例中服务器的相应功能,例如,FIG. 2 is a schematic structural diagram of a server according to an embodiment of the present invention. Specifically, as shown in FIG. 2, the server 200 of the embodiment of the present invention may include a determining unit 201 and an output unit 202. Among them, these units can perform the corresponding functions of the server in the above method example, for example,

确定单元201,用于获取预设区域范围内的目标气体的浓度指数,并检测所述目标气体的浓度指数是否超过预设的浓度阈值;a determining unit 201, configured to acquire a concentration index of the target gas in the preset region range, and detect whether the concentration index of the target gas exceeds a preset concentration threshold;

所述确定单元201,还用于检测预设区域范围内是否存在用户;The determining unit 201 is further configured to detect whether a user exists in a preset area;

输出单元202,用于当所述预设区域范围内存在用户,且所述目标气体的浓度指数超过所述浓度阈值时,输出告警信息; The output unit 202 is configured to output alarm information when a user exists in the preset area range, and a concentration index of the target gas exceeds the concentration threshold;

其中,所述告警信息包括音频信息。The alarm information includes audio information.

可选的,在所述服务器输出告警信息之前,Optionally, before the server outputs the alarm information,

所述确定单元201,还用于获取所述用户的体征参数,并根据所述体征参数确定所述用户是否处于睡眠状态;其中,所述体征参数包括心率、呼吸频率以及体温参数中的一项或多项;The determining unit 201 is further configured to acquire the physical parameter of the user, and determine, according to the physical parameter, whether the user is in a sleep state, wherein the physical parameter includes one of a heart rate, a respiratory frequency, and a body temperature parameter. Or more than one;

所述输出单元202,具体用于输出告警信息。The output unit 202 is specifically configured to output alarm information.

可选的,所述确定单元201,还用于获取所述用户的当前状态,所述当前状态包括睡眠状态和活动状态;Optionally, the determining unit 201 is further configured to acquire a current state of the user, where the current state includes a sleep state and an active state;

所述输出单元202具体用于:The output unit 202 is specifically configured to:

如果所述用户处于睡眠状态,所述服务器采用第一输出方式输出告警信息;If the user is in a sleep state, the server outputs the alarm information by using the first output manner;

如果所述用户处于活动状态,所述服务器采用第二输出方式输出告警信息;If the user is in an active state, the server outputs the alarm information by using a second output manner;

其中,所述第一输出方式对应的音频音量大于所述第二输出方式对应的音频音量。The audio volume corresponding to the first output mode is greater than the audio volume corresponding to the second output mode.

可选的,所述输出单元202具体用于:Optionally, the output unit 202 is specifically configured to:

向预先关联的第一终端设备发送告警信息,以使所述第一终端设备输出提示消息,以提示用户所述目标气体的浓度超标。Sending alarm information to the pre-associated first terminal device, so that the first terminal device outputs a prompt message to prompt the user that the concentration of the target gas exceeds the standard.

可选的,所述输出单元202,还用于在预设时间范围内未接收到所述终端设备针对所述告警信息返回的确认指令时,向预先设置的电话号码对应的第二终端设备发送警报。Optionally, the output unit 202 is further configured to send, when the terminal device does not receive the confirmation instruction returned by the terminal device for the alarm information, to the second terminal device corresponding to the preset phone number. alarm.

具体的,该服务器可通过上述单元实现上述图1所示实施例中的气体浓度检测方法中的部分或全部步骤。应理解,本发明实施例是对应方法实施例的装置实施例,对方法实施例的描述,也适用于本发明实施例。Specifically, the server may implement some or all of the steps in the gas concentration detecting method in the embodiment shown in FIG. 1 by using the above unit. It should be understood that the embodiments of the present invention are device embodiments corresponding to the method embodiments, and the description of the method embodiments is also applicable to the embodiments of the present invention.

请参见图3,是本发明另一实施例提供的一种服务器的结构示意图。具体的,如图3所示,本发明实施例的所述服务器300可以包括:一个或多个处理器301;还可选的包括一个或多个收发器302、用户接口303和存储器304等等。上述处理器301、收发器302、用户接口303和存储器304可以通过总线305连接,或者也可以通过其他方式连接。存储器304可用于存储指令,处理器301可用于执行存储器304存储的指令。 FIG. 3 is a schematic structural diagram of a server according to another embodiment of the present invention. Specifically, as shown in FIG. 3, the server 300 of the embodiment of the present invention may include: one or more processors 301; optionally including one or more transceivers 302, a user interface 303, a memory 304, and the like. . The processor 301, the transceiver 302, the user interface 303, and the memory 304 may be connected by a bus 305, or may be connected by other means. Memory 304 can be used to store instructions, and processor 301 can be used to execute instructions stored in memory 304.

应当理解,在本发明实施例中,所述处理器301可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in the embodiment of the present invention, the processor 301 may be a central processing unit (CPU), and the processor may also be another general-purpose processor, a digital signal processor (DSP). , Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.

该收发器302可用于接收和/或发送信息。The transceiver 302 can be used to receive and/or transmit information.

该用户接口303可以包括触控板、传感器、麦克风等,也可以包括显示器(LCD等)、扬声器等。The user interface 303 may include a touchpad, a sensor, a microphone, etc., and may also include a display (LCD or the like), a speaker, and the like.

该存储器304可以包括只读存储器和随机存取存储器,并向处理器301提供指令和数据。存储器304的一部分还可以包括非易失性随机存取存储器。The memory 304 can include read only memory and random access memory and provides instructions and data to the processor 301. A portion of the memory 304 may also include a non-volatile random access memory.

其中,处理器301可具体用于:获取预设区域范围内的目标气体的浓度指数,并检测所述目标气体的浓度指数是否超过预设的浓度阈值;检测预设区域范围内是否存在用户;当所述预设区域范围内存在用户,且所述目标气体的浓度指数超过所述浓度阈值时,通过所述用户接口303输出告警信息;The processor 301 is specifically configured to: obtain a concentration index of the target gas in the preset region, and detect whether the concentration index of the target gas exceeds a preset concentration threshold; and detect whether a user exists in the preset region; When the user exists in the preset area range, and the concentration index of the target gas exceeds the concentration threshold, the alarm information is output through the user interface 303;

其中,所述告警信息包括音频信息。The alarm information includes audio information.

可选的,所述处理器301,还用于获取所述用户的体征参数,并根据所述体征参数确定所述用户是否处于睡眠状态;如果所述服务器确定所述用户处于睡眠状态,通过所述用户接口303输出告警信息;Optionally, the processor 301 is further configured to obtain a physical parameter of the user, and determine, according to the physical parameter, whether the user is in a sleep state; if the server determines that the user is in a sleep state, The user interface 303 outputs alarm information;

其中,所述体征参数包括心率、呼吸频率以及体温参数中的一项或多项。Wherein the physical parameter includes one or more of a heart rate, a respiratory rate, and a body temperature parameter.

可选的,所述处理器301,还用于获取所述用户的当前状态,所述当前状态包括睡眠状态和活动状态;如果所述用户处于睡眠状态,通过所述用户接口303并采用第一输出方式输出告警信息;如果所述用户处于活动状态,通过所述用户接口303并采用第二输出方式输出告警信息;Optionally, the processor 301 is further configured to acquire a current state of the user, where the current state includes a sleep state and an active state; if the user is in a sleep state, pass the user interface 303 and adopt the first state. Output mode outputting alarm information; if the user is in an active state, outputting alarm information through the user interface 303 and using a second output manner;

其中,所述第一输出方式对应的音频音量大于所述第二输出方式对应的音频音量。The audio volume corresponding to the first output mode is greater than the audio volume corresponding to the second output mode.

可选的,所述处理器301,还用于通过所述收发器302向预先关联的第一终端设备发送告警信息,以使所述第一终端设备输出提示消息,以提示用户所述目标气体的浓度超标。 Optionally, the processor 301 is further configured to send, by using the transceiver 302, alarm information to a pre-associated first terminal device, so that the first terminal device outputs a prompt message to prompt the user of the target gas. The concentration is exceeded.

可选的,所述处理器301,还用于在预设时间范围内未接收到所述终端设备针对所述告警信息返回的确认指令时,通过所述收发器302向预先设置的电话号码对应的第二终端设备发送警报。Optionally, the processor 301 is further configured to: when the terminal device does not receive the confirmation instruction returned by the terminal device for the alarm information, correspond to the preset phone number through the transceiver 302. The second terminal device sends an alert.

具体实现中,本发明实施例中所描述的处理器301、收发器302、用户接口303、存储器304可执行图1所示实施例中的气体浓度检测方法所描述的实现方式,也可执行本发明实施例所描述的服务器的实现方式,在此不再赘述。In a specific implementation, the processor 301, the transceiver 302, the user interface 303, and the memory 304 described in the embodiment of the present invention may perform the implementation described in the gas concentration detecting method in the embodiment shown in FIG. The implementation manner of the server described in the embodiment of the present invention is not described herein again.

在本发明的另一实施例中提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现图1所示实施例的气体浓度检测方法。In another embodiment of the present invention, there is provided a computer readable storage medium storing a computer program that, when executed by a processor, implements gas concentration detection of the embodiment of FIG. method.

所述计算机可读存储介质可以是前述任一实施例所述的服务器的内部存储单元,例如服务器的硬盘或内存。所述计算机可读存储介质也可以是所述服务器的外部存储设备,例如所述服务器上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述计算机可读存储介质还可以既包括所述服务器的内部存储单元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述服务器所需的其他程序和数据。所述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。The computer readable storage medium may be an internal storage unit of a server as described in any of the preceding embodiments, such as a hard disk or a memory of a server. The computer readable storage medium may also be an external storage device of the server, such as a plug-in hard disk equipped on the server, a smart memory card (SMC), and a Secure Digital (SD) card. , Flash Card, etc. Further, the computer readable storage medium may also include both an internal storage unit of the server and an external storage device. The computer readable storage medium is for storing the computer program and other programs and data required by the server. The computer readable storage medium can also be used to temporarily store data that has been output or is about to be output.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, for clarity of hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的服务器的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the server described above may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.

在本申请所提供的几个实施例中,应该理解到,所揭露的服务器和方法,可以通过其它的方式实现。例如,本发明实施例中对单元的划分是示意性的, 仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。本发明实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,或一些特征可以忽略,或不执行。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In the several embodiments provided by the present application, it should be understood that the disclosed server and method may be implemented in other manners. For example, the division of the unit in the embodiment of the present invention is schematic. For the division of only one logical function, there may be another way of dividing the actual implementation. Each functional unit in the embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated in one unit, or some features may be ignored or not executed. . The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。 The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any equivalent person can be easily conceived within the technical scope of the present invention by any person skilled in the art. Modifications or substitutions are intended to be included within the scope of the invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims (10)

一种气体浓度检测方法,其特征在于,包括:A gas concentration detecting method, comprising: 服务器获取预设区域范围内的目标气体的浓度指数,并检测所述目标气体的浓度指数是否超过预设的浓度阈值;The server acquires a concentration index of the target gas in the preset region range, and detects whether the concentration index of the target gas exceeds a preset concentration threshold; 所述服务器检测预设区域范围内是否存在用户;The server detects whether a user exists in a preset area; 当所述预设区域范围内存在用户,且所述目标气体的浓度指数超过所述浓度阈值时,所述服务器输出告警信息;When the user exists in the preset area range, and the concentration index of the target gas exceeds the concentration threshold, the server outputs alarm information; 其中,所述告警信息包括音频信息。The alarm information includes audio information. 根据权利要求1所述的方法,其特征在于,在所述服务器输出告警信息之前,所述方法还包括:The method according to claim 1, wherein before the server outputs the alarm information, the method further includes: 所述服务器获取所述用户的体征参数,并根据所述体征参数确定所述用户是否处于睡眠状态;其中,所述体征参数包括心率、呼吸频率以及体温参数中的一项或多项;Obtaining, by the server, a physical parameter of the user, and determining, according to the physical parameter, whether the user is in a sleep state; wherein the physical parameter includes one or more of a heart rate, a respiratory frequency, and a body temperature parameter; 如果所述服务器确定所述用户处于睡眠状态,所述服务器执行所述输出告警信息的步骤。If the server determines that the user is in a sleep state, the server performs the step of outputting alarm information. 根据权利要求1所述的方法,其特征在于,所述服务器输出告警信息,包括:The method according to claim 1, wherein the server outputs alarm information, including: 所述服务器获取所述用户的当前状态,所述当前状态包括睡眠状态和活动状态;The server acquires a current state of the user, where the current state includes a sleep state and an active state; 如果所述用户处于睡眠状态,所述服务器采用第一输出方式输出告警信息;If the user is in a sleep state, the server outputs the alarm information by using the first output manner; 如果所述用户处于活动状态,所述服务器采用第二输出方式输出告警信息;If the user is in an active state, the server outputs the alarm information by using a second output manner; 其中,所述第一输出方式对应的音频音量大于所述第二输出方式对应的音频音量。The audio volume corresponding to the first output mode is greater than the audio volume corresponding to the second output mode. 根据权利要求1-3任一项所述的方法,其特征在于,所述服务器输出告警信息,包括:The method according to any one of claims 1-3, wherein the server outputs alarm information, including: 所述服务器向预先关联的第一终端设备发送告警信息,以使所述第一终端 设备输出提示消息,以提示用户所述目标气体的浓度超标。Sending, by the server, alarm information to a pre-associated first terminal device, so that the first terminal The device outputs a prompt message to prompt the user that the concentration of the target gas exceeds the standard. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises: 如果预设时间范围内未接收到所述终端设备针对所述告警信息返回的确认指令,所述服务器向预先设置的电话号码对应的第二终端设备发送警报。If the confirmation command returned by the terminal device for the alarm information is not received within the preset time range, the server sends an alert to the second terminal device corresponding to the preset phone number. 一种服务器,其特征在于,包括:用户接口和处理器;其中,A server, comprising: a user interface and a processor; wherein 所述处理器,用于获取预设区域范围内的目标气体的浓度指数,并检测所述目标气体的浓度指数是否超过预设的浓度阈值;检测预设区域范围内是否存在用户;当所述预设区域范围内存在用户,且所述目标气体的浓度指数超过所述浓度阈值时,通过所述用户接口输出告警信息;The processor is configured to acquire a concentration index of a target gas in a preset area, and detect whether a concentration index of the target gas exceeds a preset concentration threshold; and detect whether a user exists in a preset area; When a user exists in the preset area range, and the concentration index of the target gas exceeds the concentration threshold, the alarm information is output through the user interface; 其中,所述告警信息包括音频信息。The alarm information includes audio information. 根据权利要求6所述的服务器,其特征在于,A server according to claim 6 wherein: 所述处理器,还用于获取所述用户的体征参数,并根据所述体征参数确定所述用户是否处于睡眠状态;如果所述服务器确定所述用户处于睡眠状态,通过所述用户接口输出告警信息;The processor is further configured to obtain a physical parameter of the user, and determine, according to the physical parameter, whether the user is in a sleep state; if the server determines that the user is in a sleep state, output an alarm through the user interface. information; 其中,所述体征参数包括心率、呼吸频率以及体温参数中的一项或多项。Wherein the physical parameter includes one or more of a heart rate, a respiratory rate, and a body temperature parameter. 根据权利要求6所述的服务器,其特征在于,A server according to claim 6 wherein: 所述处理器,还用于获取所述用户的当前状态,所述当前状态包括睡眠状态和活动状态;如果所述用户处于睡眠状态,通过所述用户接口并采用第一输出方式输出告警信息;如果所述用户处于活动状态,通过所述用户接口并采用第二输出方式输出告警信息;The processor is further configured to acquire a current state of the user, where the current state includes a sleep state and an active state; if the user is in a sleep state, outputting alarm information by using the user interface and adopting a first output manner; If the user is in an active state, outputting alarm information through the user interface and using a second output manner; 其中,所述第一输出方式对应的音频音量大于所述第二输出方式对应的音频音量。The audio volume corresponding to the first output mode is greater than the audio volume corresponding to the second output mode. 根据权利要求6-8任一项所述的服务器,其特征在于,所述服务器还包括:收发器; The server according to any one of claims 6-8, wherein the server further comprises: a transceiver; 所述处理器,还用于通过所述收发器向预先关联的第一终端设备发送告警信息,以使所述第一终端设备输出提示消息,以提示用户所述目标气体的浓度超标。The processor is further configured to send, by using the transceiver, the alarm information to the pre-associated first terminal device, so that the first terminal device outputs a prompt message to prompt the user that the concentration of the target gas exceeds the standard. 根据权利要求9所述的服务器,其特征在于,The server according to claim 9, wherein 所述处理器,还用于在预设时间范围内未接收到所述终端设备针对所述告警信息返回的确认指令时,通过所述收发器向预先设置的电话号码对应的第二终端设备发送警报。 The processor is further configured to: when the terminal device does not receive the confirmation instruction returned by the terminal device for the alarm information, send, by the transceiver, to the second terminal device corresponding to the preset phone number alarm.
PCT/CN2017/097735 2017-08-16 2017-08-16 Gas concentration detection method and server Ceased WO2019033319A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/097735 WO2019033319A1 (en) 2017-08-16 2017-08-16 Gas concentration detection method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/097735 WO2019033319A1 (en) 2017-08-16 2017-08-16 Gas concentration detection method and server

Publications (1)

Publication Number Publication Date
WO2019033319A1 true WO2019033319A1 (en) 2019-02-21

Family

ID=65362084

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/097735 Ceased WO2019033319A1 (en) 2017-08-16 2017-08-16 Gas concentration detection method and server

Country Status (1)

Country Link
WO (1) WO2019033319A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104517399A (en) * 2013-09-27 2015-04-15 湖州沃武网络科技有限公司 Automobile heatstroke prevention alarm method based on bluetooth network and system thereof
US20150177185A1 (en) * 2013-12-20 2015-06-25 Rosemount Analytical Inc. Electrochemical detection system with internal life-test
CN105185050A (en) * 2015-06-29 2015-12-23 柳州蚊敌香业有限公司 Vehicle-borne exhaust gas concentration monitoring alarm device
CN105225411A (en) * 2015-09-06 2016-01-06 深圳市乐莱萌科技有限公司 A kind of vehicle-mounted human body alarm method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104517399A (en) * 2013-09-27 2015-04-15 湖州沃武网络科技有限公司 Automobile heatstroke prevention alarm method based on bluetooth network and system thereof
US20150177185A1 (en) * 2013-12-20 2015-06-25 Rosemount Analytical Inc. Electrochemical detection system with internal life-test
CN105185050A (en) * 2015-06-29 2015-12-23 柳州蚊敌香业有限公司 Vehicle-borne exhaust gas concentration monitoring alarm device
CN105225411A (en) * 2015-09-06 2016-01-06 深圳市乐莱萌科技有限公司 A kind of vehicle-mounted human body alarm method and device

Similar Documents

Publication Publication Date Title
US9247525B2 (en) Systems and methods for providing notifications
CN107622642A (en) A gas concentration detection method and server
CN104767883B (en) The method and terminal of a kind of terminal notifying
US20110131274A1 (en) Notification control through brain monitoring of end user concentration
JP2017519420A (en) Noise-sensitive warning presentation
CN104335612A (en) Message presentation based on capabilities of a mobile device
CN105809881A (en) Alarming method and device, control equipment and sensing equipment
CN102170497A (en) Unprocessed event indicating method, system and terminal
US20090267762A1 (en) Systems and methods for detecting loss of an electronic device
CN105405256B (en) Wearable device-based harmful gas standard exceeding early warning method and system
CN104902077B (en) A kind of method and its device of information of mobile terminal notice
CN110555977A (en) Gas monitoring method and device, Internet of things platform and gas terminal
CN103810823A (en) Alarm processing method and device
WO2022242150A1 (en) Air conditioner and fire monitoring control method therefor
CN105488947A (en) Alarm processing method, device and terminal equipment
CN104750454A (en) Loudspeaker box control method and device
WO2017054486A1 (en) Alarm processing method and device
WO2019033319A1 (en) Gas concentration detection method and server
WO2018068539A1 (en) Information prompting control method and device
CN107566673A (en) A kind of message prompt method and server
CN107436830A (en) Use control method, system and electronic equipment
CN105100467B (en) Mobile terminal and its automatically turn on hands-free method and apparatus
CN104768132B (en) A kind of call detection method and detection device of conversing
CN108683805A (en) A kind of call processing method, mobile terminal and computer readable storage medium
CN207302253U (en) A kind of ann silence apparatus and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17921540

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17921540

Country of ref document: EP

Kind code of ref document: A1