Method, device and equipment for monitoring gas consumption data abnormity of civilian users
By conducting detailed detection and analysis of gas data for civilian users, abnormal judgments of gas behavior are formed, and the problem of difficult to monitor and detect abnormal gas data in the prior art is solved, effectively curbing the user's gas theft behavior and accurate monitoring of gas meter meter measurement is achieved.
Patent Information
- Application Number
- CN202510110992.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2045-01-23
AI Technical Summary
The prior art is difficult to accurately monitor and detect abnormal situations in user gas data, which makes it difficult to effectively curb gas theft.
By obtaining the gas usage data of the remote gas meter, the number of gas usage times, gas usage time, gas usage volume and gas usage instability are detected, and the detection results are integrated to form a vector, the difference with the normal standard vector is compared, and the abnormal situation of gas usage behavior is determined.
It realizes accurate monitoring and abnormal detection of gas data for civilian users, effectively curbs the user's gas theft behavior, and promptly detects abnormal states of inaccurate gas meter meter meter measurement.
Smart Images

Figure BDA0005256636020000041 
Figure BDA0005256636020000061 
Figure BDA0005256636020000071
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of gas management, and in particular to a method, a device and equipment for monitoring abnormal gas consumption data of civilian users. Background Art
[0002] At present, with the accelerated implementation of the coal-to-gas project, natural gas has replaced coal as the main fuel. The scale of the natural gas pipeline network in the central urban area has gradually expanded, and the construction of pipeline natural gas has developed rapidly, increasing the penetration rate of natural gas. At the same time, in relatively remote rural areas and areas where it is not suitable to build pipelines, bottled liquefied petroleum gas is mostly used to replace pipeline natural gas.
[0003] The gas usage data of civilian users is relatively regular, but there may be cases of civilian users stealing gas, so it is necessary to monitor user behavior. Abnormal gas usage behavior of users is mainly manifested in:
[0004] 1. Abnormal gas consumption by users:
[0005] The actual gas consumption of users is significantly different from historical data or users of the same type.
[0006] Gas usage times do not conform to normal life or production patterns, such as large amounts of gas usage during off-peak hours.
[0007] 2. Abnormal device status:
[0008] The gas meter or related equipment is damaged, the lead seal is missing, or it is disassembled or installed without permission.
[0009] The gas meter is disturbed, such as magnetic interference, tilt or abnormal data.
[0010] 3. Abnormal data transmission:
[0011] Smart gas meter data cannot be transmitted back normally or displays abnormalities.
[0012] Gas consumption data does not match gas purchase data.
[0013] Currently, measures to prevent gas theft include:
[0014] 1. Promote the use of IoT smart gas meters, which have automatic reporting functions and can detect abnormal behaviors such as magnetic interference and disassembly. This measure can only detect whether the measurement is accurate, but cannot monitor whether the gas usage data is abnormal.
[0015] 2. Use big data analysis and intelligent monitoring systems to conduct real-time monitoring and anomaly detection of users' gas usage behavior, but the existing monitoring methods are inaccurate and complex. Summary of the invention
[0016] In order to solve the above technical problems, the present invention provides a method, device and equipment for monitoring abnormal gas consumption data of civilian users.
[0017] To achieve the above object, the present invention is implemented according to the following technical solutions:
[0018] One of the technical solutions of the present invention is to provide a method for monitoring abnormal gas consumption data of civilian users, comprising the following steps:
[0019] S1. Obtain the number of users of remote gas meters and collect gas usage data of gas meters, including hourly gas usage, daily gas usage, monthly gas usage, and annual gas usage;
[0020] S2. Analyze the gas usage data collected from the remote gas meter, and perform gas usage frequency detection, gas usage time detection, gas usage volume detection, and gas usage instability detection;
[0021] S3. According to the detection result of step S2, vector β=(a, b, c, d, e, f, g, h, j) is obtained after integration;
[0022] S4. Sort the annual gas consumption data of all users in a certain year, using x i represents the sorted data set, where i ranges from 1 to i, and only the middle 95% of the data is taken to mask erroneous or unrepresentative data. The corrected data set is {x j |x 0.1i+1 ≤j≤x 0.9i}; The corrected data set is segmented to divide the user types into wall-mounted boiler users and non-wall-mounted boiler users;
[0023] S5. Randomly select N users without wall-mounted boilers, and execute step S2 on the gas usage data of the N users without wall-mounted boilers, calculate the average values of the N parameters, and obtain a normal standard vector α=(A, B, C, D, E, F, G, H, J);
[0024] S6, subtracting vectors α and β;
[0025] Δ = α - β;
[0026] And find the magnitude of the vector:
[0027]
[0028]
[0029] when When If it is a critical value, it is considered that the user's gas usage behavior is abnormal;
[0030] when When If it is a critical value, then focus on this user;
[0031] when When If it is a critical value, it is determined that the user's gas usage behavior is normal.
[0032] Furthermore, in step S2, the gas usage frequency detection specifically includes:
[0033] 1) Assume that the user's remote transmission data is the cumulative gas consumption on a certain day, and its function is y=Q(x), where x represents 0-24 hours and y is the cumulative gas consumption;
[0034] The number and time of gas usage are calculated based on the following conditions:
[0035] If there is a range (m, n), 0≤m <n≤24,
[0036] exist
[0037] And for all x0∈(m,n),
[0038] If the above conditions are met, it is recorded as one gas use, and the gas use time is t = nm;
[0039] For the heating season, the above formula becomes:
[0040] If there is a range (m, n), 0≤m <n≤24,
[0041] exist
[0042] And for all x0∈(m,n),
[0043] If the above conditions are met, it is recorded as one gas use, and the gas use time is t = nm;
[0044] 2) Take a week or M days as the detection cycle, and detect the cumulative gas usage times of the detection cycle. If the gas usage times of this cycle is 50% of the gas usage times of the previous cycle, output the gas usage times a of this cycle;
[0045] 3) Take month, year or heating season as the detection cycle. If there is a daily gas usage of 0, and the cumulative number of days with daily gas usage of 0 is greater than 5 days, it will be counted as one time; if the total number of times in the detection cycle is greater than 10 times, output the number b of this cycle.
[0046] Furthermore, in step S2, the gas usage time detection specifically includes:
[0047] 1) Take a week or M days as the detection cycle, detect the cumulative gas usage time of the cycle, if the gas usage time of this cycle is 50% of the gas usage time of the previous cycle, output the gas usage time c of this cycle;
[0048] 2) Take month, year or heating season as the detection cycle. If there is a daily gas usage time of 0, and the cumulative number of days with daily gas usage time of 0 is greater than 5 days, it will be counted as one time; if the total number of times in the detection cycle is greater than 10 times, output the number d of this cycle.
[0049] Furthermore, in step S2, the gas consumption detection specifically includes:
[0050] 1) Take a week or M days as the detection period, and detect the gas consumption in the detection period. If the gas consumption in this period is 50% of the gas consumption in the previous period, it is recorded as one time, and the gas consumption times e are output;
[0051] 2) Taking one month as the detection cycle, the ratio of monthly gas consumption to the monthly gas consumption of the community, when the ratio is lower than 50% of the tolerance, it is recorded as one time, and the number of gas consumption f is output;
[0052] 3) Taking month, year or heating season as the detection period, if there is a daily gas consumption of 0, if the cumulative number of days with daily gas consumption of 0 is greater than 5 days, it is recorded as one time, and the number of gas consumption g is output.
[0053] Furthermore, in step S2, the gas instability detection specifically includes:
[0054] 1) Take the month as the detection range and the week or M days as the detection cycle, and calculate the cumulative gas usage times X in each detection cycle of each month i And the cumulative gas consumption Y i , calculate the average number of gas usage and average gas usage in each monthly detection cycle, and calculate the variance and standard deviation. If:
[0055]
[0056] When the number of gas usage and cumulative gas usage of a user during the detection period are x0, y0, if:
[0057] x0-μ1>2×σ1;
[0058] y0-μ2>2×σ2;
[0059] And the standard deviations σ1, σ2, σ1, σ2 of the cumulative number of gas usage and the cumulative gas usage are output and recorded as h, j.
[0060] Preferably, in step S4, the corrected data set is divided into five levels, namely large, relatively large, medium, relatively small, and small, and the length of each level is the same.
[0061] The second technical solution of the present invention is to provide a monitoring device for abnormal gas consumption data of civilian users, comprising:
[0062] A data collection unit is used to obtain the number of users of the remote gas meter and collect the gas consumption data of the gas meter, including hourly gas consumption, daily gas consumption, monthly gas consumption, and annual gas consumption;
[0063] The gas usage detection unit is used to: 1) detect the cumulative gas usage in a detection period of one week or M days, and if the gas usage in this period is 50% of the gas usage in the previous period, output the gas usage a in this period;
[0064] 2) Take the month, year or heating season as the detection cycle. If there is a daily gas usage of 0, and the cumulative number of days with a daily gas usage of 0 is greater than 5 days, it is recorded as one time; if the total number of times in the detection cycle is greater than 10 times, output the number of times b in this cycle;
[0065] The gas usage time detection unit is used to: 1) detect the cumulative gas usage time of a detection period of one week or M days, and if the gas usage time of this period is 50% of the gas usage time of the previous period, output the gas usage time c of this period;
[0066] 2) Take the month, year or heating season as the detection cycle. If there is a daily gas usage time of 0, and the cumulative number of days with daily gas usage time of 0 is greater than 5 days, it will be recorded as one time; if the total number of times in the detection cycle is greater than 10 times, output the number of times d in this cycle;
[0067] The gas consumption detection unit is used to: 1) detect the gas consumption in a detection period of one week or M days. If the gas consumption in this period is 50% of the gas consumption in the previous period, it is recorded as one time and the gas consumption times e are output;
[0068] 2) Taking one month as the detection cycle, the ratio of monthly gas consumption to the monthly gas consumption of the community, when the ratio is lower than 50% of the tolerance, it is recorded as one time, and the number of gas consumption f is output;
[0069] 3) Take the month, year or heating season as the detection period. If there is a daily gas consumption of 0, and the cumulative number of days with daily gas consumption of 0 is greater than 5 days, it is recorded as one time, and the number of gas consumption g is output;
[0070] The gas usage instability detection unit is used to: 1) calculate the cumulative gas usage times X in each detection cycle of each month with a detection range of one month and a detection cycle of one week or M days. i And the cumulative gas consumption Y i , calculate the average number of gas usage and average gas usage in each monthly detection cycle, and calculate the variance and standard deviation. If:
[0071]
[0072] When the number of gas usage and cumulative gas usage of a user during the detection period are x0, y0, if:
[0073] x0-μ1>2×σ1;
[0074] y0-μ2>2×σ2;
[0075] And the standard deviations σ1, σ2, σ1, σ2 of the cumulative gas usage times and the cumulative gas usage are output and recorded as h, j;
[0076] A data integration unit is used to integrate the results of gas usage frequency detection, gas usage time detection, gas usage volume detection and gas usage instability detection to obtain a vector β=(a, b, c, d, e, f, g, h, j);
[0077] A normal standard vector establishing unit is used to randomly select N users without wall-mounted boilers, and perform gas usage frequency detection, gas usage time detection, gas usage volume detection and gas usage instability detection on the gas usage data of the N users without wall-mounted boilers, and calculate the average values of the N parameters to obtain a normal standard vector α=(A, B, C, D, E, F, G, H, J);
[0078] A result determination unit, used for subtracting vectors α and β;
[0079] Δ = α - β;
[0080] And find the magnitude of the vector:
[0081]
[0082] when When If it is a critical value, it is considered that the user's gas usage behavior is abnormal;
[0083] when When If it is a critical value, then focus on this user;
[0084] when When If it is a critical value, it is determined that the user's gas usage behavior is normal.
[0085] The third technical solution of the present invention is to provide an electronic device, including: a memory for storing executable instructions; and a processor, including the above-mentioned monitoring device for abnormal gas consumption data of civilian users, which is used to communicate with the memory to execute the executable instructions to complete the operation of the above-mentioned monitoring method for abnormal gas consumption data of civilian users.
[0086] Compared with the prior art, the present invention can effectively curb the behavior of users stealing gas by analyzing the gas usage data of civilian users, analyzing the users' gas usage behavior and the accuracy of the gas meter's measurement value, and monitor the gas meter to promptly detect inaccurate and abnormal conditions of the gas meter's measurement. DETAILED DESCRIPTION
[0087] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments. The specific embodiments described herein are only used to explain the present invention and are not used to limit the invention.
[0088] Example 1
[0089] This embodiment exemplarily shows a method for monitoring abnormal gas consumption data of a civilian user, comprising the following steps:
[0090] S1. Obtain the number of users of remote gas meters and collect gas usage data of gas meters, including hourly gas usage, daily gas usage, monthly gas usage, and annual gas usage;
[0091] S2. Analyze the gas usage data collected from the remote gas meter, and perform gas usage frequency detection, gas usage time detection, gas usage volume detection, and gas usage instability detection;
[0092] Gas usage detection specifically includes:
[0093] 1) Assume that the user's remote transmission data is the cumulative gas consumption on a certain day, and its function is y=Q(x), where x represents 0-24 hours and y is the cumulative gas consumption;
[0094] The number and time of gas usage are calculated based on the following conditions:
[0095] If there is a range (m, n), 0≤m <n≤24,
[0096] exist
[0097] And for all x0∈(m,n),
[0098] If the above conditions are met, it is recorded as one gas use, and the gas use time is t = nm;
[0099] For the heating season, the above formula becomes:
[0100] If there is a range (m, n), 0≤m <n≤24,
[0101] exist
[0102] And for all x0∈(m,n),
[0103] If the above conditions are met, it is recorded as one gas use, and the gas use time is t = nm;
[0104] 2) Take a week or M days (for example, 5 days, which can be modified as needed) as the detection period, and detect the cumulative gas usage times of the detection period. If the gas usage times of this period is 50% of the gas usage times of the previous period, output the gas usage times a of this period;
[0105] 3) Take the month, year or heating season as the detection cycle. If the number of daily gas usage is 0, and the cumulative number of days with daily gas usage of 0 is greater than 5 days, it will be counted as one time; if the total number of times in the detection cycle is greater than 10 times, output the number of times b in this cycle;
[0106] Gas usage time detection specifically includes:
[0107] 1) Take a week or M days (for example, 5 days, which can be modified as needed) as the detection period, and detect the cumulative gas usage time of the period. If the gas usage time of this period is 50% of the gas usage time of the previous period, output the gas usage time c of this period;
[0108] 2) Take month, year or heating season as the detection cycle. If there is a daily gas usage time of 0, and the cumulative number of days with daily gas usage time of 0 is greater than 5 days, it will be counted as one time; if the total number of times in the detection cycle is greater than 10 times, output the number d of this cycle.
[0109] Gas consumption detection includes:
[0110] 1) Take a week or M days (for example, 5 days, which can be modified as needed) as the detection period, and detect the gas consumption in the detection period. If the gas consumption in this period is 50% of the gas consumption in the previous period, it is recorded as one time, and the gas consumption times e are output;
[0111] 2) Taking one month as the detection cycle, the ratio of monthly gas consumption to the monthly gas consumption of the community, when the ratio is lower than 50% of the tolerance, it is recorded as one time, and the number of gas consumption f is output;
[0112] 3) Taking month, year or heating season as the detection period, if there is a daily gas consumption of 0, if the cumulative number of days with daily gas consumption of 0 is greater than 5 days, it is recorded as one time, and the number of gas consumption g is output.
[0113] Gas instability detection specifically includes:
[0114] 1) Take the month as the detection range and the week or M days (for example, 5 days, which can be modified as needed) as the detection cycle, and calculate the cumulative gas usage times X in each detection cycle of each month i And the cumulative gas consumption Y i, calculate the average number of gas usage and average gas usage in each monthly detection cycle, and calculate the variance and standard deviation. If:
[0115]
[0116] When the number of gas usage and cumulative gas usage of a user during the detection period are x0, y0, if:
[0117] x0-μ1>2×σ1;
[0118] y0-μ2>2×σ2;
[0119] And the standard deviations σ1, σ2, σ1, σ2 of the cumulative number of gas usage and the cumulative gas usage are output and recorded as h, j.
[0120] In some embodiments, the corrected data set is divided into five levels, namely large, relatively large, medium, relatively small, and small, and the length of each level is the same.
[0121] S3. According to the detection result of step S2, vector β=(a, b, c, d, e, f, g, h, j) is obtained after integration;
[0122] S4. Sort the annual gas consumption data of all users in a certain year, using x i represents the sorted data set, where i ranges from 1 to i, and only the middle 95% of the data is taken to mask erroneous or unrepresentative data. The corrected data set is {x j |x 0.1i+1 ≤j≤x 0.9i}; The corrected data set is segmented to divide the user types into wall-mounted boiler users and non-wall-mounted boiler users;
[0123] S5. Randomly select N users without wall-mounted boilers, and execute step S2 on the gas usage data of the N users without wall-mounted boilers, calculate the average values of the N parameters, and obtain a normal standard vector α=(A, B, C, D, E, F, G, H, J);
[0124] S6, subtracting vectors α and β;
[0125] Δ = α - β;
[0126] And find the magnitude of the vector:
[0127]
[0128] when When If it is a critical value, it is considered that the user's gas usage behavior is abnormal;
[0129] when When If it is a critical value, then focus on this user;
[0130] when When If it is a critical value, it is determined that the user's gas usage behavior is normal.
[0131] Through the implementation of this embodiment, it is possible to timely monitor whether the user's gas usage behavior is abnormal.
[0132] Example 2
[0133] This embodiment exemplarily shows a monitoring device for abnormal gas consumption data of a civilian user, including:
[0134] A data collection unit is used to obtain the number of users of the remote gas meter and collect the gas consumption data of the gas meter, including hourly gas consumption, daily gas consumption, monthly gas consumption, and annual gas consumption;
[0135] The gas usage detection unit is used to: 1) take a week or M days (for example, 5 days, which can be modified as needed) as a detection cycle, detect the cumulative gas usage of the cycle, and if the gas usage of the current cycle is 50% of the gas usage of the previous cycle, output the gas usage a of the current cycle;
[0136] 2) Take the month, year or heating season as the detection cycle. If there is a daily gas usage of 0, and the cumulative number of days with a daily gas usage of 0 is greater than 5 days, it is recorded as one time; if the total number of times in the detection cycle is greater than 10 times, output the number of times b in this cycle;
[0137] The gas usage time detection unit is used to: 1) take a week or M days (for example, 5 days, which can be modified as needed) as a detection period, detect the cumulative gas usage time of the period, and if the gas usage time of the current period is 50% of the gas usage time of the previous period, output the gas usage time c of the current period;
[0138] 2) Take the month, year or heating season as the detection cycle. If there is a daily gas usage time of 0, and the cumulative number of days with daily gas usage time of 0 is greater than 5 days, it will be recorded as one time; if the total number of times in the detection cycle is greater than 10 times, output the number of times d in this cycle;
[0139] The gas consumption detection unit is used to: 1) take a week or M days (for example, 5 days, which can be modified as needed) as a detection cycle, detect the gas consumption of the cycle, if the gas consumption of this cycle is 50% of the gas consumption of the previous cycle, it is recorded as one time, and the gas consumption times e are output;
[0140] 2) Taking one month as the detection cycle, the ratio of monthly gas consumption to the monthly gas consumption of the community, when the ratio is lower than 50% of the tolerance, it is recorded as one time, and the number of gas consumption f is output;
[0141] 3) Take the month, year or heating season as the detection period. If there is a daily gas consumption of 0, and the cumulative number of days with daily gas consumption of 0 is greater than 5 days, it is recorded as one time, and the number of gas consumption g is output;
[0142] The gas usage instability detection unit is used to: 1) calculate the cumulative gas usage times X in each detection cycle of each month with a detection range of one month and a detection cycle of one week or M days (e.g. 5 days, which can be modified as needed) i And the cumulative gas consumption Y i , calculate the average number of gas usage and average gas usage in each monthly detection cycle, and calculate the variance and standard deviation. If:
[0143]
[0144] When the number of gas usage and cumulative gas usage of a user during the detection period are x0, y0, if:
[0145] x0-μ1>2×σ1;
[0146] y0-μ2>2×σ2;
[0147] And the standard deviations σ1, σ2, σ1, σ2 of the cumulative gas usage times and the cumulative gas usage are output and recorded as h, j;
[0148] A data integration unit is used to integrate the results of gas usage frequency detection, gas usage time detection, gas usage volume detection and gas usage instability detection to obtain a vector β=(a, b, c, d, e, f, g, h, j);
[0149] A normal standard vector establishing unit is used to randomly select N users without wall-mounted boilers, and perform gas usage frequency detection, gas usage time detection, gas usage volume detection and gas usage instability detection on the gas usage data of the N users without wall-mounted boilers, and calculate the average values of the N parameters to obtain a normal standard vector α=(A, B, C, D, E, F, G, H, J);
[0150] A result determination unit, used for subtracting vectors α and β;
[0151] Δ = α - β;
[0152] And find the magnitude of the vector:
[0153]
[0154] when When If it is a critical value, it is considered that the user's gas usage behavior is abnormal;
[0155] when When If it is a critical value, then focus on this user;
[0156] when When If it is a critical value, it is determined that the user's gas usage behavior is normal.
[0157] Example 3
[0158] This embodiment exemplarily provides an electronic device, comprising: a memory for storing executable instructions; and a processor, including the monitoring device for abnormal gas consumption data of civilian users of the above-mentioned embodiment 2, which is used to communicate with the memory to execute the executable instructions to complete the operation of the monitoring method for abnormal gas consumption data of civilian users of the above-mentioned embodiment 1.
[0159] To sum up, the present invention can effectively curb the behavior of users stealing gas by analyzing the gas usage data of civilian users, analyzing the users' gas usage behavior and the accuracy of the gas meter's measurement value, and monitor the gas meter to promptly detect inaccurate and abnormal gas meter measurement conditions.
[0160] The technical solution of the present invention is not limited to the above-mentioned specific embodiments. All technical variations made according to the technical solution of the present invention fall within the protection scope of the present invention.
Claims
1. A method for monitoring abnormal gas consumption data of civilian users, characterized in that: The following steps are involved: S1. Obtain the number of users of remote gas meters and collect gas usage data of gas meters, including hourly gas usage, daily gas usage, monthly gas usage, and annual gas usage; S2. Analyze the gas usage data collected from the remote gas meter, and perform gas usage frequency detection, gas usage time detection, gas usage volume detection, and gas usage instability detection; S3. According to the detection result of step S2, vector β=(a, b, c, d, e, f, g, h, j) is obtained after integration; S4. Sort the annual gas consumption data of all users in a certain year, using x i represents the sorted data set, where i ranges from 1 to i, and only the middle 95% of the data is taken to mask erroneous or unrepresentative data. The corrected data set is {x j |x 0.1i+1 ≤j≤x 0.9i }; The corrected data set is segmented to divide the user types into wall-mounted boiler users and non-wall-mounted boiler users; S5. Randomly select N users without wall-mounted boilers, and execute step S2 on the gas usage data of the N users without wall-mounted boilers, calculate the average values of the N parameters, and obtain a normal standard vector α=(A, B, C, D, E, F, G, H, J); S6, subtracting vectors α and β; Δ = α - β; And find the magnitude of the vector: when When If it is a critical value, it is considered that the user's gas usage behavior is abnormal; when When If it is a critical value, then focus on this user; when When If it is a critical value, it is determined that the user's gas usage behavior is normal.
2. The method for monitoring abnormal gas consumption data of civilian users according to claim 1 is characterized in that: In step S2, the gas usage detection specifically includes: 1) Assume that the user's remote transmission data is the cumulative gas consumption on a certain day, and its function is y=Q(x), where x represents 0-24 hours and y is the cumulative gas consumption; Calculate the number and time of gas usage based on the following conditions: If there is a range (m, n), 0≤m <n≤24, exist And for all 0(m,n), If the above conditions are met, it is recorded as one gas use, and the gas use time is t = nm; For the heating season, the above formula becomes: If there is a range (m, n), 0≤m <n≤24, exist And for all x0∈(m,n), If the above conditions are met, it is recorded as one gas use, and the gas use time is t = nm; 2) Take a week or M days as the detection cycle, and detect the cumulative gas usage times of the detection cycle. If the gas usage times of this cycle is 50% of the gas usage times of the previous cycle, output the gas usage times a of this cycle; 3) Take month, year or heating season as the detection cycle. If there is a daily gas usage of 0, and the cumulative number of days with daily gas usage of 0 is greater than 5 days, it will be counted as one time; if the total number of times in the detection cycle is greater than 10 times, output the number b of this cycle.
3. The method for monitoring abnormal gas consumption data of civilian users according to claim 1, characterized in that: In step S2, the gas usage time detection specifically includes: 1) Take a week or M days as the detection cycle, detect the cumulative gas usage time of the cycle, if the gas usage time of this cycle is 50% of the gas usage time of the previous cycle, output the gas usage time c of this cycle; 2) Take month, year or heating season as the detection cycle. If there is a daily gas usage time of 0, and the cumulative number of days with daily gas usage time of 0 is greater than 5 days, it will be counted as one time; if the total number of times in the detection cycle is greater than 10 times, output the number d of this cycle.
4. The method for monitoring abnormal gas consumption data of civilian users according to claim 1, characterized in that: In step S2, the gas consumption detection specifically includes: 1) Take a week or M days as the detection period, and detect the gas consumption in the detection period. If the gas consumption in this period is 50% of the gas consumption in the previous period, it is recorded as one time, and the gas consumption times e are output; 2) Taking one month as the detection cycle, the ratio of monthly gas consumption to the monthly gas consumption of the community, when the ratio is lower than 50% of the tolerance, it is recorded as one time, and the number of gas consumption f is output; 3) Taking month, year or heating season as the detection period, if there is a daily gas consumption of 0, if the cumulative number of days with daily gas consumption of 0 is greater than 5 days, it is recorded as one time, and the number of gas consumption g is output.
5. The method for monitoring abnormal gas consumption data of civilian users according to claim 1, characterized in that: In step S2, the gas instability detection specifically includes: 1) Take the month as the detection range and the week or M days as the detection cycle, and calculate the cumulative gas usage times X in each detection cycle of each month i And the cumulative gas consumption Y i , calculate the average number of gas usage and average gas usage in each monthly detection cycle, and calculate the variance and standard deviation. If: When the number of gas usage and cumulative gas usage of a user during the detection period are x0, y0, if: x0-μ1>2×σ1; y0-μ2>2×σ2; And the standard deviations σ1, σ2, σ1, σ2 of the cumulative number of gas usage and the cumulative gas usage are output and recorded as h, j.
6. The method for monitoring abnormal gas consumption data of civilian users according to claim 1, characterized in that: In step S4, the corrected data set is divided into five levels, namely large, relatively large, medium, relatively small, and small, and the length of each level is the same.
7. A monitoring device for abnormal gas consumption data of civilian users, characterized in that: include: A data collection unit is used to obtain the number of users of the remote gas meter and collect the gas consumption data of the gas meter, including hourly gas consumption, daily gas consumption, monthly gas consumption, and annual gas consumption; The gas usage detection unit is used to: 1) detect the cumulative gas usage in a detection period of one week or M days, and if the gas usage in this period is 50% of the gas usage in the previous period, output the gas usage a in this period; 2) Take the month, year or heating season as the detection cycle. If there is a daily gas usage of 0, and the cumulative number of days with a daily gas usage of 0 is greater than 5 days, it is recorded as one time; if the total number of times in the detection cycle is greater than 10 times, output the number of times b in this cycle; The gas usage time detection unit is used to: 1) detect the cumulative gas usage time of a detection period of one week or M days, and if the gas usage time of this period is 50% of the gas usage time of the previous period, output the gas usage time c of this period; 2) Take the month, year or heating season as the detection cycle. If there is a daily gas usage time of 0, and the cumulative number of days with daily gas usage time of 0 is greater than 5 days, it will be recorded as one time; if the total number of times in the detection cycle is greater than 10 times, output the number of times d in this cycle; The gas consumption detection unit is used to: 1) detect the gas consumption in a detection period of one week or M days. If the gas consumption in this period is 50% of the gas consumption in the previous period, it is recorded as one time and the gas consumption times e are output; 2) Taking one month as the detection cycle, the ratio of monthly gas consumption to the monthly gas consumption of the community, when the ratio is lower than 50% of the tolerance, it is recorded as one time, and the number of gas consumption f is output; 3) Take the month, year or heating season as the detection period. If there is a daily gas consumption of 0, and the cumulative number of days with daily gas consumption of 0 is greater than 5 days, it is recorded as one time, and the number of gas consumption g is output; The gas usage instability detection unit is used to: 1) calculate the cumulative gas usage times X in each detection cycle of each month with a detection range of one month and a detection cycle of one week or M days. i And the cumulative gas consumption Y i , calculate the average number of gas usage and average gas usage in each monthly detection cycle, and calculate the variance and standard deviation. If: When the number of gas usage and cumulative gas usage of a user during the detection period are x0, y0, if: x0-μ1>2×σ1; y0-μ2>2×σ2; And the standard deviations σ1, σ2, σ1, σ2 of the cumulative gas usage times and the cumulative gas usage are output and recorded as h, j; A data integration unit is used to integrate the results of gas usage frequency detection, gas usage time detection, gas usage volume detection and gas usage instability detection to obtain a vector β=(a, b, c, d, e, f, g, h, j); A normal standard vector establishing unit is used to randomly select N users without wall-mounted boilers, and perform gas usage frequency detection, gas usage time detection, gas usage volume detection and gas usage instability detection on the gas usage data of the N users without wall-mounted boilers, and calculate the average values of the N parameters to obtain a normal standard vector α=(A, B, C, D, E, F, G, H, J); A result determination unit, used for subtracting vectors α and β; Δ = α - β; And find the magnitude of the vector: when When If it is a critical value, it is considered that the user's gas usage behavior is abnormal; when When If it is a critical value, then focus on this user; when When If it is a critical value, it is determined that the user's gas usage behavior is normal.
8. An electronic device, characterized in that: include: A memory for storing executable instructions; and a processor, including the monitoring device for abnormal gas consumption data of civilian users as described in claim 7, which is used to communicate with the memory to execute the executable instructions to complete the operation of the monitoring method for abnormal gas consumption data of civilian users as described in any one of claims 1-6.
Citation Information
Patent Citations
Analysis method for gas consumption behavior of gas user
CN108256752A
Gas user gas consumption abnormity detection method and system and terminal equipment
CN116257763A
Residential gas consumption abnormity monitoring method based on urban gas platform
CN118568652A
Urban gas monthly gas consumption prediction method and device and storage medium
CN119250242A