Fuel gas detection system, method, device and equipment based on star flash communication and medium
The connection of gas detection controller, smart alarm and smart valve through Star Flash communication technology is solved, and the problem of low gas leakage detection efficiency is realized, timely monitoring and handling of gas leakage is achieved, and the safety of gas use is improved.
Patent Information
- Application Number
- CN202410593887.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-11-08
AI Technical Summary
The wired connection between the existing gas meter valve and the alarm leads to low gas leakage detection efficiency and poor flexibility, and the inability to deal with safety hazards in a timely manner, affecting the safety of gas use.
The gas detection system based on Star Flash Communication is adopted, including a gas detection controller, smart alarm and smart valve. Real-time data interaction and control command transmission are realized through Star Flash Communication technology to ensure the online status and information interaction of smart valves and alarms.
It improves the efficiency, accuracy and flexibility of gas detection, can deal with gas leakage in a timely manner, enhances the safety of gas use, and ensures timely monitoring and handling of gas leakage.
Smart Images

Figure CN118918686A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of gas meter detection, and in particular to a gas detection system, method, device, equipment and medium based on Star Flash communication. Background Art
[0002] In daily life, gas is becoming more and more popular. Generally speaking, personal safety and property safety problems caused by gas leakage are endless. Therefore, it is important to monitor gas leakage in real time, solve safety problems in time and issue alarms.
[0003] In the process of realizing the present invention, the inventors found that the prior art has the following defects: At present, the gas meter valves and alarms in residents' homes are linked by wired connections. Due to the influence of the installation environment, safety hazards cannot be detected and handled in a timely manner, resulting in low efficiency and poor flexibility in gas leak detection and poor safety in gas use. Summary of the invention
[0004] The present invention provides a gas detection system, method, device, equipment and medium based on Star Flash communication, so as to improve the efficiency, accuracy and flexibility of gas detection.
[0005] According to one aspect of the present invention, a gas detection system based on Star Flash communication is provided, wherein the gas detection system comprises: a gas detection controller, an intelligent alarm and an intelligent valve;
[0006] The gas detection controller is used to send control instructions to the smart alarm and the smart valve, and receive information fed back by the smart alarm and the smart valve;
[0007] The intelligent alarm is used to receive the gas concentration detection instruction sent by the gas detection controller, and to make an abnormal judgment on the obtained gas concentration detection result. If an abnormal judgment result is obtained, it will send an intelligent valve disconnection instruction to the intelligent valve; it is also used to perform sound and light alarm processing and feed back sound and light alarm information to the gas detection controller;
[0008] The smart valve is used to receive the smart valve disconnection instruction sent by the smart alarm, perform valve disconnection processing on the smart valve, and feedback the smart valve status to the smart alarm; and is also used to feedback the collected abnormal gas usage data to the gas detection controller;
[0009] The intelligent valve is also used to send heartbeat message information to the intelligent alarm according to a preset time period, and receive heartbeat message feedback information sent by the intelligent alarm to ensure that the intelligent alarm is online.
[0010] According to another aspect of the present invention, a gas detection method based on star flash communication is provided, which is performed by an intelligent alarm and includes:
[0011] Receive gas concentration detection instructions in real time and obtain abnormal gas concentration conditions;
[0012] Performing gas concentration detection according to the gas concentration detection instruction to obtain a gas concentration detection result;
[0013] Determine whether the gas concentration detection result meets the gas concentration abnormality condition. If so, obtain the abnormality judgment result, send the smart valve disconnection instruction to the smart valve through the alarm star flash communication unit, perform sound and light alarm processing according to the abnormality judgment result, and feed back the sound and light alarm information to the gas detection controller;
[0014] If not, the process returns to executing the operation of receiving the gas concentration detection instruction in real time.
[0015] According to another aspect of the present invention, a gas detection method based on star flash communication is provided, which is performed by an intelligent valve and includes:
[0016] Obtain the initial state of the smart valve and receive the smart valve disconnection instruction in real time through the valve star flash communication unit;
[0017] If the initial state of the smart valve is the smart valve not disconnected state, the smart valve is disconnected according to the smart valve disconnection instruction, and the state of the smart valve is updated and fed back;
[0018] Collect current abnormal gas usage data and feed it back to the gas detection controller through the NB-IoT / Cat1 communication unit.
[0019] According to another aspect of the present invention, a gas detection device based on star flash communication is provided, wherein the device is executed by an intelligent alarm and includes:
[0020] A gas concentration detection instruction receiving module is used to receive gas concentration detection instructions in real time and obtain abnormal gas concentration conditions;
[0021] A gas concentration detection result determination module, used to detect the gas concentration according to the gas concentration detection instruction to obtain a gas concentration detection result;
[0022] The abnormal judgment result processing module is used to judge whether the gas concentration detection result meets the gas concentration abnormality condition. If so, the abnormal judgment result is obtained, and the intelligent valve disconnection instruction is sent to the intelligent valve through the alarm star flash communication unit, and the sound and light alarm processing is performed according to the abnormal judgment result, and the sound and light alarm information is fed back to the gas detection controller;
[0023] The return execution module is used to return to execute the operation of receiving the gas concentration detection instruction in real time if the gas concentration detection result does not meet the gas concentration abnormality condition.
[0024] According to another aspect of the present invention, a gas detection device based on star flash communication is provided, wherein the device is executed by an intelligent valve and includes:
[0025] The intelligent valve initial state acquisition module is used to obtain the initial state of the intelligent valve and receive the intelligent valve disconnection instruction in real time through the valve star flash communication unit;
[0026] The intelligent valve disconnection processing module is used to perform valve disconnection processing on the intelligent valve according to the intelligent valve disconnection instruction if the initial state of the intelligent valve is the intelligent valve not disconnected state, and update and feedback the state of the intelligent valve;
[0027] The abnormal gas usage data feedback module is used to collect the current abnormal gas usage data and feed back the abnormal gas usage data to the gas detection controller through the NB-IoT / Cat1 communication unit.
[0028] According to another aspect of the present invention, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the gas detection method based on Starflash communication described in any embodiment of the present invention is implemented.
[0029] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the gas detection method based on star flash communication described in any embodiment of the present invention when executed.
[0030] According to the technical solution of the embodiment of the present invention, the gas detection system includes: a gas detection controller, an intelligent alarm and an intelligent valve; wherein the gas detection controller is used to send control instructions to the intelligent alarm and the intelligent valve, and receive information fed back by the intelligent alarm and the intelligent valve; the intelligent alarm is used to receive the gas concentration detection instruction sent by the gas detection controller, and perform abnormal judgment on the obtained gas concentration detection result, and if an abnormal judgment result is obtained, send an intelligent valve disconnection instruction to the intelligent valve; it is also used to perform sound and light alarm processing, and feed back sound and light alarm information to the gas detection controller; the intelligent valve is used to receive the intelligent valve disconnection instruction sent by the intelligent alarm, perform valve disconnection processing on the intelligent valve, and feed back the intelligent valve status to the intelligent alarm; it is also used to feed back the collected abnormal gas usage data to the gas detection controller; the intelligent valve is also used to send heartbeat message information to the intelligent alarm according to a preset time period, and receive heartbeat message feedback information sent by the intelligent alarm to ensure that the intelligent alarm is online. It solves the problem of inconvenient control caused by wired connection between the gas valve and the alarm, improves the efficiency, accuracy and flexibility of gas detection, can effectively monitor the gas meter, and improves the safety of gas use.
[0031] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0033] Figure 1 1 is a schematic diagram of the structure of a gas detection system based on star flash communication provided according to the first embodiment of the present invention;
[0034] Figure 2 is a flow chart of a gas detection method based on star flash communication provided according to the second embodiment of the present invention;
[0035] Figure 3 is a flow chart of another gas detection method based on star flash communication provided according to the third embodiment of the present invention;
[0036] Figure 4is a structural schematic diagram of a gas detection device based on star flash communication provided according to Embodiment 4 of the present invention;
[0037] Figure 5 is a structural schematic diagram of another gas detection device based on star flash communication provided according to Embodiment 5 of the present invention;
[0038] Figure 6 It is a structural schematic diagram of an electronic device provided according to Embodiment 6 of the present invention. DETAILED DESCRIPTION
[0039] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0040] It should be noted that the terms "target", "current", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0041] Embodiment 1
[0042] Figure 1 1 is a schematic diagram of the structure of a gas detection system based on Star Flash communication according to Embodiment 1 of the present invention. The gas detection system comprises: a gas detection controller 110, an intelligent alarm 120 and an intelligent valve 130;
[0043] The gas detection controller 110 is used to send control instructions to the smart alarm 120 and the smart valve 130, and receive information fed back by the smart alarm 120 and the smart valve 130;
[0044] The intelligent alarm 120 is used to receive the gas concentration detection instruction sent by the gas detection controller 110, and to make an abnormal judgment on the obtained gas concentration detection result. If an abnormal judgment result is obtained, it will send an intelligent valve disconnection instruction to the intelligent valve 130; it is also used to perform sound and light alarm processing and feed back sound and light alarm information to the gas detection controller 110;
[0045] The smart valve 130 is used to receive the smart valve disconnection instruction sent by the smart alarm 120, perform valve disconnection processing on the smart valve, and feedback the smart valve status to the smart alarm 120; and is also used to feedback the collected abnormal gas usage data to the gas detection controller 110;
[0046] The smart valve 130 is also used to send heartbeat message information to the smart alarm 120 according to a preset time period, and receive heartbeat message feedback information sent by the smart alarm 120 to ensure that the smart alarm 120 is online.
[0047] In this embodiment, the intelligent alarm is controlled by a gas detection controller to detect the gas concentration corresponding to the current moment in real time, and abnormality judgment is performed based on the size of the gas concentration detection result.
[0048] Specifically, assuming that the abnormal gas concentration condition is Th and the gas concentration detection result is Th1, if Th1<Th, it means that the gas concentration detection result does not meet the abnormal gas concentration condition, and the gas concentration detection instruction sent by the gas detection controller continues to be received.
[0049] If Th1≥Th, it means that the gas concentration detection result meets the abnormal gas concentration condition, then the abnormal judgment result can be obtained, and the smart valve disconnection instruction is sent to the smart valve, and the sound and light alarm processing is performed, and the sound and light alarm information is fed back to the gas detection controller.
[0050] Furthermore, after the smart valve receives the smart valve disconnection instruction, the smart valve can be disconnected. Prior to this, the initial state of the smart valve needs to be obtained to perform the valve disconnection processing operation and feedback the smart valve state to the smart alarm. Correspondingly, the collected abnormal gas usage data can also be fed back to the gas detection controller.
[0051] Prior to this, the smart valve also needs to send heartbeat message information to the smart alarm according to a preset time period, and receive heartbeat message feedback information sent by the smart alarm to ensure that the smart alarm is online.
[0052] In addition, the smart valve is located between the gas meter and the gas-using equipment, so that the smart valve can be used to better control the gas cut-off operation of the gas-using equipment, thus ensuring the safety of gas use.
[0053] Specifically, assuming that the heartbeat message information is sent according to a time period T, after the smart alarm receives the heartbeat message information, it will send heartbeat message feedback information to the smart valve, so that the smart valve can determine that the smart alarm is online.
[0054] On the contrary, if the smart valve does not receive the heartbeat message feedback information within the preset time after sending the heartbeat message information to the smart alarm, the number of times the heartbeat message feedback information is not received is updated. Further, the heartbeat message information is sent to the smart alarm again. If the heartbeat message feedback information is not received within the preset number threshold, the smart valve can determine that the smart alarm is offline. If the smart valve determines that the smart alarm is offline, it will disconnect the smart valve and feedback to the gas detection controller.
[0055] Optionally, the intelligent alarm includes an alarm control unit, a gas concentration detection unit, an alarm star flash communication unit and an acoustic and visual alarm unit; the alarm control unit is used to receive a gas concentration detection instruction sent by the gas detection controller, and instruct the gas concentration detection unit to detect the gas concentration; the gas concentration detection unit is used to detect the gas concentration, obtain a gas concentration detection result, and perform an abnormality judgment on the gas concentration detection result. If an abnormal judgment result is obtained, the abnormal judgment result is fed back to the alarm control unit; the alarm control unit is also used to receive the abnormal judgment result, instruct the acoustic and visual alarm unit to perform acoustic and visual alarm processing, and feed back acoustic and visual alarm information to the gas detection controller; it is also used to send an intelligent valve disconnection instruction to the intelligent valve; the acoustic and visual alarm unit is used to receive the acoustic and visual alarm processing instruction of the alarm control unit, and perform acoustic and visual alarm processing; the alarm star flash communication unit is used to receive the intelligent valve disconnection instruction of the alarm control unit, and send the intelligent valve disconnection instruction to the intelligent valve.
[0056] In this embodiment, the alarm star flash communication unit can be used to exchange information with the valve star flash communication unit.
[0057] In addition, as a new generation of short-distance communication technology, Star Flash communication technology has excellent technical characteristics such as low latency, high reliability, high synchronization accuracy, support for multiple concurrency, high information security and low power consumption. In this embodiment, the communication between the smart alarm and the smart valve is carried out through Star Flash communication technology.
[0058] The advantage of this setting is that it can better exchange information, ensure the reliability and speed of information exchange, and improve the timeliness of gas detection.
[0059] Optionally, the smart valve includes a smart valve control unit, a valve star flash communication unit, a power management module, a valve management unit and a NB-IoT / Cat1 communication unit; the smart valve control unit is used to receive the smart valve disconnection instruction and instruct the valve management unit to perform valve disconnection processing on the smart valve; the valve management unit is used to perform valve disconnection processing on the smart valve and feedback the smart valve status to the smart valve control unit; the smart valve control unit is also used to receive the smart valve status and feedback the smart valve status to the smart alarm through the valve star flash communication unit; the valve star flash communication unit is used to receive the smart valve status of the smart valve control unit and feedback the smart valve status to the smart alarm; the smart valve control unit is also used to collect the abnormal gas usage data of the gas and feedback the abnormal gas usage data to the gas detection controller through the NB-IoT / Cat1 communication unit; the power management module is used to power the smart valve through alternating current; the NB-IoT / Cat1 communication unit is used to receive the abnormal gas usage data sent by the smart valve control unit and feedback the abnormal gas usage data to the gas detection controller.
[0060] In this embodiment, the initial state of the smart valve needs to be obtained first. When the smart valve receives the smart valve disconnection instruction, the smart valve can be disconnected. After the valve disconnection process is completed, the smart valve state needs to be updated and the new smart valve state is fed back to the smart alarm for processing.
[0061] Furthermore, the collected abnormal gas usage data can also be fed back to the gas detection controller.
[0062] For smart valves, they can be integrated based on a micro-power single-chip microcomputer, which may include a sampling module (for example, for collecting abnormal gas usage data); a storage module (for example, for storing the collected abnormal gas usage data); a clock module (for example, for sending heartbeat message information according to a time period T).
[0063] In addition, the intelligent valve may also include a button module, a display module, an intelligent valve sound alarm module, and the like.
[0064] Optionally, it also includes: the gas detection controller is used to receive the abnormal gas usage data and feed back the abnormal gas usage data to the back-end terminal equipment of the gas company.
[0065] In this embodiment, after the gas detection controller receives the abnormal gas usage data, it is also necessary to feed back the abnormal gas usage data to the gas company's back-end terminal device. Furthermore, after receiving the abnormal gas usage data, the gas company's back-end terminal device will immediately issue an early warning and notify the maintenance personnel to conduct home maintenance and respond to the abnormal information; then, the maintenance personnel will immediately conduct home maintenance to minimize the risk of gas leakage. This can further ensure the safety of people and property, and improve the safety of using gas.
[0066] According to the technical solution of the embodiment of the present invention, the gas detection system includes: a gas detection controller, an intelligent alarm and an intelligent valve; wherein the gas detection controller is used to send control instructions to the intelligent alarm and the intelligent valve, and receive information fed back by the intelligent alarm and the intelligent valve; the intelligent alarm is used to receive the gas concentration detection instruction sent by the gas detection controller, and perform abnormal judgment on the obtained gas concentration detection result, and if an abnormal judgment result is obtained, send an intelligent valve disconnection instruction to the intelligent valve; it is also used to perform sound and light alarm processing, and feed back sound and light alarm information to the gas detection controller; the intelligent valve is used to receive the intelligent valve disconnection instruction sent by the intelligent alarm, perform valve disconnection processing on the intelligent valve, and feed back the intelligent valve status to the intelligent alarm; it is also used to feed back the collected abnormal gas usage data to the gas detection controller; the intelligent valve is also used to send heartbeat message information to the intelligent alarm according to a preset time period, and receive heartbeat message feedback information sent by the intelligent alarm to ensure that the intelligent alarm is online. It solves the problem of inconvenient control caused by wired connection between the gas valve and the alarm, improves the efficiency, accuracy and flexibility of gas detection, can effectively monitor the gas meter, and improves the safety of gas use.
[0067] Embodiment 2
[0068] Figure 2 A flow chart of a gas detection method based on Star Flash communication is provided for the second embodiment of the present invention. This embodiment is applicable to the situation of detecting gas leaks. The method can be executed by a gas detection device based on Star Flash communication, specifically, by an intelligent alarm. The gas detection device based on Star Flash communication can be implemented in the form of hardware and / or software.
[0069] Correspondingly, such as Figure 2 As shown, the method includes:
[0070] S210. Receive a gas concentration detection instruction in real time and obtain abnormal gas concentration conditions.
[0071] The abnormal gas concentration condition may be a pre-set condition that the gas concentration is abnormal.
[0072] S220: Detect the gas concentration according to the gas concentration detection instruction to obtain a gas concentration detection result.
[0073] S230, determining whether the gas concentration detection result meets the gas concentration abnormality condition, if so, executing S240; if not, executing S250.
[0074] S240, obtaining an abnormality judgment result, sending an intelligent valve disconnection instruction to the intelligent valve through the alarm star flash communication unit, performing sound and light alarm processing according to the abnormality judgment result, and feeding back sound and light alarm information to the gas detection controller.
[0075] S250, returning to execute the operation of receiving the gas concentration detection instruction in real time.
[0076] In this embodiment, it is assumed that the abnormal gas concentration condition is Th and the gas concentration detection result is Th1. If Th1<Th, it means that the gas concentration detection result does not meet the abnormal gas concentration condition, and the gas concentration detection instruction sent by the real-time receiving gas detection controller is continued to be executed.
[0077] If Th1≥Th, it means that the gas concentration detection result meets the abnormal gas concentration condition, and the abnormal judgment result can be obtained. The smart valve disconnection instruction is sent to the smart valve through the alarm star flash communication unit, and the sound and light alarm processing is performed, and the sound and light alarm information is fed back to the gas detection controller.
[0078] The technical solution of the embodiment of the present invention receives the gas concentration detection instruction in real time and obtains the abnormal gas concentration condition; detects the gas concentration according to the gas concentration detection instruction to obtain the gas concentration detection result; determines whether the gas concentration detection result meets the abnormal gas concentration condition, and if so, obtains the abnormal judgment result, sends the intelligent valve disconnection instruction to the intelligent valve through the alarm star flash communication unit, performs sound and light alarm processing according to the abnormal judgment result, and feeds back the sound and light alarm information to the gas detection controller; if not, returns to execute the operation of receiving the gas concentration detection instruction in real time. In this way, the efficiency, accuracy and flexibility of gas detection can be improved, the gas meter can be effectively monitored, and the safety of using gas can be improved.
[0079] Embodiment 3
[0080] Figure 3A flow chart of another gas detection method based on Star Flash communication is provided for the third embodiment of the present invention. This embodiment is applicable to the case of handling gas leaks. The method can be performed by a gas detection device based on Star Flash communication, specifically, by a smart valve. The gas detection device based on Star Flash communication can be implemented in the form of hardware and / or software.
[0081] Correspondingly, such as Figure 3 As shown, the method includes:
[0082] S310, obtaining the initial state of the smart valve, and receiving the smart valve disconnection instruction in real time through the valve star flash communication unit.
[0083] The smart valve initial state may describe the initial state of the smart valve, and the smart valve initial state may include a smart valve undisconnected state and a smart valve disconnected state.
[0084] S320: If the initial state of the smart valve is that the smart valve is not disconnected, the smart valve is disconnected according to the smart valve disconnection instruction, and the state of the smart valve is updated and fed back.
[0085] S330, collecting current abnormal gas usage data, and feeding back the abnormal gas usage data to the gas detection controller through the NB-IoT / Cat1 communication unit.
[0086] Among them, the current abnormal gas usage data may be the abnormal gas usage information and gas usage description data collected from the gas meter, and the current abnormal gas usage data may be used to reflect the gas leakage situation.
[0087] Specifically, the smart valve and gas detection controller interact with each other through the NB-IoT / Cat1 communication unit.
[0088] In this embodiment, the initial state of the smart valve is obtained. Assuming that the initial state of the smart valve is that the smart valve is not disconnected, the smart valve can be disconnected and the smart valve state can be fed back to the smart alarm. Correspondingly, the collected abnormal gas usage data can also be fed back to the gas detection controller.
[0089] In addition, assuming that the initial state of the smart valve is the smart valve disconnected state, the smart valve state is fed back to the smart alarm. In addition, the collected abnormal gas usage data can also be fed back to the gas detection controller.
[0090] The technical solution of the embodiment of the present invention obtains the initial state of the smart valve and receives the smart valve disconnection instruction in real time through the valve star flash communication unit; if the initial state of the smart valve is the smart valve not disconnected state, the smart valve is disconnected according to the smart valve disconnection instruction, and the state of the smart valve is updated and fed back; the current abnormal gas usage data is collected, and the abnormal gas usage data is fed back to the gas detection controller through the NB-IoT / Cat1 communication unit. The efficiency, accuracy and flexibility of gas processing are improved, and the safety of gas use is improved.
[0091] Embodiment 4
[0092] Figure 4 This is a schematic diagram of the structure of a gas detection device based on Star Flash communication provided in Example 4 of the present invention. The gas detection device based on Star Flash communication provided in this embodiment can be implemented by software and / or hardware, and can be configured in a terminal device or server to implement a gas detection method based on Star Flash communication in an embodiment of the present invention. Figure 4 As shown, the device includes: a gas concentration detection instruction receiving module 410, a gas concentration detection result determining module 420, an abnormal judgment result processing module 430 and a return execution module 440.
[0093] The gas concentration detection instruction receiving module 410 is used to receive the gas concentration detection instruction in real time and obtain the abnormal gas concentration condition;
[0094] A gas concentration detection result determination module 420 is used to detect the gas concentration according to the gas concentration detection instruction to obtain a gas concentration detection result;
[0095] The abnormal judgment result processing module 430 is used to judge whether the gas concentration detection result meets the gas concentration abnormality condition. If so, the abnormal judgment result is obtained, and the intelligent valve disconnection instruction is sent to the intelligent valve through the alarm star flash communication unit, and the sound and light alarm processing is performed according to the abnormal judgment result, and the sound and light alarm information is fed back to the gas detection controller;
[0096] The return execution module 440 is used to return to the operation of receiving the gas concentration detection instruction in real time if the gas concentration detection result does not meet the gas concentration abnormality condition.
[0097] The technical solution of the embodiment of the present invention receives the gas concentration detection instruction in real time and obtains the abnormal gas concentration condition; detects the gas concentration according to the gas concentration detection instruction to obtain the gas concentration detection result; determines whether the gas concentration detection result meets the abnormal gas concentration condition, and if so, obtains the abnormal judgment result, sends the intelligent valve disconnection instruction to the intelligent valve through the alarm star flash communication unit, performs sound and light alarm processing according to the abnormal judgment result, and feeds back the sound and light alarm information to the gas detection controller; if not, returns to execute the operation of receiving the gas concentration detection instruction in real time. In this way, the efficiency, accuracy and flexibility of gas detection can be improved, the gas meter can be effectively monitored, and the safety of using gas can be improved.
[0098] The gas detection device based on Starflash communication provided in the embodiment of the present invention can execute the gas detection method based on Starflash communication provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0099] Embodiment 5
[0100] Figure 5 This is a schematic diagram of the structure of a gas detection device based on Star Flash communication provided in Example 5 of the present invention. The gas detection device based on Star Flash communication provided in this embodiment can be implemented by software and / or hardware, and can be configured in a terminal device or server to implement a gas detection method based on Star Flash communication in an embodiment of the present invention. Figure 5 As shown, the device includes: an intelligent valve initial state acquisition module 510, an intelligent valve disconnection processing module 520 and a gas abnormal gas usage data feedback module 530.
[0101] The smart valve initial state acquisition module 510 is used to acquire the initial state of the smart valve and receive the smart valve disconnection instruction in real time through the valve star flash communication unit;
[0102] The smart valve disconnection processing module 520 is used to perform valve disconnection processing on the smart valve according to the smart valve disconnection instruction if the initial state of the smart valve is the smart valve not disconnected state, and update and feedback the state of the smart valve;
[0103] The abnormal gas usage data feedback module 530 is used to collect the current abnormal gas usage data and feed back the abnormal gas usage data to the gas detection controller through the NB-IoT / Cat1 communication unit.
[0104] The technical solution of the embodiment of the present invention obtains the initial state of the smart valve and receives the smart valve disconnection instruction in real time through the valve star flash communication unit; if the initial state of the smart valve is the smart valve not disconnected state, the smart valve is disconnected according to the smart valve disconnection instruction, and the state of the smart valve is updated and fed back; the current abnormal gas usage data is collected, and the abnormal gas usage data is fed back to the gas detection controller through the NB-IoT / Cat1 communication unit. The efficiency, accuracy and flexibility of gas processing are improved, and the safety of gas use is improved.
[0105] Embodiment 6
[0106] Figure 6 A schematic diagram of the structure of an electronic device 10 that can be used to implement the sixth embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0107] like Figure 6 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0108] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0109] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a gas detection method based on Star Flash communication.
[0110] In some embodiments, the gas detection method based on star flash communication can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the gas detection method based on star flash communication described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the gas detection method based on star flash communication in any other appropriate manner (for example, by means of firmware).
[0111] The method includes: receiving a gas concentration detection instruction in real time and obtaining an abnormal gas concentration condition; detecting the gas concentration according to the gas concentration detection instruction to obtain a gas concentration detection result; judging whether the gas concentration detection result meets the abnormal gas concentration condition, and if so, obtaining an abnormal judgment result, sending an intelligent valve disconnection instruction to the intelligent valve through the alarm star flash communication unit, performing sound and light alarm processing according to the abnormal judgment result, and feeding back the sound and light alarm information to the gas detection controller; if not, returning to execute the operation of receiving the gas concentration detection instruction in real time.
[0112] Alternatively, the method includes: obtaining the initial state of the smart valve, and receiving the smart valve disconnection instruction in real time through the valve star flash communication unit; if the initial state of the smart valve is the smart valve not disconnected state, performing valve disconnection processing on the smart valve according to the smart valve disconnection instruction, updating and feeding back the state of the smart valve; collecting current abnormal gas usage data, and feeding back the abnormal gas usage data to the gas detection controller through the NB-IoT / Cat1 communication unit.
[0113] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0114] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0115] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0116] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0117] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0118] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0119] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0120] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
[0121] Embodiment 7
[0122] Embodiment 7 of the present invention also provides a computer-readable storage medium, wherein the computer-readable instructions are used to execute a gas detection method based on Star Flash communication when executed by a computer processor, the method comprising: receiving a gas concentration detection instruction in real time, and obtaining an abnormal gas concentration condition; detecting the gas concentration according to the gas concentration detection instruction, and obtaining a gas concentration detection result; judging whether the gas concentration detection result meets the abnormal gas concentration condition, and if so, obtaining an abnormal judgment result, sending an intelligent valve disconnection instruction to the intelligent valve through the alarm Star Flash communication unit, performing sound and light alarm processing according to the abnormal judgment result, and feeding back the sound and light alarm information to the gas detection controller; if not, returning to execute the operation of receiving the gas concentration detection instruction in real time.
[0123] Alternatively, the method includes: obtaining the initial state of the smart valve, and receiving the smart valve disconnection instruction in real time through the valve star flash communication unit; if the initial state of the smart valve is the smart valve not disconnected state, performing valve disconnection processing on the smart valve according to the smart valve disconnection instruction, updating and feeding back the state of the smart valve; collecting current abnormal gas usage data, and feeding back the abnormal gas usage data to the gas detection controller through the NB-IoT / Cat1 communication unit.
[0124] Of course, the computer-readable storage medium provided in the embodiment of the present invention has computer executable instructions that are not limited to the method operations described above, and can also execute related operations in the gas detection method based on Star Flash communication provided in any embodiment of the present invention.
[0125] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (FLASH), a hard disk or an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0126] It is worth noting that in the above-mentioned embodiment of the gas detection device based on Star Flash communication, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0127] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A gas detection system based on star flash communication, characterized in that: The gas detection system comprises: a gas detection controller, an intelligent alarm and an intelligent valve; The gas detection controller is used to send control instructions to the smart alarm and the smart valve, and receive information fed back by the smart alarm and the smart valve; The intelligent alarm is used to receive the gas concentration detection instruction sent by the gas detection controller, and to make an abnormal judgment on the obtained gas concentration detection result. If an abnormal judgment result is obtained, it will send an intelligent valve disconnection instruction to the intelligent valve; it is also used to perform sound and light alarm processing and feed back sound and light alarm information to the gas detection controller; The smart valve is used to receive the smart valve disconnection instruction sent by the smart alarm, perform valve disconnection processing on the smart valve, and feedback the smart valve status to the smart alarm; and is also used to feedback the collected abnormal gas usage data to the gas detection controller; The intelligent valve is also used to send heartbeat message information to the intelligent alarm according to a preset time period, and receive heartbeat message feedback information sent by the intelligent alarm to ensure that the intelligent alarm is online.
2. The system according to claim 1, characterized in that The intelligent alarm includes an alarm control unit, a gas concentration detection unit, an alarm star flash communication unit and an audible and visual alarm unit; The alarm control unit is used to receive the gas concentration detection instruction sent by the gas detection controller and instruct the gas concentration detection unit to detect the gas concentration; The gas concentration detection unit is used to detect the gas concentration, obtain the gas concentration detection result, and make an abnormality judgment on the gas concentration detection result. If an abnormal judgment result is obtained, the abnormal judgment result is fed back to the alarm control unit; The alarm control unit is also used to receive the abnormality judgment result, instruct the sound and light alarm unit to perform sound and light alarm processing, and feed back sound and light alarm information to the gas detection controller; and is also used to send a smart valve disconnection instruction to the smart valve; The sound and light alarm unit is used to receive the sound and light alarm processing instruction of the alarm control unit and perform sound and light alarm processing; The alarm star flash communication unit is used to receive the smart valve disconnection instruction from the alarm control unit and send the smart valve disconnection instruction to the smart valve.
3. The system according to claim 2, characterized in that The smart valve includes a smart valve control unit, a valve star flash communication unit, a power management module, a valve management unit and a NB-IoT / Cat1 communication unit; The smart valve control unit is used to receive the smart valve disconnection instruction and instruct the valve management unit to perform valve disconnection processing on the smart valve; The valve management unit is used to perform valve disconnection processing on the smart valve and feedback the smart valve status to the smart valve control unit; The intelligent valve control unit is also used to receive the intelligent valve status and feedback the intelligent valve status to the intelligent alarm through the valve star flash communication unit; The valve star flash communication unit is used to receive the intelligent valve status of the intelligent valve control unit and feed back the intelligent valve status to the intelligent alarm; The intelligent valve control unit is also used to collect the abnormal gas usage data and feed back the abnormal gas usage data to the gas detection controller through the NB-IoT / Cat1 communication unit; The power management module is used to supply power to the smart valve via alternating current; The NB-IoT / Cat1 communication unit is used to receive the abnormal gas usage data sent by the intelligent valve control unit, and feed back the abnormal gas usage data to the gas detection controller.
4. The system according to claim 3, characterized in that Also includes: The gas detection controller is used to receive the abnormal gas usage data and feed back the abnormal gas usage data to the back-end terminal equipment of the gas company.
5. A gas detection method based on star flash communication, characterized in that: Performed by smart alarms, including: Receive gas concentration detection instructions in real time and obtain abnormal gas concentration conditions; Performing gas concentration detection according to the gas concentration detection instruction to obtain a gas concentration detection result; Determine whether the gas concentration detection result meets the gas concentration abnormality condition. If so, obtain the abnormality judgment result, send the smart valve disconnection instruction to the smart valve through the alarm star flash communication unit, perform sound and light alarm processing according to the abnormality judgment result, and feed back the sound and light alarm information to the gas detection controller; If not, the process returns to executing the operation of receiving the gas concentration detection instruction in real time.
6. A gas detection method based on star flash communication, characterized in that: Performed by smart valves, including: Obtain the initial state of the smart valve and receive the smart valve disconnection instruction in real time through the valve star flash communication unit; If the initial state of the smart valve is the smart valve not disconnected state, the smart valve is disconnected according to the smart valve disconnection instruction, and the state of the smart valve is updated and fed back; Collect current abnormal gas usage data and feed it back to the gas detection controller through the NB-IoT / Cat1 communication unit.
7. A gas detection device based on star flash communication, characterized in that: Performed by smart alarms, including: A gas concentration detection instruction receiving module is used to receive gas concentration detection instructions in real time and obtain abnormal gas concentration conditions; A gas concentration detection result determination module, used to detect the gas concentration according to the gas concentration detection instruction to obtain a gas concentration detection result; The abnormal judgment result processing module is used to judge whether the gas concentration detection result meets the gas concentration abnormality condition. If so, the abnormal judgment result is obtained, and the intelligent valve disconnection instruction is sent to the intelligent valve through the alarm star flash communication unit, and the sound and light alarm processing is performed according to the abnormal judgment result, and the sound and light alarm information is fed back to the gas detection controller; The return execution module is used to return to execute the operation of receiving the gas concentration detection instruction in real time if the gas concentration detection result does not meet the gas concentration abnormality condition.
8. A gas detection device based on star flash communication, characterized in that: Performed by smart valves, including: The intelligent valve initial state acquisition module is used to obtain the initial state of the intelligent valve and receive the intelligent valve disconnection instruction in real time through the valve star flash communication unit; The intelligent valve disconnection processing module is used to perform valve disconnection processing on the intelligent valve according to the intelligent valve disconnection instruction if the initial state of the intelligent valve is the intelligent valve not disconnected state, and update and feedback the state of the intelligent valve; The abnormal gas usage data feedback module is used to collect the current abnormal gas usage data and feed back the abnormal gas usage data to the gas detection controller through the NB-IoT / Cat1 communication unit.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the gas detection method based on Star Flash communication as described in claim 5 or the gas detection method based on Star Flash communication as described in claim 6 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the processor to implement the gas detection method based on Star Flash communication as described in claim 5, or the gas detection method based on Star Flash communication as described in claim 6 when executed.
