This invention discloses a method and
system for real-
time data synchronization of
multiple target libraries for power metering, belonging to the field of power metering
data processing technology.
Edge node devices collect and preprocess real-
time data from power metering terminals, generating an
energy consumption and resource status matrix before uploading it to the cloud. The cloud automatically detects the target
library type and determines the
adaptation priority through dynamic format conversion and
hierarchical analysis. Based on the status matrix and priorities, a five-dimensional objective function is constructed, including business priority, cross-
library adaptation success rate,
system energy consumption,
network load balancing, and data time-series consistency. An
optimal scheduling scheme is generated using the DDPG
algorithm. Transmission is completed by combining LSTM prediction, sliding window differential, and lightweight compression. After SHA-256 segmented
verification, the hash value and device ID are written into the power industry consortium
blockchain. This invention achieves multi-
library collaborative
adaptation, low bandwidth consumption, low
energy consumption, and high time-series consistency, ensuring real-time, accurate, and secure synchronization of metering data.