A clock optimization method and system for a flexible rate electric energy meter

CN116260542BActive Publication Date: 2026-07-07STATE GRID JIANGSU ELECTRIC POWER CO LTD MARKETING SERVICE CENT

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
STATE GRID JIANGSU ELECTRIC POWER CO LTD MARKETING SERVICE CENT
Filing Date
2022-12-07
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

Clock errors in flexible rate electricity meters cause communication channel delays, affecting the accuracy of the meter clock and preventing timely updates. This leads to discrepancies between the frozen minute data and the actual data, impacting the fairness of time-of-use electricity billing.

Method used

By obtaining the time information of neighboring nodes, the reliability of the electricity meter node time is determined. When the conditions for suspicion or correction are met, the electricity meter time is directly synchronized with the concentrator or corrected locally to avoid the delay of broadcast time synchronization.

Benefits of technology

It enables dynamic, flexible, and timely updates of flexible rate electricity meters, ensures the accuracy of minute-by-minute frozen data, improves the reliability of electricity metering data, reduces network resource consumption of concentrators and system master stations, and lowers production costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116260542B_ABST
    Figure CN116260542B_ABST
Patent Text Reader

Abstract

A clock optimization method and system of a flexible rate electric energy meter, characterized in that the method comprises the following steps: step 1, collecting time information in a node message on a neighbor node of the electric energy meter, and determining the credibility of the node time on the electric energy meter according to the time information; step 2, when the credibility of the node time on the electric energy meter meets suspicious conditions, sending the node time on the electric energy meter to a concentrator corresponding to the electric energy meter to update the node time; step 3, when the credibility of the node time on the electric energy meter meets statistical correction conditions, correcting the node time on the electric energy meter by using the time information on the neighbor node. The present application has clear ideas, reliable process, real-time monitoring of surrounding neighbor nodes, dynamic, flexible, timely updating of meter time, guaranteeing the accuracy of flexible rate electric energy meter minute frozen data, and improving the reliability of electric quantity measurement data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electrical power measurement, and more specifically, to a clock optimization method and system for flexible rate electricity meters. Background Technology

[0002] Currently, flexible-rate electricity meters have changed the traditional method of processing and displaying rates and electricity consumption within the meter itself. These meters replace the fixed-period rate divisions of traditional meters with high-frequency data storage, allowing for the freezing of electricity consumption data every minute. This meets the requirements for monthly, hourly, and even minute-based electricity pricing. The electricity information collection system's main station accurately calculates the electricity consumption and charges for customers during peak, off-peak, and low-peak periods based on electricity pricing policies, enabling rapid and flexible switching between different billing periods. This efficiently supports dynamic rate adjustments, helping businesses flexibly adjust production plans and reduce electricity costs. Compared to traditional meters, this type of meter freezes data by the minute, placing higher demands on the accuracy of the meter's clock, which is precisely why it ensures fair and equitable electricity pricing for customers.

[0003] In existing technical solutions, when the clock error of such energy meters is allowed to be within 5 minutes, a remote broadcast time synchronization command needs to be issued by the concentrator to update the clock. When the concentrator typically uses broadcast time synchronization, all energy meters under the same concentrator device will respond to the broadcast time synchronization command. However, due to the impact of communication channel delays, clock asynchrony can occur among the energy meters, and even clock errors can occur.

[0004] When the clock error of the electricity meter exceeds 5 minutes, on-site time synchronization and point-to-point methods can be considered. On-site time synchronization typically involves calibrating the handheld clock using the marketing system's time synchronization download function, transferring the handheld clock to the on-site area where the electricity meter is located, and then updating the electricity meter's clock on-site via infrared or a 485 interface. While this method is accurate, it is time-consuming and labor-intensive, making it difficult to implement with a large number of electricity meters connected. On the other hand, the point-to-point method involves the concentrator issuing point-to-point time synchronization commands. Similar to the concentrator's broadcast time synchronization method, this point-to-point method is also affected by communication channel delays, impacting the accuracy of the electricity meter's clock.

