Operation method of gas consumption environment monitoring system based on Internet of Things

The gas environment for gas is monitored through the Internet of Things system, and the gas solenoid valve is automatically closed by a humanoid detection module, which solves the problem of post-control in the existing technology, realizes comprehensive safety management of gas facilities, and reduces the risk of accidents.

CN118945189APending Publication Date: 2024-11-12SHUNJING SHUNXIN MANAGEMENT CONSULTING (XUZHOU JIANGSU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410974254.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-05-09
Filing Date
2024-07-19
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The existing gas accident monitoring system mainly relies on post-event detection and control, and cannot achieve effective control before and during the event, and lacks a mechanism to cultivate users' safety awareness, resulting in accidents that are prone to occur when no one is on duty at night.

Method used

The gas environment monitoring system for gas based on the Internet of Things is adopted, and by monitoring the gas electronic pressure gauge data and the humanoid detection module, it is determined whether someone is in the room. If no one is present, the gas solenoid valve will be automatically closed to achieve pre- and in-process control.

Benefits of technology

It effectively avoids the occurrence of gas accidents under unmanaged management, cultivates users' safety habits, and realizes comprehensive pre-, during and after-sales safety control of gas facilities, reducing the risk of accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945189A_ABST
    Figure CN118945189A_ABST
Patent Text Reader

Abstract

The invention discloses an operation method of a fuel gas use environment monitoring system based on the Internet of Things, and belongs to the technical field of fuel gas safety monitoring, and the method comprises the following steps: S1, system standby: the system monitors the data change of a gas electronic pressure gauge, and determines whether the fuel gas is in a use state; s2, system operation: a camera scans a room, and a human shape detection module detects whether a person is in the room; according to the method, whether a person is in a gas using place or not is judged through face recognition, when no person is found for a certain time, an instruction is sent out, gas supply is cut off through the electromagnetic valve, the effect that the valve is closed when the person walks is achieved, and accidents caused by unmanned management when gas is used are avoided; therefore, a traditional management mode of giving priority to post-event control is effectively solved, the pre-event control effect and the in-event control effect are achieved, safety consciousness and behaviors of a user can be reminded and cultivated for a long time through intelligent control, and then the behavior criterion that the valve is closed when the user walks is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of gas safety monitoring, and in particular to an operation method of a gas use environment monitoring system based on the Internet of Things. Background Art

[0002] In recent years, most gas accidents occurred at night when no one was on duty or unattended. The existing technology is mainly aimed at detection, alarm and control after the leakage occurs. It is a post-control system after the leakage accident actually occurs. After the accident, it is completely dependent on the system. In addition, some places have not installed leakage alarm devices, or their regular detection after installation may not be timely, which is inconsistent with the principle of combining before, during and after the safety accident control.

[0003] What is more important in safety management is the control before and during the event, with the primary priority being to prevent accidents or eliminate potential safety hazards in a timely manner. At the same time, the safety system should be able to effectively and long-term cultivate users' safety awareness and habits. The existing alarm control system cannot play this role. For this reason, an operation method of a gas environment monitoring system based on the Internet of Things is proposed. Summary of the invention

[0004] The purpose of the present invention is to provide an operation method of a fuel gas environment monitoring system based on the Internet of Things to solve the problems raised in the above background technology.

[0005] To achieve the above object, the present invention provides the following technical solution: an operation method of a gas environment monitoring system based on the Internet of Things, comprising the following steps:

[0006] S1, system standby: the system monitors the data changes of the gas electronic pressure gauge to determine whether the gas is in use;

[0007] S2, system operation: the camera scans the room, and the human detection module detects whether there is anyone in the room;

[0008] S3. Send notification: Send a signal to notify closing the gas solenoid valve.

[0009] As a further preferred embodiment of the present technical solution: in S1, the specific process of the system determining whether the gas is in use includes the following steps:

[0010] A1. The system builds an HTTP server to receive data from the gas electronic pressure gauge;

[0011] A2. The system sets two variables to store comparison data (variable value_to_be_compared) and current data (variable current_value);

[0012] A3. When the system enters the standby state and receives the current reading of the gas electronic pressure gauge for the first time, the data is stored in the comparison data (variable value_to_be_compared);

[0013] A4. The system receives the current reading of the gas electronic pressure gauge every x seconds and stores the data in the current data (variable current_value);

[0014] A5. The system calculates the reading difference between the current data (variable current_value) and the comparison data (variable value_to_be_compared) of the gas electronic pressure gauge every 30 seconds;

[0015] A6. After A5 is run, when the reading difference is greater than or equal to y, it is considered that the gas is in use. When the gas is determined to be in use, the system ends standby mode and starts working mode;

[0016] When the reading difference is less than y, it is considered that the gas is not in use.

[0017] As a further preferred embodiment of the present technical solution: in A6, y is a threshold value for determining whether the gas is in use.

[0018] As a further preferred embodiment of the present technical solution: in S2, the specific process of the system operation includes the following steps:

[0019] B1. The system enters the working mode, the initial value of the occupancy state machine is "occupancy", and a full-house scan is started;

[0020] B2. During a full-house scan, the camera rotates 360° and captures the current frame of the video every 10° to send to the human target detection module for detection;

[0021] B3. After B2 is executed, when the result of a whole-house scan is that someone is present, the person state machine is in the initial value, i.e., the "someone" state, and the camera performs the next whole-house scan after 5 minutes.

[0022] If the result of a full-house scan is no one, the occupancy state machine switches to the "no one" state, and the camera performs the next full-house scan after 30 seconds.

[0023] B4. After B3 is executed, when the occupancy state machine is in the "occupancy" state, if the whole house scan result within 5 minutes is the occupancy state, the occupancy state machine is converted to the "occupancy" state again and returns to B1 to re-execute;

[0024] When the manned state machine is in the "unmanned state", if any whole-house scan result within 5 minutes is unmanned, a signal is sent to notify the gas solenoid valve to be closed, and the system enters the S1 standby state.

[0025] As a further preferred embodiment of the present technical solution: in B2, a total of 36 frames of images are detected in one scan to determine whether there is anyone in the room.

[0026] As a further preferred embodiment of the present technical solution: in S3, the specific process of sending the notification includes the following steps:

[0027] C1. The system sets the signal for closing the gas solenoid valve to a binary digit, "1" represents closing the solenoid valve, and "0" represents no operation;

[0028] C2. The system converts this binary digit into an analog signal through the digital-to-analog conversion module, "1" is a high level and "0" is a low level;

[0029] C3. The system transmits the analog signal to the gas solenoid valve control switch through the data cable.

[0030] As a further preferred embodiment of the present technical solution: in B2, the camera adopts an AI smart camera, the AI ​​smart camera includes an AI vision core board, a steering gear pan / tilt and a camera, and the AI ​​vision core board is electrically connected to the steering gear pan / tilt through a wire;

[0031] Among them, the AI ​​vision core board has a neural network processor for video processing, supports mainstream deep learning frameworks, supports common network models, and can perform lightweight human model detection reasoning. At the same time, the AI ​​vision core board has image acquisition functions and an independent operating system, and the AI ​​vision core board supports connecting cameras via USB or Ethernet ports or WIFI or MIPI, and supports IO pins such as GPIO and UART for data input and output. At the same time, the AI ​​vision core board adds an AD / DA conversion module, which is connected to the IO pin to convert the digital signal in the notification sent by the system into an analog signal output;

[0032] Among them, the AI ​​vision core board is programmed to calculate the angle that needs to be rotated, and the angle value is transmitted to the servo gimbal through the data line for execution;

[0033] Among them, the camera supports access via USB, Ethernet, WIFI, MIPI and other interfaces, and supports RGB full color or infrared night vision.

[0034] As a further preferred embodiment of the present technical solution: the image acquisition function in the AI ​​vision core board has a QVGA of not less than 60FPS and a VGA of not less than 30FPS, and the independent operating system in the AI ​​vision core board supports common software development languages ​​such as C or C++ or Python or MicroPython;

[0035] Among them, the servo gimbal supports 360° horizontal rotation, and its torque is not less than 15kg;

[0036] The camera shall have a specification of no less than 200M pixels and a resolution of no less than 640x480.

[0037] As a further preferred embodiment of the present technical solution: in C1, the gas solenoid valve adopts a controllable gas solenoid valve, and the controllable gas solenoid valve includes a gas solenoid valve body and a signal receiving circuit;

[0038] Among them, the gas solenoid valve body is automatically controlled to close and manually controlled to open. Two wires are led out of the gas solenoid valve control device to form a signal line, which is connected to the AD / DA conversion module interface in the AI ​​vision core board, so that the signal receiving circuit controls the closing of the gas solenoid valve body by receiving high and low level signals.

[0039] As a further preferred embodiment of the present technical solution: the gas solenoid valve body is connected to the gas equipment and is used to shut down the gas equipment in an emergency state, and the gas solenoid valve body is controlled to open and close by a control circuit.

[0040] As a further preferred embodiment of the present technical solution: in A1, the gas electronic pressure gauge comprises a gas pressure gauge body and a signal sending circuit;

[0041] Among them, the gas electronic pressure gauge body has the function of uploading the gas flow value in real time.

[0042] As a further preferred embodiment of the present technical solution: the gas electronic pressure gauge body is connected to the gas equipment to monitor the change of gas flow.

[0043] As a further preferred embodiment of the present technical solution: when the gas electronic pressure gauge uploads the real-time data of the gas flow rate via a wireless network transmission method such as WIFI, the receiving URL thereof is added to the HTTP server in the AI ​​vision core board;

[0044] When the gas electronic pressure gauge uploads the real-time data of gas flow via a signal line, the signal line is led out to the IO interface of the AI ​​vision core board;

[0045] The gas pressure gauge data is used as the basis for whether the system is started. When the gas pressure gauge changes by more than xxx Pa, it is considered that the gas is in use and the system starts working. Otherwise, the system is in standby mode.

[0046] Compared with the prior art, the present invention has the following beneficial effects:

[0047] 1. The present invention uses artificial intelligence to determine whether there is someone at the gas-using place through portrait recognition. When it is found that no one has been there for a certain period of time, a command is issued to disconnect the gas supply by the solenoid valve, so that the valve is closed when no one is there and the valve is closed when no one is at the gas-using place, thereby avoiding accidents caused by no one managing the use of gas. This effectively solves the traditional management mode of mainly post-control, thereby achieving the control effect before and during the event, and through intelligent control, it is conducive to long-term reminders and training of users' safety awareness and behavior, and then to achieve the behavioral norm of closing the valve when no one is there;

[0048] 2. The present invention realizes centralized monitoring of all gas-using places in a certain area through operation control, and with the help of intelligent operation, it can realize valve closing when no one is around and valve closing when people are away, thus cutting off the gas supply to the gas-using places, and then cultivating the safety behavior and habit of users to close the valve when people are away;

[0049] 3. The present invention realizes pre-control, and then realizes the comprehensive control goal of pre-, in- and post-control of gas-using places, with the core of cutting off or preventing accidents (gas leakage). On the basis of pre- and in-process control, combined with the existing leakage alarm device, the leakage from the gas-using equipment and the like, which is extremely likely to be caused by internal leakage of valves, can also be effectively controlled, and there are obvious improvements and enhancements in avoiding major accidents, mass deaths and injuries, etc.;

[0050] 4. The present invention is aimed at the fact that the prior art cannot realize pre-control. The surveillance camera with pedestrian recognition is the main component to solve the pre-control problem. The human figure recognition is converted into a control signal, and a command is issued to the control module, which then controls the valve to close. The system is more effective and direct in commercial gas places. At the same time, it is applied to civil gas places, especially for the elderly, the disabled, and people with certain obstacles to their sensory organs, and the safety significance is more obvious;

[0051] 5. The present invention uses human recognition to guide the user to be present at the gas usage site when using gas, thereby avoiding the use of gas when no one is around, and further cultivating the safety habit of users to close the valve when no one is around in the long term. When it detects that there is no one and reaches a set time, the system automatically closes the valve to achieve advance control of the gas usage site. By effectively avoiding safety accidents caused by aging of hoses, falling of hoses, leakage of stoves, rat bites and abnormal flameout, etc., the unmanned automatic valve closing and leakage alarm device are used together to achieve safety control of the gas usage site before, during and after the event, and achieve inherent safety management of the gas facilities behind the valve. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1It is a schematic diagram of the operation flow of an operation method of a fuel gas environment monitoring system based on the Internet of Things of the present invention;

[0053] Figure 2 It is a schematic diagram of the system standby process in an operation method of a gas use environment monitoring system based on the Internet of Things of the present invention;

[0054] Figure 3 It is a schematic diagram of the system operation process in an operation method of a gas use environment monitoring system based on the Internet of Things of the present invention;

[0055] Figure 4 The present invention is a flowchart of sending notifications in an operation method of a gas usage environment monitoring system based on the Internet of Things. DETAILED DESCRIPTION

[0056] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0057] Example

