Fee control intelligent detection method and system for single-phase fee control intelligent electricity meter

By performing communication network status detection and delay optimization marking during the detection process of single-phase fee-controlled smart electricity meters, the delay difference problem between simulated recharge and balance management links was solved, and the efficiency of fee control function detection was improved.

CN120358260BActive Publication Date: 2025-09-12浙江华邦物联技术股份有限公司
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510863783.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-26
Publication Date
2025-09-12
Estimated Expiration
2045-06-26

AI Technical Summary

Technical Problem

In the existing technology, there is a delay difference between the analog recharge and balance management links of the single-phase fee-controlled smart electricity meter, resulting in low efficiency in fee control function detection.

Method used

By connecting the electric energy meter to be tested to each detection channel and performing simulated fee control detection, the communication network status is detected. The fee control response delay is determined based on the detection results, and corresponding delay optimization marking is performed. Combined with the number of markings of the detection channel and production batch, optimization measures are taken to reduce response delay and improve detection efficiency.

Benefits of technology

It effectively reduces the delay of electricity meter fee control detection, improves detection efficiency, accurately quantifies the abnormal probability of detection channels and production batches, optimizes the detection process, and improves the overall detection speed and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120358260B_ABST
    Figure CN120358260B_ABST
Patent Text Reader

Abstract

The present invention discloses a fee control intelligent detection method and system for a single-phase fee control smart energy meter, and relates to the technical field of electric variable measurement. The fee control intelligent detection method for a single-phase fee control smart energy meter comprises the following steps: communication fee control response delay optimization, fee control response delay marking and optimization, and production batch allocation detection optimization. The present invention performs simulated fee control detection and communication network status detection on the energy meter to be detected after being connected to each detection channel to obtain the fee control response delay, and performs fee control response delay marking to determine whether to take delay optimization measures. Finally, it determines whether to perform detection channel optimization and whether to perform production batch allocation detection optimization through the detection channel impact judgment and the energy meter production batch impact judgment, thereby achieving the effect of improving the fee control detection efficiency of the energy meter, and solving the problem in the prior art that the delay difference between the simulated recharge and balance management links leads to reduced fee control function detection efficiency of the energy meter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric variable measurement, and in particular to a fee control intelligent detection method and system for a single-phase fee control intelligent electric energy meter. Background Art

[0002] With the rapid development of smart grids and digital electricity management, single-phase fee-controlled smart electricity meters are widely used by residential and small commercial users, realizing functions such as remote meter reading, prepayment, and electric control management. Efficient and accurate intelligent detection has become an important requirement for ensuring the stable operation of the power system.

[0003] Existing single-phase fee-controlled smart electricity meter detection methods mostly use manual or semi-automatic methods, with low detection efficiency and limited accuracy, making it difficult to meet the needs of batch and intelligent detection. There are also technical limitations in simulating user electricity usage scenarios, remote communication and fee control function testing.

[0004] For example, the patent application with publication number CN119619982A discloses a single-phase fee-controlled smart electricity meter and its smart metering system, which include: a working power calculation module, connected to the power grid, for counting the power consumption of the meter when it is working and storing it in a memory; a non-working power calculation module, for calculating the power consumption of the meter when it is not working; the working power calculation module also includes: a first processing unit, for calculating the working power consumed by the meter when it is working according to the working time of the meter; a first calculation unit, for receiving the working power from the first processing unit, and calculating the correction power based on the working power and the historical power data stored in the memory, and transmitting the correction power to the correction unit; a correction unit, for receiving the correction power transmitted by the first calculation unit and correcting the working power.

[0005] For example, the invention patent announcement with announcement number: CN106124813B discloses a production management method for a single-phase cost-controlled smart energy meter, including: an MCU internal serial number generation module; the MCU internal serial number is generated when the built-in program is burned into the MCU of the single-phase cost-controlled smart energy meter; a process recording module; the process recording module records the operation information of each process of the single-phase cost-controlled smart energy meter; the operation information corresponds to the MCU internal serial number; a detection module; at the last process of the single-phase cost-controlled smart energy meter, it is detected whether the operation information preset corresponding to the MCU internal serial number corresponds to the operation information recorded by the process recording module.

[0006] However, in the process of implementing the technical solutions of the invention in the embodiments of the present application, the present application found that the above technology has at least the following technical problems:

[0007] In the existing technology, when conducting fee control function testing, the workflow of the test system mainly includes initialization and system settings, simulated recharge and balance management, power off and on operations, communication verification and remote control, as well as function verification and log recording, etc., to ensure that the charging, power off, power restoration and other functions of each single-phase fee-controlled smart electricity meter are normal. However, in the simulated recharge and balance management links, the recharge operation and balance query timeliness of the electricity meter are unstable. There is a problem that the delay difference between the simulated recharge and balance management links reduces the efficiency of the fee control function detection of the electricity meter. Summary of the Invention

[0008] The embodiments of the present application solve the problem in the prior art that the delay difference between the analog recharge and balance management links leads to reduced detection efficiency of the fee control function of the electricity meter by providing a fee control intelligent detection method and system for single-phase fee-controlled smart electricity meters, thereby improving the fee control detection efficiency of the electricity meter.

[0009] The embodiment of the present application provides a fee control intelligent detection method for a single-phase fee-controlled smart energy meter, comprising the following steps: after the energy meter to be detected is connected to each detection channel, performing a simulated fee control detection and a communication network status detection, judging whether to perform fee control response delay optimization according to the communication network status detection result to obtain a corresponding fee control response delay, the fee control response delay including the recharge operation delay and the balance query delay, the fee control response delay optimization is used to reduce the fee control response delay error of the energy meter caused by network communication failure; marking the fee control response delay based on the obtained fee control response delay, and judging whether to take delay optimization measures based on the number of fee control response markings, the number of fee control response markings including The number of detection channel markings and the number of production batch markings are used, and delay optimization measures are taken to reduce the response delay of the electricity meter fee control function detection during the multi-channel fee control function detection; the detection channel impact is judged by the detection channel marking times of each detection channel to determine whether to perform detection channel optimization, and the production batch marking times of each electricity meter production batch are used to determine the impact of the electricity meter production batch to determine whether to perform production batch allocation detection optimization. The detection channel optimization is used to optimize the detection channel performance 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 corresponding production batch electricity meter to improve detection efficiency.

[0010] Furthermore, it is determined 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 specific steps are as follows: Step 1, when performing communication network status detection, the 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. The network status determination data includes network delay, packet loss rate, data packet delay fluctuation, bandwidth utilization and connection timeout duration. The network status reference data includes network delay reference limit, packet loss rate reference limit, data packet delay fluctuation reference limit, bandwidth utilization reference limit and connection timeout duration reference limit; Step 2, if any network status determination data is greater than the corresponding network status reference data, then the network status determination data and the corresponding network status reference data are obtained. The abnormal network condition difference between the two reference data is obtained, and the corresponding delay influencing factor amount is mapped from the preset database according to the abnormal network condition difference; if the delay influencing factor amount is greater than the delay influencing factor amount limit obtained from the preset database, the actual detection delay of each detection channel obtained is compensated based on the delay influencing factor amount to obtain the fee control response delay, the actual detection delay includes the actual balance query delay and the actual recharge operation delay, and the fee control response delay includes the balance query delay and the recharge operation delay; if the delay influencing factor amount is not greater than the delay influencing factor amount limit obtained from the preset database, the actual detection delay is recorded as the fee control response delay; step three, if the network condition determination data are not greater than the corresponding network condition reference data, the actual detection delay is recorded as the fee control response delay.