[0005] Generally, when an electricity meter experiences clock discrepancies, it's mostly due to network connection failures or channel delays between the meter and the concentrator or system master station. When a meter experiences a clock discrepancy, it must wait for the concentrator or system master station to receive the meter's abnormality information before processing it, thus preventing timely time updates. For flexible-rate electricity meters, data needs to be frozen every minute. If a clock discrepancy occurs, the frozen minute data will deviate from the actual data. If the time isn't updated promptly and the meter continues to malfunction, it will severely impact time-of-use billing, harming the economic interests of both power companies and customers.

[0006] To address the aforementioned issues, there is an urgent need for a clock optimization method and system for flexible rate electricity meters. Summary of the Invention

[0007] To address the shortcomings of existing technologies, this invention provides a clock optimization method and system for flexible rate electricity meters. The method collects the reliability of the node time on the electricity meter by acquiring time information from neighboring nodes, and corrects and updates the node time based on the matching relationship between the reliability of the electricity meter node time and suspicious conditions and correction conditions.

[0008] The present invention adopts the following technical solution.

[0009] The first aspect of this invention relates to a clock optimization method for a flexible rate electricity meter, the method comprising the following steps: Step 1, collecting time information from node messages on neighboring nodes of the electricity meter, and determining the reliability of the node time on the electricity meter based on the time information; Step 2, when the reliability of the node time on the electricity meter meets the suspicious condition, sending the node time on the electricity meter to the concentrator corresponding to the electricity meter to update the node time; Step 3, when the reliability of the node time on the electricity meter meets the statistical correction condition, correcting the node time on the electricity meter using the time information from neighboring nodes.

[0010] Preferably, the electricity meter listens to the messages of neighboring nodes in real time, and after obtaining the messages, extracts the timestamps in the messages to collect time information; the neighboring nodes are one or more device nodes in the power grid that are adjacent to the electricity meter.

[0011] Preferably, the suspicious condition is that the number of suspicious neighbor nodes is greater than or equal to a first threshold; suspicious neighbor nodes are all neighbor nodes whose time information and the time information of the electricity meter are within the suspicious interval.

[0012] Preferably, when a suspicious condition is met, the electricity meter sends a node time confirmation request to its corresponding concentrator; after receiving the node time confirmation request, the concentrator issues a time synchronization command to the electricity meter; after receiving the time synchronization command, the electricity meter resynchronizes with the concentrator.

[0013] Preferably, the correction condition is that the number of suspicious nodes is less than a first threshold, and the number of corrected nodes is greater than the number of suspicious nodes and the number of reliable nodes, respectively; wherein, the corrected nodes are all neighboring nodes whose time information and the time information of the electricity meter are within the correction interval; and the reliable nodes are all neighboring nodes whose time information and the time information of the electricity meter are within the reliable interval.

[0014] Preferably, the reliable interval is the difference of all time information between 0 and the first time difference; the corrected interval is the difference of all time information between the first time difference and the second time difference; and the suspicious interval is the difference of all time information greater than the second time difference.

[0015] Preferably, the first time difference is 1 minute and the second time difference is 5 minutes.

[0016] Preferably, the correction interval is subdivided, and the time information of the electricity meter is corrected based on the probability distribution of the subdivided interval range into which all correction nodes fall.

[0017] Preferably, if the number of correction nodes falling into a certain subdivision interval is the largest, then the median value of that subdivision interval is used as the correction time to correct the time information of the electricity meter.

[0018] A second aspect of the present invention relates to a clock optimization system for a flexible rate electricity meter. The system includes a data acquisition module, an update module, and a correction module. The data acquisition module is used to acquire time information from node messages on neighboring nodes of the electricity meter and determine the reliability of the node time on the electricity meter based on the time information. The update module is used to send the node time on the electricity meter to the concentrator corresponding to the electricity meter to update the node time when the reliability of the node time on the electricity meter meets the suspicious condition. The correction module is used to correct the node information on the electricity meter using the time information from neighboring nodes when the reliability of the node time on the electricity meter meets the statistical correction condition.