[0058] See also Figure 1-Figure 4 The present invention provides a technical solution: an operation method of a gas environment monitoring system based on the Internet of Things, comprising the following steps:

[0059] S1, system standby: the system monitors the data changes of the gas electronic pressure gauge to determine whether the gas is in use;

[0060] S2, system operation: the camera scans the room, and the human detection module detects whether there is anyone in the room;

[0061] S3. Send notification: Send a signal to notify closing the gas solenoid valve.

[0062] In this embodiment, specifically: in S1, the specific process of the system determining whether the gas is in use includes the following steps:

[0063] A1. The system builds an HTTP server to receive data from the gas electronic pressure gauge;

[0064] A2. The system sets two variables to store comparison data (variable value_to_be_compared) and current data (variable current_value);

[0065] A3. When the system enters the standby state and receives the current reading of the gas electronic pressure gauge for the first time, the data is stored in the comparison data (variable value_to_be_compared);

[0066] A4. The system receives the current reading of the gas electronic pressure gauge every x seconds and stores the data in the current data (variable current_value);

[0067] A5. The system calculates the reading difference between the current data (variable current_value) and the comparison data (variable value_to_be_compared) of the gas electronic pressure gauge every 30 seconds;

[0068] A6. After A5 is run, when the reading difference is greater than or equal to y, it is considered that the gas is in use. When the gas is determined to be in use, the system ends standby mode and starts working mode;

