Gas detection methods, devices and gas equipment
Patent Information
- Application Number
- CN202111659764.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2026-09-01
- Estimated Expiration
- 2041-12-30
AI Technical Summary
[0004]本申请提供一种气体检测方法、装置及燃气设备,用于解决现有技术中天然气的安全检测的效果较差的技术问题
Smart Images

Figure CN116412361B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of natural gas safety technology, and in particular to a gas detection method, device and gas equipment. Background Technology
[0002] With the development of the gas industry, natural gas has become an indispensable fuel for every household. Therefore, the safety of natural gas use is of paramount importance.
[0003] Currently, when natural gas is not in use, gas appliances can detect leaks in gas pipelines to determine the safety of the natural gas. For example, if a gas pipeline leaks when the gas appliance is turned off, the appliance can detect a small gas flow. If the gas flow exceeds a preset threshold, the appliance determines there is a risk of leakage and issues an alarm. However, when natural gas is in use, the gas flow rate is much greater than the small leak rate. The above method can only detect minor leaks when natural gas is not in use and cannot detect the safety of natural gas when large amounts are used, resulting in poor safety detection performance. Summary of the Invention
[0004] This application provides a gas detection method, apparatus, and gas equipment to solve the technical problem of poor safety detection effect of natural gas in the prior art.
[0005] In a first aspect, this application provides a gas detection method, the method comprising:
[0006] At least one gas anomaly information is obtained, the gas anomaly information including anomaly type, anomaly duration, anomaly volume, and gas flow rate within the anomaly duration, wherein the flow rate fluctuation within the anomaly duration is less than or equal to a preset threshold.
[0007] Obtain the current gas flow rate of the gas at the current moment;
[0008] When the current gas flow rate is greater than 0, update the at least one gas anomaly information according to the current gas flow rate;
[0009] When a target gas anomaly is present in at least one of the gas anomaly information, a prompt message is generated, wherein the anomaly duration in the target gas anomaly information is greater than or equal to the corresponding duration threshold and / or the anomaly volume is greater than or equal to the corresponding volume threshold.
[0010] In one possible implementation, the at least one gas anomaly information includes at least one of the following:
[0011] The first gas anomaly information, the anomaly type in the first gas anomaly information is a minor gas leak, the anomaly duration in the first gas anomaly information is a first anomaly duration, the anomaly volume is a first anomaly volume, and the gas flow rate in the first gas anomaly information is a first gas flow rate.
[0012] The second gas anomaly information, the anomaly type in the second gas anomaly information is gas usage timeout, the anomaly duration in the second gas anomaly information is the second anomaly duration, the anomaly volume is the second anomaly volume, and the gas flow rate in the second gas anomaly information is the second gas flow rate;
[0013] The third gas anomaly information includes an anomaly type of constant flow leakage, an anomaly duration of the third gas anomaly information, an anomaly volume of the third gas anomaly information, and a gas flow rate of the third gas anomaly information.
[0014] In one possible implementation, updating the at least one gas anomaly information based on the current gas flow rate includes:
[0015] Update the first anomaly duration and / or the first anomaly volume based on the relationship between the current gas flow rate and the first gas flow rate;
[0016] Based on the relationship between the current gas flow rate and the second gas flow rate, update the second anomaly duration and / or the second anomaly volume, as well as the second gas flow rate;
[0017] Based on the relationship between the current gas flow rate and the third gas flow rate, update the third anomaly duration and / or the third anomaly volume, as well as the third gas flow rate.
[0018] In one possible implementation, updating the first anomaly duration and / or the first anomaly volume based on the relationship between the current gas flow rate and the first gas flow rate includes:
[0019] If the current gas flow rate is less than or equal to the first gas flow rate, then the first abnormal duration is increased by a preset time unit and / or the first abnormal volume is increased by a preset volume unit, and the first gas flow rate is a preset lower limit value.
[0020] If the current gas flow rate is greater than the first gas flow rate, then the first abnormal duration and / or the first abnormal volume remain unchanged.
[0021] In one possible implementation, the method further includes:
[0022] If the current gas flow rate is 0, then the first abnormal duration and / or the first abnormal volume are updated to 0.
[0023] In one possible implementation, updating the second anomaly duration and / or the second anomaly volume, and the second gas flow rate based on the magnitude relationship between the current gas flow rate and the second gas flow rate includes:
[0024] If the current gas flow rate is greater than the preset lower limit value, and the absolute value of the difference between the current gas flow rate and the second gas flow rate is less than or equal to the first threshold, then the second abnormal duration is increased by a preset time unit and / or the second abnormal volume is increased by a preset volume unit.
[0025] If the current gas flow rate is greater than a preset lower limit, and the absolute value of the difference between the current gas flow rate and the second gas flow rate is greater than a first threshold, then the second abnormal duration and / or the second abnormal volume are updated to 0, and the second gas flow rate is updated to the current gas flow rate.
[0026] In one possible implementation, updating the third anomaly duration and / or the third anomaly volume, and the third gas flow rate based on the magnitude relationship between the current gas flow rate and the third gas flow rate includes:
[0027] If the current gas flow rate is greater than the third gas flow rate, and the absolute value of the difference between the current gas flow rate and the third gas flow rate is greater than a preset threshold, then the third abnormal duration and / or the third abnormal volume remain unchanged.
[0028] If the absolute value of the difference between the current gas flow rate and the third gas flow rate is less than or equal to the preset threshold, then the third abnormal duration is increased by a preset time unit and / or the third abnormal volume is increased by the preset volume unit.
[0029] If the current gas flow rate is less than the third gas flow rate, and the absolute value of the difference between the current gas flow rate and the third gas flow rate is greater than the preset threshold, then the third abnormal duration and / or the third abnormal volume are updated to 0, and the third gas flow rate is updated to the current gas flow rate.
[0030] Secondly, this application provides a gas detection device, which includes a first acquisition module, a second acquisition module, an update module, and a generation module, wherein:
[0031] The first acquisition module is used to acquire at least one gas anomaly information, the gas anomaly information including anomaly type, anomaly duration, anomaly volume, and gas flow rate within the anomaly duration, wherein the flow rate fluctuation within the anomaly duration is less than or equal to a preset threshold.
[0032] The second acquisition module is used to acquire the current gas flow rate of the gas at the current moment;
[0033] The update module is used to update the at least one gas anomaly information according to the current gas flow rate when the current gas flow rate is greater than 0.
[0034] The generation module is used to generate a prompt message when a target gas anomaly is present in the at least one gas anomaly message, wherein the anomaly duration in the target gas anomaly message is greater than or equal to the corresponding duration threshold and / or the anomaly volume is greater than or equal to the corresponding volume threshold.
[0035] In one possible implementation, the at least one gas anomaly information includes at least one of the following:
[0036] The first gas anomaly information, the anomaly type in the first gas anomaly information is a minor gas leak, the anomaly duration in the first gas anomaly information is a first anomaly duration, the anomaly volume is a first anomaly volume, and the gas flow rate in the first gas anomaly information is a first gas flow rate.
[0037] The second gas anomaly information, the anomaly type in the second gas anomaly information is gas usage timeout, the anomaly duration in the second gas anomaly information is the second anomaly duration, the anomaly volume is the second anomaly volume, and the gas flow rate in the second gas anomaly information is the second gas flow rate;
[0038] The third gas anomaly information includes an anomaly type of constant flow leakage, an anomaly duration of the third gas anomaly information, an anomaly volume of the third gas anomaly information, and a gas flow rate of the third gas anomaly information.
[0039] In one possible implementation, the update module is specifically used for:
[0040] Update the first anomaly duration and / or the first anomaly volume based on the relationship between the current gas flow rate and the first gas flow rate;
[0041] Based on the relationship between the current gas flow rate and the second gas flow rate, update the second anomaly duration and / or the second anomaly volume, as well as the second gas flow rate;
[0042] Based on the relationship between the current gas flow rate and the third gas flow rate, update the third anomaly duration and / or the third anomaly volume, as well as the third gas flow rate.
[0043] In one possible implementation, the update module is specifically used for:
[0044] If the current gas flow rate is less than or equal to the first gas flow rate, then the first abnormal duration is increased by a preset time unit and / or the first abnormal volume is increased by a preset volume unit, and the first gas flow rate is a preset lower limit value.
[0045] If the current gas flow rate is greater than the first gas flow rate, then the first abnormal duration and / or the first abnormal volume remain unchanged.
[0046] In one possible implementation, the update module is further configured to:
[0047] If the current gas flow rate is 0, then the first abnormal duration and / or the first abnormal volume are updated to 0.
[0048] In one possible implementation, the update module is specifically used for:
[0049] If the current gas flow rate is greater than the preset lower limit value, and the absolute value of the difference between the current gas flow rate and the second gas flow rate is less than or equal to the first threshold, then the second abnormal duration is increased by a preset time unit and / or the second abnormal volume is increased by a preset volume unit.
[0050] If the current gas flow rate is greater than a preset lower limit, and the absolute value of the difference between the current gas flow rate and the second gas flow rate is greater than a first threshold, then the second abnormal duration and / or the second abnormal volume are updated to 0, and the second gas flow rate is updated to the current gas flow rate.
[0051] In one possible implementation, the update module is specifically used for:
[0052] If the current gas flow rate is greater than the third gas flow rate, and the absolute value of the difference between the current gas flow rate and the third gas flow rate is greater than a preset threshold, then the third abnormal duration and / or the third abnormal volume remain unchanged.
[0053] If the absolute value of the difference between the current gas flow rate and the third gas flow rate is less than or equal to the preset threshold, then the third abnormal duration is increased by a preset time unit and / or the third abnormal volume is increased by the preset volume unit.
[0054] If the current gas flow rate is less than the third gas flow rate, and the absolute value of the difference between the current gas flow rate and the third gas flow rate is greater than the preset threshold, then the third abnormal duration and / or the third abnormal volume are updated to 0, and the third gas flow rate is updated to the current gas flow rate.
[0055] Thirdly, embodiments of this application provide a gas appliance, including: a processor and a memory;
[0056] The memory stores computer-executed instructions;
[0057] The processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the gas detection method as described in the first aspect and various possible designs of the first aspect.
[0058] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the gas detection method described in the first aspect and various possible designs of the first aspect.
[0059] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the gas detection method described in the first aspect and various possible designs of the first aspect.
[0060] This application provides a gas detection method, apparatus, and gas equipment. The gas equipment acquires at least one gas anomaly information, including anomaly type, anomaly duration, anomaly volume, and gas flow rate within the anomaly duration. The flow rate fluctuation within the anomaly duration is less than or equal to a preset threshold. The current gas flow rate is acquired. When the current gas flow rate is greater than 0, at least one gas anomaly information is updated based on the current gas flow rate. If a target gas anomaly information exists among the at least one gas anomaly information, a prompt message is generated. The anomaly duration in the target gas anomaly information is greater than or equal to the corresponding duration threshold. In this method, since the flow rate fluctuation within the anomaly duration is less than or equal to the preset threshold, it can filter out normal gas usage by users when determining whether there is a gas leak, improving the applicability of natural gas safety detection. Furthermore, when the current gas flow rate is greater than 0, the gas equipment updates multiple gas anomaly information and detects the anomaly duration in real time, thereby detecting the risk of natural gas leakage and improving the effectiveness of natural gas safety detection. Attached Figure Description
[0061] Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of this application;
[0062] Figure 2 A schematic flowchart of a gas detection method provided in an embodiment of this application;
[0063] Figure 3 This application provides a schematic flowchart of a method for updating first gas anomaly information.
[0064] Figure 4 A schematic diagram illustrating a process for updating first gas anomaly information provided in an embodiment of this application;
[0065] Figure 5 This application provides a schematic flowchart of a method for updating second gas anomaly information.
[0066] Figure 6 A schematic diagram illustrating a process for updating second gas anomaly information provided in this application embodiment;
[0067] Figure 7 This application provides a schematic flowchart of a method for updating third gas anomaly information.
[0068] Figure 8 This is a schematic diagram of the structure of a gas detection device provided in an embodiment of this application;
[0069] Figure 9 A schematic diagram of the hardware structure of the gas equipment provided in this application. Detailed Implementation
[0070] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0071] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0072] In related technologies, gas appliances can detect gas leaks in pipelines when natural gas is not in use, thereby determining whether the natural gas is safe. For example, if a natural gas pipeline leaks when the gas appliance is turned off, the appliance can detect a tiny gas flow. If the gas flow is less than a threshold, the appliance determines there is no risk of leakage; if the gas flow is greater than or equal to the threshold, the appliance determines there is a risk of leakage and issues an alarm. However, the gas flow rate during natural gas use is much greater than the tiny flow rate during a leak. Therefore, to avoid false alarms, the tiny gas flow rate needs to be reset to zero when natural gas is in use. Furthermore, existing methods cannot detect the risks associated with natural gas use, resulting in poor safety detection performance.
[0073] To address the technical problem of poor performance in natural gas safety detection in related technologies, this application provides a gas detection method. The method acquires at least one gas anomaly information, which may include information on minor leaks, gas usage exceeding time limits, and constant flow leaks. Each type of gas anomaly information has a corresponding anomaly duration and gas flow rate within that duration. The gas flow rate fluctuation within the anomaly duration is less than or equal to a preset threshold. The current gas flow rate is acquired. When the current gas flow rate is greater than 0, at least one gas anomaly information is updated based on the current gas flow rate. If any of the at least one gas anomaly information has an anomaly duration greater than or equal to the corresponding duration threshold, a prompt message is generated. Thus, when the current gas flow rate is greater than 0, the gas equipment updates multiple gas anomaly information and detects the anomaly duration in real time, thereby detecting the risk of natural gas leaks and improving the effectiveness of natural gas safety detection.
[0074] Below, in conjunction with Figure 1 This paper introduces the application scenarios of this application.
[0075] Figure 1 This is a schematic diagram illustrating an application scenario provided by an embodiment of this application. Please refer to [link / reference]. Figure 1 This includes gas appliances. The gas appliances acquire first gas anomaly information, second gas anomaly information, and third gas anomaly information. The first gas anomaly information is for detecting minor gas leaks, the second gas anomaly information is for detecting gas usage exceeding the time limit, and the third gas anomaly information is for detecting constant flow gas leaks.
[0076] Please see Figure 1When a user turns on the gas appliance, the appliance obtains the current gas flow rate as flow rate A. Based on flow rate A, the appliance updates first, second, and third gas anomaly information. If the abnormal duration of the first gas anomaly exceeds a duration threshold and / or the abnormal volume of the first gas anomaly exceeds a volume threshold, the appliance determines that a minor gas leak has occurred and generates an alarm. Thus, when the current gas flow rate is greater than 0, the appliance updates multiple gas anomaly information and detects the abnormal duration in real time, thereby detecting the risk of natural gas leaks and improving the effectiveness of natural gas safety detection.
[0077] The technical solutions of this disclosure and how they solve the aforementioned technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of this disclosure will now be described with reference to the accompanying drawings.
[0078] Figure 2 This is a schematic flowchart illustrating a gas detection method provided in an embodiment of this application. Please refer to [link / reference]. Figure 2 The method may include:
[0079] S201. Obtain at least one gas anomaly information.
[0080] The executing entity in this application embodiment can be a gas appliance or a gas detection device installed in the gas appliance. The gas detection device can be implemented by software or by a combination of software and hardware. Optionally, the gas appliance can be a gas meter.
[0081] Gas anomaly information is used to detect natural gas usage. For example, gas appliances can use gas anomaly information to determine the duration and flow rate of gas usage during a specific period. Optionally, the gas anomaly information may include the anomaly type, anomaly duration, and gas flow rate within the anomaly duration.
[0082] Optionally, the anomaly type can be a type of safety risk associated with natural gas. For example, the anomaly type could be a minor gas leak, excessive gas usage time, or a constant flow leak. The anomaly duration can be the usage time of natural gas within the corresponding anomaly type. For example, if a minor gas leak lasts 10 minutes, then the anomaly duration of the minor leak is 10 minutes. Optionally, the anomaly duration can also be an abnormal flow rate value, such as the total flow rate of natural gas within the corresponding anomaly type; this embodiment does not limit this. Optionally, the anomaly volume can be the volume of gas accumulated in the corresponding anomaly type. For example, if a minor gas leak is 1 cubic meter, then the anomaly volume of the minor leak is 1 cubic meter.
[0083] The gas flow rate during the abnormal duration can be the gas flow rate of natural gas during the corresponding abnormal duration. For example, if the abnormality type is a minor leak, the abnormal duration is 10 minutes, and the minor leak volume is 0.1 cubic meters per hour, then the gas flow rate during the abnormal duration is 0.1 cubic meters per hour.
[0084] Optionally, the gas flow rate fluctuation during the abnormal duration is less than or equal to a preset threshold. For example, if the preset threshold is 10%, and the gas flow rate is 5 cubic meters per hour during the abnormal duration, then the fluctuation range of the gas flow rate is 4.5 cubic meters per hour to 5.5 cubic meters per hour.
[0085] Optionally, the gas anomaly information includes at least one of the following: first gas anomaly information, second gas anomaly information, and third gas anomaly information.
[0086] The first gas anomaly information is used to detect minor leaks in natural gas. Optionally, the anomaly type in the first gas anomaly information is "minor leak," the anomaly duration is "first anomaly duration," the anomaly volume is "first anomaly volume," and the gas flow rate is "first gas flow rate." The gas flow rate of a minor leak is less than or equal to a lower flow rate limit. For example, if the lower flow rate limit is 0.3 cubic meters per hour, and the gas equipment obtains a current gas flow rate of 0.1 cubic meters per hour, then the anomaly type is "minor leak." If the gas equipment obtains a current gas flow rate of 4 cubic meters per hour, then the anomaly type is not "minor leak." The first gas flow rate can be the lower flow rate limit. Optionally, the gas equipment can arbitrarily set the lower flow rate limit; this embodiment does not limit this.
[0087] The second gas anomaly information is used to detect excessive natural gas usage. For example, in practical applications, users may forget to turn off the gas appliance when they turn it on, causing the natural gas usage time to exceed the limit, leading to potential gas safety hazards. The gas appliance can determine whether the natural gas usage time has been exceeded through the second gas anomaly information. Optionally, the anomaly type in the second gas anomaly information is "excessive gas usage," the anomaly duration is "second anomaly duration," the anomaly volume is "second anomaly volume," and the gas flow rate is "second gas flow rate."
[0088] The third gas anomaly information is used to detect constant-flow leaks in natural gas. For example, in practical applications, if a natural gas pipeline leaks rapidly, with a leakage flow rate greater than a minor leak and a stable leakage volume, the gas equipment will identify it as normal gas consumption by the user. Therefore, the gas equipment needs to detect this constant-flow leak using the third gas anomaly information. Optionally, the anomaly type in the third gas anomaly information is constant-flow leak, the anomaly duration is the third anomaly duration, the anomaly volume is the third anomaly volume, and the gas flow rate is the third gas flow rate. For example, the third gas flow rate can be greater than or equal to the lower flow rate limit, less than the upper flow rate limit, and the smallest constant flow rate detected within this range.
[0089] Optionally, the upper and lower limits of the flow rate can be set arbitrarily. When the current gas flow rate is greater than the lower limit and less than the upper limit, the gas equipment determines that the user is using gas normally.
[0090] S202. Obtain the current gas flow rate at the current moment.
[0091] Optionally, the gas appliance can be connected to a natural gas flow meter. The gas appliance can receive flow information sent by the natural gas flow meter to obtain the current gas flow rate at the current moment. For example, if the natural gas flow meter determines that the natural gas flow rate is 5 cubic meters per hour, the natural gas flow meter can send this flow information to the gas appliance. When the gas appliance receives this flow information, it determines that the current natural gas flow rate is 5 cubic meters per hour. The gas appliance can also obtain the current gas flow rate at the current moment through other methods (such as using a built-in flow meter in the gas appliance), which is not limited in this embodiment.
[0092] S203. When the current gas flow rate is greater than 0, update at least one gas anomaly information based on the current gas flow rate.
[0093] Optionally, when the current gas flow rate is greater than 0, at least one gas anomaly information can be updated according to the following feasible implementation: based on the relationship between the current gas flow rate and the first gas flow rate, the first anomaly duration and / or the first anomaly volume are updated. For example, if the current gas flow rate is less than the first gas flow rate, it indicates that there may be a minor natural gas leak in the current gas pipeline. The gas equipment determines whether to issue a minor leak alarm by updating the first anomaly duration and / or the first anomaly volume.
[0094] Based on the relationship between the current gas flow rate and the second gas flow rate, update the second abnormal duration and / or the second abnormal volume, as well as the second gas flow rate. For example, if the current gas flow rate and the second gas flow rate are similar, it indicates that the gas appliance has not increased or decreased the gas flow rate. The gas appliance determines whether to issue a gas usage timeout alarm by updating the second abnormal duration and / or the second abnormal volume. Based on the relationship between the current gas flow rate and the third gas flow rate, update the third abnormal duration and / or the third abnormal volume, as well as the third gas flow rate.
[0095] S204. When a target gas anomaly exists in at least one gas anomaly information, a prompt message is generated.
[0096] The abnormal duration of the target gas anomaly information is greater than or equal to the corresponding duration threshold and / or the abnormal volume is greater than or equal to the corresponding volume threshold. Optionally, different gas anomaly information corresponds to different duration thresholds and duration-volume thresholds. The duration threshold for the first gas anomaly information can be a user-preset duration, and the volume threshold can also be a user-preset volume. For example, if the user-preset duration is 2 hours, and the abnormal duration of the first gas anomaly information is greater than 2 hours, the gas appliance generates a notification message; if the user-preset volume is 1 cubic meter, and the abnormal volume of the first gas anomaly information is greater than 1 cubic meter, the gas appliance generates a notification message.
[0097] The duration and volume thresholds for the second gas anomaly information can be durations determined based on user habits. For example, if a user's average usage time at a gas flow rate of 5 cubic meters per hour is 1 hour, then the duration threshold for a gas flow rate of 5 cubic meters per hour is 1 hour. If the gas appliance operates at a gas flow rate of 5 cubic meters per hour for more than 1 hour, the gas appliance will generate a prompt message. Similarly, if a user's average gas volume used by the gas appliance is 2 cubic meters per use during a historical period, then the volume threshold is 2 cubic meters. If the gas volume used by the gas appliance is greater than 2 cubic meters, the gas appliance will generate a prompt message.
[0098] Optionally, the duration threshold corresponding to the second gas anomaly information can also be a fixed duration, and the volume threshold can also be a fixed volume. For example, if the duration threshold corresponding to the second gas anomaly information is 2 hours, and the gas appliance operates at a gas flow rate of 3 cubic meters per hour for more than 2 hours, the gas appliance will generate a prompt message; if the gas appliance operates at a gas flow rate of 6 cubic meters per hour for more than 2 hours, the gas appliance will generate a prompt message.
[0099] Optionally, after determining the upper and lower limits of the gas flow rate, the gas appliance can divide the upper and lower limits into multiple flow zones, and set a duration threshold and / or volume threshold for each flow zone. For example, taking the duration threshold as an example, the gas appliance can set a duration threshold of 1 hour for a gas flow rate of 1 to 3 cubic meters per hour, and a duration threshold of 2 hours for a gas flow rate of 3 to 6 cubic meters per hour. If the gas appliance operates at a gas flow rate of 2 cubic meters per hour and the operating time is greater than 1 hour, the gas appliance generates a prompt message; if the gas appliance operates at a gas flow rate of 5 cubic meters per hour and the operating time is greater than 2 hours, the gas appliance generates a prompt message. Optionally, the duration threshold and volume threshold corresponding to the second gas abnormality information, and the duration threshold and volume threshold corresponding to the third gas abnormality information, can be arbitrarily set duration and volume, and this embodiment does not limit this.
[0100] Optionally, the prompt message can be an audio prompt. For example, when the duration of the first gas anomaly exceeds the corresponding duration threshold and / or the volume of the first anomaly exceeds the corresponding volume threshold, the gas appliance can generate a buzzer prompt to remind the user of the safety risk of natural gas. Alternatively, when the duration of the first gas anomaly exceeds the corresponding duration threshold and / or the volume of the first anomaly exceeds the corresponding volume threshold, the gas appliance can generate a voice prompt to remind the user of the safety risk of a minor gas leak.
[0101] Optionally, the notification information generated by the gas equipment can also be an alarm message. After generating an alarm message, the gas equipment can send the alarm message to pre-set devices. For example, when the gas equipment determines that there is a safety risk to natural gas, it can generate an alarm message and send it to the gas company to remind the gas company to check for leaks in the user's natural gas pipeline, thereby improving the effectiveness of safety detection.
[0102] This application provides a gas detection method that acquires gas anomaly information corresponding to anomaly types such as minor gas leaks, gas usage timeouts, and constant flow leaks. It acquires the current gas flow rate at the current moment. When the current gas flow rate is greater than 0, it updates the abnormal duration and / or abnormal volume of each gas anomaly based on the current gas flow rate and the relationship between the current gas flow rate and the gas flow rate corresponding to each type of gas anomaly. When the abnormal duration of any gas anomaly is greater than or equal to the corresponding duration threshold and / or the abnormal volume is greater than or equal to the corresponding volume threshold, the gas appliance can generate a prompt message. In this way, when the current gas flow rate is greater than 0, the gas appliance can update the abnormal duration of multiple gas anomalies based on the current gas flow rate, thereby monitoring multiple gas anomalies. This not only detects the risk of gas leakage when the gas appliance is shut down but also identifies potential safety hazards during the use of the gas appliance, improving the effectiveness of natural gas safety detection.
[0103] because Figure 2 In the illustrated embodiment, the gas anomaly information includes first gas anomaly information, second gas anomaly information, and third gas anomaly information. Therefore, in conjunction with the following... Figures 3-5 - Figure 7 The process of updating the abnormal information of each gas based on the current gas flow rate is explained separately.
[0104] Figure 3 This is a schematic flowchart illustrating a method for updating first gas anomaly information provided in an embodiment of this application. Please refer to... Figure 3 The method process includes:
[0105] S301. Determine whether the current gas flow rate is greater than the first gas flow rate.
[0106] If so, proceed to step S302.
[0107] If not, proceed to step S303.
[0108] S302. Keep the duration and / or volume of the first anomaly unchanged.
[0109] Optionally, the first gas flow rate is a lower limit value. For example, if the first gas flow rate is 0.1 cubic meters per hour, and the current gas flow rate is 3 cubic meters per hour, then the current gas flow rate is determined to be greater than the first gas flow rate.
[0110] Optionally, when detecting minor leaks in gas appliances, if the current flow rate obtained by the gas appliance is greater than the lower limit of the flow rate, it indicates that the user may be using the gas appliance. The gas appliance does not need to record the duration of the minor leak; it can maintain the first abnormal duration and / or the first abnormal volume unchanged. For example, if the lower limit of the flow rate is 0.2 cubic meters per hour, and the gas appliance operates at a gas flow rate of 0.1 cubic meters per hour for 1 hour (the gas appliance may not actually be operating, but due to a minor gas leak in the pipeline, the gas appliance determines that natural gas is being used; other examples are similar, and will not be elaborated further in this application), then the first abnormal duration is 1 hour, and the first abnormal volume is 1 cubic meter. If the gas appliance increases the gas flow rate to 5 cubic meters per hour, then when the gas appliance operates at a gas flow rate of 5 cubic meters per hour, the gas appliance will not increase the first abnormal duration and the first abnormal volume, thus maintaining the first abnormal duration at 1 hour and the first abnormal volume at 1 cubic meter.
[0111] S303, Increase the first abnormal duration by a preset time unit and / or increase the first abnormal volume by a preset volume unit.
[0112] Optionally, if the current gas flow rate is less than the first gas flow rate, indicating a potential risk of minor leakage in the gas equipment, the gas equipment can increase the first abnormal duration by a preset time unit and / or increase the first abnormal volume by a preset volume unit to monitor the safety risk of minor leakage. The preset time unit can be an absolute duration. For example, if the lower flow rate is 0.2 cubic meters per hour, and the gas equipment operates at a gas flow rate of 0.1 cubic meters per hour for 1 hour, then the first abnormal duration is 1 hour, and the first abnormal volume is 1 cubic meter. If the gas equipment continues to operate at a gas flow rate of 0.1 cubic meters per hour for another 1 hour, then the first abnormal duration is 2 hours, and the first abnormal volume is 2 cubic meters.
[0113] Optionally, if the current gas flow rate is 0, the first abnormal duration and / or the first abnormal volume are updated to 0. For example, if the current gas flow rate obtained by the gas equipment decreases from 0.1 cubic meters per hour to 0, it indicates that the gas equipment can be completely shut down. The gas equipment can then reset the first abnormal duration and the first abnormal volume to zero to avoid false alarms.
[0114] Below, in conjunction with Figure 4 The process of updating the first gas anomaly information is explained.
[0115] Figure 4 This is a schematic diagram illustrating a process for updating first gas anomaly information, provided as an embodiment of this application. Figure 4 In the illustrated embodiment, monitoring of abnormal duration is taken as an example. Please refer to [link to example]. Figure 4This includes first gas information A, first gas information B, and first gas information C. First gas information A contains a first gas flow rate of 0.2 cubic meters per hour (lower flow limit) and a first anomaly duration of 0. If the gas equipment obtains a current gas flow rate of 0.1 cubic meters per hour, and since the current gas flow rate is less than the first gas flow rate, the gas equipment increases the first anomaly duration to update first gas information A.
[0116] Please see Figure 4 After the gas appliance operates at a gas flow rate of 0.1 cubic meters per hour for 2 hours, it obtains first gas information B. In first gas information B, the first gas flow rate is 0.2 cubic meters per hour, and the first abnormal duration is 2 hours. If, after operating at a gas flow rate of 0.1 cubic meters per hour for 2 hours, the gas appliance obtains a current gas flow rate of 0, then the gas appliance resets the first abnormal duration in first gas information B to zero, obtaining first gas information C. In first gas information C, the first gas flow rate is 0.2 cubic meters per hour, and the first abnormal duration is 0.
[0117] This application provides a method for updating first gas anomaly information. The method determines whether the current gas flow rate is greater than the first gas flow rate. If so, the first anomaly duration and / or the first anomaly volume remain unchanged. If not, the first anomaly duration is increased by a preset time unit and / or the first anomaly volume is increased by a preset volume unit. Thus, when a gas appliance detects a minor leak, if the user turns on the gas appliance, causing the natural gas flow rate to far exceed the lower flow limit, the gas appliance will not reset the first anomaly duration and / or the first anomaly volume to zero. Instead, it will maintain the first anomaly duration and / or the first anomaly volume unchanged. When the gas flow rate falls below the lower flow limit again, the first anomaly duration and / or the first anomaly volume will continue to be counted. Only when the gas flow rate is 0 will the first anomaly duration and / or the first anomaly volume be cleared. In this way, even if the user uses the gas appliance normally, the gas appliance can still detect minor leaks in the gas pipeline, thereby improving the effectiveness of natural gas safety detection and enhancing the safety of natural gas use.
[0118] Figure 5 This is a schematic flowchart illustrating a method for updating second gas anomaly information provided in an embodiment of this application. Please refer to... Figure 5 The method process includes:
[0119] S501. When the current gas flow rate is greater than the preset lower limit value, obtain the absolute value of the difference between the current gas flow rate and the second gas flow rate.
[0120] Optionally, when the current gas flow rate exceeds a preset lower limit, the gas equipment stops updating the first abnormal duration and / or first abnormal volume in the first gas information. The gas equipment then needs to update the second gas abnormal information. The gas equipment can obtain the absolute value of the difference between the current gas flow rate and the second gas flow rate. For example, if the second gas flow rate is 5 cubic meters per hour, and the current gas flow rate is 3 cubic meters per hour, the absolute value of the difference between the current gas flow rate and the second gas flow rate is 2; if the current gas flow rate is 5.3 cubic meters per hour, the absolute value of the difference between the current gas flow rate and the second gas flow rate is 0.3.
[0121] S502. Update the second gas anomaly information based on the absolute value of the difference between the current gas flow rate and the second gas flow rate.
[0122] Optionally, the second gas anomaly information can be updated based on the absolute value of the difference between the current gas flow rate and the second gas flow rate, with the following two possibilities:
[0123] Case 1: The absolute value of the difference between the current gas flow rate and the second gas flow rate is less than or equal to the first threshold.
[0124] When the current gas flow rate is greater than a preset lower limit, if the absolute value of the difference between the current gas flow rate and the second gas flow rate is less than or equal to a first threshold, the second abnormal duration will be increased by a preset time unit and / or the second abnormal volume will be increased by a preset volume unit. For example, if the first threshold is 0.5, and the absolute value of the difference between the current gas flow rate and the second gas flow rate is 0.5, the second abnormal duration will be increased by a preset time unit. For example, if the first threshold is 0.5, the second gas flow rate is 5 cubic meters per hour, and the current gas flow rate is 4.8 cubic meters per hour, and the gas appliance operates at a gas flow rate of 4.8 cubic meters per hour for 1 hour, the gas appliance will increase the second abnormal duration by 1 hour.
[0125] In this situation, if the absolute value of the difference between the current gas flow rate and the second gas flow rate is less than or equal to the first threshold, it indicates that the current gas consumption of the gas appliance is relatively stable and the user has not modified the gas consumption of the gas appliance, that is, the user is not near the gas appliance. If the second abnormal duration is greater than the corresponding duration threshold and / or the second abnormal volume is greater than the corresponding volume threshold, it indicates that the gas appliance has been operating for a long time without monitoring, which may pose gas safety risks such as the pot burning dry. Therefore, by updating the second abnormal duration and / or the second abnormal volume, the gas appliance can monitor the safety risks during its use.
[0126] Case 2: The absolute value of the difference between the current gas flow rate and the second gas flow rate is greater than the first threshold.
[0127] When the current gas flow rate exceeds a preset lower limit, if the absolute value of the difference between the current gas flow rate and the second gas flow rate is greater than a first threshold, then the second abnormal duration and / or the second abnormal volume are updated to 0, and the second gas flow rate is updated to the current gas flow rate. For example, if the first threshold is 0.5, and the absolute value of the difference between the current gas flow rate and the second gas flow rate is 3, then the second abnormal duration and / or the second abnormal volume are cleared to zero, and the second gas flow rate is updated to the current gas flow rate. For example, if the first threshold is 0.5, the second gas flow rate is 5 cubic meters per hour, and the current gas flow rate is 3 cubic meters per hour, the gas equipment clears the second abnormal duration and / or the second abnormal volume to zero, and updates the second gas flow rate from 5 cubic meters per hour to 3 cubic meters per hour.
[0128] Optionally, when the current gas flow rate exceeds the upper limit, the gas appliance will reset the second abnormal duration and / or the second abnormal volume to zero and generate an alarm message. For example, the upper limit is the maximum gas flow rate that a user can activate. If the current gas flow rate exceeds the upper limit, it indicates a malfunction in the gas appliance (e.g., gas leak or flow detection error). The gas appliance can then reset the second abnormal duration and / or the second abnormal volume to zero and generate an alarm message.
[0129] In this situation, if the absolute value of the difference between the current gas flow rate and the second gas flow rate is greater than the first threshold, it indicates that the gas consumption of the gas appliance has changed abruptly. The user manually modifies the gas consumption of the gas appliance (e.g., by opening the gas valve wider). That is, the user is near the gas appliance and has checked the situation inside the pot. At this time, the gas appliance can reset the second abnormal duration and / or the second abnormal volume to zero to prevent false alarms. Furthermore, it uses the current gas flow rate as the second gas flow rate to re-monitor the safety risks, which can effectively monitor the safety risks during the use of the gas appliance.
[0130] Below, in conjunction with Figure 6 This paper explains the process by which the gas equipment updates the second gas anomaly information under this condition.
[0131] Figure 6 This is a schematic diagram illustrating a process for updating second gas anomaly information, provided as an embodiment of this application. Figure 6 In the illustrated embodiment, monitoring of abnormal duration is taken as an example. Please refer to [link to example]. Figure 6This includes second gas anomaly information A and second gas anomaly information B. Second gas anomaly information A has a second anomaly duration of 1 hour and a second gas flow rate of 5 cubic meters per hour. If the gas appliance obtains a current gas flow rate of 3 cubic meters per hour, the gas appliance determines that the user has manually reduced the gas consumption, and the gas appliance updates second gas anomaly information A to second gas anomaly information B. In second gas anomaly information B, the second anomaly duration is 0, and the second gas flow rate is 3 cubic meters per hour.
[0132] This application provides a method for updating second gas anomaly information. When the current gas flow rate is greater than a preset lower limit, the absolute value of the difference between the current gas flow rate and the second gas flow rate is obtained, and the second gas anomaly information is updated based on the absolute value of the difference between the current gas flow rate and the second gas flow rate. Thus, when a user is using the gas appliance normally, if the gas flow rate of the gas appliance changes significantly, it indicates that the user has manually modified the gas consumption. The gas appliance can reset the second anomaly duration and / or the second anomaly volume to zero and use the current gas flow rate as the second gas consumption for safety risk monitoring. If the user has not operated the gas appliance for a long time, the gas appliance can increase the second anomaly duration and / or the second anomaly volume to monitor the safety risk of prolonged dry burning of the gas appliance, thereby improving the effectiveness of natural gas safety detection and enhancing the safety of natural gas use.
[0133] Figure 7 This is a schematic flowchart illustrating a method for updating third gas anomaly information provided in an embodiment of this application. Please refer to... Figure 7 The method process includes:
[0134] S701, Obtain the relationship between the current gas flow rate and the third gas flow rate.
[0135] Optionally, the third gas flow rate is a gas flow rate greater than the lower limit. For example, the third gas flow rate is the flow rate at which the gas appliance can operate normally. For example, the third gas flow rate is greater than the lower limit for minor leaks but less than the upper limit for the gas appliance's flow rate.
[0136] Optionally, the third gas flow rate is the minimum gas flow rate used by the gas appliance within the flow rate range. For example, if the flow rate range is 0.5-8, and the gas flow rate used by the gas appliance over a period of time includes 0.7 cubic meters per hour, 3 cubic meters per hour, 5 cubic meters per hour, and 7 cubic meters per hour, then the third gas flow rate is 0.7 cubic meters per hour.
[0137] S702. Update the third gas anomaly information based on the relationship between the current gas flow rate and the third gas flow rate.
[0138] Optionally, based on the relationship between the current gas flow rate and the third gas flow rate, the third gas anomaly information can be updated, with the following three possibilities:
[0139] Case 1: The current gas flow rate is greater than the third gas flow rate, and the absolute value of the difference between the current gas flow rate and the third gas flow rate is greater than the preset threshold.
[0140] If the current gas flow rate is greater than the third gas flow rate, and the absolute value of the difference between the current gas flow rate and the third gas flow rate is greater than a preset threshold, then the third abnormal duration and / or the third abnormal volume will remain unchanged. For example, if the current gas flow rate obtained by the gas appliance is greater than the third gas flow rate, and the absolute value of the difference between the current gas flow rate and the third gas flow rate is greater than a preset threshold, it indicates that the user is using the gas appliance, and the gas appliance can maintain the third abnormal duration and / or the third abnormal volume unchanged.
[0141] Case 2: The absolute value of the difference between the current gas flow rate and the third gas flow rate is less than or equal to the preset threshold.
[0142] If the absolute value of the difference between the current gas flow rate and the third gas flow rate is less than or equal to a preset threshold, the third abnormal duration will be increased by a preset time unit and / or the third abnormal volume will be increased by the preset volume unit. For example, if the third gas flow rate is 1 cubic meter per hour and the preset threshold is 0.3, then when the current gas flow rate is between 0.7 cubic meters per hour and 1.3 cubic meters per hour, the gas appliance will increase the third abnormal duration by a preset time unit and / or increase the third abnormal volume by the preset volume unit. For example, if the third abnormal duration is 1 hour, and the absolute value of the difference between the current gas flow rate and the third gas flow rate is less than or equal to the preset threshold, and the gas appliance continues to operate at the current gas flow rate for 1 hour, then the third abnormal duration will be 2 hours.
[0143] Case 3: The current gas flow rate is less than the third gas flow rate, and the absolute value of the difference between the current gas flow rate and the third gas flow rate is greater than the preset threshold.
[0144] If the current gas flow rate is less than the third gas flow rate, and the absolute value of the difference between the current gas flow rate and the third gas flow rate is greater than a preset threshold, then the third abnormal duration and / or the third abnormal volume will be updated to 0, and the third gas flow rate will be updated to the current gas flow rate. For example, if the third gas flow rate is 3 cubic meters per hour and the preset threshold is 0.5, if the gas equipment obtains a current gas flow rate of 1 cubic meter per hour, it means that the gas equipment is operating with a smaller gas flow rate. The gas equipment will update the third abnormal duration and / or the third abnormal volume to 0 and update the third gas flow rate to 1 cubic meter per hour. In this way, the minimum gas flow rate when the gas equipment is in use can be obtained, thereby enabling the monitoring of safety hazards such as large gas leaks in the pipeline (greater than the lower limit of flow rate, while small leaks cannot be detected).
[0145] Optionally, when the current gas flow rate is less than the lower flow limit, the gas appliance will update the third abnormal duration and / or the third abnormal volume to 0. For example, when the current gas flow rate is less than the lower flow limit, it indicates that the gas appliance can be completely shut off and there is no significant gas leakage in the gas pipeline. In this case, the gas appliance can update the third abnormal duration and / or the third abnormal volume to 0 to prevent false alarms.
[0146] This application provides a method for updating third gas anomaly information. The method involves obtaining the relationship between the current gas flow rate and the third gas flow rate, and updating the third gas anomaly information based on this relationship. This allows for the elimination of interference from normal gas usage on safety risk monitoring when pipeline leakage is significant (the leakage is less than normal gas consumption but greater than the lower flow limit). It enables real-time monitoring of the minimum gas consumption duration and / or volume, thereby improving the effectiveness of natural gas safety detection and enhancing the safety of natural gas use.
[0147] Figure 8 This is a schematic diagram of a gas detection device provided in an embodiment of this application. Please refer to... Figure 8 The gas detection device 10 includes a first acquisition module 11, a second acquisition module 12, an update module 13, and a generation module 14, wherein:
[0148] The first acquisition module 11 is used to acquire at least one gas anomaly information, the gas anomaly information including anomaly type, anomaly duration, anomaly volume, and gas flow rate within the anomaly duration, wherein the flow rate fluctuation within the anomaly duration is less than or equal to a preset threshold.
[0149] The second acquisition module 12 is used to acquire the current gas flow rate of the gas at the current moment;
[0150] The update module 13 is used to update the at least one gas anomaly information according to the current gas flow rate when the current gas flow rate is greater than 0.
[0151] The generation module 14 is used to generate a prompt message when a target gas anomaly is present in the at least one gas anomaly message, wherein the anomaly duration in the target gas anomaly message is greater than or equal to the corresponding duration threshold and / or the anomaly volume is greater than or equal to the corresponding volume threshold.
[0152] In one possible implementation, the at least one gas anomaly information includes at least one of the following:
[0153] The first gas anomaly information, the anomaly type in the first gas anomaly information is a minor gas leak, the anomaly duration in the first gas anomaly information is a first anomaly duration, the anomaly volume is a first anomaly volume, and the gas flow rate in the first gas anomaly information is a first gas flow rate.
[0154] The second gas anomaly information, the anomaly type in the second gas anomaly information is gas usage timeout, the anomaly duration in the second gas anomaly information is the second anomaly duration, the anomaly volume is the second anomaly volume, and the gas flow rate in the second gas anomaly information is the second gas flow rate;
[0155] The third gas anomaly information includes an anomaly type of constant flow leakage, an anomaly duration of the third gas anomaly information, an anomaly volume of the third gas anomaly information, and a gas flow rate of the third gas anomaly information.
[0156] In one possible implementation, the update module 13 is specifically used for:
[0157] Update the first anomaly duration and / or the first anomaly volume based on the relationship between the current gas flow rate and the first gas flow rate;
[0158] Based on the relationship between the current gas flow rate and the second gas flow rate, update the second anomaly duration and / or the second anomaly volume, as well as the second gas flow rate;
[0159] Based on the relationship between the current gas flow rate and the third gas flow rate, update the third anomaly duration and / or the third anomaly volume, as well as the third gas flow rate.
[0160] In one possible implementation, the update module 13 is specifically used for:
[0161] If the current gas flow rate is less than or equal to the first gas flow rate, then the first abnormal duration is increased by a preset time unit and / or the first abnormal volume is increased by a preset volume unit, and the first gas flow rate is a preset lower limit value.
[0162] If the current gas flow rate is greater than the first gas flow rate, then the first abnormal duration and / or the first abnormal volume remain unchanged.
[0163] In one possible implementation, the update module 13 is further configured to:
[0164] If the current gas flow rate is 0, then the first abnormal duration and / or the first abnormal volume are updated to 0.
[0165] In one possible implementation, the update module 13 is specifically used for:
[0166] If the current gas flow rate is greater than the preset lower limit value, and the absolute value of the difference between the current gas flow rate and the second gas flow rate is less than or equal to the first threshold, then the second abnormal duration is increased by a preset time unit and / or the second abnormal volume is increased by a preset volume unit.
[0167] If the current gas flow rate is greater than a preset lower limit, and the absolute value of the difference between the current gas flow rate and the second gas flow rate is greater than a first threshold, then the second abnormal duration and / or the second abnormal volume are updated to 0, and the second gas flow rate is updated to the current gas flow rate.
[0168] In one possible implementation, the update module 13 is specifically used for:
[0169] If the current gas flow rate is greater than the third gas flow rate, and the absolute value of the difference between the current gas flow rate and the third gas flow rate is greater than a preset threshold, then the third abnormal duration and / or the third abnormal volume remain unchanged.
[0170] If the absolute value of the difference between the current gas flow rate and the third gas flow rate is less than or equal to the preset threshold, then the third abnormal duration is increased by a preset time unit and / or the third abnormal volume is increased by the preset volume unit.
[0171] If the current gas flow rate is less than the third gas flow rate, and the absolute value of the difference between the current gas flow rate and the third gas flow rate is greater than the preset threshold, then the third abnormal duration and / or the third abnormal volume are updated to 0, and the third gas flow rate is updated to the current gas flow rate.
[0172] The gas detection device provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0173] Figure 9 A schematic diagram of the hardware structure of the gas equipment provided in this application. Please refer to [link / reference]. Figure 9 The gas device 20 may include a processor 21 and a memory 22, wherein the processor 21 and the memory 22 can communicate; for example, the processor 21 and the memory 22 communicate via a communication bus 23, the memory 22 is used to store program instructions, and the processor 21 is used to call the program instructions in the memory to execute the gas detection method shown in any of the above method embodiments.
[0174] Optionally, the gas appliance 20 may also include a communication interface, which may include a transmitter and / or a receiver.
[0175] Optionally, the aforementioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this application can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0176] This application provides a readable storage medium storing a computer program; the computer program is used to implement the gas detection method as described in any of the above embodiments.
[0177] This application provides a computer program product, which includes instructions that, when executed, cause a computer to perform the gas detection method described above.
[0178] This application provides a gas device for implementing the gas detection method of any of the above embodiments.
[0179] All or part of the steps in the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, it performs the steps of the above method embodiments; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disk, and any combination thereof.
[0180] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, special-purpose computer, embedded processor, or other programmable gas appliance to produce a machine, such that the instructions, which execute via the computer or other programmable gas appliance processing unit, generate instructions for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0181] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable gas equipment to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0182] These computer program instructions can also be loaded onto a computer or other programmable gas equipment, causing a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0183] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the spirit and scope of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the claims of this application and their equivalents, this application also intends to include these modifications and variations.
[0184] In this application, the term "comprising" and its variations can refer to non-limiting inclusion; the term "or" and its variations can refer to "and / or". The terms "first", "second", etc., in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. In this application, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
Claims
1. A gas detection method, characterized in that, include: At least one gas anomaly information is obtained, the gas anomaly information including anomaly type, anomaly duration, anomaly volume, and gas flow rate within the anomaly duration, wherein the flow rate fluctuation within the anomaly duration is less than or equal to a preset threshold. Obtain the current gas flow rate of the gas at the current moment; When the current gas flow rate is greater than 0, update the at least one gas anomaly information according to the current gas flow rate; When a target gas anomaly is present in at least one of the gas anomaly information, a prompt message is generated, wherein the anomaly duration in the target gas anomaly information is greater than or equal to the corresponding duration threshold and / or the anomaly volume is greater than or equal to the corresponding volume threshold. The at least one gas anomaly information includes at least one of the following: first gas anomaly information, the anomaly type in the first gas anomaly information is a minor gas leak, the anomaly duration in the first gas anomaly information is a first anomaly duration, the anomaly volume is a first anomaly volume, and the gas flow rate in the first gas anomaly information is a first gas flow rate. The second gas anomaly information, the anomaly type in the second gas anomaly information is gas usage timeout, the anomaly duration in the second gas anomaly information is the second anomaly duration, the anomaly volume is the second anomaly volume, and the gas flow rate in the second gas anomaly information is the second gas flow rate; The third gas anomaly information, wherein the anomaly type in the third gas anomaly information is constant flow leakage, the anomaly duration in the third gas anomaly information is the third anomaly duration, the anomaly volume is the third anomaly volume, and the gas flow rate in the third gas anomaly information is the third gas flow rate; Update the at least one gas anomaly information based on the current gas flow rate, including: If the current gas flow rate is less than or equal to the first gas flow rate, then the first abnormal duration is increased by a preset time unit and / or the first abnormal volume is increased by a preset volume unit, and the first gas flow rate is a preset lower limit value. If the current gas flow rate is greater than the first gas flow rate, then the first abnormal duration and / or the first abnormal volume remain unchanged.
2. The method according to claim 1, characterized in that, The step of updating the at least one gas anomaly information based on the current gas flow rate further includes: If the current gas flow rate is 0, then the first abnormal duration and / or the first abnormal volume are updated to 0.
3. The method according to claim 1, characterized in that, Updating the at least one gas anomaly information based on the current gas flow rate further includes: If the current gas flow rate is greater than the preset lower limit value, and the absolute value of the difference between the current gas flow rate and the second gas flow rate is less than or equal to the first threshold, then the second abnormal duration is increased by a preset time unit and / or the second abnormal volume is increased by a preset volume unit. If the current gas flow rate is greater than a preset lower limit, and the absolute value of the difference between the current gas flow rate and the second gas flow rate is greater than a first threshold, then the second abnormal duration and / or the second abnormal volume are updated to 0, and the second gas flow rate is updated to the current gas flow rate.
4. The method according to claim 1, characterized in that, Updating the at least one gas anomaly information based on the current gas flow rate further includes: If the current gas flow rate is greater than the third gas flow rate, and the absolute value of the difference between the current gas flow rate and the third gas flow rate is greater than a preset threshold, then the third abnormal duration and / or the third abnormal volume remain unchanged. If the absolute value of the difference between the current gas flow rate and the third gas flow rate is less than or equal to the preset threshold, then the third abnormal duration is increased by a preset time unit and / or the third abnormal volume is increased by the preset volume unit. If the current gas flow rate is less than the third gas flow rate, and the absolute value of the difference between the current gas flow rate and the third gas flow rate is greater than the preset threshold, then the third abnormal duration and / or the third abnormal volume are updated to 0, and the third gas flow rate is updated to the current gas flow rate.
5. A gas detection device, characterized in that, It includes a first acquisition module, a second acquisition module, an update module, and a generation module, wherein: The first acquisition module is used to acquire at least one gas anomaly information, the gas anomaly information including anomaly type, anomaly duration, anomaly volume, and gas flow rate within the anomaly duration, wherein the flow rate fluctuation within the anomaly duration is less than or equal to a preset threshold. The second acquisition module is used to acquire the current gas flow rate of the gas at the current moment; The update module is used to update the at least one gas anomaly information according to the current gas flow rate when the current gas flow rate is greater than 0. The generation module is used to generate a prompt message when a target gas anomaly is present in the at least one gas anomaly message, wherein the anomaly duration in the target gas anomaly message is greater than or equal to the corresponding duration threshold and / or the anomaly volume is greater than or equal to the corresponding volume threshold. The at least one gas anomaly information includes at least one of the following: first gas anomaly information, the anomaly type in the first gas anomaly information is a minor gas leak, the anomaly duration in the first gas anomaly information is a first anomaly duration, the anomaly volume is a first anomaly volume, and the gas flow rate in the first gas anomaly information is a first gas flow rate. The second gas anomaly information, the anomaly type in the second gas anomaly information is gas usage timeout, the anomaly duration in the second gas anomaly information is the second anomaly duration, the anomaly volume is the second anomaly volume, and the gas flow rate in the second gas anomaly information is the second gas flow rate; The third gas anomaly information, wherein the anomaly type in the third gas anomaly information is constant flow leakage, the anomaly duration in the third gas anomaly information is the third anomaly duration, the anomaly volume is the third anomaly volume, and the gas flow rate in the third gas anomaly information is the third gas flow rate; The update module is specifically used for: If the current gas flow rate is less than or equal to the first gas flow rate, then the first abnormal duration is increased by a preset time unit and / or the first abnormal volume is increased by a preset volume unit, and the first gas flow rate is a preset lower limit value. If the current gas flow rate is greater than the first gas flow rate, then the first abnormal duration and / or the first abnormal volume remain unchanged.
6. A gas-fired device, characterized in that, include: Processor and memory; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the gas detection method as described in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the gas detection method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Gas supply system with safety protection function
CN109869633A
Leakage detection device
JP2010197289A