Gas pipeline safety identification method and system, electronic device and storage medium
Patent Information
- Application Number
- CN202310240361.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-07
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2043-03-07
AI Technical Summary
[0004]有鉴于此,本申请的目的在于提出一种燃气管路安全识别方法、系统、电子设备和存储介质,本申请能够针对性的解决现有燃气管路安全故障筛查效率低,存在安全隐患的问题
[0017] This embodiment utilizes the gas usage data stored in the gas meter to integrate and analyze the gas meter data and the household meter data. Each branch is grouped to obtain the grouping results. Under the condition of meeting the preset screening conditions, a full fault screening is automatically performed to obtain the screening results. This can greatly reduce the manpower and material resources for fault screening, so that when a fault occurs, it can be repaired in a timely manner to ensure the safety of users.
Smart Images

Figure CN118623228B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of gas safety technology, and in particular to a gas pipeline safety identification method, system, electronic device, and storage medium. Background Technology
[0002] Nowadays, people's lives are inseparable from gas. Gas is delivered to each household through gas pipelines, and gas safety is an important part of gas management.
[0003] The current management of gas safety mostly relies on manual inspection and troubleshooting, which requires manual inspection of each gas branch to check for faults. Manual inspection is time-consuming, labor-intensive, and costly. If inspections are not carried out in a timely manner, gas pipeline faults may not be resolved promptly, leading to gas leaks and leaving users in a state of gas leakage danger for a long time, posing a safety hazard. Summary of the Invention
[0004] In view of this, the purpose of this application is to propose a gas pipeline safety identification method, system, electronic device and storage medium, which can specifically solve the problems of low efficiency and potential safety hazards in the existing gas pipeline safety fault screening.
[0005] Based on the above objectives, in a first aspect, this application proposes a method for safety identification of gas pipelines, wherein the gas pipeline includes a main pipeline and multiple branch pipelines, the main pipeline is equipped with an inlet meter, and each branch pipeline is equipped with a gas meter. The method includes: acquiring gas usage data, the gas usage data including inlet meter data and gas meter data; grouping each branch pipeline according to the gas meter data to obtain a grouping result; and, under the condition of meeting preset screening conditions, sequentially performing safety fault screening on each branch pipeline according to the grouping result to obtain a screening result.
[0006] Optionally, the gas meter data includes gas usage time, total gas consumption, real-time gas consumption, and maximum gas consumption. The step of grouping each branch based on the gas meter data to obtain grouping results includes at least one of the following four methods: grouping branches with gas usage times within the same time period to obtain a first grouping result; grouping branches with total gas consumption within the same gas usage range to obtain a second grouping result; grouping branches whose real-time gas consumption changes from the previous time point by a value greater than a preset change to obtain a third grouping result; and grouping branches whose maximum gas consumption exceeds a preset value to obtain a fourth grouping result.
[0007] Optionally, the preset screening conditions include: the deviation between the sum of the total gas consumption data of each gas meter and the total gas consumption data of the household meter is greater than a preset range; or, the time interval between the current time and the previous screening time is equal to the preset screening cycle.
[0008] Optionally, the gas meter is equipped with a pressure sensor. The step of sequentially screening each branch for safety faults according to the grouping results to obtain screening results includes: sequentially closing the gas valves on each branch according to the grouping results and obtaining pressure sensor data; when the pressure sensor data indicates a sudden drop in pressure in the pipe, determining the target branch and obtaining the screening results for the gas meter back-end fault of the target branch.
[0009] Optionally, the step of sequentially screening each branch for safety faults based on the grouping results to obtain screening results includes: obtaining the deviation between the sum of the total gas consumption data of the gas meters and the total gas consumption data of the household meter, and recording it as the first deviation; according to the grouping results, sequentially closing the gas valves on each branch and obtaining the gas meter data after the valves are closed; recording the deviation between the sum of the total gas consumption data of the remaining gas meters after the valves are closed and the total gas consumption data of the household meter as the second deviation; when the difference between the first deviation and the second deviation is greater than a target value, determining the closed group as a fault group; sequentially opening the gas valves of the branches included in the fault group, and determining the target branch based on the third deviation between the sum of the total gas consumption data of all gas meters before and after the gas valves are opened and the total gas consumption data of the household meter, and obtaining the screening results for the faults at the back end of the gas meters of the target branch.
[0010] Optionally, the method includes: obtaining a screening result indicating a fault exists between the household meter and the gas meter if the target branch cannot be determined even after closing all gas valves.
[0011] Optionally, the step of sequentially closing the gas valves on each branch includes: predicting the gas usage time based on historical data from the gas meters on each branch; and sequentially closing the gas valves on each branch during non-gas usage times.
[0012] Optionally, the safety fault screening of each branch is carried out sequentially according to the grouping results to obtain the screening results, and the method further includes: obtaining the gas valve opening status of each branch, and obtaining the gas valve abnormality screening result when the valve opening status is abnormal.
[0013] Secondly, a gas pipeline safety identification system is also provided. The gas pipeline includes a main line and multiple branch lines. The main line is equipped with an inlet meter, and each branch line is equipped with a gas meter. The system includes: a data acquisition module for acquiring gas usage data, which includes inlet meter data and gas meter data; a grouping module for grouping each branch line according to the gas meter data to obtain grouping results; and a screening module for sequentially screening each branch line for safety faults according to the grouping results, under the condition that preset screening conditions are met, to obtain screening results.
[0014] Thirdly, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the method described in the first aspect.
[0015] Fourthly, a computer-readable storage medium is also provided, on which a computer program is stored, the program being executed by a processor to implement the method described in any one of the first aspects.
[0016] In summary, this application has at least the following beneficial effects:
[0017] This embodiment utilizes the gas usage data stored in the gas meter to integrate and analyze the gas meter data and the household meter data. Each branch is grouped to obtain the grouping results. Under the condition of meeting the preset screening conditions, a full fault screening is automatically performed to obtain the screening results. This can greatly reduce the manpower and material resources for fault screening, so that when a fault occurs, it can be repaired in a timely manner to ensure the safety of users. Attached Figure Description
[0018] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the various drawings denote the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings depict only some embodiments disclosed in this application and should not be construed as limiting the scope of this application.
[0019] Figure 1 This invention provides a schematic diagram of the structure of a gas pipeline.
[0020] Figure 2 This invention provides a flowchart illustrating the steps of a gas pipeline safety identification method.
[0021] Figure 3 This invention provides a schematic diagram of the structure of a gas pipeline safety identification system.
[0022] Figure 4 This illustration shows a structural schematic diagram of an electronic device provided in one embodiment of this application;
[0023] Figure 5 A schematic diagram of a storage medium provided in one embodiment of this application is shown. Detailed Implementation
[0024] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the invention. Furthermore, it should be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings.
[0025] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0026] Figure 1 This invention provides a schematic diagram of the structure of a gas pipeline. (Refer to...) Figure 1 In the embodiments of this application, the gas pipeline includes a main line and multiple branch lines. The main line is equipped with an inlet meter, and each branch line is equipped with a gas meter. The inlet meter is used to record the total amount of gas delivered to the user, and the gas meter is used to record the amount of gas used by each household.
[0027] like Figure 1 As shown, the gas meters include gas meter A, gas meter B, gas meter C, gas meter D, gas meter E, gas meter F, gas meter G, gas meter H and gas meter I. Each gas meter is connected to a gas-using device at its rear end, such as a gas hood.
[0028] like Figure 1 As shown in this embodiment, the gas pipeline is also equipped with a main inlet valve for connecting or disconnecting the gas supply to the main pipeline. Each branch pipeline is equipped with a user valve, which allows users to open the user valve to use gas when the branch pipeline is normal, and to manually disconnect the gas supply when a branch pipeline malfunctions or when the administrator is troubleshooting the malfunction.
[0029] Understandably, in existing applications, gas companies calculate gas fees based on usage data from each household's gas meter. When leaks occur on branch lines, they are often only discovered through user reports or during routine maintenance by administrators. This embodiment, however, utilizes data stored in the gas meters to integrate and analyze both meter data and household meter data, automatically performing a full fault screening process. This significantly reduces the manpower and resources required for fault screening, and when a fault occurs, it can issue a warning, allowing for timely repairs and ensuring user safety.
[0030] Figure 2 This diagram illustrates the steps of a gas pipeline safety identification method according to this application. (Reference) Figure 2 The gas pipeline safety identification method includes the following steps S201 to S203:
[0031] S201. Obtain gas usage data.
[0032] In this embodiment, gas usage data includes household meter data and gas meter data. Household meter data includes the total gas consumption of all users, the total gas consumption within a preset time period, and the gas usage time, among other gas usage data.
[0033] In this embodiment, the gas meter data includes gas usage time, total gas consumption, real-time gas consumption, and maximum gas consumption. For example, the gas meter data contained in gas meter A includes user A's gas usage from 8:00 AM to 8:30 AM and from 11:00 AM to 12:00 PM, the total gas consumption of user A from 8:00 AM to 8:00 PM being M cubic meters, the real-time gas consumption displayed by gas meter A at the current moment, and the maximum gas consumption of user A in a single transaction within the past month, etc.
[0034] S202. Group each branch according to the gas meter data to obtain the grouping results.
[0035] As can be seen from step S201 above, the gas meter data includes gas usage time, total gas usage, real-time gas usage, and maximum gas usage. In this embodiment, each branch is grouped according to the gas meter data to obtain grouping results, including at least one of the following four methods: grouping branches with gas usage time within the same time period to obtain a first grouping result; grouping branches with total gas usage within the same gas usage range to obtain a second grouping result; grouping branches with the change in real-time gas usage from the previous time point greater than a preset change value to obtain a third grouping result; and grouping branches with the maximum gas usage greater than a preset amount to obtain a fourth grouping result.
[0036] Specifically, with Figure 1 Taking the gas meters included in the data as an example, assuming that the gas usage time recorded by gas meters A, B, and C is between 7:30 AM and 8:00 AM, the gas usage time recorded by gas meters D, E, and F is between 8:00 AM and 8:30 AM, and the gas usage time recorded by gas meters G, H, and I is between 11:30 AM and 12:00 PM, then the first grouping result is that gas meters A, B, and C form one group, gas meters D, E, and F form another group, and gas meters G, H, and I form yet another group.
[0037] In this embodiment, branches with gas usage times within the same time period are grouped together. This allows for convenient valve shut-off control of the same group of branches during non-usage periods during fault screening, thus avoiding disruption to users' normal gas usage.
[0038] Assuming that gas meters A and B consume a total of 25-30 cubic meters of gas in a certain month, gas meters C, D, E, and F consume a total of 30-35 cubic meters of gas in a certain month, and gas meters G, H, and I consume a total of 35-40 cubic meters of gas in a certain month, then the second grouping result is that gas meters A and B are in one group, gas meters C, D, E, and F are in another group, and gas meters G, H, and I are in yet another group.
[0039] It is understandable that when a gas leak occurs, the gas meter reading will be higher. Therefore, this embodiment groups branches with the same total gas consumption within the same range, which makes it easy to identify which branches have a large total gas consumption. At the same time, controlling the valves of branches with a large total gas consumption can improve the efficiency of fault screening.
[0040] Assuming that the change in real-time gas consumption of gas meters A and B compared to the previous time point is greater than a preset change value, and the change in real-time gas consumption of gas meters C, D, E, F, G, H, and I compared to the previous time point is less than or equal to a preset change value, then the third grouping result is that gas meters A and B are in one group, and gas meters C, D, E, F, G, H, and I are in another group.
[0041] It is understandable that the change in real-time gas consumption compared to the previous time point is greater than a preset change value, which can characterize the gas consumption per unit time. When the increase in gas consumption per unit time is too large, there is a possibility of gas leakage. Therefore, in this embodiment, branches whose change in real-time gas consumption compared to the previous time point is greater than a preset change value are grouped together. This can group branches that may have gas leakage together to improve the efficiency of fault screening.
[0042] Similarly, assuming that the maximum gas consumption of gas meters A, B, C, D, and E is greater than the preset amount, and the maximum gas consumption of gas meters F, G, H, and I is less than or equal to the preset amount, then the fourth grouping result is that gas meters A, B, C, D, and E are in one group, and gas meters F, G, H, and I are in another group.
[0043] It is understandable that when gas consumption increases, there is also the possibility of gas leakage. Therefore, in this embodiment, branches with the maximum possible gas consumption exceeding the preset amount are grouped together to improve the efficiency of fault screening.
[0044] S203. Under the condition that the preset screening conditions are met, safety fault screening is carried out on each branch in sequence according to the grouping results to obtain the screening results.
[0045] It is understandable that when the data recorded on the main gas meter for the total gas consumption does not match the data on the gas meters installed on each branch line, it indicates a possible gas leak. For example, if the main gas meter shows a total gas consumption of 1000 cubic meters over a period of time, while the sum of the gas consumption values on all branch gas meters is 990 cubic meters, then the gas consumption on a certain branch may exceed the range of the gas meter, causing the recorded gas meter value to be less than the actual amount of gas flowing through the meter. This indicates a possible significant gas leak, and a fault screening should be performed immediately. Therefore, in this embodiment, the preset screening condition includes: the deviation between the sum of the total gas consumption data from each gas meter and the total gas consumption data from the main gas meter is greater than a preset range. This preset range can be set according to the range deviation of the gas meters. For example, if the gas meter's measurement error is ±0.1 cubic meters and there are 9 gas meters, then the preset range can be ±0.9 cubic meters. When the deviation between the sum of the total gas consumption data from each gas meter and the total gas consumption data from the main gas meter exceeds the preset range, it indicates a possible gas leak.
[0046] Furthermore, current maintenance and troubleshooting methods are generally based on human intervention, with maintenance cycles typically lasting one month or one quarter. This approach cannot promptly detect pipeline problems. When a gas branch line malfunctions, because gas supply and consumption occur simultaneously, the gas flowing through the main meter also flows through the gas meters on each branch line. When the gas flow through each meter does not exceed its maximum capacity, the difference between the sum of the gas consumption on each branch line and the main meter's consumption is not significant. Only when the leak is severe, due to the maximum capacity of the gas meters, might the difference be discovered during a monthly or quarterly maintenance check, prompting the organization of maintenance personnel. When the leak is minor, it is even more difficult to detect the difference between the sum of the gas consumption on each branch line and the main meter's consumption. Therefore, in this embodiment, the preset screening condition can also be that the time interval between the current time and the previous screening time is equal to the preset screening cycle. That is, the time interval between two screenings is the screening cycle. The screening cycle can be set according to the actual situation, such as a screening cycle of one week, two weeks, three weeks or one month, so as to realize automatic screening of gas pipelines without manual screening.
[0047] In practical applications, due to the internal structure of the gas meter or its early installation, some gas meters may lack a pressure sensor, while others may have one. It's understandable that gas pipelines are sealed. When the gas valve is open, the pressure sensor detects the pressure due to the gas flow within the pipeline. However, when the gas valve is closed, if there is a leak between the valve and the appliance, the pipeline connects to the outside, reducing the internal gas pressure and consequently lowering the pressure sensor's reading. Therefore, in gas meters with a pressure sensor, the data can be used to screen for safety faults in the pipeline.
[0048] Specifically, based on the grouping results, safety fault screening is performed on each branch in sequence to obtain screening results, including: according to the grouping results, the gas valves on each branch in sequence are closed to obtain pressure sensor data; when the pressure sensor data indicates a sudden drop in pressure in the pipe, the target branch is determined and the screening results of the gas meter back end fault of the target branch are obtained.
[0049] For example, the grouping result is the first group result, which includes gas meters A, B, and C in one group; gas meters D, E, and F in another group; and gas meters G, H, and I in yet another group. Then, the gas valves of gas meters A, B, and C are closed sequentially. The pressure sensor data for each meter is then obtained. If the pressure sensor data for gas meter A indicates a rapid drop in pressure, the branch containing gas meter A is identified as the target branch. This provides the screening result for a fault downstream of gas meter A. This fault could be in the pipeline between gas meter A and the gas-using appliance, or it could be a fault in the appliance itself. After obtaining the screening result for the fault downstream of the gas meter in the target branch, an alarm message can be issued, prompting a repair technician to come and repair the equipment.
[0050] When there is no pressure sensor in the gas meter, it is impossible to use the pressure sensor data for fault screening. In this embodiment, the gas meter data changes before and after the gas valve is closed for screening. Of course, this method can also be used when there is a pressure sensor in the gas meter.
[0051] Specifically, based on the grouping results, safety fault screening is performed on each branch in sequence to obtain screening results, including: obtaining the deviation between the sum of the total gas consumption data from the gas meters and the total gas consumption data from the household meter, recorded as the first deviation; according to the grouping results, the gas valves on each branch in the group are closed in sequence, and the gas meter data after the valves are closed is obtained; the deviation between the sum of the total gas consumption data from the remaining gas meters after the valves are closed and the total gas consumption data from the household meter is recorded as the second deviation; when the difference between the first deviation and the second deviation is greater than the target value, the closed group is determined as the fault group; the gas valves of the branches included in the fault group are opened in sequence, and the target branch is determined based on the third deviation between the sum of the total gas consumption data from all gas meters before and after the gas valves are opened and the total gas consumption data from the household meter, thus obtaining the screening results for the faults at the back end of the gas meters in the target branch.
[0052] For example, the grouping result is the first grouping result, which includes gas meter A, gas meter B, and gas meter C as one group, gas meter D, gas meter E, and gas meter F as one group, and gas meter G, gas meter H, and gas meter I as one group. With all gas meters' valves open, record the deviation between the sum of all gas meter readings and the total gas consumption of the incoming meter. This deviation is recorded as the first deviation. Keep the gas valves of gas meters D, E, F, G, H, and I open, and close the gas valves of gas meters A, B, and C. Record the sum of the gas consumption of gas meters D, E, F, G, H, and I. Record the deviation between this sum and the total gas consumption of the incoming meter. This deviation is recorded as the second deviation. If the difference between the first and second deviations is small, it indicates that closing gas meters A, B, and C has little impact on the gas supply. If the difference is large, exceeding the target value, it indicates that closing gas meters A, B, and C causes a sudden change in the gas supply, and the leak may occur in the branch circuit where gas meters A, B, and C are located. In this embodiment, the target value can be set according to the range deviation of the gas meter, or it can be set according to actual experience.
[0053] Continuing the example above, when the difference between the first and second deviations is greater than the target value, the leak point may be located in the branch containing gas meters A, B, and C. Therefore, the group containing the closed gas meters A, B, and C is identified as the fault group. The gas valves of the branches containing gas meters A, B, and C are opened sequentially. Based on the third deviation between the sum of the total gas consumption data from all gas meters before and after opening the gas valves and the total gas consumption data from the incoming meter, the target branch is identified, and the screening result for the fault at the downstream end of the gas meter in the target branch is obtained. For example, if the gas valves of the branches containing gas meters B and C are kept closed, and the gas valve of the branch containing gas meter A is opened, if the third deviation between the sum of the total gas consumption data from all gas meters and the total gas consumption data from the incoming meter is much greater than the second deviation, it indicates that the gas volume in the gas pipeline suddenly increased after gas meter A was opened, and there may be a gas leak between gas meter A and the downstream gas-using equipment. The branch containing gas meter A is identified as the target branch, and the screening result for the fault at the downstream end of gas meter A is obtained.
[0054] If, after opening the gas valve on the branch where gas meter A is located, the third deviation between the sum of the total gas consumption data from all gas meters and the total gas consumption data from the incoming meter equals the second deviation, it indicates that the change in the amount of gas in the gas pipeline remains unchanged after opening gas meter A. Then, continue opening the gas valve on the branch where gas meter B is located, and measure the deviation between the sum of the total gas consumption data from all gas meters before and after opening gas meter B and the total gas consumption data from the incoming meter. This third deviation is used to determine whether there is a sudden change in the third deviation compared to the second deviation, and thus whether there is a gas leak in the branch where gas meter B is located. Similarly, check all branches one by one.
[0055] This embodiment utilizes grouping results to screen branches in each group, which improves screening efficiency. After determining the group where the faulty branch belongs, the faulty branches are screened out one by one from the faulty groups. This enables rapid and accurate screening of gas pipeline faults. Furthermore, the gas consumption data from the gas meter is compatible with both gas meters with and without gas valves, demonstrating strong compatibility.
[0056] It is understandable that, such as Figure 1 The gas pipeline shown also includes pipelines between the main gas meter and each individual gas meter. If the target branch cannot be identified even after closing all gas valves, it indicates a potential fault in the pipeline between the main gas meter and the gas meter on that branch. This results in a fault detection result between the main gas meter and the individual gas meters. A reminder message is then generated, prompting maintenance personnel to perform repairs and eliminate the fault.
[0057] In this embodiment, considering the user's potential gas usage before closing the gas valve of the gas meter, and to avoid the safety fault screening affecting the user's gas usage, this embodiment sequentially closes the gas valves on each branch, including: predicting the gas usage time based on the historical data of the gas meter on each branch, and sequentially closing the gas valves on each branch during non-gas usage time.
[0058] For example, if the historical data of gas meter A shows that most of the gas usage times are between 12:00 and 12:30 noon, then the predicted next gas usage time is also between 12:00 and 12:30 noon. Therefore, the gas valve can be turned off outside of the 12:00 to 12:30 noon time.
[0059] In another example, if gas meter A and gas meter B are in the same group, and based on the historical data of gas meter B, it is predicted that the next gas usage time for the user corresponding to gas meter B will be between 12:30 pm and 1 pm, then when controlling the valve closure of gas meters A and B, the gas valve can be closed at a time other than 12:00 pm to 1 pm.
[0060] In another example, gas pipeline problems are not limited to gas leaks; they may also include component damage and other malfunctions. Even after the gas valve controlling the gas meter is closed, it may be reopened to ensure normal gas supply for the user, or the gas valve may need to be repeatedly opened and closed during the screening process. When a gas valve malfunctions, it may react abnormally to the opening or closing control, requiring repair. Therefore, in this embodiment, safety fault screening is performed on each branch sequentially according to the grouping results to obtain screening results. This also includes obtaining the gas valve opening status of each branch, and obtaining a screening result for abnormal gas valve opening status.
[0061] For example, after closing the gas valve of gas meter A, it is necessary to open the gas valve of gas meter A again. If the gas valve of gas meter A does not open or is not in the correct position, this indicates an abnormal valve opening, and the screening result of the gas valve abnormality of gas meter A is obtained. This method can detect whether the gas valve is faulty.
[0062] This application provides a gas pipeline safety identification system. This system is used to execute the gas pipeline safety identification method described in the above embodiments. The gas pipeline includes a main line and multiple branch lines. The main line is equipped with an inlet meter, and each branch line is equipped with a gas meter, for example... Figure 1 The gas pipeline shown. (Reference) Figure 3 The gas pipeline safety identification system 300 provided in this embodiment includes:
[0063] Data acquisition module 301 is used to acquire gas usage data, which includes household meter data and gas meter data;
[0064] Grouping module 302 is used to group each branch according to the gas meter data and obtain the grouping result;
[0065] The screening module 303 is used to perform safety fault screening on each branch in sequence according to the grouping results, under the condition that the preset screening conditions are met, and to obtain the screening results.
[0066] In one example, the gas meter data includes gas usage time, total gas consumption, real-time gas consumption, and maximum gas consumption. The grouping module 302 obtains grouping results, including at least one of the following four methods: grouping branches with gas usage time within the same time period to obtain a first grouping result; grouping branches with total gas consumption within the same gas usage range to obtain a second grouping result; grouping branches with real-time gas consumption changes greater than a preset change value to obtain a third grouping result; and grouping branches with maximum gas consumption greater than a preset amount to obtain a fourth grouping result.
[0067] In one example, the preset screening conditions include: the deviation between the sum of the total gas consumption data of each gas meter and the total gas consumption data of the household meter is greater than a preset range; or, the time interval between the current time and the previous screening time is equal to the preset screening cycle.
[0068] In one example, a pressure sensor is installed inside the gas meter. The screening module 303 is used to sequentially close the gas valves on each branch according to the grouping results and obtain pressure sensor data. When the pressure sensor data indicates a sudden drop in pressure in the pipe, the target branch is determined and the screening result of the gas meter back end fault in the target branch is obtained.
[0069] In one example, the screening module 303 is used to obtain the deviation between the sum of the total gas consumption data of the gas meters and the total gas consumption data of the household meter, which is recorded as the first deviation; based on the grouping results, the gas valves on each branch are closed sequentially to obtain the gas meter data after the valves are closed; the deviation between the sum of the total gas consumption data of the remaining gas meters after the valves are closed and the total gas consumption data of the household meter is recorded as the second deviation; when the difference between the first deviation and the second deviation is greater than the target value, the closed group is determined as the fault group; the gas valves of the branches included in the fault group are opened sequentially, and the target branch is determined based on the third deviation between the sum of the total gas consumption data of all gas meters before and after the gas valves are opened and the total gas consumption data of the household meter, thus obtaining the screening result of the gas meter back end fault of the target branch.
[0070] In one example, screening module 303 is used to obtain a screening result indicating a fault between the household meter and the gas meter if the target branch cannot be identified even after closing all gas valves.
[0071] In one example, the screening module 303 is used to predict the gas usage time based on the historical data of the gas meters on each branch; and sequentially close the gas valves on each branch during non-gas usage times.
[0072] In one example, the screening module 303 is used to obtain the opening status of the gas valve in each branch, and when the valve opening status is abnormal, obtain the screening result of the gas valve abnormality.
[0073] The gas pipeline safety identification system and the gas pipeline safety identification method provided in the above embodiments of this application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application stored therein.
[0074] This application also provides an electronic device corresponding to the gas pipeline safety identification method provided in the foregoing embodiments, for executing the gas pipeline safety identification method described above. This application does not limit the scope of the embodiments.
[0075] Please refer to Figure 4 This illustrates a schematic diagram of an electronic device provided by some embodiments of this application. For example... Figure 4 As shown, the electronic device 20 includes: a processor 200, a memory 201, a bus 202, and a communication interface 203. The processor 200, the communication interface 203, and the memory 201 are connected via the bus 202. The memory 201 stores a computer program that can run on the processor 200. When the processor 200 runs the computer program, it executes the gas pipeline safety identification method provided in any of the foregoing embodiments of this application.
[0076] The memory 201 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 203 (which can be wired or wireless), such as the Internet, wide area network, local area network, or metropolitan area network.
[0077] Bus 202 can be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. The memory 201 is used to store programs. After receiving an execution instruction, the processor 200 executes the program. The gas pipeline safety identification method disclosed in any of the foregoing embodiments of this application can be applied to the processor 200, or implemented by the processor 200.
[0078] The processor 200 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of the processor 200 or by instructions in software form. The processor 200 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 201. The processor 200 reads the information in memory 201 and, in conjunction with its hardware, completes the steps of the above method.
[0079] The electronic device provided in this application embodiment and the gas pipeline safety identification method provided in this application embodiment are based on the same inventive concept and have the same beneficial effects as the methods they adopt, operate or implement.
[0080] This application also provides a computer-readable storage medium corresponding to the gas pipeline safety identification method provided in the foregoing embodiments. Please refer to... Figure 5 The computer-readable storage medium shown is an optical disc 30, on which a computer program (i.e., a program product) is stored. When the computer program is run by a processor, it executes the gas pipeline safety identification method provided in any of the foregoing embodiments.
[0081] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical and magnetic storage media, which will not be elaborated here.
[0082] The computer-readable storage medium provided in the above embodiments of this application and the gas pipeline safety identification method provided in the embodiments of this application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application stored therein.
[0083] It should be noted that:
[0084] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The required structure for constructing such systems is apparent from the above description. Furthermore, this application is not directed to any particular programming language. It should be understood that the content of this application described herein can be implemented using various programming languages, and the above description of specific languages is for the purpose of disclosing the best mode of implementation of this application.
[0085] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of this application may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0086] Similarly, it should be understood that, in order to simplify this application and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of this application, various features of this application are sometimes grouped together into a single embodiment, figure, or description thereof. However, this method of disclosure should not be construed as reflecting an intention that the claimed application requires more features than are expressly recited in each claim. Rather, as reflected in the following claims, inventive aspects lie in fewer than all features of a single foregoing disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into that detailed description, wherein each claim itself is a separate embodiment of this application.
[0087] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.
[0088] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features but not others included in other embodiments, combinations of features from different embodiments are intended to be within the scope of this application and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
[0089] The various component embodiments of this application can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components in the virtual machine creation system according to the embodiments of this application. This application can also be implemented as a device or system program (e.g., a computer program and computer program product) for performing part or all of the methods described herein. Such an implementation of this application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
[0090] It should be noted that the above embodiments are illustrative of this application and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. This application can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several systems, several of these systems may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.
[0091] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various variations or substitutions within the technical scope disclosed in this application, and these should all be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for safety identification of gas pipelines, characterized in that, The gas pipeline includes a main line and multiple branch lines. The main line is equipped with an inlet gas meter, and each branch line is equipped with a gas meter. The method includes: Acquire gas usage data, which includes household meter data and gas meter data; the gas meter data includes gas usage time, total gas consumption, real-time gas consumption, and maximum gas consumption. Based on the gas meter data, each branch is grouped to obtain the grouping results; Under the condition that the preset screening conditions are met, each branch is sequentially screened for safety faults according to the grouping results to obtain the screening results; the preset screening conditions include: the deviation between the sum of the total gas consumption data of each gas meter and the total gas consumption data of the household meter is greater than a preset range; or, the time interval between the current time and the previous screening time is equal to the preset screening cycle. Based on the gas meter data, each branch is grouped to obtain grouping results, including at least one of the following four methods: grouping branches with gas consumption times within the same time period to obtain a first grouping result; grouping branches with total gas consumption within the same gas consumption range to obtain a second grouping result; grouping branches with changes in real-time gas consumption from the previous time point greater than a preset change value to obtain a third grouping result; and grouping branches with maximum gas consumption greater than a preset amount to obtain a fourth grouping result. The process of sequentially screening each branch for safety faults based on the grouping results to obtain screening results includes: obtaining the deviation between the sum of the total gas consumption data from gas meters and the total gas consumption data from the household meter, recorded as the first deviation; sequentially closing the gas valves on each branch according to the grouping results, and obtaining the gas meter data after valve closure; recording the deviation between the sum of the remaining gas consumption data from gas meters after valve closure and the total gas consumption data from the household meter as the second deviation; determining the closed group as a fault group when the difference between the first deviation and the second deviation is greater than a target value; sequentially opening the gas valves of the branches included in the fault group, and determining the target branch based on the third deviation between the sum of the total gas consumption data from all gas meters before and after opening the gas valves and the total gas consumption data from the household meter, thus obtaining the screening results for the faults at the back end of the gas meters in the target branch.
2. The method according to claim 1, characterized in that, The method includes: If the target branch cannot be determined even after closing all gas valves, a screening result indicating a fault exists between the incoming gas meter and the gas meter is obtained.
3. The method according to claim 1, characterized in that, The step of sequentially closing the gas valves on each branch line includes: Predict gas usage time based on historical data from gas meters on each road; Close the gas valves on each branch line in sequence during non-gas usage periods.
4. The method according to claim 1, characterized in that, The step of sequentially performing safety fault screening on each branch based on the grouping results to obtain screening results also includes: Obtain the gas valve opening status of each branch, and when the valve opening status is abnormal, obtain the screening results of the gas valve abnormality.
5. A gas pipeline safety identification system, characterized in that, The system is used to perform the method according to any one of claims 1-4, wherein the gas pipeline includes a main line and multiple branch lines, the main line is equipped with an inlet meter, and each branch line is equipped with a gas meter, and the system includes: The data acquisition module is used to acquire gas usage data, which includes household meter data and gas meter data. The grouping module is used to group each branch according to the gas meter data and obtain the grouping results; The screening module is used to sequentially screen each branch for safety faults based on the grouping results, under the condition that the preset screening conditions are met, and to obtain the screening results.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the method as described in any one of claims 1-4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer program is executed by a processor to implement the method as described in any one of claims 1-4.
Citation Information
Patent Citations
Gas meter remote meter reading system and method with intelligent identification function
CN107818666A
Safe and intelligent fuel gas monitoring method and system based on mobile terminal and fuel gas measurement
CN108072415A