[0019] The beneficial effects of this invention are that, compared with the prior art, the clock optimization method and system for flexible rate electricity meters in this invention can collect the reliability of the node time on the electricity meter by obtaining the time information of neighboring nodes, and realize the correction and update of the node time based on the matching relationship between the reliability of the electricity meter node time and the suspicious conditions and correction conditions. This invention has a clear concept and a reliable process. By initiating a self-calibration process through the meter node, it monitors the time information of surrounding neighboring nodes in real time, achieving dynamic, flexible, and timely updates of the meter time without going through a concentrator / system master station. This avoids the problem of existing broadcast time calibration, which only calibrates once a day and cannot update the meter time in a timely manner, ensuring the accuracy of the minute-freezing data of flexible rate electricity meters, improving the reliability of electricity metering data, and providing effective and reliable data support for the accurate calculation of synchronous line loss.

[0020] The beneficial effects of the present invention also include:

[0021] 1. Because meter nodes can synchronize time locally, the channel resources occupied by a large number of synchronization messages are transferred to the meter side, reducing the network resource consumption of the concentrator and system master station, and ensuring the normal operation of the concentrator and system master station. Accurate time synchronization is achieved even with limited communication channel resources.

[0022] 2. The method of this invention can be implemented solely through software algorithms, without adding any hardware modules, thus not increasing production costs. Furthermore, the program calculation method is simple, computationally insignificant, and easy to implement. The process includes an added step to determine the reliability of meter node time, and selects multiple methods—local correction or reporting to the concentrator—based on the degree of deviation in the electricity meter node time, thereby achieving reasonable and accurate clock optimization. Attached Figure Description

[0023] Figure 1 This is a schematic diagram illustrating the steps of a clock optimization method for a flexible rate energy meter according to the present invention.

[0024] Figure 2 This is a schematic diagram of the clock optimization system for a flexible rate energy meter according to the present invention. Detailed Implementation

[0025] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of this invention. The embodiments described in this invention are merely some embodiments of this invention, and not all embodiments. Based on the spirit of this invention, all other embodiments not described in this invention obtained by those skilled in the art based on the embodiments described in this invention without creative effort should fall within the protection scope of this invention.

[0026] Figure 1This is a schematic diagram illustrating the steps of a clock optimization method for a flexible rate energy meter according to the present invention. Figure 1 As shown, the first aspect of the present invention relates to a clock optimization method for a flexible rate electricity meter, the method comprising steps 1 to 3.

[0027] Step 1: Collect time information from the node messages of the neighboring nodes of the electricity meter, and determine the reliability of the node time on the electricity meter based on the time information.

[0028] It is understandable that, in order to achieve time synchronization of the local electricity meter, time information from neighboring nodes is collected.

[0029] Preferably, the electricity meter listens to the messages of neighboring nodes in real time, and after obtaining the messages, extracts the timestamps in the messages to collect time information; the neighboring nodes are one or more device nodes in the power grid that are adjacent to the electricity meter.

[0030] By using real-time monitoring, the method of this invention can obtain the time information of neighboring nodes at any time of day, thus supporting multiple time synchronizations throughout the day. Furthermore, the speed of this time synchronization and error correction essentially meets real-time requirements. Here, this invention can monitor the messages of neighboring nodes. After obtaining a message, it can collect only the timestamp information in the message header while discarding the rest of the message content. The message time recorded in the timestamp information can then be converted into the time information of adjacent nodes.

[0031] This invention can employ any method from the prior art to convert timestamp information, which will not be elaborated upon here. Furthermore, this invention can define neighbor nodes in various ways. Since the types and numbers of devices involved in the power grid are diverse, this invention can select some devices with relatively accurate local clocks as neighbor nodes. Additionally, if the communication link between the device and the electricity meter does not exceed a set number of hops, it can also be considered a neighbor node.

[0032] Step 2: When the reliability of the node time on the electricity meter meets the suspicious condition, the node time on the electricity meter is sent to the concentrator corresponding to the electricity meter to update the node time.

[0033] It is understood that, in the method of this invention, the reliability of the time node on the electricity meter can be a statistical vector of the time difference between the electricity meter and all other adjacent nodes. For this reliability, this invention can further employ a conditional judgment method to determine and correct the time error of the electricity meter node.