[0011] Furthermore, the specific process of 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, the fee control response delay recharge marking is performed, otherwise the fee control response delay recharge marking is not performed, and the fee control response delay recharge marking indicates that the corresponding detection channel is marked as a detection channel recharge, and the production batch recharge marking is performed on the production batch corresponding to the electric energy meter to be detected; if the recharge operation delay is not greater than the reference recharge delay obtained from the preset database, the fee control function detection is continued; if the balance query delay is greater than the reference query delay obtained from the preset database, the fee control response delay balance marking is performed, otherwise the fee control response delay balance marking is not performed, and the fee control response delay balance marking indicates that the corresponding detection channel is marked as a detection channel balance, and the detection channel balance marking is performed on the corresponding production batch of the fee-controlled electric energy meters to be detected; the number of detection channel markings includes the number of detection channel recharge markings and the number of detection channel balance markings; the number of production batch markings includes the number of production batch recharge markings and the number of detection channel balance markings.

[0012] Furthermore, whether to take delay optimization measures is determined based on the number of fee control response marks. The specific process is as follows: if only the fee control response delay recharge mark 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 fee control response delay balance mark 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 a comprehensive bandwidth optimization multiple is obtained by coupling the recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple with the corresponding bandwidth optimization allocation ratio after weighted operation. The bandwidth is optimized based on the comprehensive bandwidth optimization multiple, and the bandwidth optimization allocation ratio includes the recharge bandwidth optimization allocation ratio and the balance bandwidth optimization allocation ratio.

[0013] Furthermore, the specific steps for determining whether to optimize the detection channel are as follows: real-time statistics are collected on the detection channel recharge mark times and the detection channel balance mark times in the detection channel mark times of each detection channel, 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, and the preset mark times include the detection channel recharge mark preset times and the detection channel balance mark preset times; if the number of marks No. 1 of the detection channel is greater than the detection channel recharge mark preset times, or the number of marks No. 2 of the detection channel is greater than the detection channel balance mark preset times, a channel operation and maintenance prompt is given, and the channel operation and maintenance prompt indicates that the corresponding detection channel will be fed back to the preset staff for channel operation and maintenance; if the number of marks No. 1 of the detection channel and the number of marks No. 2 of the detection channel are not greater than the corresponding preset marks, the detection channel performance is quantified to obtain the corresponding detection channel judgment index, and the detection channel judgment index is compared with the detection channel threshold obtained from the preset database: if the detection channel judgment index is greater than the detection channel threshold, 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.

[0014] Furthermore, the detection channel performance is quantified to obtain the corresponding detection channel judgment index. The specific process is as follows: the detection channel analysis data and detection channel judgment data of the corresponding detection channel are obtained, the detection channel analysis data include the number of production batch mark types, the number of detection channel recharge marks and the number of detection channel balance marks, and the detection channel judgment data include channel response delay, channel data loss rate, channel signal strength and channel load; the detection channel reference proportion and channel load limit value are obtained from the preset database, the detection channel reference proportion includes the detection channel analysis proportion and the detection channel judgment proportion, the detection channel analysis proportion includes the production batch mark type analysis proportion and the detection channel mark number analysis proportion, the detection channel judgment proportion includes the response delay judgment proportion, the data loss judgment proportion and the signal strength judgment proportion. Ratio and channel load determination proportion; weighted operation is performed on the detection channel analysis data and the corresponding detection channel analysis proportion, and then coupled 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 simulation fee control detection; based on the detection channel score mapping, the corresponding detection channel impact factor is obtained. The detection channel impact factor represents the data on the degree of influence of the detection channel response delay on the detection of the detection channel performance; the detection channel determination data is normalized and weighted operation is performed on the detection channel determination proportion, and then coupled to obtain the detection channel determination initial index; the detection channel influence factor and the detection channel determination initial index are compensated to obtain the detection channel determination index. The detection channel determination index is used to quantify the probability of abnormality in the detection channel performance.

[0015] Furthermore, it is determined whether to optimize the production batch allocation detection. The specific steps are as follows: U1, real-time statistics of 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, 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 of detecting the production batch recharge mark and the preset times of detecting the channel balance mark; U2, if the production batch recharge mark times corresponding to the fee-controlled electricity meter to be detected are greater than the preset times of the production batch recharge mark, or the fee-controlled electricity meter to be detected If the number of corresponding detection channel balance markings is greater than the preset number of detection channel balance markings, the corresponding production batch will be marked as the first production batch to be allocated and the production batch allocation detection optimization will be performed; U3, if the number of production batch markings is not greater than the corresponding preset batch limit number, the electricity meter production batch score of the electricity meter to be detected in the production batch is obtained, and the electricity meter production batch score is compared with the production batch threshold obtained from the preset database. If the electricity meter production batch score is greater than the production batch threshold, the corresponding production batch will be marked as the second production batch to be allocated and the production batch allocation detection optimization will be performed, otherwise the fee control function detection will continue.

[0016] Furthermore, the specific process of obtaining the production batch score of the electricity meter is as follows: obtain the production batch electricity meter analysis data of the corresponding production batch, the electricity meter analysis data includes the number of production batch recharge marks, the number of detection channel balance marks, 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 quantification operation 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; perform weighted operation based on the production batch recharge mark number, the detection channel balance mark number, the recharge difference amount and the query difference amount and the corresponding production batch analysis ratio, and then couple them to obtain the electricity meter production batch score, which is used to quantify the probability that there is an abnormality in the electricity meter to be tested in the corresponding production batch.

[0017] Furthermore, the specific process of obtaining the production batch score of the electricity meter is as follows: obtain the production batch electricity meter analysis data of the corresponding production batch, the electricity meter analysis data includes the number of production batch recharge marks, the number of detection channel balance marks, 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 quantification operation 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; perform weighted operation based on the production batch recharge mark number, the detection channel balance mark number, the recharge difference amount and the query difference amount and the corresponding production batch analysis ratio, and then couple them to obtain the electricity meter production batch score, which is used to quantify the probability that there is an abnormality in the electricity meter to be tested in the corresponding production batch.

[0018] The embodiment of the present application provides 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: wherein 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 judge 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 the recharge operation delay and the 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 failure; the marking-delay optimization module is used to mark the fee control response delay based on the obtained fee control response delay, and judge based on the number of fee control response markings. Whether to take delay optimization measures, the number of fee control response markings includes the number of detection channel markings and the number of production batch markings. The delay optimization measures are used to reduce the response delay of the electricity meter fee control function detection during the multi-channel fee control function detection process; the channel-batch detection optimization module is used to determine the detection channel impact through the detection channel marking times of each detection channel to determine whether to perform detection channel optimization, and to determine the electricity meter production batch impact through the production batch marking times of each electricity meter production batch to determine whether to perform production batch allocation detection optimization. The detection channel optimization is used to optimize the detection channel performance 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 corresponding production batch electricity meter to improve detection efficiency.

[0019] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:

[0020] 1. After the electric energy meter to be tested is connected to each detection channel, a simulated fee control test is performed and a communication network status test is performed. Then, based on the test result, it is determined whether to optimize the fee control response delay to obtain the corresponding fee control response delay. Based on this, the fee control response delay is marked to determine whether to take delay optimization measures. Finally, the detection channel impact is determined by the number of detection channel marks to determine whether to optimize the detection channel, and the electric energy meter production batch impact is determined by the number of production batch marks to determine whether to optimize the production batch allocation test. This reduces the delay of the electric energy meter fee control test, thereby achieving an improvement in the efficiency of the electric energy meter fee control test, and effectively solves the problem in the prior art that the delay difference between the simulated recharge and balance management links leads to reduced detection efficiency of the electric energy meter fee control function.

[0021] 2. By obtaining the detection channel analysis data and detection channel judgment data of the detection channel, and obtaining the detection channel reference ratio and channel load limit value from the preset database, and obtaining the detection channel score through the detection channel analysis data and the detection channel analysis ratio, and then obtaining the detection channel influence factor based on the detection channel score mapping, and then performing data normalization on the detection channel judgment data and combining it with the detection channel judgment ratio to obtain the detection channel judgment initial index, and finally performing compensation operation on the detection channel influence factor and the detection channel judgment initial index to obtain the detection channel judgment index, thereby more accurately quantifying the probability of abnormal performance of the detection channel, and then timely optimizing the channel to improve the detection efficiency of the fee control function.