[0069] When the reading difference is less than y, it is considered that the gas is not in use.

[0070] In this embodiment, specifically: in A6, y is a threshold value set to determine whether the gas is in use.

[0071] In this embodiment, specifically: in S2, the specific process of the system operation includes the following steps:

[0072] B1. The system enters the working mode, the initial value of the occupancy state machine is "occupancy", and a full-house scan is started;

[0073] B2. During a full-house scan, the camera rotates 360° and captures the current frame of the video every 10° to send to the human target detection module for detection;

[0074] B3. After B2 is executed, when the result of a whole-house scan is that someone is present, the person state machine is in the initial value, i.e., the "someone" state, and the camera performs the next whole-house scan after 5 minutes.

[0075] If the result of a full-house scan is no one, the occupancy state machine switches to the "no one" state, and the camera performs the next full-house scan after 30 seconds.

[0076] B4. After B3 is executed, when the occupancy state machine is in the "occupancy" state, if the whole house scan result within 5 minutes is the occupancy state, the occupancy state machine is converted to the "occupancy" state again and returns to B1 to re-execute;

[0077] When the manned state machine is in the "unmanned state", if any whole-house scan result within 5 minutes is unmanned, a signal is sent to notify the gas solenoid valve to be closed, and the system enters the S1 standby state.