[0034] Preferably, the suspicious condition is that the number of suspicious neighbor nodes is greater than or equal to a first threshold; suspicious neighbor nodes are all neighbor nodes whose time information and the time information of the electricity meter are within the suspicious interval.

[0035] It is understood that the number of suspicious nodes can be considered in the suspicious condition of this invention. Specifically, if the number of suspicious nodes in this invention is too large, it is considered that the time information of that node is significantly different from the time information of its neighboring nodes. In this case, error correction by neighboring nodes alone is no longer sufficient to meet the requirement of accurate time synchronization of the electricity meter.

[0036] Specifically, suspicious neighbor nodes can be those neighbor nodes whose time differs significantly from the local electricity meter reading. The determination of "significant difference" is based on whether the difference falls within a suspicious interval. This article will explain in detail how the suspicious interval is defined.

[0037] Preferably, when a suspicious condition is met, the electricity meter sends a node time confirmation request to its corresponding concentrator; after receiving the node time confirmation request, the concentrator issues a time synchronization command to the electricity meter; after receiving the time synchronization command, the electricity meter resynchronizes with the concentrator.

[0038] Understandably, in this invention, if a suspicious condition is met, the energy meter can directly communicate with its upstream concentrator to request a time synchronization command. In this case, the concentrator only needs to issue a point-to-point time synchronization command, without needing to broadcast a time synchronization command. Furthermore, since this invention has sufficiently eliminated correctable time synchronization scenarios, it minimizes the number of times the energy meter requests a time synchronization command, further reducing the communication requirements between the energy meter and the concentrator.

[0039] Step 3: When the reliability of the node time on the electricity meter meets the statistical correction conditions, the node time on the electricity meter is corrected using the time information from neighboring nodes.

[0040] Specifically, in this invention, if it is determined that the node time of the electricity meter will not deviate too severely, the time can be corrected locally nearby.

[0041] Preferably, the correction condition is that the number of suspicious nodes is less than a first threshold, and the number of corrected nodes is greater than the number of suspicious nodes and the number of reliable nodes, respectively; wherein, the corrected nodes are all neighboring nodes whose time information and the time information of the electricity meter are within the correction interval; and the reliable nodes are all neighboring nodes whose time information and the time information of the electricity meter are within the reliable interval.

[0042] It is understood that the method in this invention can obtain the number of corrected nodes, reliable nodes, and suspicious nodes separately. If the number of suspicious nodes is greater than or equal to a first threshold, the method of this invention will directly achieve time synchronization by sending a request to the concentrator, without further determining the number of other types of nodes.

[0043] If the above conditions are not met, the method of this invention will again determine whether the number of correction nodes meets the correction conditions. To achieve correction, the method of this invention must ensure that the correction node is the largest among the three types of nodes. In other words, the first threshold in this invention is actually a fixed percentage determined by considering the actual total number of neighboring nodes based on the current location of the electricity meter in the power grid. To ensure that the correction and doubt conditions do not overlook the processing of the electricity meter's time difference, this first threshold should be at least greater than or equal to one-third of the total number of neighboring nodes.

[0044] Preferably, the reliable interval is the difference of all time information between 0 and the first time difference; the corrected interval is the difference of all time information between the first time difference and the second time difference; and the suspicious interval is the difference of all time information greater than the second time difference.

[0045] It is understandable that the reliable interval, the corrected interval, and the doubtful interval are determined based on the magnitude of the time difference. In this invention, since time differences within 5 minutes are considered tolerable errors by the system, the corrected interval and the doubtful interval can be divided with a 5-minute interval, while the reliable interval and the corrected interval can be further divided with a smaller time difference, such as 1 minute.

[0046] Preferably, the first time difference is 1 minute and the second time difference is 5 minutes.

[0047] Of course, other time difference division methods are not excluded in this invention. Using the method in this invention, the first time difference and the second time difference can also be modified to meet the requirements of the system.

[0048] Preferably, the correction interval is subdivided, and the time information of the electricity meter is corrected based on the probability distribution of the subdivided interval range into which all correction nodes fall.