[0022] 3. By obtaining the production batch electricity meter analysis data of the corresponding production batch and obtaining the production batch analysis ratio from the preset database, the average recharge operation delay and the average balance query delay are quantified with the corresponding reference recharge delay and reference query delay respectively to obtain the recharge difference and query difference respectively. Finally, based on the number of production batch recharge marks, the number of detection channel balance marks, the recharge difference and the query difference, a weighted operation is performed on the production batch recharge mark times, the detection channel balance mark times, the recharge difference and the query difference with the corresponding production batch analysis ratio, and then coupled to obtain the electricity meter production batch score, thereby more accurately quantifying the probability of abnormalities in the electricity meters to be tested in the corresponding production batch, and then optimizing the allocation of the electricity meters to be tested to improve the detection efficiency of the fee control function. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A flow chart of a fee control intelligent detection method for a single-phase fee control intelligent electricity meter provided in an embodiment of the present application;

[0024] Figure 2 A flowchart of communication cost control response delay optimization provided in an embodiment of the present application;

[0025] Figure 3 A flowchart for determining whether to perform detection channel optimization is provided in an embodiment of the present application;

[0026] Figure 4 A structural diagram of a fee control intelligent detection system for a single-phase fee control intelligent electricity meter provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The embodiment of the present application solves the problem in the prior art that the efficiency of the fee control function detection of the electric energy meter is reduced due to the delay difference between the analog recharge and balance management links by providing a fee control intelligent detection method and system for a single-phase fee-controlled smart electric energy meter. After the electric energy meter to be detected is connected to each detection channel, a simulated fee control detection and a communication network status detection are performed. Then, when performing the communication network status detection, corresponding network status determination data is obtained, and the network status determination data is compared with the network status reference data obtained from a preset database. If any network status determination data is greater than the corresponding network status reference data, the network status abnormality difference between the network status determination data and the corresponding network status reference data is obtained, and the corresponding delay influencing factor amount is mapped from the preset database according to the network status abnormality difference. If the delay If the amount of influencing factors is greater than the limit value of the delay influencing factors obtained from the preset database, a compensation operation is performed on the actual detection delay of each detection channel obtained based on the delay influencing factors to obtain the fee control response delay. If the amount of delay influencing factors is not greater than the limit value of the delay influencing factors obtained from the preset database, the actual detection delay is recorded as the fee control response delay. However, if the network status judgment 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 delay optimization measures are taken. Finally, the detection channel impact is determined by the number of detection channel markings to determine whether detection channel optimization is performed, and the electricity meter production batch impact is determined by the number of production batch markings to determine whether production batch allocation detection optimization is performed, thereby improving the efficiency of electricity meter fee control detection.

[0028] The technical solution in the embodiments of the present application is to solve the problem that the delay difference between the simulated recharge and balance management links leads to reduced detection efficiency of the fee control function of the electric energy meter. The overall idea is as follows:

[0029] By conducting simulated fee control detection and communication network status detection after the electric energy meter to be detected is connected to each detection channel, and then judging whether to optimize the fee control response delay based on the result, the fee control response delay is obtained, and the fee control response delay is marked to judge whether to take delay optimization measures. Finally, it is judged whether to optimize the detection channel through the detection channel impact judgment and whether to optimize the production batch allocation detection through the electric energy meter production batch impact judgment, thereby achieving the effect of improving the fee control detection efficiency of the electric energy meter.

[0030] In order to better understand the above technical solution, the above technical solution will be described in detail below with reference to the accompanying drawings and specific implementation methods.

[0031] like Figure 1 FIG. 1 is a flow chart of a method for intelligent fee control detection of a single-phase fee control intelligent energy meter according to an embodiment of the present application. The method includes the following steps:

[0032] Communication fee control response delay optimization: After the energy meter to be tested is connected to each detection channel, simulated fee control detection and communication network status detection are performed. Based on the communication network status detection results, it is determined whether to optimize the fee control response delay to obtain the corresponding fee control response delay. The fee control response delay includes the recharge operation delay and the balance query delay. The fee control response delay optimization is used to reduce the energy meter fee control response delay error caused by network communication failures. Simulated fee control detection is a detection link in the fee control function detection;

[0033] Fee control response delay marking and optimization: Fee control response delay is marked based on the obtained fee control response delay, and whether to take delay optimization measures is determined 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. The delay optimization measures are used to reduce the response delay of the electricity meter fee control function test during the multi-channel fee control function test;

[0034] Production batch allocation detection optimization: the detection channel impact is judged by the number of detection channel markings of each detection channel to determine whether to perform detection channel optimization, and the production batch impact of the electricity meter is judged by the number of production batch markings of each electricity meter production batch to determine whether to perform production batch allocation detection optimization. The detection channel optimization is used to optimize the detection channel performance 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 meter corresponding to the production batch to improve the detection efficiency.

[0035] In this embodiment, the energy meter to be tested refers to a single-phase fee-controlled smart energy meter waiting for fee-controlled intelligent detection. When performing fee-controlled function detection, the workflow of the test system mainly includes initialization and system settings, simulated recharge and balance management, power-off and closing operations, communication verification and remote control, and function verification and log recording, etc., to ensure that the charging, power-off, and power restoration functions of each single-phase fee-controlled smart energy meter are normal. However, in the simulated recharge and balance management link, if the energy meter response time is long when the test system is remotely recharged (such as due to network delay or slow processing speed of the meter itself), each recharge will be delayed. At the same time, if the balance query function of the electricity meter responds slowly (for example, it takes a long time to query the data), it will also affect the test progress, resulting in low efficiency of the fee control function detection when the electricity meter is simulated for fee control detection. By monitoring the delay and communication status of the energy meter to be tested in real time during the fee control function detection and conducting corresponding analysis, and taking corresponding optimization measures based on the analysis results, it is helpful to reduce the delay of the fee control function detection, thereby improving the fee control function detection speed of each energy meter to be tested, and further improving the efficiency of the fee control function detection of each energy meter to be tested.

[0036] It should be added that before designing the fee control intelligent detection method for single-phase fee-controlled smart electricity meters, a preset database for storing various set data was established by the preset personnel. The preset database includes but is not limited to network status reference data, preset abnormality level, reference recharge delay, reference query delay, bandwidth optimization allocation ratio, preset marking number, detection channel threshold, detection channel reference ratio, channel load limit value, preset batch limit number, production batch threshold and production batch analysis ratio, etc., among which various numerical values ​​are directly set by preset professionals. For example, the detection channel threshold is obtained by the preset staff based on the detection channel judgment data corresponding to the non-abnormal situation of the detection channel in the historical database, substituted into the specific restriction expression of the detection channel judgment index to obtain the corresponding data set, and the data set is averaged to obtain the detection channel threshold, which is pre-stored in the preset database.

[0037] like Figure 2 As shown, it is a flowchart of the communication cost control response delay optimization provided by the embodiment of the present application, and the specific logic is: obtain network status determination data, and compare the network status determination data with the network status reference data; if any network status determination data is greater than the corresponding network status reference data, then obtain the corresponding network status abnormality difference amount, and obtain the delay influencing factor amount according to the network status abnormality difference amount; if the delay influencing factor amount is greater than the delay influencing factor amount limit, then based on the delay influencing factor amount, the actual detection delay of each detection channel obtained is compensated and calculated to obtain the cost control response delay; if the delay influencing factor amount is not greater than the delay influencing factor amount limit, then the actual detection delay is recorded as the cost control response delay; if the network If the 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; if the recharge operation delay is greater than the reference recharge delay, the fee control response delay recharge mark is performed, otherwise the fee control response delay recharge mark is not performed; if the recharge operation delay is not greater than the reference recharge delay, the fee control function detection is continued; if the balance query delay is greater than the reference query delay, the fee control response delay balance mark is performed, otherwise the fee control response delay balance mark is not performed; the above process helps to reduce the detection time of each electric energy meter to be detected, thereby improving the fee control function detection speed of each electric energy meter to be detected, and further improving the efficiency of the fee control function detection of each electric energy meter to be detected.

