CN103823884B - Grid computing data based on the right to maintain the consistency of loose synchronization method - Google Patents

Grid computing data based on the right to maintain the consistency of loose synchronization method Download PDF

Info

Publication number
CN103823884B
CN103823884B CN201410081049.4A CN201410081049A CN103823884B CN 103823884 B CN103823884 B CN 103823884B CN 201410081049 A CN201410081049 A CN 201410081049A CN 103823884 B CN103823884 B CN 103823884B
Authority
CN
China
Prior art keywords
data
subsystem
distributed
synchronization
packet
Prior art date
Application number
CN201410081049.4A
Other languages
Chinese (zh)
Other versions
CN103823884A (en
Inventor
王虹富
陶向红
宋敦文
侯俊贤
马世英
田蓓
李峰
周建丽
范亚娜
郅治
张志强
刘燕嘉
王鹏
肖静
张海顺
熊选文
杨学涛
位士全
冯静
Original Assignee
国家电网公司
中国电力科学研究院
国网宁夏电力公司电力科学研究院
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 国家电网公司, 中国电力科学研究院, 国网宁夏电力公司电力科学研究院 filed Critical 国家电网公司
Priority to CN201410081049.4A priority Critical patent/CN103823884B/en
Publication of CN103823884A publication Critical patent/CN103823884A/en
Application granted granted Critical
Publication of CN103823884B publication Critical patent/CN103823884B/en

Links

Abstract

一种基于维护权的电网计算数据松散一致性同步方法,该方法包括:分布式子系统确定直管设备集与非直管设备集;分布式子系统生成数据同步包并发送至管理子系统;管理子系统解析分布式子系统的数据同步包并更新数据;分布式子系统由管理子系统获取全网数据同步包;分布式子系统解析全网数据同步包并更新非直管设备集的数据。 Grid computing data based on maintaining synchronization right loose consistency, the method comprising: a distributed subsystem determines the set of non-straight tube apparatus set straight tube apparatus; distributed subsystem generating a data packet and sent to the synchronization management subsystem; parsing subsystem management subsystem distributed data synchronization and updates the data packet; network-wide distributed subsystem acquiring data by the synchronization package management subsystem; network-wide distributed subsystem parses the data packets and to update the non-synchronous apparatus a straight tube data set . 本发明提供的方法采用松散一致性数据同步方式,对网络环境和整个服务器集群的响应速度要求较低,结构简单且扩展性良好,能够保证电网计算数据的准确性、一致性和安全性,有助于提升电网计算数据管理的工作效率。 The method of the present invention provides a data synchronization method uses a loose consistency, response speed is low and the entire server cluster network environment requirements, a simple structure and good expandability, it is possible to ensure the accuracy, consistency and safety grid calculation data, there is help to enhance the efficiency of data management computing grid.

Description

一种基于维护权的电网计算数据松散一致性同步方法 Grid computing data based on the right to maintain the consistency of loose synchronization method

技术领域 FIELD

[0001] 本发明属于电网计算数据的维护和管理领域,具体涉及一种基于维护权的电网计算数据松散一致性同步方法。 [0001] The present invention belongs to the field of maintenance and management of the grid computing data, particularly to grid data is calculated based on the right to maintain the consistency of a loose synchronization method.

背景技术 Background technique

[0002] 电网计算数据包括电网输变电设备的模型参数以及网络拓扑结构,是在电网规划、设计、运行等领域进行电网安全稳定分析计算的重要基础,也是电网企业管理水平的重要体现。 [0002] Grid computing model parameters and data, including network topology power transmission and distribution equipment, is an important manifestation of an important basis for the calculation, but also the enterprise management level of grid stability analysis of network security in the areas of network planning, design, operation and so on.

[0003] 随着电网建设的迅猛发展和电网规模的显著扩大,电网运行方式的计算量和调整内容也呈规模性的增长,建立在以数据文件为基础上的计算数据的收集、维护和交换等工作已很难满足当前电网信息化管理的需求。 [0003] With the significant expansion of the rapid development of power grid construction and grid-scale, computation and adjust the content operation mode of the power grid also showed a rising scale, the establishment of the data file to calculate data based on the collection, maintenance and exchange and so can not meet the needs of current information management grid. 为了解决电网计算数据管理分散、零乱,数据来源不明确,数据的唯一性和可靠性差,不同区域的数据交换困难等问题,需要利用基于数据库的电网计算数据管理系统来实现,而且,需要有多个子系统部署于不同的企业或部门。 In order to solve the grid computing data management is decentralized, messy, ambiguous data sources, uniqueness and poor reliability, data from different areas of data exchange difficult issues such as the need to implement the use of grid computing-based data management system database, and requires a number sub-systems deployed in different companies or departments. 因而,电网计算数据管理系统是包含多个子系统的分布式系统,多个子系统之间既要满足自治性,又有共享数据的需求。 Thus, the computing grid data management system is a distributed system comprising a plurality of subsystems, both among multiple subsystems to meet autonomy, but also need to share data. 目前,电力系统已经开始大量使用数据库对计算数据进行管理,但在不同的企业或部门的不同子系统之间,数据交换共享主要还是通过交换数据文件、 人工维护更新外来数据的方式,存在重复劳动、效率低下、更新不及时、容易出错等问题。 At present, the power system has begun extensive use of the database to calculate data management, but between the different subsystems of different companies or departments, data exchange and sharing mainly through the exchange of data files, manual maintenance update the foreign data, there is duplication of effort , inefficient, updates are not timely, error-prone and other issues. 因此,需要一种有效的数据同步方法来解决这种问题,以适应现代电网大范围的数据高效管理,提高电网仿真计算数据的维护效率及质量。 Therefore, the need for an effective data synchronization method to solve this problem, to accommodate a wide range of modern data network efficient management, improve maintenance efficiency and quality of power simulation data.

发明内容 SUMMARY

[0004] 针对现有技术的不足,本发明提出一种基于维护权的电网计算数据松散一致性同步方法,以电网设备维护权为基础,确定每个设备的计算数据的唯一维护源,各分布式子系统生成仅包含本子系统所维护电网设备的数据同步包并发送至管理子系统,管理子系统通过解析所有分布式子系统的数据同步包来形成最新的全网数据,分布式子系统通过向管理子系统获取全网数据同步包来更新本系统的外网数据,最终所有子系统中的数据都保持一致。 [0004] for the deficiencies of the prior art, the present invention proposes a method for synchronizing the grid computing data consistency based loosely maintaining the right to maintain the network equipment based on weight, the only maintenance of the source is determined for each unit of data, each of the distribution formula subsystem generates a data synchronization subsystem of the present packet only network equipment and sent to the maintenance management subsystem, the latest management subsystem formed by analyzing all data of the entire network of distributed subsystems packet data synchronization, the distributed subsystem get the whole network data synchronization package to update the system outside the network data, final data from all subsystems are consistent with the management subsystem.

[0005] 为了实现上述发明目的,本发明采取如下技术方案: [0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] -种基于维护权的电网计算数据松散一致性同步方法,该方法应用于电网计算数据管理系统;所述管理系统为包含分布式子系统和管理子系统的分布式系统;所述管理子系统与所述分布式子系统交互数据;其特征在于,所述方法包括以下步骤: [0006] - maintaining the right kind of grid computing data synchronization method based on a loose consistency, the method is applied computing grid data management system; the management system is a distributed subsystem and management subsystem comprises a distributed system; said management the distributed subsystem subsystem interacts with the data; characterized in that, said method comprising the steps of:

[0007] (1)分布式子系统确定直管设备集与非直管设备集; [0007] (1) distributed subsystem determines the set of non-straight tube apparatus set straight tube apparatus;

[0008] (2)分布式子系统生成数据同步包并发送至管理子系统; [0008] (2) Data Synchronization distributed subsystem generates and transmits the packet to the management subsystem;

[0009] (3)管理子系统解析分布式子系统的数据同步包并更新数据; [0009] (3) distributed data management subsystem subsystem parses the packet and updates the data synchronization;

[0010] (4)分布式子系统由管理子系统获取全网数据同步包; [0010] (4) distributed subsystem data acquired by the network-wide synchronization package management subsystem;

[0011] (5)分布式子系统解析全网数据同步包并更新非直管设备集的数据。 [0011] (5) distributed subsystem parses the entire network synchronized packet data and updates the data set of non-straight tube apparatus.

[0012] 优选地,所述步骤(1)中,所述直管设备集为通过所述分布式子系统进行数据维护的维护人员有权限维护的设备集合;所述非直管设备集为所述维护人员无权维护的设备集合。 [0012] Preferably, the step (1), the straight tube apparatus by said distributed sub-set of the maintenance personnel for maintenance have data collection device permissions maintained; the set of non-linear devices of the tube He said collection equipment maintenance personnel have no right to maintenance.

[0013] 优选地,所述步骤(2)包括如下步骤: [0013] Preferably, the step (2) comprises the steps of:

[0014] (2.1)所述分布式子系统将所述直管设备集中所包含的电网设备的数据变化信息生成数据同步包;所述数据同步包为增量包,其包含的增量信息有:增加、删除和修改,增量时间范围为自该分布式子系统上次生成数据同步包开始,到当前时间为止; [0014] (2.1) of the distributed data changes in the network subsystem of the straight tube apparatus comprising apparatus as centralized information generating synchronization data packets; the data packet is a synchronization packet delta, delta has the information it contains : add, delete and modify, incremental time range is from the last generation distributed data synchronization package subsystem start, until the current time;

[0015] (2.2)所述分布式子系统将所述数据同步包发送至所述管理子系统。 [0015] (2.2) subsystem of the distributed synchronization to the packet to the data management subsystem.

[0016] 优选地,所述步骤(3)包括: [0016] Preferably, the step (3) comprises:

[0017] 将所述数据同步包中包含的信息与所述管理子系统中现有的设备数据进行匹配, 并对所述管理子系统中的数据进行增加、删除和修改,所述分布式子系统中维护的数据便同步到所述管理子系统中;对于所有分布式子系统生成并发送到所述管理子系统的数据同步包,都同步到所述管理子系统中之后,所述管理子系统中的全部设备数据得以更新。 [0017] The information contained in the packet data synchronized with the existing equipment management subsystem matching data, management data and the subsystem to add, delete and modify the distributed sub system data will be synchronized to maintain the management subsystem; after all distributed subsystem generated and sent to the packet data synchronization management subsystem are synchronized to the management subsystem, said management sub all device data is updated in the system.

[0018] 优选地,所述步骤(4)包括:所述管理子系统整合所有分布式子系统的数据同步包以生成所述全网数据同步包;所述全网数据同步包为描述数据当前状态的完整包。 [0018] Preferably, the step (4) comprises: a data management subsystem to integrate all of the distributed subsystems to generate the isochronous packet data network-wide synchronization packet; packet data synchronization throughout the network as data describing the current complete package status.

[0019] 优选地,步骤(5)包括: [0019] Preferably, the step (5) comprises:

[0020] 将所述全网数据同步包中的信息与分布子系统中现有设备数据进行匹配,并对所述分布式子系统中非直管设备集的数据进行增加、删除和修改,所述全网数据同步包中的数据便同步到分布式子系统。 [0020] The information distribution subsystem data synchronization throughout the network packet matching existing device data, and the data distributed subsystem Africa straight tube apparatus sets add, delete and modify the said data synchronization data of the whole network will be synchronized to the packet distributed subsystem.

[0021] 与现有技术比,本发明的有益效果为: [0021] than the prior art, the beneficial effects of the present invention are:

[0022] 电网计算数据通过部署在不同地区的多个分布式子系统进行维护,形成了多个数据源,每个子系统都负责维护一部分数据,同时也保存其它子系统所维护数据的副本。 [0022] Grid computing data through multiple distributed subsystems deployed in different areas of maintenance, the formation of multiple data sources, each subsystem is responsible for maintaining a portion of the data, but also save other subsystems copy of the data maintained. 当其中一些子系统出现故障时,并不会导致整个系统的实效,因此,这种分布式数据维护和同步的方法保证了数据的安全性。 When some subsystem failures, and does not lead to the effectiveness of the whole system, therefore, this method of distributed data maintenance and synchronization to ensure the security of the data.

[0023]由于多个子系统间的分散数据维护和相互备份存储,为了保证整个系统的数据一致性,需要采用有效的数据同步方法。 [0023] Since the dispersion maintenance data between a plurality of subsystems and each backup storage, in order to ensure data consistency of the whole system, the need for effective data synchronization method employed. 根据数据维护和数据同步的时间关系,同步可分为紧凑一致性方式和松散一致性方式。 The maintenance data and the time data synchronization, synchronization can be divided into a loose compact and consistent manner consistent manner. 在紧凑一致性方式中,数据维护和数据同步同时进行,所有子系统中的数据在任何时候都保持一致;在松散一致性方式中,数据维护和数据同步异步进行,不同子系统中的数据有一定的时间差异。 Consistency in a compact manner, data maintenance and data synchronization at the same time, data from all subsystems consistent at all times; loose consistency, the data to maintain synchronization and asynchronous data, data from different subsystems are some of the time difference. 紧凑一致性方式对网络环境的要求非常苛刻,且任何一个子系统出现故障,都可能导致整个系统出现问题;而松散一致性方式没有这样的限制,因此每个子系统都可以提供更高的响应速度和更好的可用性。 Compact manner consistent requirement for very demanding network environment, and that any one subsystem fails, the entire system may cause problems; loosely consistent manner no such restriction, so that each subsystem can provide a higher response speed and better usability. 电网计算数据管理子系统一般按照地区或部门来分布部署,子系统间数据同步并不要求实时性。 Grid computing data management subsystem general distribution by region or department to deploy, data synchronization between subsystems do not require real-time. 因而,松散一致性方式更加适合电网计算数据的同步。 Thus, loose consistency more suitable for grid computing way synchronization of data.

[0024]通过电网设备的数据维护权来确定每个设备的计算数据的唯一维护源,具有权责清晰、规则明确、简单可靠等特点,特别适用于松散一致性的数据同步方式。 [0024] computing data to determine each device's data maintenance right through the only network equipment maintenance source, with a clear mandate, clear rules, simple and reliable, especially for a loose consistency of the data synchronously. 根据设备数据的维护权来确定的每个子系统的直管设备集和非直管设备集,为子系统提取增量信息生成数据同步包以及根据全网数据同步包更新自身数据提供了清晰的设备范围。 The right to maintain the device data to determine the set of devices and non-straight tube straight tube apparatus set for each subsystem, the device provides a clear subsystems extracted information generating incremental data packets and synchronizing the entire network in accordance with the data synchronization update their data packets range. 因此,在由全部子系统构成的整个电网计算数据管理系统中,遵循了"谁的设备谁管理,谁的数据谁维护"的原则。 Therefore, the entire computing grid data management system consisting of all subsystems, follow the "Who's Who device management, data who who maintains" principle.

[0025] 相比仅由一套数据库构成的数据管理系统,分布式数据管理系统具有相应速度快、安全可靠等优势,由于每一个子系统都有自治性,所以可以更加灵活地开展各种本地业务。 [0025] compared to only data management system consisting of a set of databases, distributed data management system with corresponding fast speed, safety and reliability advantages, because each subsystem has its autonomy, it can be more flexible to carry out a variety of local business.

[0026] 相比现有基于交换计算数据文件的人工数据维护和更新方式,本方法适于用程序实现自动数据同步,不需要人力参与数据同步过程,能够解决人工维护的重复劳动、效率低下、更新不及时、容易出错等问题。 [0026] compared to conventional manual data calculated based on the exchange data files maintained and updated embodiment, the present method is suitable for automatic data synchronization procedure, the data synchronization process does not require human involvement, it is possible to solve the manual maintenance of duplication, inefficient, update is not timely, error-prone and other issues.

附图说明 BRIEF DESCRIPTION

[0027] 图1是依据本发明的方法的数据同步流程示意图。 [0027] FIG. 1 is a diagram illustrating a data synchronization process of the method of the present invention.

[0028] 图2是依据本发明的方法的基于维护权的数据维护和同步规则。 [0028] FIG. 2 is a method according to the present invention is based on the right to maintain data synchronization and maintenance rules.

[0029]图3是依据本发明的方法的试验系统示意图。 [0029] FIG. 3 is a diagram illustrating the method of the test system of the present invention.

具体实施方式 Detailed ways

[0030] 本发明的数据同步方法,基于电网设备的数据维护权确定每个设备的计算数据的唯一维护源,首先由各分布式子系统生成仅包含本子系统所维护电网设备的数据同步包并发送至管理子系统,然后管理子系统通过解析所有分布式子系统的数据同步包来形成最新的全网数据,之后分布式子系统通过向管理子系统获取全网数据同步包来更新本系统的外网数据,最终所有子系统中的数据都保持一致。 [0030] The data synchronization method of the present invention, data of each computing device is determined based on the data network equipment maintenance right sole source of maintenance, distributed by the first subsystem generates only the maintenance subsystem comprising the grid device data packets and synchronization sent to the management subsystem and management subsystem formed by the latest data of the whole network distributed subsystem parses all data synchronization packet, then by acquiring the distributed subsystem management subsystem to synchronize the entire network data packet to update the system external network data, final data subsystem are all consistent.

[0031] 本实施例的数据同步的流程示意图如图1所示,具体包括如下步骤: Data flow synchronization [0031] embodiment of the present embodiment is shown in Fig.1, includes the following steps:

[0032] (1)分布式子系统确定直管设备集与非直管设备集; [0032] (1) distributed subsystem determines the set of non-straight tube apparatus set straight tube apparatus;

[0033] (2)分布式子系统生成数据同步包并发送至管理子系统; [0033] (2) Data Synchronization distributed subsystem generates and transmits the packet to the management subsystem;

[0034] (3)管理子系统解析分布式子系统的数据同步包并更新数据; [0034] (3) distributed data management subsystem subsystem parses the packet and updates the data synchronization;

[0035] (4)分布式子系统由管理子系统获取全网数据同步包; [0035] (4) distributed subsystem data acquired by the network-wide synchronization package management subsystem;

[0036] (5)分布式子系统解析全网数据同步包并更新非直管设备集的数据。 [0036] (5) distributed subsystem parses the entire network synchronized packet data and updates the data set of non-straight tube apparatus.

[0037] 其中,本实施例以主要的两个方面重点说明,一个是分布式子系统基于直管设备集和非直管设备集的数据同步包生成以及全网数据同步包应用;另一个是管理子系统的数据同步包应用以及全网数据同步包生成。 [0037] wherein, in the present embodiment, the main highlights two aspects, is a distributed subsystem generates a synchronous packet network, and the whole application data synchronization packet-based data collection devices and non-straight tube straight tube apparatus set; the other is management subsystem application data synchronization packets and synchronizing the data packets to generate the entire network.

[0038] 1、分布式子系统生成数据同步包和应用全网数据同步包; [0038] 1, distributed subsystem generates data packets and synchronizing the entire network application data synchronization packet;

[0039] 假设有N个分布式子系统,对于任意一个子系统Serveri,1£[1,2,3,"_少],其中所包含的全部电网设备数据ALLDatai所涉及的全部设备构成了完整设备集AllDeviceSeti, 通过该子系统进行数据维护的所有维护人员构成的集合ManagerList 1称为该子系统的注册维护集,ManagerList1*的所有维护人员能够维护的设备集合称为该子系统的直管设备集DirectDeviceSeti,与完整设备集的关系为[0040] DirectDeviceSeti c AliDevu VSeti [0039] Suppose there are N number of distributed subsystems, a subsystem for any Serveri, 1 £ [1,2,3, "_ less], all the devices of all the grid device data contained therein ALLDatai involved constitute a complete All the straight tube apparatus set ManagerList equipment maintenance personnel sets AllDeviceSeti, data maintained by the configuration subsystem is referred to as a register set of the maintenance subsystem, the collection device ManagerList1 * maintenance personnel to maintain all the subsystems referred set, and the relationship between DirectDeviceSeti complete set of devices is [0040] DirectDeviceSeti c AliDevu VSeti

[OO41 ] ManagerListi中的任何维护人员都无权维护的设备集合称为该子系统的非直管设备集IndirectDeviceSeti,又有如下关系: [OO41] collection apparatus ManagerListi any maintenance person has the right to maintain the subsystem called non-straight tube apparatus set IndirectDeviceSeti, have the following relationship:

[0042] InduvctDcviccSctt cz AllDcviceSet; [0042] InduvctDcviccSctt cz AllDcviceSet;

[0043] 而且 [0043] and

[0044] [0044]

Figure CN103823884BD00061

[0045] 分布式子系统Serveir将直管设备集DirectDeviceSeti中所包含的电网设备的数据变化信息生成数据同步包SynchDatai,该数据同步包为增量包,包含增加、删除和修改三类信息增量信息,增量时间范围为自从该子系统上次生成数据同步包开始,直到当前时间为止。 [0045] The straight tube Serveir distributed subsystem data set changes in the network device DirectDeviceSeti device included in the packet data synchronization information generation SynchDatai, the data packet is a synchronous incremental package, comprising adding, deleting and modifying categories of information increment information, ranging from incremental time since the last time this subsystem generates a synchronous data packet start until the current time. 然后,Serveri 将SynchDatai 发送至ServerHUB 〇 Then, Serveri SynchDatai sent to the square ServerHUB

[0046] 以上过程为分布式子系统生成数据同步包的过程,如图2所示,直管设备集DirectDeviceSeti是分布式子系统生成数据同步包SynchDatai的设备范围,而注册维护集ManagerListi又是直管设备集DirectDeviceSeti的基础。 [0046] The above process procedure is a distributed subsystem generates a synchronous data packet, shown in Figure 2, the straight tube apparatus is set DirectDeviceSeti distributed subsystem generates a data packet synchronization apparatus SynchDatai range, and register MA is a straight ManagerListi DirectDeviceSeti tube apparatus set basis.

[0047] 分布式子系统Serveir从管理子系统ServerHUB下载全网数据同步包SynchDataHUB 之后,将SynchDataHUB中所包含的信息与Serveri中现有的设备数据进行匹配,并对Serveri 中非直管设备集的数据进行增加、删除和修改更新,SynchData_中的最新数据便同步到Serveri中。 [0047] After downloading the distributed subsystem Serveir entire network synchronization data packets from the management subsystem SynchDataHUB ServerHUB, the information contained in SynchDataHUB with Serveri data matches existing equipment, apparatus and Serveri Africa straight tube set data add, delete and modify update, SynchData_ the latest data will be synchronized to Serveri in. 所有的分布式子系统由ServerHUB获得的数据同步包SynchDataHUB都是相同的, 区别在于各自通过Syn ChDataHUB只更新自身非直管设备集的数据。 All data from the distributed subsystem ServerHUB obtained SynchDataHUB isochronous packets are the same, except that each non-updated data itself is only set by the straight tube apparatus Syn ChDataHUB. 这一过程也在图2中直观地表示。 This process is also visually represented in FIG. 2.

[0048] 2、管理子系统应用数据同步包和生成全网数据同步包; [0048] 2, the application management subsystem and data synchronization packet to generate a full synchronization packet data network;

[0049]如图2所示,将分布式子系统Serveri生成的数据同步包SynchDatai中所包含的信息与管理子系统ServerHUB中现有的设备数据进行匹配,并对ServerHUB中的数据进行增加、 删除和修改更新,Serveri中所维护的最新数据便同步到ServerHUB中。 [0049] 2, the distributed subsystem Serveri generated data packet information and synchronization management subsystem ServerHUB SynchDatai existing device data included in matching, and the data in ServerHUB add, delete update and revise, Serveri maintained in the latest data will be synchronized to ServerHUB in. 对于所有分布式子系统生成并发送到ServerHUB的数据同步包SynchDatai,i G [1,2,3,…,N],都完成此更新操作之后,ServemuB中的全部设备数据均为最新。 After all distributed subsystem generated and sent to the packet data synchronization ServerHUB SynchDatai, i G [1,2,3, ..., N], the update operations are completed, all devices are in ServemuB latest data.

[0050] ServermiB根据所包含的全部电网设备生成全网数据同步包SynchDatamiB,与分布式子系统生成的数据同步包不同,SynChDataHUB不是描述数据变化情况的增量包,而是描述数据当前状态的完整包。 [0050] All grid device according ServermiB included to generate a full synchronization network data packets SynchDatamiB, unlike the distributed subsystem generates synchronous data packets, SynChDataHUB not described incremental data packet changes, but describes the current state of the complete data package.

[0051]本实施例在某试验系统中得到应用,该系统包含3个分布式子系统,以及1个管理子系统。 [0051] In the present embodiment, a test system has been applied, the distributed system comprising three subsystems, and a management subsystem. 图3为该试验系统的简化示意图,3个分布式子系统分别部署在局域网1、2、3中(为简化示意图,2与3局域网中的服务器与工作站均省略表示),管理子系统部署在局域网0中, 不同的局域网也通过网络互连。 Figure 3 a simplified schematic diagram for the experimental system, three subsystems are deployed in a distributed LAN 1,2,3 (is a simplified schematic LAN 2 and 3 are represented by servers and workstations shown), deployment management subsystem LAN 0, the different LANs interconnected by a network. 每个分布式子系统均有一些用户在相应的局域网内进行数据维护。 Each subsystem has distributed a number of user data maintenance in the corresponding LAN. 为整个系统设定好自动数据同步的时间周期后,所有分布式子系统均能定时自动生成数据同步包并发送至管理子系统,管理子系统在收到同步包之后进行数据更新并生成全网数据同步包,之后分布式子系统获取全网数据同步包并更新非直管设备集的数据,最终,所有子系统中的数据都保持一致。 After the time period set up automatic data synchronization for the entire system, all subsystems can distributed automatically generate a timing data packet and sent to the synchronization management subsystem, subsystem management data updated after receiving the synchronization packet, and generate a full network data synchronization packet, then the entire network of distributed data acquisition subsystem isochronous packet and updates the data set of non-straight tube apparatus, eventually, all the data are consistent subsystem. 本技术方案在该试验系统中取得了预期的效果。 This technical solution achieved the desired results in this test system. [0052]本方法在多个数据源之间开展电网计算数据同步的研究和尝试,提出了一种基于电网设备维护权的多个电网计算数据管理子系统之间松散一致性的同步方法。 [0052] The present method of grid computing to carry out research and data synchronization between multiple data sources to try, we propose a method for synchronizing a loose consistency across multiple computing grid data management equipment maintenance subsystem is based on the right of the grid. 该方法以电网设备维护权为基础,确定每个设备的计算数据的唯一维护源,各分布式子系统生成仅包含本子系统所维护电网设备的数据同步包并发送至管理子系统,管理子系统通过解析所有分布式子系统的数据同步包来形成最新的全网数据,分布式子系统通过向管理子系统获取全网数据同步包来更新本系统的外网数据,最终所有子系统中的数据都保持一致。 The network equipment method to maintain the weight determined on the basis of data of each computing device to maintain a unique source, each comprising a distributed subsystem generates only the power subsystem of the present apparatus to maintain data synchronization packets and sent to the management subsystem management subsystem to form the entire network the latest data distributed subsystem by analyzing all data synchronization packet, network-wide distributed subsystem by acquiring the synchronization data packet to update the system data to the external network management subsystem, all final data subsystem They are consistent. 该方法采用松散一致性数据同步方式,对网络环境和整个服务器集群的响应速度要求较低,结构简单且扩展性良好,能够保证电网计算数据的准确性、一致性和安全性,有助于提升电网计算数据管理的工作效率,具有广泛的推广应用前景。 The data synchronization method uses a loose consistency, this lower response speed network environment and the requirements of the entire server cluster, a simple structure and good expandability, it is possible to ensure the accuracy, consistency and safety grid calculation data, help improve grid computing efficiency of data management has broad application prospects.

[0053]最后应当说明的是:以上实施例仅用以说明本发明的技术方案而非对其限制,尽管参照上述实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:依然可以对本发明的具体实施方式进行修改或者等同替换,而未脱离本发明精神和范围的任何修改或者等同替换,其均应涵盖在本发明的权利要求范围当中。 [0053] Finally, it should be noted that: the above embodiments are intended to illustrate the present invention but not to limit, although the above-described embodiments with reference to embodiments of the present invention has been described in detail, those of ordinary skill in the art should be understood: still It may be made to specific embodiments of the present invention, modifications or equivalent replacements without departing from the spirit and scope of any modifications or equivalents of the present invention, which should be covered by the present invention as claimed in which the required range.

Claims (1)

1. 一种基于维护权的电网计算数据松散一致性同步方法,该方法应用于电网计算数据管理系统;所述管理系统为包含分布式子系统和管理子系统的分布式系统;所述管理子系统与所述分布式子系统交互数据;其特征在于,所述方法包括以下步骤: (1) 分布式子系统确定直管设备集与非直管设备集; (2) 分布式子系统生成数据同步包并发送至管理子系统; (3) 管理子系统解析分布式子系统的数据同步包并更新数据; (4) 分布式子系统由管理子系统获取全网数据同步包; (5) 分布式子系统解析全网数据同步包并更新非直管设备集的数据; 所述步骤(1)中,所述直管设备集为通过所述分布式子系统进行数据维护的维护人员有权限维护的设备集合;所述非直管设备集为所述维护人员无权维护的设备集合; 所述步骤(2)包括如下步骤: (2.1) 所述分布式子系统将所述直管 A power calculation data based on maintaining the right loose consistency synchronization method, the method is applied computing grid data management system; the management system is a distributed subsystem and management subsystem comprises a distributed system; said management sub system and the distributed subsystem interaction data; wherein, said method comprising the steps of: (1) a distributed collection device subsystem determines the non-straight tube straight tube set of devices; (2) generates data distributed subsystem isochronous packets and sent to the management subsystem; (3) distributed subsystem management subsystem parsed data synchronization and updates the data packet; (4) acquired by the distributed subsystem management subsystem entire network packet data synchronization; (5) distribution full network data parsing subsystem formula isochronous packet and updates the data set of non-straight tube apparatus; said step (1), the straight tube apparatus is set by said distributed data maintenance subsystem maintenance personnel maintenance authority the apparatus set; the set of non-straight tube apparatus of the maintenance person not entitled to maintain collection device; said step (2) comprises the steps of: (2.1) according to the distributed subsystem straight tube 设备集中所包含的电网设备的数据变化信息生成数据同步包;所述数据同步包为增量包,其包含的增量信息有:增加、删除和修改,增量时间范围为自该分布式子系统上次生成数据同步包开始,到当前时间为止; (2.2) 所述分布式子系统将所述数据同步包发送至所述管理子系统; 所述步骤(3)包括:将所述数据同步包中包含的信息与所述管理子系统中现有的设备数据进行匹配,并对所述管理子系统中的数据进行增加、删除和修改,所述分布式子系统中维护的数据便同步到所述管理子系统中;对于所有分布式子系统生成并发送到所述管理子系统的数据同步包,都同步到所述管理子系统中之后,所述管理子系统中的全部设备数据得以更新; 所述步骤(4)包括:所述管理子系统整合所有分布式子系统的数据同步包以生成所述全网数据同步包;所述全网数据同步包为 Data changes in the network centralized device included in the device information generating synchronous data packet; said data packet is a synchronous incremental package, comprising incremental information are: add, delete, modify, ranging from the time increments distributed sub the system generates a data synchronization last packet start, up to the current time; (2.2) subsystem of the distributed synchronization to the packet to the data management subsystem; said step (3) comprising: synchronizing the data and the information existing equipment management subsystem included in the packet matches, and the data management subsystem to add, delete and modify the distributed subsystem to maintain data synchronization will the management subsystem; after all distributed subsystem generated and sent to the packet data synchronization management subsystem, subsystem are synchronized to the management, the management of all device data is updated subsystem ; said step (4) comprises: a data management subsystem to integrate all of the distributed subsystems to generate the isochronous packet data network-wide synchronization packet; packet data synchronization throughout the network is 述数据当前状态的完整包; 所述步骤(5)包括:将所述全网数据同步包中的信息与分布子系统中现有设备数据进行匹配,并对所述分布式子系统中非直管设备集的数据进行增加、删除和修改,所述全网数据同步包中的数据便同步到分布式子系统。 Said data packet complete current state; said step (5) comprises: said information distribution sub-network-wide synchronous data packets in the data matching the existing equipment, and direct the distributed subsystem Africa data sets managed device to add, delete, and modify data of the data synchronization of the whole network will be synchronized to the packet distributed subsystem.
CN201410081049.4A 2014-03-06 2014-03-06 Grid computing data based on the right to maintain the consistency of loose synchronization method CN103823884B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410081049.4A CN103823884B (en) 2014-03-06 2014-03-06 Grid computing data based on the right to maintain the consistency of loose synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410081049.4A CN103823884B (en) 2014-03-06 2014-03-06 Grid computing data based on the right to maintain the consistency of loose synchronization method

Publications (2)

Publication Number Publication Date
CN103823884A CN103823884A (en) 2014-05-28
CN103823884B true CN103823884B (en) 2017-02-08

Family

ID=50758948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410081049.4A CN103823884B (en) 2014-03-06 2014-03-06 Grid computing data based on the right to maintain the consistency of loose synchronization method

Country Status (1)

Country Link
CN (1) CN103823884B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107689998A (en) * 2017-09-14 2018-02-13 平安科技(深圳)有限公司 A kind of incremental data synchronization method and terminal device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629268A (en) * 2012-03-09 2012-08-08 华为技术有限公司 Data synchronization method, system and date access device
CN103067503A (en) * 2012-12-28 2013-04-24 四川长虹电器股份有限公司 Method, device and system for achieving application synchronism
CN104281631A (en) * 2013-07-12 2015-01-14 中兴通讯股份有限公司 Distributed database system and data synchronization method and nodes thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005092552A (en) * 2003-09-18 2005-04-07 Toshiba Solutions Corp Information processing terminal, information processing method and information processing program
CN101110694A (en) * 2006-07-19 2008-01-23 上海卡友信息服务有限公司 Method and device for software update using terminal unit in business system
CN100504882C (en) * 2007-04-29 2009-06-24 深圳市高正软件有限公司 Method and system for implementing acquisition data sharing
KR20130023490A (en) * 2011-08-29 2013-03-08 주식회사 팬택 System and method for synchronizing applications

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629268A (en) * 2012-03-09 2012-08-08 华为技术有限公司 Data synchronization method, system and date access device
CN103067503A (en) * 2012-12-28 2013-04-24 四川长虹电器股份有限公司 Method, device and system for achieving application synchronism
CN104281631A (en) * 2013-07-12 2015-01-14 中兴通讯股份有限公司 Distributed database system and data synchronization method and nodes thereof

Also Published As

Publication number Publication date
CN103823884A (en) 2014-05-28

Similar Documents

Publication Publication Date Title
Fujimoto Distributed simulation systems
CN103442049B (en) Hybrid cloud operating system architecture and a method for a communication member
US8260742B2 (en) Data synchronization and consistency across distributed repositories
CN102222090A (en) Mass data resource management frame under cloud environment
KR20150118975A (en) System and methods for multi-user cax editing conflict management
CN101086714B (en) System and method for remote mirroring operation
CN102567495B (en) Mass information storage system and implementation method
CN100375982C (en) Power system external network equivalent model automatic forming method
CN102257494B (en) Selective database replication method
US8538923B2 (en) Method, node and system for controlling version in distributed system
CN101826073A (en) Synchronous method, apparatus and system for distributed database
CN102411637B (en) Metadata management method of distributed file system
Ciraci et al. FNCS: a framework for power system and communication networks co-simulation
CN105404701A (en) Peer-to-peer network-based heterogeneous database synchronization method
CN101426026B (en) Method and system for data synchronization between multiple servers
CN101601214B (en) Facilitating recovery in a coordinated timing network
CN105243067B (en) A kind of method and device for realizing real-time incremental synchrodata
CN104281506B (en) A document data system method and system maintenance
CN103825954B (en) A kind of OpenFlow control methods and corresponding plug-in unit, platform and network
CN101577735B (en) Method, device and system for taking over fault metadata server
CN102096685B (en) Method and device for synchronizing distributive data into data warehouse
EP2932370B1 (en) System and method for performing a transaction in a massively parallel processing database
CN105471954B (en) Dcs and customer flow optimization method based on SDN
CN102025756A (en) Distributed system and data synchronization method thereof
CN102497280B (en) Distributed system and method thereof for realizing management

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model