[0049] If the time difference meets the correction condition, this invention will not notify the concentrator to adjust the local time, but will instead use the nearest communication method and the time of the neighboring node as a reference to correct the electricity meter.

[0050] Preferably, if the number of correction nodes falling into a certain subdivision interval is the largest, then the median value of that subdivision interval is used as the correction time to correct the time information of the electricity meter.

[0051] In one embodiment of the present invention, the subdivision interval of the correction node is further defined as four intervals of (1,2], (2,3], (3,4], and (4,5] minutes. Through subdivision and statistics, the present invention can correct the time, that is, take the interval with the most time difference distribution, find the median of the time difference in the interval, and use the median of the interval to correct the time of the current meter node. That is, the current meter time plus the median time difference (this difference should be a signed difference, indicating a positive or negative time deviation) is used as the latest meter time value. After this process is completed, the automatic time synchronization process ends.

[0052] Figure 2 This is a schematic diagram of the clock optimization system for a flexible rate energy meter according to the present invention. Figure 2 As shown, in a second aspect, the present invention relates to a clock optimization system for a flexible rate electricity meter. The system includes a data acquisition module, an update module, and a correction module. The data acquisition module is used to acquire time information from node messages on neighboring nodes of the electricity meter and determine the reliability of the node time on the electricity meter based on the time information. The update module is used to send the node time on the electricity meter to the concentrator corresponding to the electricity meter to update the node time when the reliability of the node time on the electricity meter meets the suspicious condition. The correction module is used to correct the node information on the electricity meter using the time information from neighboring nodes when the reliability of the node time on the electricity meter meets the statistical correction condition.

[0053] It is understood that, in order to implement the various functions in the methods provided in the embodiments of this application, the clock optimization system includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0054] This application embodiment can divide the clock optimization system into functional modules based on the above method example. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0055] The clock optimization system can consist of multiple different devices, and each device includes at least one processor, a bus system, and at least one communication interface. The processor can be a central processing unit (CPU), or it can be replaced by a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), or other hardware. Alternatively, an FPGA or other hardware can work together with a CPU as a processor.

[0056] The memory can be read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions, random access memory (RAM) or other types of dynamic storage devices capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed discs, laser discs, optical discs, universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited to these. The memory can exist independently and be connected to the processor via a bus. The memory can also be integrated with the processor.

[0057] The hard drive can be a mechanical hard drive or a solid-state drive (SSD), etc. The interface card can be a host bus adapter (HBA), a redundant array of independent disks (RID), an expander card, or a network interface controller (NIC), etc., and this embodiment of the invention is not limited to any particular type. The interface card in the hard drive module communicates with the hard drive. The storage node communicates with the interface card of the hard drive module to access the hard drive in the hard drive module.

[0058] The hard drive interface can be Serial Attached Small Computer System Interface (SAS), Serial Advanced Technology Attachment (SATA), or Peripheral Component Interconnect Express (PCIe), etc.

[0059] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software programs, implementation can be, in whole or in part, in the form of a computer program product. This computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device containing one or more servers, data centers, etc., that can be integrated with the medium. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state disks (SSDs)).

[0060] The computer program instructions used to perform the operations of this invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing state information from the computer-readable program instructions. This electronic circuitry can execute the computer-readable program instructions to implement various aspects of the invention.

[0061] The beneficial effects of this invention are that, compared with the prior art, the clock optimization method and system for flexible rate electricity meters in this invention can collect the reliability of the node time on the electricity meter by obtaining the time information of neighboring nodes, and realize the correction and update of the node time based on the matching relationship between the reliability of the electricity meter node time and the suspicious conditions and correction conditions. This invention has a clear concept and a reliable process. By initiating a self-calibration process through the meter node, it monitors the time information of surrounding neighboring nodes in real time, achieving dynamic, flexible, and timely updates of the meter time without going through a concentrator / system master station. This avoids the problem of existing broadcast time calibration, which only calibrates once a day and cannot update the meter time in a timely manner, ensuring the accuracy of the minute-freezing data of flexible rate electricity meters, improving the reliability of electricity metering data, and providing effective and reliable data support for the accurate calculation of synchronous line loss.