[0038] Furthermore, it is determined 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 specific steps are as follows:

[0039] Step 1: When performing communication network status detection, corresponding network status determination data is obtained, and the network status determination data is compared with network status reference data obtained from a preset database. The network status determination data includes network delay, packet loss rate, data packet delay fluctuation, bandwidth utilization and connection timeout duration. The network status reference data includes network delay reference limit, packet loss rate reference limit, data packet delay fluctuation reference limit, bandwidth utilization reference limit and connection timeout duration reference limit.

[0040] It should be noted that the network latency, packet loss rate, and packet delay fluctuation are obtained by using the ping command, bandwidth utilization is calculated using bandwidth monitoring tools (such as iperf), and the connection timeout duration is obtained by querying the curl command.

[0041] Specifically, the network status reference data is preset by a preset staff based on conventional network communication requirements and stored in a preset database.

[0042] Step 2: If any network condition determination data is greater than the corresponding network condition reference data, obtain the network condition abnormality difference between the network condition determination data and the corresponding network condition reference data, and map the corresponding delay influencing factor from the preset database according to the network condition abnormality difference.

[0043] It should be explained that if only one network condition determination data is greater than the corresponding network condition reference data, the network condition determination data is subtracted from the corresponding network condition reference data and then compared with the network condition reference data to obtain the corresponding abnormal difference amount, and the abnormal difference amount is recorded as the network condition abnormal difference amount; if there is more than one network condition determination data greater than the corresponding network condition reference data, the abnormal difference amount between each network condition determination data and the corresponding network condition reference data is first obtained, and then each abnormal difference amount is weighted and coupled with the corresponding abnormal assessment allocation amount obtained from the preset database to obtain the network condition abnormal difference amount; wherein the abnormal assessment allocation amount includes network delay allocation amount, packet loss rate allocation amount, data packet delay fluctuation allocation amount, bandwidth utilization allocation amount and connection timeout duration allocation amount.

[0044] The anomaly assessment allocation represents the degree of influence of the network condition determination data on the network condition anomaly difference. Each network condition determination data item has a unique mapping relationship with its corresponding anomaly assessment allocation, and the value range is between 0 and 1. For example, a mapping set of network condition determination data items and preset anomaly assessment allocations is constructed, and each real-time anomaly difference is input into the mapping set to obtain the corresponding anomaly assessment allocation. This represents the degree of influence of each anomaly difference on the network condition anomaly difference, and the sum of the anomaly assessment allocations corresponding to each anomaly difference is 1.

[0045] Specifically, a delay impact mapping set is constructed between the network status anomaly difference amount and the corresponding delay influencing factor amount, and the real-time network status anomaly difference amount is input into the delay impact mapping set to output the corresponding delay influencing factor amount. The delay impact mapping set represents a set of mapping relationships between the network status anomaly difference amount and the delay influencing factor amount.

[0046] The delay influencing factor amount is compared with the delay influencing factor amount limit obtained from the preset database: if the delay influencing factor amount is greater than the delay influencing factor amount limit obtained from the preset database, the actual detection delay of each detection channel obtained is compensated based on the delay influencing factor amount to obtain the fee control response delay, the actual detection delay includes the actual balance query delay and the actual recharge operation delay, and the fee control response delay includes the balance query delay and the recharge operation delay.

[0047] Specifically, the limit value of the delay influencing factor is pre-set by the preset staff according to the network requirements of the fee control function detection and stored in the preset database.

[0048] The compensation operation represents a product operation of the delay influencing factor and the actual detection delay of each detection channel.

[0049] If the delay influencing factor amount is not greater than the delay influencing factor amount limit obtained from the preset database, the actual detection delay is recorded as the fee control response delay.

[0050] Step 3: If 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.

