摘要
为解决边缘计算终端微服务的数据读写冲突问题,文中提出了一种新型电力系统背景下配电物联网台区边缘计算终端微服务的文件锁数据同步机制。首先,设计了边缘计算终端微服务的文件锁数据交互机制,支撑微服务数据的有序存取。接着,提出了同步分区机制对微服务进行区域划分,消除跨分区微服务的数据读写冲突隐患。然后,提出了分区内同步机制和分区间同步机制解决相同分区内和相邻分区间微服务的数据读写冲突。最后,仿真分析了微服务时序逻辑结构对文件锁数据同步机制耗时的影响,对比了文件锁数据同步机制采用前后、考虑不同微服务分解度以及采用不同数据同步机制时的结果,验证了所提方法的有效性。
To solve the data read-write conflict problem of microservices in edge computing terminals, a file lock based data synchronization mechanism for microservices of edge computing terminals in power distribution Internet of Things station area in the background of new power system is proposed. Firstly, a file lock based data interaction mechanism for microservices in edge computing terminals is designed to support the orderly access of microservice data. Secondly, a synchronization area partition mechanism is proposed to divide the areas for microservices and to eliminate the hidden danger of data read-write conflict of crossarea microservices. Then, an synchronization mechanism in a partition and an adjacent-area synchronization mechanism are proposed to solve the data read-write conflict of microservices in the same region and adjacent regions. Finally, the simulation analyzes the impact of the time-sequential logic structure of the microservice on the time consumption of the file lock based data synchronization mechanism. The results are compared before and after the adoption of the file lock based data synchronization mechanism, considering different microservice decomposition degrees and adopting different data synchronization mechanisms.The effectiveness of the proposed method is validated.
作者
岑伯维
胡春潮
蔡泽祥
武志刚
屈径
刘媛媛
CEN Bowei;HU Chunchao;CAI Zexiang;WU Zhigang;QU Jing;LIU Yuanyuan(School of Elecric Power,South China University of Technology,Guangzhou 510641,China;China Southerm Power Grid Elctrical Technology Co.,Ltd.,Guangzhou 510080,China)
出处
《电力系统自动化》
EI
CSCD
北大核心
2022年第13期195-203,共9页
Automation of Electric Power Systems
基金
广东省重点领域研发计划资助项目(2019B111109002)。
关键词
配电物联网
配电台区
边缘计算终端
微服务
文件锁
数据同步
distribution Internet of Things
distribution transformer area
edge computing terminal
microservice
file lock
data synchronization