[0078] In this embodiment, specifically: in B2, a total of 36 frames of images are detected in one scan to determine whether there is anyone in the room.

[0079] In this embodiment, specifically: in S3, the specific process of sending the notification includes the following steps:

[0080] C1. The system sets the signal for closing the gas solenoid valve to a binary digit, "1" represents closing the solenoid valve, and "0" represents no operation;

[0081] C2. The system converts this binary digit into an analog signal through the digital-to-analog conversion module, "1" is a high level and "0" is a low level;

[0082] C3. The system transmits the analog signal to the gas solenoid valve control switch through the data cable.

[0083] In this embodiment, specifically: in B2, the camera adopts an AI smart camera, the AI ​​smart camera includes an AI vision core board, a steering gear pan / tilt and a camera, and the AI ​​vision core board is electrically connected to the steering gear pan / tilt through a wire;

[0084] Among them, the AI ​​vision core board has a neural network processor for video processing, supports mainstream deep learning frameworks, supports common network models, and can perform lightweight human model detection reasoning. At the same time, the AI ​​vision core board has image acquisition functions and an independent operating system, and the AI ​​vision core board supports connecting cameras via USB or Ethernet ports or WIFI or MIPI, and supports IO pins such as GPIO and UART for data input and output. At the same time, the AI ​​vision core board adds an AD / DA conversion module, which is connected to the IO pin to convert the digital signal in the notification sent by the system into an analog signal output;