[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, thereby avoiding service performance degradation due to network anomalies; and according to changes in network conditions, it is helpful to flexibly adjust the delay compensation strategy to ensure that the response speed of various operations (such as balance inquiry, recharge, etc.) is stable, thereby reducing the detection time of each electric energy meter to be detected, and thereby improving the detection efficiency of the fee control function of the electric energy meter.

[0052] Furthermore, the specific process of marking the fee control response delay based on the obtained fee control response delay is as follows:

[0053] On the one hand, the recharge operation delay is compared 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, the fee control response delay recharge mark is performed, otherwise the fee control response delay recharge mark is not performed. The fee control response delay recharge mark indicates that the corresponding detection channel will be marked as a detection channel recharge mark, and the production batch corresponding to the electric energy meter to be detected will be marked as a production batch recharge mark; if the recharge operation delay is not greater than the reference recharge delay obtained from the preset database, the fee control function test will continue.

[0054] On the other hand, the balance query delay is compared 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, the fee control response delay balance marking is performed, otherwise the fee control response delay balance marking is not performed. The fee control response delay balance marking indicates that the corresponding detection channel will be marked with a detection channel balance, and the detection channel balance marking will be performed on the corresponding production batch of fee-controlled electricity meters to be tested; the number of detection channel markings includes the number of detection channel recharge markings and the number of detection channel balance markings; the number of production batch markings includes the number of production batch recharge markings and the number of detection channel balance markings.

[0055] Specifically, the reference recharge delay and the reference query delay are both pre-set by the preset staff according to the fee 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 fee control function detection link can be monitored in more detail. Among them, the detection channel recharge mark helps to timely mark the behavior of the detection channel with response delay, and continuously counts the number of marks of the detection channel for analysis, so that the detection channel with possible problems can be operated and maintained in time, thereby improving the detection efficiency of the electric energy meter to be tested. At the same time, the production batch marking number helps to timely mark the production batch corresponding to the electric energy meter with response delay, and continuously counts the number of marks of the production batch for analysis, so that the electric energy meter with possible problems can be resumed in time and not undergo fee control function testing, thereby improving the overall detection efficiency of the electric energy meter to be tested. The marking of different detection channels and production batches helps to locate problems, discover and optimize them in time, thereby improving the efficiency of fee control function testing. The statistics of the number of detection channel markings and the number of production batch markings provide a data basis for subsequent problem analysis.

[0057] Furthermore, based on the number of fee control response marks, it is determined whether to take delay optimization measures. The specific process is as follows:

[0058] Case 1: If only the fee control response delay recharge mark 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.

[0059] Specifically, a difference operation (i.e., a subtraction operation) is performed on the recharge operation delay and the reference recharge delay to obtain the corresponding recharge delay difference, and a recharge bandwidth optimization mapping set between the recharge delay difference and the recharge-bandwidth optimization multiple is constructed. The real-time recharge delay difference is input into the recharge bandwidth optimization mapping set, and the corresponding recharge-bandwidth optimization multiple is output. 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 of the fee control response delay 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.

[0061] Specifically, a difference operation is performed on the balance query delay and the reference query delay to obtain the corresponding balance delay difference. A balance-bandwidth optimization mapping set is constructed between the balance delay difference and the balance-bandwidth optimization multiple. The real-time balance delay difference is input into the balance-bandwidth optimization mapping set, and the corresponding balance-bandwidth optimization multiple is output. The balance-bandwidth optimization mapping set represents a set of mapping relationships between balance delay differences and balance-bandwidth optimization multiples.

[0062] In addition, 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. The recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple are weighted and coupled with the corresponding bandwidth optimization allocation ratio to obtain a comprehensive bandwidth optimization multiple. 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.

[0063] Specifically, the bandwidth optimization allocation ratio represents the degree of influence of the recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple on the overall bandwidth optimization multiple. The recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple have a unique mapping relationship with their corresponding bandwidth optimization allocation ratios, and their values ​​range from 0 to 1. For example, a mapping set is constructed between the recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple and the preset bandwidth optimization allocation ratio. The real-time recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple are input into the mapping set to obtain the corresponding recharge bandwidth optimization allocation ratio and balance bandwidth optimization allocation ratio, indicating the degree of influence of the recharge-bandwidth optimization multiple and the balance-bandwidth optimization multiple on the overall bandwidth optimization multiple, and the sum of the two is 1.

[0064] In this embodiment, bandwidth is adjusted by using specific fee control response delay balance flags and fee control response delay balance flags to more accurately optimize bandwidth resource allocation for different operations (recharge operations and balance inquiries). Different optimization strategies are also adopted based on different delay causes (recharge or balance inquiries), making bandwidth utilization more precise. When both delay issues exist simultaneously, bandwidth is optimized through comprehensive calculations, achieving more balanced bandwidth allocation and preventing a single operation (such as recharge or balance inquiries) from occupying excessive resources.

[0065] like Figure 3 As shown, it is a flowchart for determining whether to optimize the detection channel provided by an embodiment of the present application. The specific logic is: real-time statistics of the detection channel recharge mark number and the detection channel balance mark number in the detection channel mark number of each detection channel, and the detection channel recharge mark number and the detection channel balance mark number are respectively compared with the preset mark number, and the preset mark number includes the detection channel recharge mark preset number and the detection channel balance mark preset number; if the number of marks of the detection channel No. 1 is greater than the detection channel recharge mark preset number, or the number of marks of the detection channel No. 2 is greater than the detection channel balance mark preset number, then a channel operation and maintenance prompt is performed; if the number of marks of the detection channel recharge and the number of marks of the detection channel balance are not greater than the corresponding preset mark numbers, the detection channel performance is quantified to obtain a corresponding detection channel judgment index, and the detection channel judgment index is compared with the detection channel threshold: if the detection channel judgment index is greater than the detection channel threshold, the detection channel is closed, and a channel operation and maintenance prompt is performed at the same time, otherwise the fee control function test is continued; through the above process, it is beneficial for the test system to promptly discover possible abnormal detection channels and perform channel operation and maintenance in a timely manner, thereby avoiding more detection problems caused by abnormal detection channels, thereby improving the efficiency of fee control function detection of the electric energy meter to be tested.

[0066] Furthermore, the specific steps for determining whether to optimize the detection channel are as follows:

[0067] First, the detection channel recharge mark times and the detection channel balance mark times in the detection channel mark times of each detection channel are counted in real time, and the detection channel recharge mark times and the detection channel balance mark times are compared with the preset mark times obtained from the preset database respectively. The preset mark times include the detection channel recharge mark preset times and the detection channel balance mark preset times; wherein, the preset mark times are pre-set by the preset staff and stored in the preset database.

[0068] Then, if the number of times the No. 1 mark of the detection channel is greater than the preset number of times the recharge mark of the detection channel is checked, or the number of the No. 2 mark of the detection channel is greater than the preset number of times the balance mark of the detection channel is checked, 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 detection channel recharge marks and the number of detection channel balance marks are not greater than the corresponding preset mark times, the detection channel performance is quantified to obtain the corresponding detection channel judgment index, and the detection channel judgment index is compared with the detection channel threshold obtained from the preset database: if the detection channel judgment index is greater than the detection channel threshold, the detection channel is closed and a channel operation and maintenance prompt is issued at the same time, otherwise the fee control function test continues.

[0070] In this embodiment, by monitoring the number of recharge marks and the number of balance marks on the detection channel, the test system can intelligently discover detection channels that may have potential abnormalities, perform operation and maintenance processing in a timely manner, avoid larger-scale detection problems caused by abnormalities in the detection channel, and improve detection efficiency; at the same time, real-time statistics and automatic judgment are performed, reducing the need for manual intervention, and can quickly and accurately locate the detection channels that need maintenance, thereby improving operation and maintenance efficiency and response speed.

[0071] Furthermore, the detection channel performance is quantified to obtain the corresponding detection channel judgment index. The specific process is as follows:

[0072] The first step is to obtain the detection channel analysis data and detection channel judgment data of the corresponding detection channel. The detection channel analysis data includes the number of production batch mark types, the number of detection channel recharge marks, and the number of detection channel balance marks. The detection channel judgment data includes channel response delay, channel data loss rate, channel signal strength, and channel load.

[0073] It should be noted that the number of production batch tag types indicates the number of different production batches in the number of production batch tag times, the number of detection channel recharge tags indicates the number of times the detection channel has been marked with the detection channel recharge tag, and the number of detection channel balance tags indicates the number of times the detection channel has been marked with the detection channel balance tag. The channel response delay is obtained by tracking the delay of data packets in real time using network performance monitoring tools (such as Wireshark and PingPlotter). The channel data loss rate is obtained by monitoring the number of data packets lost in the link through traffic statistics commonly provided by routers and switches, and then calculating the ratio between the number of data packets and the total number of data packets. The channel signal strength is obtained by measuring the signal strength using a dedicated wireless signal analyzer (such as NetSpot and inSSIDer). The channel load is obtained using the resource monitoring tools provided by the operating system (such as the Windows Task Manager or the Linux netstat and iftop commands).

[0074] The second step is to obtain the detection channel reference ratio and channel load limit value from the preset database. The detection channel reference ratio includes the detection channel analysis ratio and the detection channel judgment ratio. The detection channel analysis ratio includes the production batch mark type analysis ratio and the detection channel mark number analysis ratio. The detection channel judgment ratio includes the response delay judgment ratio, data loss judgment ratio, signal strength judgment ratio and channel load judgment ratio.

[0075] Specifically, the detection channel analysis ratio 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 ratio, and the value range is between 0 and 1. For example, a mapping set of detection channel analysis data and preset detection channel analysis ratios is constructed, and the real-time number of production batch mark types, the number of detection channel recharge marks, and the number of detection channel balance marks are input into the mapping set to obtain the corresponding production batch mark type analysis ratio and detection channel mark number analysis ratio, which represents the degree of influence of the production batch mark type number, the number of detection channel recharge marks, and the number of detection channel balance marks on the detection channel score, and the sum of the two is 1.

[0076] Specifically, the detection channel determination ratio represents the degree of influence of the detection channel analysis data on the detection channel determination index. Each detection channel determination data has a unique mapping relationship with its corresponding detection channel determination ratio, and the value range is between 0 and 1. For example, a mapping set of detection channel determination data and preset detection channel determination ratios 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, indicating the degree of influence 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 pre-set by a preset staff according to the detection channel requirements of the fee control function detection and stored in a preset database.

[0078] In the third step, the detection channel analysis data is weighted and coupled with the corresponding detection channel analysis ratio 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 when the detection channel simulates fee control detection.

[0079] The specific expression of the detection channel score is as follows:

[0080] ;

[0081] in, Indicates the number of production batch mark types in the number of detection channel marks of the detection channel. Indicates the number of detection channel recharge marks in the detection channel mark times of the detection channel. Indicates the number of detection channel balance marks in the detection channel mark times of the detection channel. Indicates the proportion of production batch marking type analysis, Indicates the percentage of detection channel marking times analyzed. Indicates the detection channel score of the detection channel.

[0082] In the formula, as the number of production batch mark types increases, there may be more production batches with abnormalities, and the corresponding detection channel score will be larger. When the number of detection channel recharge marks and the number of detection channel balance marks increase, the corresponding sum of the two will be larger, indicating that the probability of a problem in the detection channel is greater, and the corresponding detection channel score will be larger. Quantitative analysis of the detection channel score helps to more accurately quantify the probability of detection channel problems caused by channel response delay, so that corresponding measures can be taken in a timely manner for optimization, thereby improving the efficiency of fee control function detection.

[0083] In the fourth step, the corresponding detection channel impact factor is obtained based on the detection channel score mapping. The detection channel impact factor represents the data of the degree of influence of the detection channel response delay on the detection channel performance judgment.

[0084] Specifically, a detection channel influence mapping set of detection channel scores and detection channel influence factors is constructed, and the real-time detection channel scores are input into the detection channel influence mapping set to obtain the corresponding detection channel influence factors. The detection channel influence mapping set represents a set of mapping relationships between detection channel scores and detection channel influence factors.

[0085] In the fifth step, the detection channel judgment data is normalized and weighted based on the detection channel judgment ratio to obtain the detection channel judgment initial index.

[0086] In the sixth step, the detection channel influencing factor and the detection channel initial determination index are compensated to obtain the detection channel determination index. The detection channel determination index is used to quantify the probability of abnormality in the detection channel performance.

[0087] The compensation operation represents a multiplication operation of the detection channel influence factor and the detection channel determination initial index.

[0088] The specific limiting expression of the detection channel determination index is as follows:

[0089] ;

[0090] Where, Indicates the channel response delay of the detection channel, Indicates the channel data loss rate of the detection channel, Indicates the channel signal strength of the detection channel, Indicates the channel load of the detection channel, Indicates the channel load limit value, Indicates the response delay judgment ratio, Indicates the percentage of data loss judgment. Indicates the signal strength determination ratio, Indicates the channel load determination ratio, represents the detection channel impact factor of the detection channel, Indicates the detection channel judgment index of the detection channel.

[0091] In this embodiment, the algorithm combines the detection channel judgment data, the detection channel judgment ratio and the detection channel influencing factor for analysis to obtain the corresponding detection channel judgment index. In the formula, as the channel response delay and the channel data loss rate increase, the probability that there is a problem in the channel communication process becomes greater, and the corresponding detection channel judgment index becomes larger. When the channel signal strength is greater, the detection channel signal quality becomes higher, and the corresponding detection channel judgment index becomes smaller. At the same time, when the channel load is higher than the channel load limit value, the channel load becomes more unbalanced, and the corresponding detection channel judgment index becomes larger. The above analysis of the detection channel judgment index helps to more accurately quantify the probability of abnormalities in the detection channel, so as to make judgments based on this in a timely manner, and then perform channel operation and maintenance, reduce the probability of reduced detection efficiency due to detection channel problems, and help improve the efficiency of detection of the fee control function of the electricity meter to be detected.

[0092] Furthermore, it is determined whether to perform production batch allocation test optimization. The specific steps are as follows:

[0093] U1, real-time statistics of 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, and compares 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 of detecting the production batch recharge mark and the preset times of detecting the channel balance mark.

[0094] Specifically, the preset batch limit times are preset by a preset staff member and stored in a preset database.

[0095] U2, if the number of production batch recharge marks corresponding to the fee-controlled electricity meter to be tested is greater than the preset number of production batch recharge marks, or the number of detection channel balance marks corresponding to the fee-controlled electricity meter to be tested is greater than the preset number of detection channel balance marks, the corresponding production batch will be marked as the first production batch to be allocated and production batch allocation detection optimization will be performed.

[0096] U3, if the number of production batch markings is not greater than the corresponding preset batch limit number, then obtain the electricity meter production batch score of the electricity meter to be tested in the production batch, and 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, the corresponding production batch will be marked as the second production batch to be allocated for production batch allocation detection optimization, otherwise continue to perform fee control function detection.

[0097] Specifically, the production batch threshold is obtained from a preset database. Preset staff substitutes the historical data of electricity meter analysis data corresponding to the qualified electricity meter fee control function test results from the production batch score into the specific restriction expression for the electricity meter production batch score to obtain the corresponding data set. The production batch threshold is then calculated by performing a mean operation on the data set.

[0098] In this embodiment, by real-time statistics and comparison of the number of recharge marks of the production batch and the number of balance marks of the detection channel, it is helpful to more accurately identify possible anomalies in the corresponding production batch and make timely optimizations, thereby ensuring the production quality and detection efficiency of the electric energy meters to be tested; and by setting the preset batch limit number and the production batch score threshold, it is helpful to ensure the efficient allocation of detection resources, avoid excessive optimization intervention on unnecessary production batches, and thus improve detection efficiency.

[0099] Furthermore, the specific process of obtaining the production batch score of the electricity meter is as follows:

[0100] First, the production batch electric energy meter analysis data of the corresponding production batch is obtained, and the electric energy meter analysis data includes the number of recharge marks of the production batch, the number of detection channel balance marks, the average recharge operation delay and the average balance query delay.

[0101] It should be explained that the average recharge operation delay is obtained by averaging the recharge operation delays when the recharge operation delay is greater than the reference recharge delay, and the average balance query delay is obtained by averaging the balance query delays when the balance query delay is greater than the reference query delay.

[0102] At the same time, the production batch analysis ratio is obtained 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 degree of influence of the production batch electricity meter analysis data on the electricity meter production batch score. Each production batch electricity meter analysis data has a unique mapping relationship with its corresponding production batch analysis ratio, and the value range is between 0 and 1. For example, a mapping set of production batch electricity meter analysis data and preset production batch analysis ratios is constructed, and the real-time production batch recharge mark number, detection channel balance mark number, average recharge operation delay, and average balance query delay are input into the mapping set to obtain the corresponding production batch recharge mark ratio, detection channel balance mark ratio, recharge operation delay ratio, and balance query delay ratio, which respectively represent the degree of influence of the production batch recharge mark number, detection channel balance mark number, average recharge operation delay, and average balance query delay on the electricity meter production batch score, and the sum of the four is 1.

[0104] Next, the average recharge operation delay and the average balance query delay are subjected to deviation quantification operations with the corresponding reference recharge delay and reference query delay to obtain recharge difference amounts and query difference amounts, respectively.

[0105] It should be added that the specific expression of the recharge difference is as follows:

[0106] ;

[0107] in, Indicates the average recharge operation delay of the energy meters to be tested in the corresponding production batch, Indicates the reference recharge delay, Indicates the recharge difference of the electric energy meters 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 is greater.

[0108] It should be added that the specific expression for querying the difference is as follows:

[0109] ;

[0110] in, Indicates the average balance query delay of the electric energy meters to be tested in the corresponding production batch. represents the reference query delay, Indicates the query difference of the electric energy meters to be tested in the corresponding production batch; wherein, 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 is greater.

[0111] Finally, the production batch score of the electric energy meter is obtained by weighting the number of recharge marks in the production batch, the number of balance marks in the detection channel, the recharge difference and the query difference, and coupling them with the corresponding production batch analysis ratio. The production batch score of the electric energy meter is used to quantify the probability of abnormality in the electric energy meter to be detected in the corresponding production batch.

[0112] The specific limiting expression for the production batch fraction of electric energy meters is as follows:

[0113] ;

[0114] Where, Indicates the number of production batch recharge marks for the electric energy meter to be tested in the corresponding production batch. Indicates the number of detection channel balance marks of the electric energy meter to be detected in the corresponding production batch. Indicates the proportion of recharge marks in production batches, Indicates the proportion of detection channel balance mark, Indicates the proportion of recharge operation delay, Indicates the balance query delay ratio, Indicates the production batch score of the electric energy meter to be tested in the corresponding production batch.

[0115] In this embodiment, the algorithm combines the number of recharge marks of the production batch, the number of detection channel balance marks, the recharge difference and the query difference with the corresponding production batch analysis ratio to obtain the production batch score of the electricity meter. In the formula, as the number of recharge marks of the production batch, the number of detection channel balance marks, the recharge difference and the query difference increase, the probability of production problems in the corresponding production batch is greater, and the corresponding production batch score of the electricity meter is greater; quantitative analysis of the production batch score of the electricity meter helps to more accurately quantify the probability of production errors in the electricity meter of the corresponding production batch, so as to take corresponding production batch allocation optimization measures in time, thereby improving the efficiency of the electricity meter fee control function detection.

[0116] Furthermore, the specific process of optimizing the production batch allocation test is as follows:

[0117] P1, all the fee-controlled electric energy meters to be tested in the first production batch to be assigned are assigned to the optimal detection channel for detection. If the number of production batch markings of the electric energy meters to be tested in the production batch to be assigned in the optimal detection channel exceeds the first preset resumption of work number, the remaining electric energy meters to be tested in the first production batch to be assigned are assigned to the resumption of work transmission conveyor belt, otherwise the fee control function detection will continue. The optimal detection channel refers to the detection channel with the lowest number of detection channel markings.

[0118] P2, all the fee-controlled electric energy meters to be tested in the second production batch to be allocated are allocated to the optimal detection channel for detection. If the number of production batch markings of the electric energy meters to be tested in the second production batch to be allocated in the optimal detection channel exceeds the second preset resumption of work number, the remaining electric energy meters to be tested in the second production batch to be allocated will be allocated to the resumption of work transmission conveyor belt, otherwise the fee control function detection will continue, and the second preset resumption of work number is greater than the first preset resumption of work number.

[0119] Specifically, the second preset number of resumptions of work and the first preset number of resumptions of work are both preset by the preset staff and stored in the preset database.

[0120] In this embodiment, by allocating the electric energy meters to be inspected in the production batch to be assigned to the optimal inspection channel, it is helpful to further ensure the probability of problems existing in the electric energy meters to be inspected in the corresponding production batch, thereby improving the utilization efficiency of inspection resources; and allocating the electric energy meters to be inspected in the production batch to be assigned to the inspection channel with the least number of markings helps to balance the workload of each inspection channel, thereby improving the efficiency of the entire inspection process.

[0121] like Figure 4, which is a structural diagram of a fee control intelligent detection system for a single-phase fee control smart energy meter provided in 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 status detection after the electric energy meter to be detected is connected to each detection channel. According to the communication network status detection result, it is determined whether to optimize the fee control response delay to obtain the corresponding fee control response delay. The fee control response delay includes the recharge operation delay and the balance query delay. The fee control response delay optimization is used to reduce the electric energy meter fee control response delay error caused by network communication failure. The simulated fee control detection is the detection link in the fee control function detection.

[0123] The marking-delay optimization module is used to mark the fee control response delay based on the obtained fee control response delay, and to determine 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. The delay optimization measures are used to reduce the response delay of the electricity meter fee control function detection during the multi-channel fee control function detection process.

[0124] The channel-batch detection optimization module is used to determine the detection channel impact based on the number of detection channel markings of each detection channel to determine whether to perform detection channel optimization, and to determine the impact of the electricity meter production batch by the number of production batch markings of each electricity meter production batch to determine whether to perform production batch allocation detection optimization. The detection channel optimization is used to optimize the detection channel performance 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 meter corresponding to the 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 the communication failure, the fee control response delay error of the electricity meter caused by the network communication failure is effectively reduced, which helps to ensure the stability and accuracy of the fee control function detection when the network fluctuates or fails; and based on the real-time monitoring of the delay, the optimization strategy can be dynamically adjusted to ensure that the impact of the delay between different channels is reduced during multi-channel parallel detection; at the same time, the detection channel recharge mark and production batch mark not only help to timely mark the detection channel with response delay and the production batch corresponding to the electricity meter, but also through continuous statistical analysis of the number of marks, it is conducive to timely operation and maintenance of the detection channel that may have problems, and to resume work on the electricity meters of the production batch that may have problems without fee control function detection, thereby improving the overall detection efficiency of the electricity meters to be detected; through the optimization of this system, not only the real-time response capability of the system is improved, but also the reduction in detection efficiency due to delay problems is avoided. At the same time, the optimized allocation mechanism also improves the efficiency of fee control function detection.

[0126] In summary, the embodiment of the present application performs simulated fee control detection and communication network status detection after the electric energy meter to be detected is connected to each detection channel, and then determines whether to optimize the fee control response delay based on the detection result to obtain the corresponding fee control response delay, and accordingly marks the fee control response delay to determine whether to take delay optimization measures, and finally determines the impact of the detection channel by the number of detection channel marks to determine whether to optimize the detection channel, and determines the impact of the electric energy meter production batch by the number of production batch marks to determine whether to optimize the production batch allocation detection, thereby reducing the delay of the electric energy meter fee control detection, and further achieving an improvement in the efficiency of the electric energy meter fee control detection, and effectively solving the problem in the prior art that the delay difference between the simulated recharge and balance management links leads to reduced detection efficiency of the electric energy meter's fee control function.

[0127] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0128] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0129] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0130] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0131] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0132] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.

