Electricity meter data complementary reading method
By establishing a missed data collection queue in the power metering system and implementing hierarchical priority data collection, the problem of untimely or incorrect meter data collection was solved, achieving timely data collection and completeness, and improving the system's automation and data accuracy.
Patent Information
- Application Number
- CN202511124518.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-12
- Publication Date
- 2025-11-18
AI Technical Summary
In electricity metering systems, some meter data is not collected on time or correctly. The existing retry mechanism cannot guarantee the successful collection of all data in some cases, resulting in incomplete data collection.
A method for supplementing electricity meter data is provided. By establishing a missed data queue within the meter reading cycle, the remaining time is used to supplement data with hierarchical priority, ensuring that uncollected data is supplemented in a timely manner in subsequent cycles. This includes establishing a missed data queue, calculating the remaining idle time and estimating the supplementation time, supplementing data according to task priority, and detecting abnormal data during the supplementation process.
It enables timely re-copying of uncollected data, ensuring the integrity of data collection, improving the system's data collection efficiency and accuracy, reducing manual intervention, enhancing the system's automation level, and avoiding subsequent analysis and billing errors caused by data loss.
Smart Images

Figure CN120980372A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power system control technology, and in particular to a method for supplementing electricity meter data. Background Technology
[0002] In electricity metering systems, concentrator terminals are responsible for collecting data from multiple meters. However, due to various factors, such as communication interruptions, meter malfunctions, or external environmental factors, some meter data may not be collected on time or correctly.
[0003] While existing technologies have retry mechanisms for electricity meter data acquisition, they cannot guarantee successful acquisition of all data in certain situations. Therefore, how to utilize the remaining time in subsequent cycles to re-collect the data that was not successfully acquired is a pressing issue that needs to be addressed. Summary of the Invention
[0004] Based on the above-mentioned situation of the prior art, the purpose of this embodiment of the invention is to provide a method for supplementing electricity meter data. By utilizing the remaining time of the current meter reading cycle and subsequent meter reading cycles to supplement the data that was not successfully collected, the method ensures that the missed data is accurately and timely supplemented, thereby guaranteeing the integrity of data collection.
[0005] To achieve the above objectives, according to a first aspect of the present invention, a method for supplementing electricity meter data is provided, applied to a concentrator terminal, comprising the following steps:
[0006] At the start of each preset meter reading cycle, data reading commands are sent to all meters in the preset physical address order.
[0007] If no valid data is received from the meter within the preset timeout threshold, a missed data queue is established based on the meter information, data information, and time information.
[0008] Within the current meter reading cycle, after the data collection for the current round is completed, the remaining idle time and the estimated time for a single supplementary reading are calculated. Supplementary reading is then performed based on the remaining idle time and the estimated time for a single supplementary reading.
[0009] Furthermore, based on meter information, data information, and time information, a missed data collection queue is established, including:
[0010] Extract the meter ID, uncollected data items, and original cycle time of the meter, and add the number of retries to form a missed data collection group;
[0011] A missed data collection queue is established based on the missed data collection information of each meter.
[0012] Furthermore, the method also includes the step of:
[0013] If valid data is received from the meter within the preset timeout threshold, the data acquisition success time, valid data, original cycle time, and data storage time are correlated to form a data acquisition array.
[0014] Furthermore, based on the remaining idle time of the current meter reading cycle and the estimated time for a single supplementary reading, data supplementary reading is performed, including the following steps:
[0015] When the remaining idle time is greater than the estimated time for a single meter reading, a task is extracted from the missed meter reading queue, and the meters in the missed meter reading queue are read again according to the preset physical address order and task priority.
[0016] Furthermore, the task priority includes a first-level task priority and a second-level task priority; the first-level task priority is higher than the second-level task priority.
[0017] Furthermore, the priority of newly generated missed data in the current cycle is set as the first-level task priority; the second-level task priority includes priority determined according to the second priority coefficient.
[0018] Furthermore, the second priority coefficient is calculated according to the following formula:
[0019] p=α×(t i -t0)+β×m+γn
[0020] Where p represents the second priority coefficient, t i t0 represents the current time, m represents the original cycle time, n represents the data importance, α, β and γ represent the weight coefficients of each item, and the sum of the weight coefficients is 1.
[0021] Furthermore, when the remaining idle time exceeds the estimated time for a single meter reading, tasks are extracted from the missed meter reading queue, and the meters in the queue are read according to the preset physical address order and task priority. This includes the following steps:
[0022] If the remaining idle time is greater than the estimated time for a single re-reading, select the meter corresponding to the newly generated missing information in the current meter reading cycle from the missing meter reading queue for the first re-reading;
[0023] After the first meter reading is completed, the remaining idle time within the current meter reading cycle is calculated again. If the remaining idle time is still greater than the estimated time for a single meter reading, the corresponding meters are selected from the missed meter reading queue in descending order according to the value of the second priority coefficient for a second meter reading.
[0024] Furthermore, the method also includes the step of:
[0025] During the data copying process, abnormal data detection is performed on the collected data.
[0026] Furthermore, the method also includes the step of:
[0027] If the number of retries in a missed data group exceeds a preset value, an alert will be issued and the administrator will be notified to manually repair it.
[0028] In summary, this invention provides a method for supplementing electricity meter data collection, applied to a concentrator terminal, comprising the following steps: at the beginning of each preset meter reading cycle, sending data reading instructions to all electricity meters according to a preset physical address order. If no valid collected data is received from the electricity meters within a preset timeout threshold, a missed data collection queue is established based on meter information, data information, and time information; within the current meter reading cycle, after the completion of the current round of data collection, calculating the remaining idle time and estimated time for a single supplementary data collection, and performing supplementary data collection based on the remaining idle time and estimated time for a single supplementary data collection. The technical solution of this invention utilizes the remaining time of the current meter reading cycle and subsequent meter reading cycles to supplement uncollected data, and provides a hierarchical priority supplementary data collection mechanism, while considering the timeliness and fairness of data supplementary data collection, and avoiding the risk of long-term missed data loss. Attached Figure Description
[0029] Figure 1 This is a flowchart of the meter data supplementation method provided in an embodiment of the present invention. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to specific embodiments and the accompanying drawings. It should be understood that these descriptions are merely exemplary and not intended to limit the scope of the invention. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concept of the invention.
[0031] It should be noted that, unless otherwise defined, the technical or scientific terms used in one or more embodiments of the present invention should have the ordinary meaning understood by one of ordinary skill in the art to which this invention pertains. The terms "first," "second," and similar terms used in one or more embodiments of the present invention do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the element or object listed following the word and its equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect.
[0032] An embodiment of the present invention provides a method for supplementing electricity meter data, used by a concentrator terminal for supplementing electricity meter data. Figure 1 The flowchart of the method is shown in the figure, such as Figure 1 As shown, the meter data supplementation method provided in this embodiment of the invention is applied to a concentrator terminal and includes the following steps:
[0033] S202. At the beginning of each preset meter reading cycle, a data reading command is sent to all meters according to a preset physical address order. The preset meter reading cycle is, for example, 1 hour, and the preset physical address order can be from the meter with the smallest address to the meter with the largest address. The concentrator terminal and the meters can transmit commands and data via power line carrier. In response to the data reading command, the meters return the collected data to the concentrator terminal, including electrical energy, voltage, and current values.
[0034] S204. If no valid data is received from the meter within the preset timeout threshold, a missed data collection queue is established based on the meter information, data information, and time information. Specifically, if no valid data is received from the meter within the preset timeout threshold, the meter ID, the uncollected data item, and the original cycle time are extracted, and the number of retries is added to form a missed data collection information data group. A missed data collection queue is established based on the missed data collection information data groups of each meter and stored in the database. If valid data is received from the meter within the preset timeout threshold, the successful data collection time is recorded, and the successful data collection time, valid data, original cycle time, and data storage time are correlated to form a collected data array, which is stored in the database. By using a dual-marking method of data storage time and successful data collection time, regular data and supplementary data can be effectively distinguished, facilitating subsequent querying and analysis.
[0035] S206. Within the current meter reading cycle, after the current round of data collection is completed, calculate the remaining idle time and estimated time for a single supplementary reading of the current meter reading cycle, and perform supplementary data reading based on the remaining idle time and estimated time for a single supplementary reading of the current meter reading cycle. The completion of the current round of data collection means that data reading commands have been sent to all meters in the preset physical address order, and the collected data has been received from the meters; or, no collected data has been received from the meters, but the preset timeout threshold has been exceeded and the data has been marked as missed. The remaining idle time can be calculated using the following formula:
[0036] Remaining idle time = Preset meter reading cycle duration - Data collection time for the current round - Safety buffer time
[0037] Estimated time for a single copying session = Historical average time per session * Safety factor
[0038] The safety buffer time can be set according to the preset meter reading cycle length and communication status, with the safety factor set to 1.5.
[0039] S208. When the remaining idle time is greater than the estimated time for a single re-reading, a task is extracted from the missed metering queue, and the meters in the missed metering queue are re-read according to the preset physical address order and task priority. If the re-reading is successful, a data collection array is formed according to the method in step S204, stored in the database, and the corresponding missed metering information data group is deleted from the missed metering queue; if the re-reading fails, the retry count in the corresponding missed metering information data group in the missed metering queue is incremented by 1. In this embodiment of the invention, the task priority setting is divided into two levels, with the first level task priority being higher than the second level task priority. The first level task priority is set to take the newly generated missed metering information in the current period as the first priority; the second level task priority is set to calculate the second priority coefficient, which can be calculated according to the following formula:
[0040] p=α×(t i -t0)+β×m+γn
[0041] Where p represents the second priority coefficient, t i t0 represents the current time, m represents the original cycle time, n represents the importance of the data (e.g., electrical energy is more important than voltage, which is more important than current), α represents the number of times the data is copied, and α, β, and γ represent the weight coefficients of each item. The sum of all weight coefficients is 1.
[0042] Meters in the missed data collection queue are selected based on task priority. First, meters are selected according to the first priority: if the remaining idle time within the current meter reading cycle exceeds the estimated time for a single re-reading, the meter corresponding to the newly generated missed data within the current reading cycle is selected for the first re-reading. After the first re-reading, the remaining idle time within the current reading cycle is recalculated. If the remaining idle time still exceeds the estimated time for a single re-reading, the meters are selected from the missed data collection queue in descending order according to the second priority coefficient for a second re-reading. By dynamically prioritizing missed data items, priority is given to re-reading important data or data with long missed periods, and the task execution order is rationally arranged, improving re-reading efficiency.
[0043] The above-described solution in this invention utilizes the idle time during the meter reading cycle for supplementary readings, avoiding interference with the data collection task of the current meter reading cycle and thus improving the overall data collection efficiency of the system. Simultaneously, intelligent supplementary readings and automatic reporting reduce the need for manual intervention and on-site maintenance, improving the system's automation and intelligence levels. By adopting the above supplementary reading mechanism, subsequent analysis and billing errors caused by data loss can be effectively avoided, ensuring the accuracy of electricity metering data.
[0044] According to some optional embodiments, during the supplementary meter reading process, abnormal data detection can also be performed on the collected data. For example, the supplementary reading value of the electricity energy data should not be less than the value of the previous meter reading cycle, nor should it be greater than the value of the next meter reading cycle. If an abnormal data is detected, the collected data is marked as abnormal data and the event is recorded, thereby ensuring the accuracy and rationality of the supplementary reading data. The abnormality detection mechanism can promptly detect and handle abnormalities in the supplementary reading data, ensuring data accuracy and preventing the generation of erroneous data.
[0045] In some optional embodiments, if a data item fails multiple times during the copying process, the system will automatically record the number of failures and determine whether to reschedule the copying task or perform manual intervention based on preset rules. If the copying fails, the system will mark the task as abnormal, record the event, and notify the administrator for manual repair. For example, if the number of retries in a missed data group exceeds a preset value, an alert can be issued and the administrator can be notified for manual repair to prevent the copying action from entering an infinite loop.
[0046] According to a specific embodiment of the present invention, after the concentrator terminal completes its routine meter reading task within the first meter reading cycle, it is assumed that data items from meter A were not successfully collected within the first meter reading cycle. The concentrator terminal checks the remaining idle time and performs a first round of supplementary reading, prioritizing the collection of missed data from meter A. If the supplementary reading is successful, the system stores the data in the database and records the data storage time and the successful collection time. If the supplementary reading fails, the system records the missed data items from meter A at the end of the first meter reading cycle and marks the cycle time as the first meter reading cycle.
[0047] During the second meter reading cycle, after the routine meter reading task is completed, the concentrator terminal will check for any data items that were not successfully collected during the current meter reading cycle and perform supplementary readings based on the remaining idle time. If the system has 30 minutes of idle time after the routine meter reading task is completed, the system will prioritize supplementing the data items that were not successfully collected during the current meter reading cycle and store the data in the database. After the supplementary readings are completed, the meter with the highest priority coefficient in the missed data collection queue will be supplemented. If the energy value of the supplementary data is lower than the data of the previous cycle or higher than the data of the subsequent cycle, the system will mark the data as abnormal, record the abnormal event, and report it to the maintenance personnel for further verification.
[0048] In summary, this invention relates to a method for supplementing electricity meter data collection, applied to a concentrator terminal, comprising the following steps: at the beginning of each preset meter reading cycle, sending data reading instructions to all electricity meters according to a preset physical address order. If no valid collected data is received from the electricity meters within a preset timeout threshold, a missed data collection queue is established based on meter information, data information, and time information; within the current meter reading cycle, after the completion of the current round of data collection, calculating the remaining idle time and estimated time for a single supplementary data collection, and performing supplementary data collection based on the remaining idle time and estimated time for a single supplementary data collection. The technical solution of this invention utilizes the remaining time of the current meter reading cycle and subsequent meter reading cycles to supplement uncollected data, and provides a hierarchical priority supplementary data collection mechanism, while considering the timeliness and fairness of data supplementary data collection, and avoiding the risk of long-term missed data loss.
[0049] It should be understood that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of the invention (including the claims) is limited to these examples. Within the framework of this invention, technical features of the above embodiments or different embodiments can also be combined, steps can be implemented in any order, and many other variations exist regarding different aspects of one or more embodiments of the invention as described above, which are not provided in the details for the sake of brevity. The specific embodiments described above are merely illustrative or explanatory of the principles of the invention and do not constitute a limitation thereof. Therefore, any modifications, equivalent substitutions, improvements, etc., made without departing from the spirit and scope of the invention should be included within the protection scope of the invention. Furthermore, the appended claims are intended to cover all variations and modifications falling within the scope and boundaries of the appended claims, or equivalent forms of such scope and boundaries.
Claims
1. A method for supplementing electricity meter data, characterized in that, Applied to concentrator terminals, including the following steps: At the start of each preset meter reading cycle, data reading commands are sent to all meters in the preset physical address order; If no valid data is received from the meter within the preset timeout threshold, a missed data queue is established based on the meter information, data information, and time information. Within the current meter reading cycle, after the data collection for the current round is completed, the remaining idle time and the estimated time for a single supplementary reading are calculated. Supplementary reading is then performed based on the remaining idle time and the estimated time for a single supplementary reading.
2. The method according to claim 1, characterized in that, Based on meter information, data information, and time information, a missed data collection queue is established, including: Extract the meter ID, uncollected data items, and original cycle time of the meter, and add the number of retries to form a missed data collection group; A missed data collection queue is established based on the missed data collection information of each meter.
3. The method according to claim 1, characterized in that, The method further includes the following steps: If valid data is received from the meter within the preset timeout threshold, the data acquisition success time, valid data, original cycle time, and data storage time are correlated to form a data acquisition array.
4. The method according to any one of claims 1-3, characterized in that, Data supplementation is performed based on the remaining idle time of the current meter reading cycle and the estimated time for a single supplementary reading, including the following steps: When the remaining idle time is greater than the estimated time for a single meter reading, a task is extracted from the missed meter reading queue, and the meters in the missed meter reading queue are read again according to the preset physical address order and task priority.
5. The method according to claim 4, characterized in that, The task priority includes a first-level task priority and a second-level task priority; the first-level task priority is higher than the second-level task priority.
6. The method according to claim 5, characterized in that, The priority of newly generated missed data in the current cycle is set as the first-level task priority; the second-level task priority includes priority determined according to the second priority coefficient.
7. The method according to claim 6, characterized in that, The second priority coefficient is calculated according to the following formula: p=α×(t i -t0)+β×m+γn Where p represents the second priority coefficient, t i t0 represents the current time, m represents the original cycle time, n represents the data importance, α, β and γ represent the weight coefficients of each item, and the sum of the weight coefficients is 1.
8. The method according to claim 4, characterized in that, When the remaining idle time exceeds the estimated time for a single meter reading, tasks are retrieved from the missed meter reading queue. Meters in the queue are then read according to a preset physical address order and task priority. This includes the following steps: If the remaining idle time is greater than the estimated time for a single re-reading, select the meter corresponding to the newly generated missing information in the current meter reading cycle from the missing meter reading queue for the first re-reading; After the first meter reading is completed, the remaining idle time within the current meter reading cycle is calculated again. If the remaining idle time is still greater than the estimated time for a single meter reading, the corresponding meters are selected from the missed meter reading queue in descending order according to the value of the second priority coefficient for a second meter reading.
9. The method according to claim 1, characterized in that, The method further includes the following steps: During the data copying process, abnormal data detection is performed on the collected data.
10. The method according to claim 2, characterized in that, The method further includes the following steps: If the number of retries in a missed data group exceeds a preset value, an alert will be issued and the administrator will be notified to manually repair it.
Citation Information
Cited By
Complementary reading scheduling method for high-frequency acquisition task, intelligent fusion terminal and medium
CN122269173A
A high-frequency acquisition task re-copying scheduling method, an intelligent fusion terminal and a medium
CN122269173B