[0085] Among them, the AI ​​vision core board is programmed to calculate the angle that needs to be rotated, and the angle value is transmitted to the servo gimbal through the data line for execution;

[0086] Among them, the camera supports access via USB, Ethernet, WIFI, MIPI and other interfaces, and supports RGB full color or infrared night vision.

[0087] In this embodiment, specifically: the image acquisition function in the AI ​​vision core board, QVGA is not less than 60FPS, VGA is not less than 30FPS, and the independent operating system in the AI ​​vision core board supports common software development languages ​​​​C or C++ or Python or MicroPython, etc.

[0088] In this embodiment, specifically: the servo gimbal supports 360° horizontal rotation, and its torque is not less than 15kg.

[0089] In this embodiment, specifically: the camera adopts a specification of not less than 200M pixels and a resolution of not less than 640x480.

[0090] In this embodiment, specifically: in C1, the gas solenoid valve adopts a controllable gas solenoid valve, and the controllable gas solenoid valve includes a gas solenoid valve body and a signal receiving circuit;

[0091] Among them, the gas solenoid valve body is automatically controlled to close and manually controlled to open. Two wires are led out of the gas solenoid valve control device to form a signal line, which is connected to the AD / DA conversion module interface in the AI ​​vision core board, so that the signal receiving circuit controls the closing of the gas solenoid valve body by receiving high and low level signals.

[0092] In this embodiment, specifically: the gas solenoid valve body is connected to the gas equipment and is used to shut down the gas equipment in an emergency state. The gas solenoid valve body is controlled to open and close by the control circuit.

[0093] In this embodiment, specifically: in A1, the gas electronic pressure gauge includes a gas pressure gauge body and a signal sending circuit;

[0094] Among them, the gas electronic pressure gauge body has the function of uploading the gas flow value in real time.

[0095] In this embodiment, specifically: the gas electronic pressure gauge body is connected to the gas equipment to monitor the change of gas flow.

[0096] In this embodiment, specifically: when the gas electronic pressure meter uploads the real-time data of gas flow rate via wireless network transmission such as WIFI, the receiving URL thereof is added to the HTTP server in the AI ​​vision core board;

[0097] When the gas electronic pressure gauge uploads the real-time data of gas flow via a signal line, the signal line is led out to the IO interface of the AI ​​vision core board;

[0098] The gas pressure gauge data is used as the basis for whether the system is started. When the gas pressure gauge changes by more than xxx Pa, it is considered that the gas is in use and the system starts working. Otherwise, the system is in standby mode.