Claims

1. A fee control intelligent detection method for a single-phase fee control intelligent energy meter, characterized in that: The following steps are involved: After the electric energy meter to be tested is connected to each detection channel, a simulated fee control test and a communication network status test are performed. Based on the communication network status test results, it is determined whether to perform fee control response delay optimization to obtain the corresponding fee control response delay. The fee control response delay includes the recharge operation delay and the balance query delay. The fee control response delay optimization is used to reduce the electric energy meter fee control response delay error caused by network communication failures; Marking the fee control response delay based on the obtained fee control response delay, and determining whether to take delay optimization measures based on the number of fee control response marks, the number of fee control response marks including the number of detection channel marks and the number of production batch marks, and taking the delay optimization measures to reduce the response delay of the fee control function test of the electric energy meter during the multi-channel fee control function test; The detection channel impact is determined by the number of detection channel markings of each detection channel to determine whether to perform detection channel optimization, and the electricity meter production batch impact is determined by the number of production batch markings of each electricity meter production batch to determine whether to perform production batch allocation detection optimization. The detection channel optimization is used to optimize the detection channel performance 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 corresponding production batch electricity meter to improve detection efficiency.

2. The fee control intelligent detection method for a single-phase fee control intelligent energy meter according to claim 1, characterized in that: The specific steps of determining whether to perform fee control response delay optimization based on 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, corresponding network status determination data is obtained, and the network status determination data is compared with network status reference data obtained from a preset database, wherein the network status determination data includes network delay, packet loss rate, data packet delay fluctuation, bandwidth utilization, and connection timeout duration, and the network status reference data includes a network delay reference limit, a packet loss rate reference limit, a data packet delay fluctuation reference limit, a bandwidth utilization reference limit, and a connection timeout duration reference limit; Step 2: If any network condition determination data is greater than the corresponding network condition reference data, then obtaining a network condition anomaly difference between the network condition determination data and the corresponding network condition reference data, and mapping the corresponding delay influencing factor from a preset database according to the network condition anomaly difference; If the delay influencing factor amount is greater than the delay influencing factor amount limit obtained from the preset database, a compensation calculation is performed on the actual detection delay of each detection channel obtained based on the delay influencing factor amount to obtain a fee control response delay, where the actual detection delay includes the actual balance query delay and the actual recharge operation delay, and the fee control response delay includes the balance query delay and the recharge operation delay; If the delay influencing factor amount is not greater than the delay influencing factor amount limit obtained from the preset database, the actual detection delay is recorded as the fee control response delay; Step 3: If 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.