[0062] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the protection scope of the claims of the present invention.

Claims

1. A clock optimization method for flexible rate energy meters, characterized in that, The method includes the following steps: Step 1: Collect time information from node messages on neighboring nodes of the electricity meter, and determine the reliability of the node time on the electricity meter based on the time information. Step 2: When the reliability of the node time on the electricity meter meets the suspicious condition, the node time on the electricity meter is sent to the concentrator corresponding to the electricity meter to update the node time; The suspicious condition is that the number of suspicious neighbor nodes is greater than or equal to a first threshold; the first threshold should be at least greater than or equal to one-third of the total number of neighbor nodes. The suspected neighbor nodes are all neighbor nodes whose time information differs from the time information of the electricity meter within a suspected interval; Step 3: When the reliability of the node time on the electricity meter meets the statistical correction conditions, the node time on the electricity meter is corrected using the time information on the neighboring nodes. The correction condition is that the number of suspicious nodes is less than a first threshold, and the number of corrected nodes is greater than both the number of suspicious nodes and the number of reliable nodes. The correction node is any neighboring node whose time information differs from the time information of the electricity meter within the correction interval. The reliable nodes are all neighboring nodes whose time information differs from the time information of the electricity meter within a reliable interval.

2. The clock optimization method for a flexible rate energy meter according to claim 1, characterized in that: The electricity meter listens to the messages of the neighboring nodes in real time, and after obtaining the messages, extracts the timestamps in the messages to collect the time information; The neighboring node is one or more device nodes in the power grid that are adjacent to the electricity meter.

3. The clock optimization method for a flexible rate energy meter according to claim 2, characterized in that: When a suspicious condition is met, the electricity meter sends a node time confirmation request to its corresponding concentrator. After receiving the node time confirmation request, the concentrator sends a time synchronization command to the electricity meter; After receiving the time synchronization command, the electricity meter resynchronizes with the concentrator.

4. The clock optimization method for a flexible rate energy meter according to claim 1, characterized in that: The reliable interval is the difference between all time information between 0 and the first time difference; The correction interval is the difference between all time information between the first time difference and the second time difference; The suspicious interval is the difference between all time information that is greater than the second time difference.

5. The clock optimization method for a flexible rate energy meter according to claim 4, characterized in that: The first time difference is 1 minute, and the second time difference is 5 minutes.

6. The clock optimization method for a flexible rate energy meter according to claim 5, characterized in that: The correction interval is subdivided, and the time information of the electricity meter is corrected based on the probability distribution of the subdivided interval range into which all correction nodes fall.

7. The clock optimization method for a flexible rate energy meter according to claim 6, characterized in that: If the number of correction nodes falling into a certain subdivision interval is the largest, then the median value of that subdivision interval is used as the correction time to correct the time information of the electricity meter.

8. A clock optimization system for a flexible rate energy meter, characterized in that: The system includes a data acquisition module, an update module, and a correction module; wherein, The acquisition module is used to acquire time information from node messages on neighboring nodes of the electricity meter, and to determine the reliability of the node time on the electricity meter based on the time information. The update module is used to send the node time on the electricity meter to the concentrator corresponding to the electricity meter to update the node time when the reliability of the node time on the electricity meter meets the suspicious condition. The suspicious condition is that the number of suspicious neighbor nodes is greater than or equal to a first threshold; The suspected neighbor nodes are all neighbor nodes whose time information differs from the time information of the electricity meter within a suspected interval; The correction module is used to correct the node information on the electricity meter by using the time information of the neighboring nodes when the reliability of the node time on the electricity meter meets the statistical correction conditions. The correction condition is that the number of suspicious nodes is less than a first threshold, and the number of corrected nodes is greater than both the number of suspicious nodes and the number of reliable nodes. The correction node is any neighboring node whose time information differs from the time information of the electricity meter within the correction interval. The reliable nodes are all neighboring nodes whose time information differs from the time information of the electricity meter within a reliable interval.