Fee control intelligent detection method and system for single-phase fee control intelligent electric energy meter
By performing cost-controlled response delay optimization and detection channel batch optimization during the detection process of single-phase cost-controlled smart power meter, the delay difference between simulated recharge and balance management is solved, and the detection efficiency and accuracy of cost-controlled functions are improved.
Patent Information
- Application Number
- CN202510863783.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-26
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2045-06-26
AI Technical Summary
In the prior art, there is a delay difference in the analog recharge and balance management links of single-phase fee-controlled smart power meters, resulting in a reduction in the detection efficiency of fee-controlled function.
By connecting the power meter to be detected and conducting simulated fee control detection and communication network status detection, we judge whether the fee control response delay optimization is performed based on the detection results, perform fee control response delay marking, and judge whether delay optimization measures are taken based on the number of markings. We make impact determination through the detection channel and the number of production batch markings to optimize the detection channel and allocate the detection batches to improve the detection efficiency.
It effectively reduces the delay of electricity meter cost-controlled detection, improves detection efficiency, accurately quantifies the abnormal probability of detection channels and production batches, optimizes channels and batches in a timely manner, and improves the efficiency of cost-controlled detection.
Smart Images

Figure CN120358260A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electrical variable measurement, and particularly to a fee control intelligent detection method and system for a single-phase fee control intelligent electricity meter. Background Art
[0002] With the rapid development of smart grids and digital electricity consumption management, single-phase fee control intelligent electricity meters are widely used in residential and small commercial users to achieve functions such as remote meter reading, prepayment, and electric control management. Efficient and accurate intelligent detection of them has become an important requirement for ensuring the stable operation of the power system.
[0003] Existing detection methods for single-phase fee control intelligent electricity meters mostly adopt manual or semi-automatic methods, with low detection efficiency and limited accuracy, making it difficult to meet the requirements of batch and intelligent detection. Moreover, there are technical limitations in simulating user electricity consumption scenarios, remote communication, and fee control function testing.
[0004] For example, a single-phase fee control intelligent electricity meter and its intelligent metering system disclosed in a patent application with publication number: CN119619982A includes: a working power calculation module connected to the power grid for counting the electricity consumption when the electricity meter is working and storing it in a memory; a non-working power calculation module for calculating the electricity consumption when the electricity meter is not working; the working power calculation module further includes: a first processing unit for calculating the working power consumed by the electricity meter according to the working duration of the electricity meter; a first calculation unit for receiving the working power from the first processing unit, calculating a corrected power according to the working power and the historical power data stored in the memory, and transmitting the corrected power to a correction unit; the correction unit for receiving the corrected power transmitted by the first calculation unit and correcting the working power.
[0005] For example, a production management method for a single-phase fee control intelligent electricity meter disclosed in an invention patent announcement with publication number: CN106124813B includes: an MCU internal serial number generation module; the MCU internal serial number is generated when the self-contained program is burned into the MCU of the single-phase fee control intelligent electricity meter; a process record module; the process record module records the operation information of each process of the single-phase fee control intelligent electricity meter; the operation information corresponds to the MCU internal serial number; a detection module; at the last process of the single-phase fee control intelligent electricity meter, it detects whether the preset operation information corresponding to the MCU internal serial number corresponds to the operation information recorded by the process record module.
[0006] However, in the process of implementing the technical solutions of the present invention in the embodiments of the present application, it is found that the above technologies have at least the following technical problems:
[0007] In the prior art, when performing the detection of the fee control function, the working process of the test system mainly includes initialization and system settings, simulated recharge and balance management, power-off and switching-on operations, communication verification and remote control, and function verification and log recording, etc., to ensure the normal functions of charging, power-off, and power restoration of each single-phase fee control intelligent electricity meter. However, in the link of simulated recharge and balance management, the timeliness of the recharge operation and balance query of the electricity meter is unstable, and there is a problem that the detection efficiency of the fee control function of the electricity meter is reduced due to the delay difference in the simulated recharge and balance management link. Summary of the Invention
[0008] By providing a fee control intelligent detection method and system for a single-phase fee control intelligent electricity meter in an embodiment of the present application, the problem that the detection efficiency of the fee control function of the electricity meter is reduced due to the delay difference in the simulated recharge and balance management link in the prior art is solved, and the improvement of the detection efficiency of the electricity meter fee control is realized.
[0009] The embodiment of the present application provides a fee control intelligent detection method for a single-phase fee control intelligent electricity meter, including the following steps: After the electricity meter to be detected is connected to each detection channel, perform simulated fee control detection and communication network status detection, and judge whether to perform fee control response delay optimization according to the detection result of the communication network status to obtain the corresponding fee control response delay. The fee control response delay includes recharge operation delay and balance query delay, and the fee control response delay optimization is used to reduce the fee control response delay error of the electricity meter caused by network communication failures; perform fee control response delay marking based on the obtained fee control response delay, and judge whether to take delay optimization measures based on the number of fee control response markings. The number of fee control response markings includes the number of detection channel markings and the number of production batch markings. Taking delay optimization measures is used to reduce the response delay of the electricity meter fee control function detection during the multi-channel fee control function detection process; perform detection channel impact determination through the number of detection channel markings of each detection channel to judge whether to perform detection channel optimization, and perform electricity meter production batch impact determination through the number of production batch markings of each electricity meter production batch to judge whether to perform production batch allocation detection optimization. The detection channel optimization is used to optimize the performance of the detection channel to reduce the impact on the fee control function detection, and the production batch allocation detection optimization is used to adjust the detection allocation mechanism of the electricity meter corresponding to the production batch to improve the detection efficiency.
[0010] Further, it is determined whether to perform optimization on the fee control response delay based on the detection result of the communication network status to obtain the corresponding fee control response delay. The specific steps are as follows: Step 1, when detecting the communication network status, obtain the corresponding network status determination data, and compare the network status determination data with the network status reference data obtained from the preset database. The network status determination data includes network delay, packet loss rate, packet delay fluctuation, bandwidth utilization rate, and connection timeout duration. The network status reference data includes network delay reference limit value, packet loss rate reference limit value, packet delay fluctuation reference limit value, bandwidth utilization rate reference limit value, and connection timeout duration reference limit value; Step 2, if any network status determination data is greater than the corresponding network status reference data, obtain the network status abnormal difference amount between the network status determination data and the corresponding network status reference data, and map the corresponding delay influencing factor amount from the preset database according to the network status abnormal difference amount; if the delay influencing factor amount is greater than the delay influencing factor amount limit value obtained from the preset database, perform a compensation operation on the actual detection delays of the obtained detection channels based on the delay influencing factor amount to obtain the fee control response delay. The actual detection delays include actual balance query delay and actual recharge operation delay. The fee control response delay includes balance query delay and recharge operation delay; if the delay influencing factor amount is not greater than the delay influencing factor amount limit value obtained from the preset database, record the actual detection delay as the fee control response delay; Step 3, if all network status determination data are not greater than the corresponding network status reference data, record the actual detection delay as the fee control response delay.
[0011] Further, the specific process of performing a fee control response delay mark based on the obtained fee control response delay is as follows: if the recharge operation delay is greater than the reference recharge delay obtained from the preset database, perform a fee control response delay recharge mark; otherwise, do not perform a fee control response delay recharge mark. The fee control response delay recharge mark means marking the corresponding detection channel for detection channel recharge mark and marking the production batch corresponding to the electricity meter to be detected for production batch recharge mark; if the recharge operation delay is not greater than the reference recharge delay obtained from the preset database, continue to perform the fee control function detection; if the balance query delay is greater than the reference query delay obtained from the preset database, perform a fee control response delay balance mark; otherwise, do not perform a fee control response delay balance mark. The fee control response delay balance mark means marking the corresponding detection channel for detection channel balance mark and marking the detection channel balance mark for the electricity meter to be detected of the corresponding production batch; The number of detection channel marks includes the number of detection channel recharge marks and the number of detection channel balance marks; The number of production batch marks includes the number of production batch recharge marks and the number of detection channel balance marks.
[0012] Further, it is determined whether to take delay optimization measures based on the number of times of the fee control response mark. The specific process is as follows: If only the delay recharge mark of the fee control response is performed, the recharge-bandwidth optimization multiple is mapped from the preset database based on the difference between the recharge operation delay and the reference recharge delay, and the bandwidth is optimized based on the recharge-bandwidth optimization multiple; if only the delay balance mark of the fee control response is performed, the balance-bandwidth optimization multiple is mapped from the preset database based on the difference between the balance query delay and the reference query delay, and the bandwidth is optimized based on the balance-bandwidth optimization multiple; if both the recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple are obtained, the corresponding bandwidth optimization allocation ratio is obtained from the preset database, and the comprehensive bandwidth optimization multiple is obtained by performing a weighted operation on the recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple and the corresponding bandwidth optimization allocation ratio, and the bandwidth is optimized based on the comprehensive bandwidth optimization multiple. The bandwidth optimization allocation ratio includes the recharge bandwidth optimization allocation ratio and the balance bandwidth optimization allocation ratio.
[0013] Further, the specific steps for determining whether to perform detection channel optimization are as follows: The detection channel recharge mark times and the detection channel balance mark times in the detection channel mark times of each detection channel are statistically counted in real time, and the detection channel recharge mark times and the detection channel balance mark times are respectively compared with the preset mark times obtained from the preset database. The preset mark times include the detection channel recharge mark preset times and the detection channel balance mark preset times; if the first mark times of the detection channel are greater than the detection channel recharge mark preset times, or the second mark times of the detection channel are greater than the detection channel balance mark preset times, a channel operation and maintenance prompt is given, and the channel operation and maintenance prompt means that the corresponding detection channel is fed back to the preset staff for channel operation and maintenance; if both the detection channel recharge mark times and the detection channel balance mark times are not greater than the corresponding preset mark times, the detection channel performance is quantified to obtain the corresponding detection channel determination index, and the detection channel determination index is compared with the detection channel threshold obtained from the preset database: if the detection channel determination index is greater than the detection channel threshold, the detection channel is closed, and at the same time, a channel operation and maintenance prompt is given, otherwise, the fee control function detection continues.
[0014] Further, the performance of the detection channel is quantified to obtain the corresponding detection channel determination index. The specific process is as follows: Obtain the detection channel analysis data and detection channel determination data corresponding to the detection channel. The detection channel analysis data includes the number of production batch marking types, the number of detection channel recharge markings, and the number of detection channel balance markings. The detection channel determination data includes channel response delay, channel data loss rate, channel signal strength, and channel load. Obtain the detection channel reference ratio and the channel load limit value from the preset database. The detection channel reference ratio includes the detection channel analysis ratio and the detection channel determination ratio. The detection channel analysis ratio includes the production batch marking type analysis ratio and the detection channel marking times analysis ratio. The detection channel determination ratio includes the response delay determination ratio, the data loss determination ratio, the signal strength determination ratio, and the channel load determination ratio. Perform a weighted operation on the detection channel analysis data and the corresponding detection channel analysis ratio and then couple them to obtain the detection channel score of the corresponding detection channel. The detection channel score is used to quantify the degree of response delay caused by the detection channel during the detection channel analog fee control detection. Based on the detection channel score, map to obtain the corresponding detection channel impact factor. The detection channel impact factor represents the data of the degree of influence of the detection channel response delay on the detection channel performance determination. Perform data normalization processing on the detection channel determination data and then couple them with the detection channel determination ratio through a weighted operation to obtain the initial detection channel determination index. Perform a compensation operation on the detection channel impact factor and the initial detection channel determination index to obtain the detection channel determination index. The detection channel determination index is used to quantify the probability of abnormal performance of the detection channel.
[0015] Further, it is determined whether to perform production batch allocation detection optimization. The specific steps are as follows: U1, Real-time statistics of the number of production batch recharge markings and the number of detection channel balance markings in the number of production batch markings of each electricity meter production batch, and compare the number of production batch recharge markings and the number of detection channel balance markings with the preset batch limit times obtained from the preset database respectively. The preset batch limit times include the preset number of production batch recharge markings for detection and the preset number of detection channel balance markings. U2, If the number of production batch recharge markings corresponding to the to-be-detected fee control electricity meter is greater than the preset number of production batch recharge markings for detection, or the number of detection channel balance markings corresponding to the to-be-detected fee control electricity meter is greater than the preset number of detection channel balance markings, then mark the corresponding production batch as the first to-be-allocated production batch and perform production batch allocation detection optimization. U3, If the number of production batch markings is not greater than the corresponding preset batch limit times, then obtain the electricity meter production batch score of the to-be-detected electricity meters of this production batch, compare the electricity meter production batch score with the production batch threshold obtained from the preset database. If the electricity meter production batch score is greater than the production batch threshold, then mark the corresponding production batch as the second to-be-allocated production batch for production batch allocation detection optimization, otherwise continue with the fee control function detection.
[0016] Further, the specific process for obtaining the production batch score of the electricity meter is as follows: Obtain the analysis data of the production batch electricity meter corresponding to the production batch. The electricity meter analysis data includes the number of recharge mark times of the production batch, the number of balance mark times of the detection channel, the average recharge operation delay, and the average balance query delay; Obtain the production batch analysis ratio from the preset database. The production batch analysis ratio includes the production batch recharge mark ratio, the detection channel balance mark ratio, the recharge operation delay ratio, and the balance query delay ratio; Perform deviation difference quantization operations on the average recharge operation delay and the average balance query delay with the corresponding reference recharge delay and reference query delay respectively to obtain the recharge difference amount and the query difference amount; Based on the number of recharge mark times of the production batch, the number of balance mark times of the detection channel, the recharge difference amount, and the query difference amount, perform a weighted operation with the corresponding production batch analysis ratio and then couple to obtain the production batch score of the electricity meter. The production batch score of the electricity meter is used to quantify the probability that the electricity meter to be detected in the corresponding production batch has an abnormality.
[0017] Further, the specific process for obtaining the production batch score of the electricity meter is as follows: Obtain the analysis data of the production batch electricity meter corresponding to the production batch. The electricity meter analysis data includes the number of recharge mark times of the production batch, the number of balance mark times of the detection channel, the average recharge operation delay, and the average balance query delay; Obtain the production batch analysis ratio from the preset database. The production batch analysis ratio includes the production batch recharge mark ratio, the detection channel balance mark ratio, the recharge operation delay ratio, and the balance query delay ratio; Perform deviation difference quantization operations on the average recharge operation delay and the average balance query delay with the corresponding reference recharge delay and reference query delay respectively to obtain the recharge difference amount and the query difference amount; Based on the number of recharge mark times of the production batch, the number of balance mark times of the detection channel, the recharge difference amount, and the query difference amount, perform a weighted operation with the corresponding production batch analysis ratio and then couple to obtain the production batch score of the electricity meter. The production batch score of the electricity meter is used to quantify the probability that the electricity meter to be detected in the corresponding production batch has an abnormality.
[0018] The embodiment of the present application provides a fee control intelligent detection system for a single-phase fee control intelligent electric energy meter, including a communication-fee control optimization delay module, a marking-delay optimization module, and a channel-batch detection optimization module: Among them, the communication-fee control optimization delay module is used to perform simulated fee control detection and communication network condition detection after the electric energy meter to be detected is connected to each detection channel, and judge whether to perform fee control response delay optimization according to the communication network condition detection result to obtain the corresponding fee control response delay. The fee control response delay includes a recharge operation delay and a balance query delay. The fee control response delay optimization is used to reduce the fee control response delay error of the electric energy meter caused by network communication failures; the marking-delay optimization module is used to perform fee control response delay marking based on the obtained fee control response delay, and judge whether to take delay optimization measures based on the fee control response marking times. The fee control response marking times include the detection channel marking times and the production batch marking times. Taking delay optimization measures is used to reduce the response delay of the fee control function detection of the electric energy meter during the multi-channel fee control function detection process; the channel-batch detection optimization module is used to judge whether to perform detection channel optimization by the detection channel marking times of each detection channel, and judge whether to perform production batch allocation detection optimization by the production batch marking times of each production batch of electric energy meters. The detection channel optimization is used to optimize the performance of the detection channel to reduce the impact on the fee control function detection, and the production batch allocation detection optimization is used to adjust the detection allocation mechanism of the electric energy meters of the corresponding production batches to improve the detection efficiency.
[0019] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0020] 1. By performing simulated fee control detection and communication network condition detection after the electric energy meter to be detected is connected to each detection channel, then judging whether to perform fee control response delay optimization according to the detection result to obtain the corresponding fee control response delay, performing fee control response delay marking accordingly to judge whether to take delay optimization measures, and finally judging whether to perform detection channel optimization by the detection channel marking times, and judging whether to perform production batch allocation detection optimization by the production batch marking times of the electric energy meters, the delay of the electric energy meter fee control detection is reduced, and thus the improvement of the electric energy meter fee control detection efficiency is realized, effectively solving the problem that the detection efficiency of the fee control function of the electric energy meter is reduced due to the delay difference in the simulated recharge and balance management links in the prior art.
[0021] 2. By obtaining the detection channel analysis data and detection channel determination data of the detection channel, obtaining the detection channel reference ratio and channel load limit value from the preset database, obtaining the detection channel score from the detection channel analysis data and the detection channel analysis ratio, mapping to obtain the detection channel influence factor based on the detection channel score, then performing data normalization processing on the detection channel determination data and combining it with the detection channel determination ratio to obtain the initial detection channel determination index, and finally performing a compensation operation on the detection channel influence factor and the initial detection channel determination index to obtain the detection channel determination index, thereby more accurately quantifying the probability of abnormal performance of the detection channel, and then optimizing the channel in a timely manner to improve the detection efficiency of the fee control function.
[0022] 3. By obtaining the analysis data of the electricity meters of the production batch, obtaining the analysis ratio of the production batch from the preset database, and then performing deviation difference quantification operations on the average recharge operation delay and the average balance query delay respectively with the corresponding reference recharge delay and reference query delay to obtain the recharge difference amount and the query difference amount respectively, and finally coupling and obtaining the electricity meter production batch score through weighted operations based on the production batch recharge mark times, the detection channel balance mark times, the recharge difference amount, the query difference amount and the corresponding production batch analysis ratio, thereby more accurately quantifying the probability of abnormalities in the electricity meters to be detected in the corresponding production batch, and then optimizing the allocation of the electricity meters to be detected to improve the detection efficiency of the fee control function. Description of the Drawings
[0023] Figure 1 It is a flowchart of the fee control intelligent detection method for the single-phase fee control intelligent electricity meter provided by the embodiment of the present application;
[0024] Figure 2 It is a flowchart of optimizing the communication fee control response delay provided by the embodiment of the present application;
[0025] Figure 3 It is a flowchart of determining whether to optimize the detection channel provided by the embodiment of the present application;
[0026] Figure 4 It is a schematic structural diagram of the fee control intelligent detection system for the single-phase fee control intelligent electricity meter provided by the embodiment of the present application. Detailed Embodiments
[0027] In an embodiment of the present application, by providing a fee control intelligent detection method and system for a single-phase fee control intelligent electricity meter, the problem in the prior art that the detection efficiency of the fee control function of the electricity meter is reduced due to the delay difference in the simulated recharge and balance management links is solved. After connecting the electricity meter to be detected to each detection channel, simulated fee control detection is carried out and the communication network status is detected. Then, when detecting the communication network status, corresponding network status determination data is obtained, and the network status determination data is compared with the network status reference data obtained from the preset database. If any network status determination data is greater than the corresponding network status reference data, the network status abnormal difference amount between the network status determination data and the corresponding network status reference data is obtained, and the corresponding delay influence factor amount is mapped from the preset database according to the network status abnormal difference amount. If the delay influence factor amount is greater than the limit value of the delay influence factor amount obtained from the preset database, the actual detection delay of each obtained detection channel is compensated and calculated based on the delay influence factor amount to obtain the fee control response delay. If the delay influence factor amount is not greater than the limit value of the delay influence factor amount obtained from the preset database, the actual detection delay is recorded as the fee control response delay. However, if all the network status determination data are not greater than the corresponding network status reference data, the actual detection delay is recorded as the fee control response delay. Based on this, the fee control response delay is marked to determine whether to take delay optimization measures. Finally, the influence of the detection channel is determined by the number of times the detection channel is marked to determine whether to optimize the detection channel, and the influence of the production batch of the electricity meter is determined by the number of times the production batch is marked to determine whether to optimize the production batch allocation detection, thereby improving the detection efficiency of the fee control of the electricity meter.
[0028] The technical solution in the embodiment of the present application is to solve the problem that the detection efficiency of the fee control function of the electricity meter is reduced due to the delay difference in the simulated recharge and balance management links. The general idea is as follows:
[0029] After connecting the electricity meter to be detected to each detection channel, simulated fee control detection is carried out and the communication network status is detected. Then, based on the result, it is judged whether to optimize the fee control response delay to obtain the fee control response delay, and the fee control response delay is marked to judge whether to take delay optimization measures. Finally, the influence of the detection channel is determined to judge whether to optimize the detection channel, and the influence of the production batch of the electricity meter is determined to judge whether to optimize the production batch allocation detection, achieving the effect of improving the detection efficiency of the fee control of the electricity meter.
[0030] To better understand the above technical solution, the above technical solution will be described in detail below in combination with the accompanying drawings of the specification and specific implementation manners.
[0031] As Figure 1 shown, it is a flowchart of a fee control intelligent detection method for a single-phase fee control intelligent electricity meter provided by an embodiment of the present application. The method includes the following steps:
[0032] Optimization of communication fee control response delay: After the electricity meter to be detected is connected to each detection channel, perform simulated fee control detection and communication network condition detection, and judge whether to optimize the fee control response delay according to the detection result of the communication network condition to obtain the corresponding fee control response delay. The fee control response delay includes recharge operation delay and balance query delay. The optimization of the fee control response delay is used to reduce the error of the electricity meter fee control response delay caused by network communication failures. The simulated fee control detection is a detection link in the fee control function detection;
[0033] Fee control response delay marking and optimization: Based on the obtained fee control response delay, perform fee control response delay marking, and judge whether to take delay optimization measures based on the number of fee control response markings. The number of fee control response markings includes the number of detection channel markings and the number of production batch markings. Taking delay optimization measures is used to reduce the response delay of the electricity meter fee control function detection during the multi-channel fee control function detection process;
[0034] Optimization of production batch allocation detection: Determine whether to optimize the detection channel by judging the influence of the detection channel based on the number of detection channel markings of each detection channel, and determine whether to optimize the production batch allocation detection by judging the influence of the electricity meter production batch based on the number of production batch markings of each electricity meter production batch. The detection channel optimization is used to optimize the performance of the detection channel to reduce the influence on the fee control function detection. The production batch allocation detection optimization is used to adjust the detection allocation mechanism of the corresponding production batch of electricity meters to improve the detection efficiency.
[0035] In this embodiment, the electricity meter to be detected refers to a single-phase fee control smart electricity meter waiting for fee control intelligent detection. When performing the fee control function detection, the working process of the test system mainly includes initialization and system settings, simulated recharge and balance management, power-off and power-on operations, communication verification and remote control, and function verification and log recording, etc., to ensure that the charging, power-off, power restoration and other functions of each single-phase fee control smart electricity meter are normal. However, in the simulated recharge and balance management link, if the test system performs remote recharge, the response time of the electricity meter is relatively long (such as due to network delay or slow processing speed of the meter itself), then each recharge operation will cause a longer delay, affecting the detection efficiency. At the same time, if the balance query function of the meter responds slowly (for example, it takes a long time to query data), it will also affect the test progress, resulting in low efficiency of the fee control function detection when performing simulated fee control detection on the electricity meter; By real-time monitoring the delay and communication situation of the electricity meter to be detected and performing corresponding analysis during the fee control function detection, and taking corresponding optimization measures according to the analysis results, it helps to reduce the delay of the fee control function detection, thereby improving the detection speed of the fee control function for each electricity meter to be detected, and further improving the efficiency of the fee control function detection for each electricity meter to be detected.
[0036] It should be added that before designing the fee control intelligent detection method for single-phase fee control intelligent electricity meters, a preset database for storing various setting data was established by preset personnel. The preset database includes, but is not limited to, network condition reference data, preset abnormal levels, reference recharge delays, reference query delays, bandwidth optimization allocation ratios, preset marking times, detection channel thresholds, detection channel reference ratios, channel load limit values, preset batch limit times, production batch thresholds, and production batch analysis ratios, etc. Among them, various values are directly set by preset professional personnel. For example, the detection channel threshold is obtained by substituting the detection channel determination data corresponding to the non-abnormal situation of the detection channel in the historical database into the specific limit expression of the detection channel determination index to obtain a corresponding data set, and the mean operation is performed on this data set to obtain the detection channel threshold, which is pre-stored in the preset database.
[0037] As Figure 2 shown, it is a flowchart for optimizing the communication fee control response delay provided by an embodiment of the present application. The specific logic is as follows: Obtain network condition determination data and compare the network condition determination data with the network condition reference data; if any network condition determination data is greater than the corresponding network condition reference data, obtain the corresponding network condition abnormal difference amount, and obtain the delay influence factor amount according to the network condition abnormal difference amount; if the delay influence factor amount is greater than the delay influence factor amount limit value, perform a compensation operation on the actual detection delays of each obtained detection channel based on the delay influence factor amount to obtain the fee control response delay. If the delay influence factor amount is not greater than the delay influence factor amount limit value, record the actual detection delay as the fee control response delay; if all network condition determination data are not greater than the corresponding network condition reference data, record the actual detection delay as the fee control response delay; if the recharge operation delay is greater than the reference recharge delay, perform a fee control response delay recharge mark, otherwise do not perform a fee control response delay recharge mark. If the recharge operation delay is not greater than the reference recharge delay, continue to perform the fee control function detection; if the balance query delay is greater than the reference query delay, perform a fee control response delay balance mark, otherwise do not perform a fee control response delay balance mark; through the above process, it helps to reduce the detection time of each electricity meter to be detected, thereby improving the detection speed of the fee control function of each electricity meter to be detected, and further improving the efficiency of detecting the fee control function of each electricity meter to be detected.
[0038] Furthermore, it is judged whether to optimize the fee control response delay according to the communication network condition detection result to obtain the corresponding fee control response delay. The specific steps are as follows:
[0039] Step 1: When detecting the communication network status, obtain the corresponding network status determination data, and compare the network status determination data with the network status reference data obtained from the preset database. The network status determination data includes network latency, packet loss rate, packet delay variation, bandwidth utilization rate, and connection timeout duration. The network status reference data includes network latency reference limit, packet loss rate reference limit, packet delay variation reference limit, bandwidth utilization rate reference limit, and connection timeout duration reference limit.
[0040] It should be added that the network latency, packet loss rate, and packet delay variation are obtained by using the ping command, the bandwidth utilization rate is statistically obtained by using a bandwidth monitoring tool (such as iperf), and the connection timeout duration is obtained by querying using the curl command.
[0041] Specifically, the network status reference data is preset by the preset staff based on the conventional network communication requirements and stored in the preset database.
[0042] Step 2: If any network status determination data is greater than the corresponding network status reference data, obtain the network status abnormal difference amount between the network status determination data and the corresponding network status reference data, and map the corresponding delay influencing factor amount from the preset database according to the network status abnormal difference amount.
[0043] It should be explained that if only one network status determination data is greater than the corresponding network status reference data, the difference between the network status determination data and the corresponding network status reference data is taken and then the ratio with the network status reference data is obtained to get the corresponding abnormal difference amount, and this abnormal difference amount is recorded as the network status abnormal difference amount; if there is more than one network status determination data greater than the corresponding network status reference data, first obtain the abnormal difference amounts between each network status determination data and the corresponding network status reference data, and then perform a weighted operation and coupling with the corresponding abnormal evaluation allocation amounts obtained from the preset database to obtain the network status abnormal difference amount; the abnormal evaluation allocation amounts include network latency allocation amount, packet loss rate allocation amount, packet delay variation allocation amount, bandwidth utilization rate allocation amount, and connection timeout duration allocation amount.
[0044] Among them, the abnormal evaluation allocation amount represents the influence degree of the network status determination data on the network status abnormal difference amount. There is a unique mapping relationship between each network status determination data and its corresponding abnormal evaluation allocation amount, and the value range is between 0 and 1; for example, construct a mapping set of the network status determination data and the preset abnormal evaluation allocation amount, input the real-time abnormal difference amounts into the mapping set to obtain the corresponding abnormal evaluation allocation amounts, which represent the influence degrees of the abnormal difference amounts on the network status abnormal difference amount, and the sum of the abnormal evaluation allocation amounts corresponding to each abnormal difference amount is 1.
[0045] Specifically, a delay impact mapping set of the network condition anomaly difference amount and the corresponding delay impact factor amount is constructed, and the real-time network condition anomaly difference amount is input into the delay impact mapping set to output the corresponding delay impact factor amount. The delay impact mapping set represents a set of mapping relationships between the network condition anomaly difference amount and the delay impact factor amount.
[0046] The delay impact factor amount is compared with the limit value of the delay impact factor amount obtained from the preset database: if the delay impact factor amount is greater than the limit value of the delay impact factor amount obtained from the preset database, compensation operations are performed on the actual detection delays of the obtained detection channels based on the delay impact factor amount to obtain the fee control response delay. The actual detection delays include the actual balance query delay and the actual recharge operation delay, and the fee control response delays include the balance query delay and the recharge operation delay.
[0047] Specifically, the limit value of the delay impact factor amount is preset by the preset staff according to the network requirements for the fee control function detection and stored in the preset database.
[0048] Among them, the compensation operation means performing a product operation on the delay impact factor amount and the actual detection delays of each detection channel.
[0049] If the delay impact factor amount is not greater than the limit value of the delay impact factor amount obtained from the preset database, the actual detection delay is recorded as the fee control response delay.
[0050] Step 3, if the network condition determination data are all not greater than the corresponding network condition reference data, the actual detection delay is recorded as the fee control response delay.
[0051] In this embodiment, by detecting and compensating for network delays, it is possible to ensure that the response time of the test system is maintained within the expected time range, avoiding a decline in service performance caused by network anomalies; and according to changes in the network condition, it helps to flexibly adjust the delay compensation strategy to ensure the stable response speed of various operations (such as balance query, recharge, etc.), thereby reducing the detection time of each electricity meter to be detected, and further improving the detection efficiency of the fee control function of the electricity meter.
[0052] Furthermore, the specific process of performing fee control response delay marking based on the obtained fee control response delay is as follows:
[0053] On the one hand, compare the recharge operation delay with the reference recharge delay obtained from the preset database: if the recharge operation delay is greater than the reference recharge delay obtained from the preset database, mark the power control response delay recharge; otherwise, do not mark the power control response delay recharge. The power control response delay recharge mark means marking the corresponding detection channel for detection channel recharge and marking the production batch corresponding to the electricity meter to be detected for production batch recharge; if the recharge operation delay is not greater than the reference recharge delay obtained from the preset database, continue with the power control function detection.
[0054] On the other hand, compare the balance query delay with the reference query delay obtained from the preset database: if the balance query delay is greater than the reference query delay obtained from the preset database, mark the power control response delay balance; otherwise, do not mark the power control response delay balance. The power control response delay balance mark means marking the corresponding detection channel for detection channel balance and marking the detection channel balance for the electricity meters to be detected in the corresponding production batch; the number of detection channel marks includes the number of detection channel recharge marks and the number of detection channel balance marks; the number of production batch marks includes the number of production batch recharge marks and the number of detection channel balance marks.
[0055] Specifically, both the reference recharge delay and the reference query delay are preset by the preset staff according to the power control function detection standard and stored in the preset database.
[0056] In this embodiment, by marking the channels and production batches with excessive delays, the performance of each power control function detection link can be monitored more carefully. Among them, the detection channel recharge mark helps to specially mark the behavior of the detection channel with response delay in a timely manner, and continuously count the number of marks of the detection channel for analysis, so as to timely perform operation and maintenance on the detection channel that may have problems, thereby improving the detection efficiency of the electricity meters to be detected; at the same time, the number of production batch marks helps to specially mark the production batch corresponding to the electricity meter with response delay in a timely manner, and continuously count the number of marks of the production batch for analysis, so as to timely resume work on the electricity meters in the production batch that may have problems and not perform power control function detection, thereby improving the overall detection efficiency of the electricity meters to be detected. The marks of different detection channels and production batches help to locate problems, discover and optimize them in a timely manner, thereby improving the efficiency of power control function detection; and the statistics of the number of detection channel marks and the number of production batch marks provide a data basis for subsequent problem analysis.
[0057] Furthermore, judge whether to take delay optimization measures based on the number of power control response marks. The specific process is as follows:
[0058] The first case: If only the recharge mark for the fee control response delay is performed, then the recharge-bandwidth optimization multiple is mapped from a preset database based on the difference between the recharge operation delay and the reference recharge delay, and the bandwidth is optimized based on the recharge-bandwidth optimization multiple.
[0059] Specifically, perform a difference operation on the recharge operation delay and the reference recharge delay, that is, a subtraction operation, to obtain the corresponding recharge delay difference. Construct a recharge bandwidth optimization mapping set between the recharge delay difference and the recharge-bandwidth optimization multiple, input the real-time obtained recharge delay difference into the recharge bandwidth optimization mapping set, and output the corresponding recharge-bandwidth optimization multiple. The recharge bandwidth optimization mapping set represents a set of mapping relationships between the recharge delay difference and the recharge-bandwidth optimization multiple.
[0060] The second case: If only the balance mark for the fee control response delay is performed, then the balance-bandwidth optimization multiple is mapped from a preset database based on the difference between the balance query delay and the reference query delay, and the bandwidth is optimized based on the balance-bandwidth optimization multiple.
[0061] Specifically, perform a difference operation on the balance query delay and the reference query delay to obtain the corresponding balance delay difference. Construct a balance bandwidth optimization mapping set between the balance delay difference and the balance-bandwidth optimization multiple, input the real-time obtained balance delay difference into the balance bandwidth optimization mapping set, and output the corresponding balance-bandwidth optimization multiple. The balance bandwidth optimization mapping set represents a set of mapping relationships between the balance delay difference and the balance-bandwidth optimization multiple.
[0062] In addition, if the recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple are obtained simultaneously, then obtain the corresponding bandwidth optimization allocation ratio from a preset database. After performing a weighted operation on the recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple with the corresponding bandwidth optimization allocation ratio, couple them to obtain a comprehensive bandwidth optimization multiple, and optimize the bandwidth based on the comprehensive bandwidth optimization multiple. The bandwidth optimization allocation ratio includes the recharge bandwidth optimization allocation ratio and the balance bandwidth optimization allocation ratio.
[0063] Specifically, the bandwidth optimization allocation ratio represents the influence degree of the recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple on the comprehensive bandwidth optimization multiple respectively. There is a unique mapping relationship between the recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple and their respective corresponding bandwidth optimization allocation ratios, and the value range is between 0 and 1; for example, construct a mapping set of the recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple with the preset bandwidth optimization allocation ratio, input the real-time recharge-bandwidth optimization multiple and balance-bandwidth optimization multiple into the mapping set to obtain the corresponding recharge bandwidth optimization allocation ratio and balance bandwidth optimization allocation ratio, which represent the influence degree of the recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple on the comprehensive bandwidth optimization multiple, and the sum of the two is 1.
[0064] In this embodiment, by using specific fee control response delay balances and fee control response delay balances to adjust the bandwidth, the bandwidth resource allocation for different operations (top-up operation and balance query) can be optimized more precisely; and different optimization strategies are adopted according to different delay reasons (top-up or balance query), making the utilization of bandwidth resources more precise; and when the delay problems of both exist simultaneously, the bandwidth is optimized through comprehensive calculation, achieving a more balanced bandwidth allocation and preventing a single operation (such as top-up or balance query) from occupying too many resources.
[0065] As Figure 3 shown, it is a flowchart for determining whether to optimize the detection channel provided by the embodiment of the present application. The specific logic is as follows: Real-time statistics of the detection channel top-up mark count and the detection channel balance mark count in the detection channel mark counts of each detection channel, and comparing the detection channel top-up mark count and the detection channel balance mark count with the preset mark counts respectively. The preset mark counts include the preset detection channel top-up mark count and the preset detection channel balance mark count; if the first mark count of the detection channel is greater than the preset detection channel top-up mark count, or the second mark count of the detection channel is greater than the preset detection channel balance mark count, then a channel operation and maintenance prompt is given; if both the detection channel top-up mark count and the detection channel balance mark count are not greater than the corresponding preset mark counts, then the performance of the detection channel is quantified to obtain the corresponding detection channel determination index, and the detection channel determination index is compared with the detection channel threshold: if the detection channel determination index is greater than the detection channel threshold, then the detection channel is closed, and a channel operation and maintenance prompt is given at the same time, otherwise, the fee control function detection continues; through the above process, it is beneficial for the test system to be able to timely detect possible abnormal detection channels and perform channel operation and maintenance in a timely manner, thereby avoiding more detection problems caused by abnormal detection channels, and further improving the detection efficiency of the fee control function of the electricity meter to be detected.
[0066] Furthermore, the specific steps for determining whether to optimize the detection channel are as follows:
[0067] First, real-time statistics of the detection channel top-up mark count and the detection channel balance mark count in the detection channel mark counts of each detection channel, and comparing the detection channel top-up mark count and the detection channel balance mark count with the preset mark counts obtained from the preset database respectively. The preset mark counts include the preset detection channel top-up mark count and the preset detection channel balance mark count; among them, the preset mark counts are preset by preset staff and stored in the preset database.
[0068] Next, if the number of times of the first mark in the detection channel is greater than the preset number of times of the recharge mark in the detection channel, or the number of times of the second mark in the detection channel is greater than the preset number of times of the balance mark in the detection channel, a channel operation and maintenance prompt will be given. The channel operation and maintenance prompt means that the corresponding detection channel will be fed back to the preset staff for channel operation and maintenance.
[0069] However, if the number of times of the recharge mark in the detection channel and the number of times of the balance mark in the detection channel are both not greater than the corresponding preset number of marks, the performance of the detection channel will be quantified to obtain the corresponding detection channel determination index, and the detection channel determination index will be compared with the detection channel threshold obtained from the preset database: if the detection channel determination index is greater than the detection channel threshold, the detection channel will be closed, and at the same time, a channel operation and maintenance prompt will be given; otherwise, the fee control function detection will continue.
[0070] In this embodiment, by monitoring the number of times of the recharge mark in the detection channel and the number of times of the balance mark in the detection channel, it is beneficial for the test system to intelligently discover the detection channels that may have potential abnormalities, perform operation and maintenance processing in a timely manner, avoid larger-scale detection problems caused by the abnormalities of the detection channels, and improve the detection efficiency; at the same time, real-time statistics and automatic judgment are performed, reducing the need for manual intervention, and being able to quickly and accurately locate the detection channels that need to be maintained, improving the operation and maintenance efficiency and response speed.
[0071] Further, the process of quantifying the performance of the detection channel to obtain the corresponding detection channel determination index is as follows:
[0072] First, obtain the detection channel analysis data and detection channel determination data of the corresponding detection channel. The detection channel analysis data includes the number of production batch mark types, the number of times of the recharge mark in the detection channel, and the number of times of the balance mark in the detection channel. The detection channel determination data includes channel response delay, channel data loss rate, channel signal strength, and channel load.
[0073] It should be added that the number of production batch marking types represents the number of different production batches in the production batch marking times. The number of recharge markings for the detection channel represents the number of times the detection channel is marked for recharge by the detection channel. The number of balance markings for the detection channel represents the number of times the detection channel is marked for balance by the detection channel. The channel response delay is obtained by using network performance monitoring tools (such as Wireshark, PingPlotter, etc.) to track the delay of data packets in real time. The channel data loss rate is obtained by calculating the ratio of the number of lost data packets monitored in the link to the total number of data packets through the traffic statistics usually provided by routers and switches. The channel signal strength is obtained by using a dedicated wireless signal analyzer (such as NetSpot, inSSIDer, etc.) to measure the signal strength. The channel load is obtained by using the resource monitoring tools built into the operating system (such as the task manager in Windows or the netstat and iftop commands in Linux) to obtain the load data.
[0074] In the second step, obtain the reference proportion of the detection channel and the channel load limit value from the preset database. The reference proportion of the detection channel includes the analysis proportion of the detection channel and the determination proportion of the detection channel. The analysis proportion of the detection channel includes the analysis proportion of the production batch marking type and the analysis proportion of the detection channel marking times. The determination proportion of the detection channel includes the determination proportion of the response delay, the determination proportion of the data loss, the determination proportion of the signal strength, and the determination proportion of the channel load.
[0075] Specifically, the analysis proportion of the detection channel represents the degree of influence of the detection channel analysis data on the detection channel score. Each detection channel analysis data has a unique mapping relationship with its corresponding detection channel analysis proportion, and the value range is between 0 and 1. For example, construct a mapping set of the detection channel analysis data and the preset detection channel analysis proportion, and input the real-time number of production batch marking types, the number of recharge markings for the detection channel, and the number of balance markings for the detection channel into the mapping set to obtain the corresponding analysis proportion of the production batch marking type and the analysis proportion of the detection channel marking times, which represents the degree of influence of the number of production batch marking types, the number of recharge markings for the detection channel, and the number of balance markings for the detection channel on the detection channel score, and the sum of the two is 1.
[0076] Specifically, the detection channel determination ratio represents the influence degree of the detection channel analysis data on the detection channel determination index. There is a unique mapping relationship between the determination data of each detection channel and its corresponding detection channel determination ratio, and the value range is between 0 and 1. For example, a mapping set of the detection channel determination data and the preset detection channel determination ratio is constructed, and the real-time channel response delay, channel data loss rate, channel signal strength, and channel load are input into the mapping set to obtain the corresponding response delay determination ratio, data loss determination ratio, signal strength determination ratio, and channel load determination ratio, which represent the influence degrees of the channel response delay, channel data loss rate, channel signal strength, and channel load on the detection channel determination index, and the sum of the four is 1.
[0077] Specifically, the channel load limit value is preset by the preset staff according to the detection channel requirements of the fee control function and stored in the preset database.
[0078] In the third step, the detection channel analysis data and the corresponding detection channel analysis ratio are weighted and coupled to obtain the detection channel score of the corresponding detection channel. The detection channel score is used to quantify the response delay degree caused by the detection channel during the simulation of the fee control detection of the detection channel.
[0079] The specific expression of the detection channel score is as follows:
[0080] ;
[0081] Among them, represents the number of production batch marking types in the detection channel marking times of the detection channel, represents the number of detection channel recharge marking times in the detection channel marking times of the detection channel, represents the number of detection channel balance marking times in the detection channel marking times of the detection channel, represents the analysis ratio of the production batch marking type, represents the analysis ratio of the detection channel marking times, represents the detection channel score of the detection channel.
[0082] In the formula, as the number of production batch marking types increases, the more production batches with anomalies may exist, and the corresponding detection channel score is larger. When the number of detection channel recharge marking times and the number of detection channel balance marking times are larger, the sum of the two is larger, indicating that the probability of problems in the detection channel is larger, and the corresponding detection channel score is larger. Through the quantitative analysis of the detection channel score, it is helpful to more accurately quantify the probability of problems in the detection channel caused by the channel response delay, so as to take corresponding measures for optimization in a timely manner, thereby improving the efficiency of the fee control function detection.
[0083] Fourthly, based on the detection channel score mapping, the corresponding detection channel impact factor is obtained. The detection channel impact factor represents the data of the influence degree of the detection channel response delay on the detection channel performance determination.
[0084] Specifically, a detection channel impact mapping set of the detection channel score and the detection channel impact factor is constructed. The real-time detection channel score is input into the detection channel impact mapping set to obtain the corresponding detection channel impact factor. The detection channel impact mapping set represents the set of the mapping relationship between the detection channel score and the detection channel impact factor.
[0085] Fifthly, the detection channel determination data is subjected to data normalization processing, and after weighted operation in combination with the detection channel determination ratio, the initial detection channel determination index is obtained by coupling.
[0086] Sixthly, after compensation operation of the detection channel impact factor and the initial detection channel determination index, the detection channel determination index is obtained. The detection channel determination index is used to quantify the probability that the performance of the detection channel is abnormal.
[0087] Among them, the compensation operation means multiplying the detection channel impact factor and the initial detection channel determination index.
[0088] The specific limiting expression of the detection channel determination index is as follows:
[0089] ;
[0090] In the formula, represents the channel response delay of the detection channel, represents the channel data loss rate of the detection channel, represents the channel signal strength of the detection channel, represents the channel load of the detection channel, represents the channel load limit value, represents the response delay determination ratio, represents the data loss determination ratio, represents the signal strength determination ratio, represents the channel load determination ratio, represents the detection channel impact factor of the detection channel, represents the detection channel determination index of the detection channel.
[0091] In this embodiment, the algorithm combines the detection channel determination data, the detection channel determination ratio, and the detection channel influence factor for analysis to obtain the corresponding detection channel determination index. In the formula, as the channel response delay and the channel data loss rate increase, the probability of problems existing in the channel communication process is greater, and the corresponding detection channel determination index is greater. When the channel signal strength is greater, it indicates that the detection channel signal quality is higher, and the corresponding detection channel determination index is smaller. At the same time, when the channel load is higher than the channel load limit value, it indicates that the channel load is more unbalanced, and the corresponding detection channel determination index is greater. Through the above analysis of the detection channel determination index, it helps to more accurately quantify the probability of abnormalities in the detection channel, thereby making a determination in a timely manner based on this, and then performing channel operation and maintenance, reducing the probability of reduced detection efficiency caused by detection channel problems, and helping to improve the detection efficiency of the fee control function of the electricity meter to be detected.
[0092] Further, it is judged whether to perform production batch allocation detection optimization, and the specific steps are as follows:
[0093] U1, statistically count the production batch recharge mark times and the detection channel balance mark times in the production batch mark times of each electricity meter production batch in real time, and compare the production batch recharge mark times and the detection channel balance mark times with the preset batch limit times obtained from the preset database respectively. The preset batch limit times include the preset times for detecting production batch recharge marks and the preset times for detecting detection channel balance marks.
[0094] Specifically, the preset batch limit times are preset by preset staff and stored in the preset database.
[0095] U2, if the production batch recharge mark times corresponding to the electricity meter with fee control to be detected are greater than the preset times for detecting production batch recharge marks, or the detection channel balance mark times corresponding to the electricity meter with fee control to be detected are greater than the preset times for detecting detection channel balance marks, then mark the corresponding production batch as the first production batch to be allocated and perform production batch allocation detection optimization.
[0096] U3, if the production batch mark times are not greater than the corresponding preset batch limit times, obtain the electricity meter production batch score of the electricity meter to be detected in this production batch, compare the electricity meter production batch score with the production batch threshold obtained from the preset database. If the electricity meter production batch score is greater than the production batch threshold, mark the corresponding production batch as the second production batch to be allocated for production batch allocation detection optimization, otherwise continue with the fee control function detection.
[0097] Specifically, the production batch threshold is obtained from a preset database. The analysis data of the production batch of electric energy meters corresponding to the qualified situation of the fee control function of the electric energy meters in the historical data is substituted into the specific limit expression of the production batch score of the electric energy meters by the preset staff to obtain the corresponding data set, and the mean value operation is performed on the data set to obtain the production batch threshold.
[0098] In this embodiment, by statistically analyzing and comparing the production batch recharge mark times and the detection channel balance mark times in real time, it is helpful to more accurately identify the possible anomalies in the corresponding production batch and optimize them in a timely manner, so as to ensure the quality and detection efficiency of the production of the electric energy meters to be detected; and by setting the preset batch limit times and the production batch score threshold, it is beneficial to ensure the efficient allocation of detection resources, avoid excessive optimization intervention on unnecessary production batches, and thus improve the detection efficiency.
[0099] Furthermore, the specific process for obtaining the production batch score of the electric energy meter is as follows:
[0100] First, obtain the analysis data of the production batch of electric energy meters corresponding to the production batch. The electric energy meter analysis data includes the production batch recharge mark times, the detection channel balance mark times, the average recharge operation delay, and the average balance query delay.
[0101] It should be noted that the average recharge operation delay is obtained by performing a mean value operation on the recharge operation delays in the cases where the recharge operation delay is greater than the reference recharge delay, and the average balance query delay is obtained by performing a mean value operation on the balance query delays in the cases where the balance query delay is greater than the reference query delay.
[0102] At the same time, obtain the production batch analysis ratio from the preset database. The production batch analysis ratio includes the production batch recharge mark ratio, the detection channel balance mark ratio, the recharge operation delay ratio, and the balance query delay ratio.
[0103] Specifically, the production batch analysis ratio represents the influence degree of the production batch electric energy meter analysis data on the production batch score of the electric energy meter. There is a unique mapping relationship between each production batch electric energy meter analysis data and its corresponding production batch analysis ratio, and the value range is between 0 and 1; for example, construct a mapping set of the production batch electric energy meter analysis data and the preset production batch analysis ratio, and input the real-time production batch recharge mark times, the detection channel balance mark times, the average recharge operation delay, and the average balance query delay into the mapping set to obtain the corresponding production batch recharge mark ratio, the detection channel balance mark ratio, the recharge operation delay ratio, and the balance query delay ratio, which respectively represent the influence degrees of the production batch recharge mark times, the detection channel balance mark times, the average recharge operation delay, and the average balance query delay on the production batch score of the electric energy meter, and the sum of the four is 1.
[0104] Next, the average recharge operation delay and the average balance query delay are respectively subjected to deviation difference quantization operations with the corresponding reference recharge delay and reference query delay to obtain a recharge difference amount and a query difference amount respectively.
[0105] It should be added that the specific expression of the recharge difference amount is as follows:
[0106] ;
[0107] Wherein, represents the average recharge operation delay of the electricity meter to be tested in the corresponding production batch, represents the reference recharge delay, represents the recharge difference amount of the electricity meter to be tested in the corresponding production batch; when the average recharge operation delay is greater than the reference recharge delay, it means that the recharge delay time is longer, and the corresponding recharge difference amount is larger.
[0108] It should be added that the specific expression of the query difference amount is as follows:
[0109] ;
[0110] Wherein, represents the average balance query delay of the electricity meter to be tested in the corresponding production batch, represents the reference query delay, represents the query difference amount of the electricity meter to be tested in the corresponding production batch; among them, when the average balance query delay is greater than the reference query delay, it means that the balance query delay is longer, and the corresponding query difference amount is larger.
[0111] Finally, based on the production batch recharge mark count, the detection channel balance mark count, the recharge difference amount, and the query difference amount, weighted operations are performed with the corresponding production batch analysis ratios, and then coupled to obtain the electricity meter production batch score, which is used to quantify the probability of anomalies in the electricity meters to be tested in the corresponding production batch.
[0112] The specific limiting expression of the electricity meter production batch score is as follows:
[0113] ;
[0114] In the formula, represents the production batch recharge mark count of the electricity meter to be tested in the corresponding production batch, represents the detection channel balance mark count of the electricity meter to be tested in the corresponding production batch, represents the production batch recharge mark ratio, represents the detection channel balance mark ratio, represents the recharge operation delay ratio, Indicates the proportion of balance query delay. Indicates the electricity meter production batch score of the electricity meters to be detected corresponding to the production batch.
[0115] In this embodiment, the algorithm combines the production batch recharge mark times, the detection channel balance mark times, the recharge difference amount, and the query difference amount with the corresponding production batch analysis ratio for analysis to obtain the electricity meter production batch score. In the formula, as the production batch recharge mark times, the detection channel balance mark times, the recharge difference amount, and the query difference amount increase, it indicates that the probability of production problems in the corresponding production batch is greater, and the corresponding electricity meter production batch score is greater; through the quantitative analysis of the electricity meter production batch score, it is helpful to more accurately quantify the probability of production errors in the electricity meters of the corresponding production batch, so as to take corresponding production batch allocation optimization measures in a timely manner, and then improve the efficiency of the electricity meter fee control function detection.
[0116] Furthermore, the specific process of optimizing the production batch allocation detection is as follows:
[0117] P1, Allocate the electricity meters to be detected of the first production batch to be allocated to the optimal detection channel for detection. If the production batch mark times of the electricity meters to be detected of the production batch to be allocated on the optimal detection channel exceed the first preset resumption number of times, then allocate the remaining electricity meters to be detected in the first production batch to be allocated to the resumption conveyor belt, otherwise continue with the fee control function detection. The optimal detection channel refers to the detection channel with the lowest detection channel mark times.
[0118] P2, Allocate the electricity meters to be detected of the second production batch to be allocated to the optimal detection channel for detection. If the production batch mark times of the electricity meters to be detected of the second production batch to be allocated on the optimal detection channel exceed the second preset resumption number of times, then allocate the remaining electricity meters to be detected in the second production batch to be allocated to the resumption conveyor belt, otherwise continue with the fee control function detection. The second preset resumption number of times is greater than the first preset resumption number of times.
[0119] Specifically, both the second preset resumption number of times and the first preset resumption number of times are preset by preset staff and stored in the preset database.
[0120] In this embodiment, by allocating the electricity meters to be detected of the production batch to be allocated to the optimal detection channel, it is beneficial to further ensure the probability that the electricity meters to be detected of the corresponding production batch have problems, thereby improving the utilization efficiency of detection resources; and allocating the electricity meters to be detected of the production batch to be allocated to the detection channel with the fewest mark times helps to balance the workload of each detection channel, thereby improving the efficiency of the entire detection process.
[0121] Such as Figure 4As shown in the figure, it is a schematic structural diagram of a fee control intelligent detection system for a single-phase fee control intelligent electricity meter provided by an embodiment of the present application. The fee control intelligent detection system for a single-phase fee control intelligent electricity meter provided by an embodiment of the present application includes a communication-fee control optimization delay module, a marking-delay optimization module, and a channel-batch detection optimization module:
[0122] Among them, the communication-fee control optimization delay module is used to perform simulated fee control detection and communication network condition detection after the electricity meter to be detected is connected to each detection channel, and judge whether to perform fee control response delay optimization according to the communication network condition detection result to obtain the corresponding fee control response delay. The fee control response delay includes a recharge operation delay and a balance query delay. The fee control response delay optimization is used to reduce the fee control response delay error of the electricity meter caused by network communication failures. The simulated fee control detection is a detection link in the fee control function detection.
[0123] The marking-delay optimization module is used to perform fee control response delay marking based on the obtained fee control response delay, and judge whether to take delay optimization measures based on the fee control response marking times. The fee control response marking times include the detection channel marking times and the production batch marking times. Taking delay optimization measures is used to reduce the response delay of the electricity meter fee control function detection during the multi-channel fee control function detection.
[0124] The channel-batch detection optimization module is used to determine the influence of the detection channel by the detection channel marking times of each detection channel to judge whether to optimize the detection channel, and determine the influence of the electricity meter production batch by the production batch marking times of each electricity meter production batch to judge whether to perform production batch allocation detection optimization. The detection channel optimization is used to optimize the performance of the detection channel to reduce the influence on the fee control function detection. The production batch allocation detection optimization is used to adjust the detection allocation mechanism of the electricity meters of the corresponding production batch to improve the detection efficiency.
[0125] In this embodiment, by monitoring the communication network status and adjusting the fee control response delay according to communication faults, the error of the fee control response delay of the electricity meter caused by network communication faults is effectively reduced, which helps to ensure the stability and accuracy of the fee control function detection in case of network fluctuations or faults. And based on the real-time monitored delay situation, the optimization strategy can be dynamically adjusted to ensure that when multiple channels are detected in parallel, the influence of the delay between different channels is reduced. At the same time, by detecting the recharge mark and production batch mark of the detection channels, it not only helps to timely mark the detection channels with response delay and the corresponding production batches of the electricity meters, but also through continuous statistical analysis of the mark times, it is beneficial to timely perform operation and maintenance on the detection channels that may have problems, and resume work on the electricity meters of the production batches that may have problems without performing fee control function detection, thereby improving the detection efficiency of the overall electricity meters to be detected. Through the optimization of this system, not only the real-time response ability of the system is improved, but also the reduction of the detection efficiency caused by delay problems is avoided. At the same time, the optimized allocation mechanism also improves the detection efficiency of the fee control function.
[0126] In summary, in the embodiment of this application, after the electricity meter to be detected is connected to each detection channel, simulated fee control detection and communication network status detection are carried out, and then it is judged whether to optimize the fee control response delay according to the detection result to obtain the corresponding fee control response delay. Based on this, fee control response delay marking is carried out to judge whether to take delay optimization measures. Finally, the influence of the detection channels is judged by the mark times of the detection channels to judge whether to optimize the detection channels, and the influence of the production batches of the electricity meters is judged by the mark times of the production batches to judge whether to optimize the production batch allocation detection, thereby reducing the delay of the electricity meter fee control detection, and then realizing the improvement of the electricity meter fee control detection efficiency, effectively solving the problem that the detection efficiency of the fee control function of the electricity meter is reduced due to the delay difference between the simulated recharge and balance management links in the prior art.
[0127] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0128] The present invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each flow and / or block in the flowchart illustrations and / or block diagrams, and combinations of flows and / or blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus create means for implementing the functions specified in the flow Figure 1 one or more flows and / or blocks Figure 1 one or more blocks for implementing the specified functions.
[0129] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means that implement the functions specified in the flow Figure 1 one or more flows and / or blocks Figure 1 one or more blocks for implementing the specified functions.
[0130] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, so that the instructions executed on the computer or other programmable apparatus provide steps for implementing the functions specified in the flow Figure 1 one or more flows and / or blocks Figure 1 one or more blocks for implementing the specified functions.
[0131] Although the preferred embodiments of the present invention have been described, additional changes and modifications can be made by those skilled in the art once they learn of the basic inventive concept. Therefore, the appended claims are intended to be construed to include the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0132] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.
Claims
1. A fee control intelligent detection method for single-phase fee control intelligent electricity meters, characterized in that, The method includes the following steps: After the electricity meter to be detected is connected to each detection channel, perform simulated fee control detection and communication network status detection, and determine whether to optimize the fee control response delay according to the communication network status detection result to obtain the corresponding fee control response delay. The fee control response delay includes recharge operation delay and balance query delay. The fee control response delay optimization is used to reduce the fee control response delay error of the electricity meter caused by network communication failures; Based on the obtained fee control response delay, perform fee control response delay marking, and determine whether to take delay optimization measures based on the fee control response marking times. The fee control response marking times include detection channel marking times and production batch marking times. The adoption of delay optimization measures is used to reduce the response delay of the electricity meter fee control function detection during the multi-channel fee control function detection process; Determine whether to optimize the detection channel through the detection channel marking times of each detection channel, and determine whether to optimize the production batch allocation detection through the production batch marking times of each electricity meter production batch. The detection channel optimization is used to optimize the performance of the detection channel to reduce the impact on the fee control function detection. The production batch allocation detection optimization is used to adjust the detection allocation mechanism of the electricity meters of the corresponding production batch to improve the detection efficiency.
2. The intelligent detection method for fee control of the single-phase fee-controlled intelligent electricity meter according to claim 1, characterized in that: The specific steps for determining whether to optimize the fee control response delay according to the communication network status detection result to obtain the corresponding fee control response delay are as follows: Step 1: When performing communication network status detection, obtain the corresponding network status determination data, and compare the network status determination data with the network status reference data obtained from the preset database. The network status determination data includes network delay, packet loss rate, packet delay fluctuation, bandwidth utilization rate, and connection timeout duration. The network status reference data includes network delay reference limit value, packet loss rate reference limit value, packet delay fluctuation reference limit value, bandwidth utilization rate reference limit value, and connection timeout duration reference limit value; Step 2: If any network status determination data is greater than the corresponding network status reference data, obtain the network status abnormal difference amount between the network status determination data and the corresponding network status reference data, and map the corresponding delay influence factor amount from the preset database according to the network status abnormal difference amount; If the delay influence factor amount is greater than the delay influence factor amount limit value obtained from the preset database, perform a compensation operation on the actual detection delays of the obtained detection channels based on the delay influence factor amount to obtain the fee control response delay. The actual detection delays include actual balance query delay and actual recharge operation delay. The fee control response delay includes balance query delay and recharge operation delay; If the delay influence factor amount is not greater than the delay influence factor amount limit value obtained from the preset database, record the actual detection delay as the fee control response delay; Step 3: If all network status determination data are not greater than the corresponding network status reference data, record the actual detection delay as the fee control response delay.
3. The fee control intelligent detection method for a single-phase fee control intelligent electricity meter according to claim 2, characterized in that: The specific process of performing fee control response delay marking based on the obtained fee control response delay is as follows: If the recharge operation delay is greater than the reference recharge delay obtained from the preset database, a fee control response delayed recharge mark is made; otherwise, no fee control response delayed recharge mark is made. The fee control response delayed recharge mark means that the corresponding detection channel is marked for detection channel recharge, and the production batch corresponding to the electricity meter to be detected is marked for production batch recharge; If the recharge operation delay is not greater than the reference recharge delay obtained from the preset database, the fee control function detection continues; If the balance query delay is greater than the reference query delay obtained from the preset database, a fee control response delayed balance mark is made; otherwise, no fee control response delayed balance mark is made. The fee control response delayed balance mark means that the corresponding detection channel is marked for detection channel balance, and the electricity meters to be detected in the corresponding production batch are marked for detection channel balance; The detection channel mark times include the detection channel recharge mark times and the detection channel balance mark times; The production batch mark times include the production batch recharge mark times and the detection channel balance mark times.
4. The fee control intelligent detection method for the single-phase fee control intelligent electric energy meter according to claim 3, characterized in that: The specific process of determining whether to take delay optimization measures based on the fee control response mark times is as follows: If only the fee control response delayed recharge mark is made, a recharge-bandwidth optimization multiple is mapped from the preset database based on the difference between the recharge operation delay and the reference recharge delay, and the bandwidth is optimized based on the recharge-bandwidth optimization multiple; If only the fee control response delayed balance mark is made, a balance-bandwidth optimization multiple is mapped from the preset database based on the difference between the balance query delay and the reference query delay, and the bandwidth is optimized based on the balance-bandwidth optimization multiple; If both the recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple are obtained, the corresponding bandwidth optimization allocation ratio is obtained from the preset database, and the comprehensive bandwidth optimization multiple is obtained by weighted operation on the recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple with the corresponding bandwidth optimization allocation ratio, and the bandwidth is optimized based on the comprehensive bandwidth optimization multiple. The bandwidth optimization allocation ratio includes the recharge bandwidth optimization allocation ratio and the balance bandwidth optimization allocation ratio.
5. The fee control intelligent detection method for the single-phase fee control intelligent electric energy meter according to claim 1, characterized in that: The specific steps for determining whether to optimize the detection channel are as follows: The detection channel recharge mark times and the detection channel balance mark times in the detection channel mark times of each detection channel are statistically counted in real time, and the detection channel recharge mark times and the detection channel balance mark times are respectively compared with the preset mark times obtained from the preset database. The preset mark times include the detection channel recharge mark preset times and the detection channel balance mark preset times; If the first mark times of the detection channel are greater than the detection channel recharge mark preset times, or the second mark times of the detection channel are greater than the detection channel balance mark preset times, a channel operation and maintenance prompt is given. The channel operation and maintenance prompt means that the corresponding detection channel is fed back to the preset staff for channel operation and maintenance; If both the recharge mark count of the detection channel and the balance mark count of the detection channel are not greater than the corresponding preset mark counts, the performance of the detection channel is quantified to obtain the corresponding detection channel determination index, and the detection channel determination index is compared with the detection channel threshold obtained from the preset database: If the detection channel determination index is greater than the detection channel threshold, the detection channel is closed, and at the same time, a channel operation and maintenance prompt is given; otherwise, the fee control function detection continues.
6. The intelligent detection method for cost control of the single-phase cost control intelligent electricity meter according to claim 5, characterized in that: The process of quantifying the performance of the detection channel to obtain the corresponding detection channel determination index is as follows: Obtain the detection channel analysis data and the detection channel determination data of the corresponding detection channel. The detection channel analysis data includes the production batch mark type quantity, the recharge mark count of the detection channel, and the balance mark count of the detection channel. The detection channel determination data includes the channel response delay, the channel data loss rate, the channel signal strength, and the channel load; Obtain the detection channel reference ratio and the channel load limit value from the preset database. The detection channel reference ratio includes the detection channel analysis ratio and the detection channel determination ratio. The detection channel analysis ratio includes the production batch mark type analysis ratio and the detection channel mark count analysis ratio. The detection channel determination ratio includes the response delay determination ratio, the data loss determination ratio, the signal strength determination ratio, and the channel load determination ratio; Perform a weighted operation on the detection channel analysis data and the corresponding detection channel analysis ratio and then couple them to obtain the detection channel score of the corresponding detection channel. The detection channel score is used to quantify the response delay degree caused by the detection channel during the detection channel analog fee control detection; Based on the detection channel score, map to obtain the corresponding detection channel impact factor. The detection channel impact factor represents the data of the influence degree of the detection channel response delay on the detection channel performance determination; Perform data normalization processing on the detection channel determination data and then couple them with the detection channel determination ratio through a weighted operation to obtain the initial detection channel determination index; Perform a compensation operation on the detection channel impact factor and the initial detection channel determination index to obtain the detection channel determination index. The detection channel determination index is used to quantify the probability of abnormal performance of the detection channel.
7. The fee control intelligent detection method for the single-phase fee control intelligent electric energy meter according to claim 1, characterized in that: The specific steps for determining whether to perform production batch allocation detection optimization are as follows: U1. Real-time count the recharge mark count of the production batch and the balance mark count of the detection channel in the production batch mark count of each electricity meter production batch, and compare the recharge mark count of the production batch and the balance mark count of the detection channel with the preset batch limit counts obtained from the preset database respectively. The preset batch limit counts include the preset count of the recharge mark of the detection production batch and the preset count of the balance mark of the detection channel; U2. If the recharge mark count of the production batch corresponding to the fee control electricity meter to be detected is greater than the preset count of the recharge mark of the production batch, or the balance mark count of the detection channel corresponding to the fee control electricity meter to be detected is greater than the preset count of the balance mark of the detection channel, mark the corresponding production batch as the first production batch to be allocated and perform production batch allocation detection optimization; U3, if the number of production batch marking times is not greater than the corresponding preset batch limit times, obtain the electricity meter production batch score of the electricity meter to be detected in this production batch, compare the electricity meter production batch score with the production batch threshold obtained from the preset database. If the electricity meter production batch score is greater than the production batch threshold, mark the corresponding production batch as the second production batch to be allocated for production batch allocation detection optimization, otherwise continue with the fee control function detection.
8. The intelligent detection method for fee control of the single-phase fee-controlled intelligent electricity meter according to claim 7, characterized in that: The specific process of obtaining the electricity meter production batch score is as follows: Obtain the production batch electricity meter analysis data corresponding to the production batch. The electricity meter analysis data includes the number of production batch recharge marking times, the number of detection channel balance marking times, the average recharge operation delay, and the average balance query delay; Obtain the production batch analysis ratio from the preset database. The production batch analysis ratio includes the production batch recharge marking ratio, the detection channel balance marking ratio, the recharge operation delay ratio, and the balance query delay ratio; Perform deviation difference quantization operations on the average recharge operation delay and the average balance query delay respectively with the corresponding reference recharge delay and reference query delay to obtain the recharge difference amount and the query difference amount respectively; Based on the number of production batch recharge marking times, the number of detection channel balance marking times, the recharge difference amount, and the query difference amount, perform a weighted operation with the corresponding production batch analysis ratio and then couple to obtain the electricity meter production batch score. The electricity meter production batch score is used to quantify the probability of abnormalities in the electricity meter to be detected in the corresponding production batch.
9. The intelligent detection method for fee control used in the single-phase fee-controlled intelligent electricity meter according to claim 7, characterized in that: The specific process of performing production batch allocation detection optimization is as follows: Allocate all the fee control electricity meters to be detected in the first production batch to be allocated to the optimal detection channel for detection. If the number of production batch marking times of the electricity meters to be detected in the first production batch to be allocated exceeds the first preset resumption number in the optimal detection channel, allocate the remaining electricity meters to be detected in the first production batch to be allocated to the resumption conveyor belt, otherwise continue with the fee control function detection. The optimal detection channel refers to the detection channel with the lowest detection channel marking times; Allocate all the fee control electricity meters to be detected in the second production batch to be allocated to the optimal detection channel for detection. If the number of production batch marking times of the electricity meters to be detected in the second production batch to be allocated exceeds the second preset resumption number in the optimal detection channel, allocate the remaining electricity meters to be detected in the second production batch to be allocated to the resumption conveyor belt, otherwise continue with the fee control function detection. The second preset resumption number is greater than the first preset resumption number.
10. A fee control intelligent detection system for a single-phase fee control intelligent electricity meter, including a communication-fee control optimization delay module, a marking-delay optimization module, and a channel-batch detection optimization module: Among them, The communication-fee control optimization delay module is used to perform simulated fee control detection and communication network status detection after the electricity meter to be detected is connected to each detection channel, and determine whether to perform fee control response delay optimization according to the communication network status detection result to obtain the corresponding fee control response delay. The fee control response delay includes a recharge operation delay and a balance query delay. The fee control response delay optimization is used to reduce the fee control response delay error of the electricity meter caused by network communication failures. The marking-delay optimization module is used to perform fee control response delay marking based on the obtained fee control response delay, and determine whether to take delay optimization measures based on the fee control response marking times. The fee control response marking times include the detection channel marking times and the production batch marking times. The taking of delay optimization measures is used to reduce the response delay of the electricity meter fee control function detection during the multi-channel fee control function detection. The channel-batch detection optimization module is used to determine the influence of the detection channel by the detection channel marking times of each detection channel to judge whether to perform detection channel optimization, and determine the influence of the electricity meter production batch by the production batch marking times of each electricity meter production batch to judge whether to perform production batch allocation detection optimization. The detection channel optimization is used to optimize the performance of the detection channel to reduce the influence on the fee control function detection. The production batch allocation detection optimization is used to adjust the detection allocation mechanism of the electricity meters of the corresponding production batch to improve the detection efficiency.
Citation Information
Patent Citations
A Production Management Method for Single-Phase Prepaid Smart Energy Meters
CN106124813B
Single-phase charge-control intelligent electric energy meter and intelligent metering system thereof
CN119619982A
A recharging function testing method and system for a charge control electric energy meter
CN106408774A
Intelligent flow recharging and distribution system and method based on Internet of Things
CN119052177A
Special IC card intelligent water meter capable of being stored for rural water supply and remote payment method
CN119625889A