3. The fee control intelligent detection method for a single-phase fee control intelligent energy meter according to claim 2, characterized in that: The specific process of marking the fee control response delay 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 delay recharge mark is performed; otherwise, the fee control response delay recharge mark is not performed. The fee control response delay recharge mark indicates that the corresponding detection channel is marked as a detection channel recharge mark, and the production batch corresponding to the electric energy meter to be detected is marked as a production batch recharge mark; If the recharge operation delay is not greater than the reference recharge delay obtained from the preset database, the fee control function test is continued; If the balance query delay is greater than the reference query delay obtained from the preset database, the fee control response delay balance mark is performed, otherwise the fee control response delay balance mark is not performed. The fee control response delay balance mark indicates that the corresponding detection channel is marked with a detection channel balance, and the detection channel balance mark is performed on the fee control electric energy meter to be detected in the corresponding production batch; The detection channel marking times include the detection channel recharge marking times and the detection channel balance marking times; The production batch marking times include the production batch recharge marking times and the detection channel balance marking times.

4. The fee control intelligent detection method for a single-phase fee control intelligent energy meter according to claim 3, characterized in that: The specific process of determining whether to take delay optimization measures based on the number of fee control response marks is as follows: If only the fee control response delay recharge mark 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 balance mark of the fee control response delay is performed, the balance-bandwidth optimization factor 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 factor; If both the top-up-bandwidth optimization multiple and the balance-bandwidth optimization multiple are obtained, the corresponding bandwidth optimization allocation ratio is obtained from a preset database. A comprehensive bandwidth optimization multiple is obtained by coupling the top-up-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 top-up bandwidth optimization allocation ratio and the balance bandwidth optimization allocation ratio.