[0099] Working principle: When the system is in standby mode, the system monitors the data changes of the gas electronic pressure gauge to determine whether the gas is in use. First, the system is used to build an HTTP server to receive the data of the gas electronic pressure gauge. At this time, two variables are set in the system to store the comparison data (variable value_to_be_compared) and the current data (variable current_value). When the system enters the standby mode, the data is stored in the comparison data (variable value_to_be_compared) when the current reading of the gas electronic pressure gauge is received for the first time. The system receives the current reading of the gas electronic pressure gauge every x seconds, and the data is stored in the current data (variable current_value). The system calculates the reading difference between the current data (variable current_value) and the comparison data (variable value_to_be_compared) of the gas electronic pressure gauge every 30 seconds. Finally, when the reading difference is greater than or equal to y, it is considered that the gas is in use. When it is determined that the gas is in use, the system ends the standby mode and starts the working mode. When the reading difference is less than y, it is considered that the gas is not in use.

[0100] When the system is running, the room is scanned by the camera, and the human detection module detects whether there is someone in the room. The system starts working, and the initial value of the occupancy state machine is the "occupancy" state. A full-house scan is started. During a full-house scan, the camera rotates 360°, and the current frame of the video is intercepted every 10° and sent to the human target detection module for detection;

[0101] Among them, when the result of a whole-house scan is a occupied state, the occupied state machine is the initial value, that is, the "occupied" state, and the camera performs the next whole-house scan after 5 minutes. When the result of a whole-house scan is an unoccupied state, the occupied state machine is converted to the "unoccupied" state, and the camera performs the next whole-house scan after 30 seconds. Finally, when the occupied state machine is in the "unoccupied" state, if the result of a whole-house scan within 5 minutes is a occupied state, the occupied state machine is converted to the "occupied" state again, and returns to the whole-house scan to re-run. When the occupied state machine is in the "unoccupied state", if the result of any whole-house scan within 5 minutes is an unoccupied state, a signal is sent to notify the gas solenoid valve to be closed, and the system enters the standby state;

[0102] Send a notification, send a signal to notify the closing of the gas solenoid valve. The system sets the signal of closing the gas solenoid valve to a binary digit, "1" represents closing the solenoid valve, "0" represents no operation, and the system converts this binary digit into an analog signal through the digital-to-analog conversion module, "1" is a high level, "0" is a low level, and finally, the system transmits the analog signal to the gas solenoid valve control switch through the data cable;

[0103] It should be further explained that the signal transmission method in the present system can adopt a connecting cable or a WIFI routing device, that is, to realize wire signal transmission or wireless signal transmission.

[0104] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. An operation method of a gas environment monitoring system based on the Internet of Things, characterized in that: The following steps are involved: S1, system standby: the system monitors the data changes of the gas electronic pressure gauge to determine whether the gas is in use; S2, system operation: the camera scans the room, and the human detection module detects whether there is anyone in the room; S3. Send notification: Send a signal to notify closing the gas solenoid valve.

2. The operating method of the gas environment monitoring system based on the Internet of Things according to claim 1 is characterized in that: In S1, the specific process of the system determining whether the gas is in use includes the following steps: A1. The system builds an HTTP server to receive data from the gas electronic pressure gauge; A2. The system sets two variables to store comparison data (variable value_to_be_compared) and current data (variable current_value); A3. When the system enters the standby state and receives the current reading of the gas electronic pressure gauge for the first time, the data is stored in the comparison data (variable value_to_be_compared); A4. The system receives the current reading of the gas electronic pressure gauge every x seconds and stores the data in the current data (variable current_value); A5. The system calculates the reading difference between the current data (variable current_value) and the comparison data (variable value_to_be_compared) of the gas electronic pressure gauge every 30 seconds; A6. After A5 is run, when the reading difference is greater than or equal to y, it is considered that the gas is in use. When the gas is determined to be in use, the system ends standby mode and starts working mode; When the reading difference is less than y, it is considered that the gas is not in use.

3. The operating method of the gas environment monitoring system based on the Internet of Things according to claim 2 is characterized in that: In A6, y is a threshold value for determining whether the gas is in use.