5. The fee control intelligent detection method for a single-phase fee control intelligent energy meter according to claim 1, characterized in that: The specific steps of determining whether to perform detection channel optimization are as follows: Real-time statistics are generated for the detection channel recharge mark times and the detection channel balance mark times in the detection channel mark times of each detection channel, 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, wherein the preset mark times include the detection channel recharge mark preset times and the detection channel balance mark preset times; If the number of detection channel recharge marks is greater than the preset number of detection channel recharge marks, or the number of detection channel balance marks is greater than the preset number of detection channel balance marks, a channel operation and maintenance prompt is performed, 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 the detection channel recharge mark times and the detection channel balance mark times are both 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 judgment index is greater than the detection channel threshold, the detection channel will be closed and a channel operation and maintenance prompt will be given. Otherwise, the fee control function test will continue.

6. The fee control intelligent detection method for a single-phase fee control intelligent energy meter according to claim 5, characterized in that: The specific process of quantifying the detection channel performance to obtain the corresponding detection channel determination index is as follows: Acquire detection channel analysis data and detection channel determination data of the corresponding detection channel, wherein the detection channel analysis data includes the number of production batch marking types, the number of detection channel recharge marking times, and the number of detection channel balance marking times; and the detection channel determination data includes channel response delay, channel data loss rate, channel signal strength, and channel load; Obtaining a detection channel reference ratio and a channel load limit value from a preset database, wherein the detection channel reference ratio includes a detection channel analysis ratio and a detection channel determination ratio, wherein the detection channel analysis ratio includes a production batch mark type analysis ratio and a detection channel mark number analysis ratio, and the detection channel determination ratio includes a response delay determination ratio, a data loss determination ratio, a signal strength determination ratio, and a channel load determination ratio; The detection channel analysis data is weighted and coupled with the corresponding detection channel analysis ratio 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 simulation fee control test; Obtaining a corresponding detection channel impact factor based on the detection channel score mapping, wherein the detection channel impact factor represents data indicating the degree of influence of the detection channel response delay on the detection channel performance determination; The detection channel judgment data is normalized and weighted based on the detection channel judgment ratio to obtain the detection channel judgment initial index. The detection channel influence factor and the detection channel determination initial index are compensated to obtain the detection channel determination index, which is used to quantify the probability of abnormality in the detection channel performance.

7. The fee control intelligent detection method for a single-phase fee control intelligent 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 counting of the production batch recharge mark times and the detection channel balance mark times in the production batch mark times of each electric energy meter production batch, and comparing the production batch recharge mark times and the detection channel balance mark times with the preset batch limit times obtained from the preset database, the preset batch limit times including the preset number of detection production batch recharge mark times and the preset number of detection channel balance mark times; U2: If the number of production batch recharge marks corresponding to the fee-controlled electric energy meter to be tested is greater than the preset number of production batch recharge marks, or the number of detection channel balance marks corresponding to the fee-controlled electric energy meter to be tested is greater than the preset number of detection channel balance marks, the corresponding production batch will be marked as the first production batch to be allocated and the production batch allocation detection optimization will be performed; U3, if the number of production batch markings is not greater than the corresponding preset batch limit number, then obtain the electricity meter production batch score of the electricity meter to be tested in the production batch, and 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, the corresponding production batch will be marked as the second production batch to be allocated for production batch allocation detection optimization, otherwise continue to perform fee control function detection.

8. The fee control intelligent detection method for a single-phase fee control intelligent energy meter according to claim 7, characterized in that: The specific process of obtaining the production batch score of the electric energy meter is as follows: Obtaining production batch electric energy meter analysis data corresponding to the production batch, the electric energy meter analysis data including the number of recharge marks of the production batch, the number of detection channel balance marks, the average recharge operation delay, and the average balance query delay; Obtaining a production batch analysis ratio from a preset database, the production batch analysis ratio including a production batch recharge mark ratio, a detection channel balance mark ratio, a recharge operation delay ratio, and a balance query delay ratio; The average recharge operation delay and the average balance query delay are quantified by the deviation difference between them and the corresponding reference recharge delay and reference query delay to obtain the recharge difference amount and query difference amount respectively; The production batch score of the electric energy meter is obtained by weighting the number of recharge marks in the production batch, the number of balance marks in the detection channel, the recharge difference and the query difference, and coupling them with the corresponding production batch analysis ratio. The production batch score of the electric energy meter is used to quantify the probability of abnormality in the electric energy meter to be detected in the corresponding production batch.

9. The fee control intelligent detection method for a single-phase fee control intelligent energy meter according to claim 7, characterized in that: The specific process of performing the production batch allocation detection optimization is as follows: All the fee-controlled electric energy meters to be tested in the first production batch to be allocated are allocated to the optimal detection channel for testing. If the number of production batch markings of the electric energy meters to be tested in the production batch to be allocated on the optimal detection channel exceeds the first preset resumption number, the remaining electric energy meters to be tested in the first production batch to be allocated are allocated to the resumption conveyor belt. Otherwise, the fee control function test continues. The optimal detection channel refers to the detection channel with the lowest number of detection channel markings; All the fee-controlled electric energy meters to be tested in the second production batch to be allocated are allocated to the optimal detection channel for detection. If the number of production batch markings of the electric energy meters to be tested in the second production batch to be allocated in the optimal detection channel exceeds the second preset resumption of work number, the remaining electric energy meters to be tested in the second production batch to be allocated are allocated to the resumption of work transmission conveyor belt, otherwise the fee control function detection will continue, and the second preset resumption of work number is greater than the first preset resumption of work number.

10. The fee control intelligent detection system for single-phase fee control smart energy meters includes a communication-fee control optimization delay module, a marking-delay optimization module, and a channel-batch detection optimization module: in, The communication-fee control optimization delay module is used to perform simulated fee control detection and communication network status detection after the electric energy meter to be detected is connected to each detection channel. According to the communication network status detection result, it is determined whether to optimize the fee control response delay to obtain the corresponding fee control response delay. The fee control response delay includes the recharge operation delay and the balance query delay. The fee control response delay optimization is used to reduce the electric energy meter fee control response delay error caused by network communication failure; The marking-delay optimization module is used to mark the fee control response delay based on the obtained fee control response delay, and determine whether to take delay optimization measures based on the number of fee control response marks, the number of fee control response marks including the number of detection channel marks and the number of production batch marks. The delay optimization measures are used to reduce the response delay of the fee control function test of the electric energy meter during the multi-channel fee control function test; The channel-batch detection optimization module is used to determine the detection channel impact based on the number of detection channel markings of each detection channel to determine whether to perform detection channel optimization, and to determine the electric energy meter production batch impact based on the number of production batch markings of each electric energy meter production batch to determine whether to perform production batch allocation detection optimization. The detection channel optimization is used to optimize the detection channel performance 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 meter corresponding to the production batch to improve 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

  • Special IC card intelligent water meter capable of being stored for rural water supply and remote payment method

    CN119625889A