4. The operating method of the gas environment monitoring system based on the Internet of Things according to claim 2 is characterized in that: In S2, the specific process of system operation includes the following steps: B1. The system enters the working mode, the initial value of the occupancy state machine is "occupancy", and a full-house scan is started; B2. During a full-house scan, the camera rotates 360° and captures the current frame of the video every 10° to send to the human target detection module for detection; B3. After B2 is executed, when the result of a whole-house scan is "someone is present", the "someone is present" state machine is in the initial value, i.e., the camera will perform the next whole-house scan after 5 minutes. If the result of a whole-house scan is no one, the occupancy state machine switches to the "no one" state, and the camera performs the next whole-house scan after 30 seconds. B4. After B3 is executed, when the occupancy state machine is in the "no one" state, if the whole house scan result within 5 minutes is the occupancy state, the occupancy state machine is converted to the "occupancy" state again and returns to B1 to re-execute; When the manned state machine is in the "unmanned state", if any whole-house scan result within 5 minutes is unmanned, a signal is sent to notify the gas solenoid valve to be closed, and the system enters the S1 standby state.

5. The operating method of the gas environment monitoring system based on the Internet of Things according to claim 4 is characterized in that: In B2, a total of 36 frames of images are detected in one scan to determine whether there is someone in the room.

6. The operating method of the gas environment monitoring system based on the Internet of Things according to claim 4 is characterized in that: In S3, the specific process of sending notifications includes the following steps: C1. The system sets the signal for closing the gas solenoid valve to a binary digit, "1" represents closing the solenoid valve, and "0" represents no operation; C2. The system converts this binary digit into an analog signal through the digital-to-analog conversion module, "1" is a high level and "0" is a low level; C3. The system transmits the analog signal to the gas solenoid valve control switch through the data cable.

7. The operating method of the gas environment monitoring system based on the Internet of Things according to claim 6 is characterized in that: In B2, the camera uses an AI smart camera, which includes an AI vision core board, a steering gear pan / tilt and a camera. The AI ​​vision core board and the steering gear pan / tilt are electrically connected through wires. Among them, the AI ​​vision core board has a neural network processor for video processing, supports mainstream deep learning frameworks, supports common network models, and can perform lightweight human model detection reasoning. At the same time, the AI ​​vision core board has image acquisition functions and an independent operating system, and the AI ​​vision core board supports connecting cameras via USB or Ethernet ports or WIFI or MIPI, and supports IO pins such as GPIO and UART for data input and output. At the same time, the AI ​​vision core board adds an AD / DA conversion module, which is connected to the IO pin to convert the digital signal in the notification sent by the system into an analog signal output; Among them, the AI ​​vision core board is programmed to calculate the angle that needs to be rotated, and the angle value is transmitted to the servo gimbal through the data line for execution; Among them, the camera supports access via USB, Ethernet, WIFI, MIPI and other interfaces, and supports RGB full color or infrared night vision.

8. The operating method of the gas environment monitoring system based on the Internet of Things according to claim 7 is characterized in that: In C1, the gas solenoid valve adopts a controllable gas solenoid valve, and the controllable gas solenoid valve includes a gas solenoid valve body and a signal receiving circuit; Among them, the gas solenoid valve body is automatically controlled to close and manually controlled to open. Two wires are led out of the gas solenoid valve control device to form a signal line, which is connected to the AD / DA conversion module interface in the AI ​​vision core board, so that the signal receiving circuit controls the closing of the gas solenoid valve body by receiving high and low level signals.

9. The operating method of the gas environment monitoring system based on the Internet of Things according to claim 8 is characterized by: In A1, the gas electronic pressure gauge includes a gas pressure gauge body and a signal sending circuit; Among them, the gas electronic pressure gauge body has the function of uploading the gas flow value in real time.

10. The method for operating a fuel gas environment monitoring system based on the Internet of Things according to claim 9, characterized in that: When the gas electronic pressure gauge uploads the real-time data of gas flow via wireless network transmission such as WIFI, its receiving URL is added to the HTTP server in the AI ​​vision core board; When the gas electronic pressure gauge uploads the real-time data of gas flow via a signal line, the signal line is led out to the IO interface of the AI ​​vision core board; The gas pressure gauge data is used as the basis for whether the system is started. When the gas pressure gauge changes by more than xxx Pa, it is considered that the gas is in use and the system starts working. Otherwise, the system is in standby mode.