CN115357404A - Unified data synchronization method and system between power grid dispatching automation systems - Google Patents

Unified data synchronization method and system between power grid dispatching automation systems Download PDF

Info

Publication number
CN115357404A
CN115357404A CN202210866796.3A CN202210866796A CN115357404A CN 115357404 A CN115357404 A CN 115357404A CN 202210866796 A CN202210866796 A CN 202210866796A CN 115357404 A CN115357404 A CN 115357404A
Authority
CN
China
Prior art keywords
data
service
synchronization
synchronous
synchronized
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210866796.3A
Other languages
Chinese (zh)
Inventor
雷宝龙
邵长友
郭海龙
葛以踊
陈鹏
孙卫芳
王肖
高宝山
万书鹏
易强
徐骏
张平
高原
顾文杰
吴庆曦
靳晶
王玉军
季学纯
丁捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nari Technology Co Ltd
NARI Nanjing Control System Co Ltd
Original Assignee
Nari Technology Co Ltd
NARI Nanjing Control System Co Ltd
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 Nari Technology Co Ltd, NARI Nanjing Control System Co Ltd filed Critical Nari Technology Co Ltd
Priority to CN202210866796.3A priority Critical patent/CN115357404A/en
Publication of CN115357404A publication Critical patent/CN115357404A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention discloses a unified data synchronization method among power grid dispatching automation systems, which comprises the steps of setting a synchronous request interface, a synchronous request service, a synchronous data management service, a network transmission service and a synchronous data processing service, designing the synchronous request interface for various application service modules to call, interacting with the synchronous data management service, receiving synchronous request data and carrying out unified management on the synchronous data; the sending service of the network transmission service sends the synchronous request data to the receiving service of the target system; after receiving the synchronous data, the receiving service forwards the synchronous data to a synchronous data processing service; the synchronous data processing service completes the synchronous data processing and returns the processing result. The invention can provide uniform data synchronization service aiming at various service types for data synchronization between the power grid dispatching automation systems, reduce the complexity of data synchronization and improve the utilization efficiency of wide area network resources between the dispatching automation systems.

Description

Unified data synchronization method and system between power grid dispatching automation systems
Technical Field
The invention relates to the technical field of power grid dispatching automation, in particular to a unified data synchronization method and system between power grid dispatching automation systems.
Background
In recent years, a strong intelligent power grid which takes extra-high voltage as a backbone power grid and is coordinately developed with power grids at all levels creates good conditions for energy optimization configuration and clean energy consumption, and simultaneously brings new challenges to dispatching operation of interconnected large power grids. Along with the construction of national integration, national province and multi-level collaboration, province and local integration and other integrated systems, the connection among all levels of scheduling mechanisms is tighter and tighter, and the requirements on data sharing and service collaboration among scheduling automation systems are higher and higher.
Main data shared and coordinated among power grid dispatching systems comprise various power grid graphs, power grid equipment models, operation control data, important alarms, operation parameters and other data, a synchronization function needs to be independently developed aiming at various data when the data among the systems are synchronized at present, however, wide area coordination services among the systems are more and more along with the development of dispatching automation systems, and various problems exist in a mode of calling through remote services and synchronizing various data respectively, and the development needs of power grid services cannot be met. The main problems in the prior art are that the network synchronization delay is large, the wide area network bandwidth cannot be fully utilized, the software reuse degree is low, the response time of a new service is long, and the synchronization reliability cannot be guaranteed.
Disclosure of Invention
The invention aims to provide a unified data synchronization method and a system among power grid dispatching automation systems, which can provide unified data synchronization service aiming at various service types for data synchronization among the power grid dispatching automation systems, reduce the complexity of data synchronization and improve the utilization efficiency of wide area network resources among the dispatching automation systems. The technical scheme adopted by the invention is as follows.
In one aspect, the present invention provides a unified data synchronization method between power grid dispatching automation systems, including:
receiving a data synchronization request sent by an application service through a preset synchronization request service interface, wherein the data synchronization request comprises data to be synchronized and a service type corresponding to the data to be synchronized;
generating a unique synchronous request ID aiming at the received data synchronous request, and returning the unique synchronous request ID to the application service through a synchronous request service interface;
acquiring preset service data synchronous configuration information corresponding to the service type according to the service type in the data synchronous request through a preset unified synchronous service;
processing data to be synchronized according to the acquired service data synchronization configuration information to generate a synchronization data sequence to be transmitted;
reading data to be synchronized corresponding to each synchronization request from the synchronization data sequence to be transmitted through a preset network transmission sending service, and sending the data to be synchronized to a preset network transmission receiving service of a target system; the network transmission receiving service of the target system sends the data to be synchronized to the corresponding application service according to the service type of the data to be synchronized for synchronous data processing, and the application service returns the processing result of the synchronous data to the network transmission sending service of the synchronous initiator system through the network transmission receiving service of the synchronized system;
the received synchronous data processing result is notified to the unified synchronous service through the network transmission sending service, and corresponding data in a synchronous data sequence to be transmitted are processed through the unified synchronous service;
and, in response to receiving a synchronization result query request sent by an application service, returning the synchronization data processing result to the application service; the synchronization result query request includes the synchronization request ID.
Optionally, the service type at least includes one or more of graphic data, model data, operation control data, and important alarm data.
Optionally, the service data synchronization configuration information includes service type priority information;
the processing the data to be synchronized according to the obtained service data synchronization configuration information to generate a synchronization data sequence to be transmitted includes:
and writing the data to be synchronized into the synchronous data sequence to be transmitted with the corresponding priority according to the service type priority corresponding to the data to be synchronized. Therefore, a plurality of synchronous data sequences to be transmitted corresponding to different priorities can be obtained.
Optionally, the service data synchronization configuration information further includes synchronization target system information corresponding to a service type;
the method for transmitting and sending the data to be synchronized corresponding to each synchronization request from the synchronization data sequence to be transmitted through the preset network transmission transmitting service and transmitting the data to be synchronized to the preset network transmission receiving service of the target system comprises the following steps:
reading data to be synchronized in each synchronous data sequence to be transmitted according to the priority of the service type from top to bottom;
and for the read data to be synchronized, acquiring the pre-configured synchronous target system information corresponding to the read data to be synchronized, and transmitting the data to the network transmission receiving service of the corresponding target system.
Optionally, after the network transmission sending service notifies the unified synchronization service of the received synchronization data processing result, the processing, by the unified synchronization service, of the corresponding data in the synchronization data sequence to be transmitted includes:
and if the synchronous data processing result is correspondingly and synchronously completed, the unified synchronization service deletes the corresponding data in the synchronous data to be transmitted.
Optionally, processing the data to be synchronized further includes: storing data to be synchronized to a plurality of distributed storage nodes in the current system;
and after the network transmission sending service informs the received synchronous data processing result to the unified synchronization service, if the synchronous data processing result is correspondingly synchronized, the unified synchronization service also deletes corresponding data of the plurality of distributed storage nodes.
When the synchronous data transmission is carried out, the asynchronous transmission mechanism is adopted, the receiving end does not need to wait for the return confirmation of the receiving end, so that the network transmission throughput is improved, the sending rate is limited according to the network capacity quota between systems, and the influence on other services is avoided.
Optionally, the service data synchronization configuration information further includes data timeliness information;
the unified data synchronization method further comprises the following steps: and according to the data timeliness of the service types, performing timeliness management on corresponding data to be synchronized, and if the data to be synchronized fails, deleting the corresponding data.
Optionally, the processing, by the application service of the target system, of the data to be synchronized includes:
checking whether the data to be synchronized is in a preset standard format or not;
checking whether the data content to be synchronized is complete;
checking whether a data object corresponding to data to be synchronized is a data object in the system;
and if all the checks pass, updating the data to be synchronized to the local data object, and completing data synchronization.
In a second aspect, the invention provides a unified data synchronization system of a power grid dispatching automation system, which comprises an application service module and a unified synchronization service module, wherein the unified synchronization service module comprises a synchronization request service submodule, a synchronization data management submodule, a network transmission receiving service submodule and a network transmission sending service submodule;
the application service module sends a data synchronization request to the unified synchronization service module by calling a preset synchronization request service interface, wherein the data synchronization request comprises data to be synchronized and a service type corresponding to the data to be synchronized;
a synchronous request service submodule of the unified synchronous service module generates a unique synchronous request ID for the received data synchronous request and returns the unique synchronous request ID to the application service module;
a synchronous data management submodule of the unified synchronous service module acquires preset synchronous configuration information of the service data corresponding to the service type according to the service type in the data synchronous request; processing data to be synchronized according to the service data synchronization configuration information to generate a synchronization data sequence to be transmitted;
the network transmission and sending service submodule of the unified synchronization service module reads the data to be synchronized corresponding to each synchronization request from the synchronization data sequence to be transmitted and sends the data to be synchronized to the network transmission and receiving service submodule of a target system; the network transmission receiving service submodule of the target system sends the data to be synchronized to the corresponding application service module according to the service type of the data to be synchronized for synchronous data processing, and the application service module returns a synchronous data processing result to the network transmission sending service submodule of the synchronous initiator system through the network transmission receiving service submodule of the synchronized initiator system;
the network transmission and sending service submodule informs the synchronous data management submodule after receiving the synchronous data processing result, and the synchronous data management submodule processes corresponding data in a synchronous data sequence to be transmitted;
the unified synchronization service module returns the synchronous data processing result to the application service module in response to receiving a synchronous result query request sent by the application service module; the synchronization result query request includes the synchronization request ID.
In a third aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the unified data synchronization method between grid dispatching automation systems according to the first aspect.
Advantageous effects
The invention designs the unified synchronous service, sets the synchronous request interface between the application service side and the unified synchronous service, receives the data synchronous request of various application services by the unified synchronous service, uniformly processes the data synchronous request, transmits the data synchronous request to the related application service data of other power grid dispatching automation systems to be synchronized, and provides a unified and universal data synchronous mechanism for the synchronization of various services among different power grid dispatching automation systems, thereby improving the software reusability, avoiding the respective development of synchronous functions of various services, reducing the complexity of data synchronization, improving the response speed of wide area cooperative new services, fully utilizing wide area network resources among the systems, reducing the data synchronous delay, improving the data synchronous throughput, enhancing the reliability of data synchronization, and meeting the synchronous requirements of various data among the dispatching automation systems.
Drawings
FIG. 1 is a schematic diagram of a framework of a unified data synchronization method between power grid dispatching automation systems according to the present invention;
fig. 2 is a schematic diagram of an implementation architecture of the unified data synchronization method between power grid dispatching automation systems according to the present invention;
fig. 3 is a schematic flow chart illustrating an embodiment of the method for synchronizing unified data between power grid dispatching automation systems according to the present invention.
Detailed Description
The following further description is made in conjunction with the accompanying drawings and the specific embodiments.
Example 1
Referring to fig. 1 and fig. 2, this embodiment describes a unified data synchronization system of a power grid dispatching automation system, where data synchronization is performed between an application and multiple dispatching automation systems, each dispatching automation system is respectively deployed with an application service module and a unified synchronization service module, and multiple application service modules correspond to multiple applications in the dispatching automation system; the unified synchronization service module comprises a synchronization request service submodule, a synchronization data management submodule, a network transmission receiving service submodule and a network transmission sending service submodule;
the application service module sends a data synchronization request to the unified synchronization service module by calling a preset synchronization request service interface, wherein the data synchronization request comprises data to be synchronized and a service type corresponding to the data to be synchronized;
a synchronous request service submodule of the unified synchronous service module generates a unique synchronous request ID for the received data synchronous request and returns the unique synchronous request ID to the application service module;
a synchronous data management submodule of the unified synchronous service module acquires preset synchronous configuration information of the service data corresponding to the service type according to the service type in the data synchronous request; processing data to be synchronized according to the service data synchronization configuration information to generate a synchronization data sequence to be transmitted;
the network transmission and sending service submodule of the unified synchronization service module reads data to be synchronized corresponding to each synchronization request from a synchronization data sequence to be transmitted and sends the data to be synchronized to the network transmission and receiving service submodule of a target system; the network transmission receiving service submodule of the target system sends the data to be synchronized to the corresponding application service module according to the service type of the data to be synchronized for synchronous data processing, and the application service module returns the synchronous data processing result to the network transmission sending service submodule of the synchronous initiator system through the network transmission receiving service submodule of the synchronized initiator system;
after receiving the synchronous data processing result, the network transmission and sending service submodule informs the synchronous data management submodule, and the synchronous data management submodule processes corresponding data in a synchronous data sequence to be transmitted;
the unified synchronization service module responds to the received synchronization result query request sent by the application service module and returns the synchronization data processing result to the application service module; the synchronization result query request includes the synchronization request ID.
The unified synchronization service system architecture of the embodiment can provide a unified and general data synchronization mechanism for data synchronization between different power grid dispatching automation systems. The specific synchronization method process can refer to the related content of embodiment 2.
Example 2
Based on the same inventive concept as embodiment 1, this embodiment introduces a unified data synchronization method between power grid dispatching automation systems, and with reference to fig. 3, the method includes:
receiving a data synchronization request sent by an application service through a preset synchronization request service interface, wherein the data synchronization request comprises data to be synchronized and a service type corresponding to the data to be synchronized;
generating a unique synchronous request ID aiming at the received data synchronous request, and returning the unique synchronous request ID to the application service through a synchronous request service interface;
acquiring preset service data synchronous configuration information corresponding to the service type according to the service type in the data synchronous request through a preset unified synchronous service;
processing data to be synchronized according to the acquired service data synchronization configuration information to generate a synchronization data sequence to be transmitted;
reading data to be synchronized corresponding to each synchronization request from the synchronous data sequence to be transmitted through a preset network transmission sending service, and sending the data to be synchronized to a preset network transmission receiving service of a target system; the network transmission receiving service of the target system sends the data to be synchronized to corresponding application services according to the service type of the data to be synchronized, the application services perform synchronous data processing, and the application services return the processing result of the synchronous data to the network transmission sending service of the synchronous initiator system through the network transmission receiving service of the synchronized initiator system;
the received synchronous data processing result is notified to the unified synchronous service through the network transmission sending service, and corresponding data in a synchronous data sequence to be transmitted are processed through the unified synchronous service;
and, in response to receiving a synchronization result query request sent by an application service, returning the synchronization data processing result to the application service; the synchronization result query request includes the synchronization request ID.
The unified data synchronization method can be suitable for various application services in a power grid dispatching control system, and the covered service types comprise graphic data, model data, operation control data, important alarm data and the like. The data synchronization request can be accompanied by a check code besides the data to be synchronized and the corresponding service type thereof, and is used for validity check during data synchronization processing.
Furthermore, the unified data synchronization method of this embodiment can also implement priority management, timeliness management, target system management, and the like of data to be synchronized, and can be implemented by pre-configuring service data synchronization configuration information, for example, pre-designing service data synchronization configuration information including service type priority information, synchronization target system information corresponding to a service type, data timeliness information, and the like.
When the unified synchronization service generates a synchronization data sequence to be transmitted, the data to be synchronized is written into the synchronization data sequence to be transmitted with the corresponding priority according to the service type priority corresponding to the data to be synchronized, so that a plurality of synchronization data sequences to be transmitted corresponding to different priorities can be obtained. During transmission, sequentially reading data to be synchronized in each synchronous data sequence to be transmitted according to the priority of the service type from top to bottom; and for the read data to be synchronized, acquiring the pre-configured synchronization target system information corresponding to the read data to be synchronized, establishing encryption connection between the network transmission sending service and the network transmission receiving service of the target system, reading the corresponding data from the transmission queue, and then transmitting the data to the network transmission receiving service of the corresponding target system.
When the data to be synchronized is transmitted, an asynchronous transmission mechanism is adopted, the receiving end does not need to wait for the return confirmation of the receiving end, so that the network transmission throughput is improved, the sending rate is limited according to the network capacity quota between systems, and the influence on other services is avoided.
For the data timeliness management, the unified synchronization service carries out timeliness management on corresponding data to be synchronized according to data timeliness pre-configured by service types, and if the data to be synchronized fails, the corresponding data is deleted.
After receiving the data to be synchronized, the network transmission and reception service sends the data to a synchronous data processing service, and the synchronous data processing service can be arranged on an application service side and is used for synchronously processing the data to be synchronized. For the same type of service data, the network transmission receiving service is sent to the synchronous data processing service in a serial mode, and for different types of service data, the network transmission receiving service is sent to each synchronous data processing service in a parallel mode to guarantee the high efficiency of data synchronization.
The synchronous data processing service carries out synchronous data processing on data to be synchronized, and comprises the following steps: checking whether the data to be synchronized is in a preset standard format, wherein the format of the data to be synchronized needs to be agreed by a sender and a receiver of the synchronization service; checking whether the data content to be synchronized is complete; checking whether a data object corresponding to data to be synchronized is a data object in the system; and if all the checks pass, updating the data to be synchronized to a local data object, completing data synchronization, returning the processing result and the synchronization request ID to the network transmission receiving service of the local system, and then forwarding the processing result and the synchronization request ID to the network transmission sending service of the synchronization initiating system, wherein the network transmission sending service of the synchronization initiating system informs the data synchronization processing result to the synchronization data management service of the local unified synchronization service.
For each synchronization operation, the synchronous data processing service can realize the rollback of data by setting a rollback mechanism, backup the data of the previous version during each data synchronization, and restore the data to the data of the historical specified version when rollback is needed.
The synchronization process result may involve: in-sync, complete sync, network interrupt, no processing service found, sync failed, etc. For the normal synchronization situation, the synchronization data processing service can return other important information, such as data version numbers before and after synchronization, besides the synchronization success information.
And the synchronous data management service processes corresponding data according to the data synchronous processing result, and if the synchronous processing result is failure, or the synchronization fails due to network interruption or data processing service can not be found, and the current data is not invalid, the synchronous data management service can execute retransmission processing on the corresponding data.
And for the synchronous processing result returned by the synchronous data processing service, the synchronous data management service adopts a synchronous result queue for management, on one hand, when the business application sends out a synchronous result query request, the corresponding result in the queue is returned to the business application, on the other hand, the number and the retention time of the synchronous processing results in the queue are preset, and when the total number or the retention time is exceeded, the synchronous processing result which is in longer time or is overtime in the queue is deleted.
In order to avoid data mistaken deletion caused by single machine errors, the unified synchronization service stores the data to be synchronized to a plurality of distributed storage nodes in the current system after receiving the data to be synchronized, so that redundant storage management is realized, and the data consistency is maintained among the storage nodes through heartbeat; and after the network transmission sending service informs the unified synchronization service of the received synchronous data processing result, if the synchronous data processing result is correspondingly synchronized, the unified synchronization service also deletes corresponding data of the distributed storage nodes.
The following describes in detail the operation mechanism of the unified synchronization service in the unified data synchronization method according to the present invention, taking the example of synchronizing CIM/G graphics data from the primary scheduling automation system to the standby scheduling automation system in conjunction with fig. 2.
The master and standby power grid dispatching systems are all deployed with unified synchronization service, the graphic synchronization service of the master dispatching automation system calls a data synchronization request interface, the service type corresponding to the data to be synchronized is graphic data, the data is graphic CIM/G content, and the application service calls the synchronization request interface to send the graphic data to be synchronized to the unified synchronization service, so that the synchronization request ID1 returned by the synchronization request service of the unified synchronization service is obtained. And the synchronous data management service checks that the synchronous priority of the graphic data is low priority according to the preset service data synchronous configuration, and stores the data related to the graphic synchronous request into a low-priority transmission queue.
After the network transmission sending service of the main dispatching system is started, encrypted communication connection is established with the network transmission receiving service of the standby dispatching system, and when the graphic data are transmitted, the network transmission sending service of the main dispatching system reads the graphic data from the transmission queue and sends the graphic data to the network transmission receiving service of the standby dispatching system.
After receiving the graphic synchronization data, the network transmission and reception service of the standby scheduling system forwards the data to a graphic synchronization processing service of the standby scheduling system, such as a service data processing service set on an application service side as shown in fig. 2.
The graphic synchronization processing service checks whether the corresponding graphic name and the graphic content in the received synchronous graphic data are in a standard CIM/G format, further checks whether the graphic content description is complete and whether the graphic name belongs to the graphic in the system, and then judges whether the data object is correct. After the check is passed, the original graphic file is backed up, the received graphic content is updated to the latest graphic file, and the synchronization is returned to be successful. If the check fails, return the check error message.
And the transmission receiving service of the standby dispatching system returns the processing result of the graphic synchronous processing service and the synchronous request ID1 to the transmission sending service of the main dispatching system.
The transmission and transmission service of the master system notifies the synchronous data management service of the synchronous request ID and the processing result. And after receiving the synchronization result, the synchronous data management service stores the synchronization result into a synchronization result queue and deletes the synchronous data corresponding to the ID1 from the transmission queue.
And the application service sending the graphic synchronization request in the main scheduling system calls the query interface to query the ID1 synchronization result, so that the graphic is successfully synchronized to the standby scheduling system, and the subsequent operation can be continued.
By utilizing the unified data synchronization method, the two synchronous parties can be synchronized in a single direction and in a two-way direction, and can be synchronized to a single target system or a plurality of target systems.
Example 3
This embodiment describes a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the unified data synchronization method between grid dispatching automation systems as described in embodiment 2.
As shown in FIG. 1, the present invention
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A unified data synchronization method among power grid dispatching automation systems is characterized by comprising the following steps:
receiving a data synchronization request sent by an application service through a preset synchronization request service interface, wherein the data synchronization request comprises data to be synchronized and a service type corresponding to the data to be synchronized;
generating a unique synchronous request ID aiming at the received data synchronous request, and returning the unique synchronous request ID to the application service through a synchronous request service interface;
acquiring preset service data synchronous configuration information corresponding to the service type according to the service type in the data synchronous request through a preset unified synchronous service;
processing data to be synchronized according to the acquired service data synchronization configuration information to generate a synchronization data sequence to be transmitted;
reading data to be synchronized corresponding to each synchronization request from the synchronization data sequence to be transmitted through a preset network transmission sending service, and sending the data to be synchronized to a preset network transmission receiving service of a target system; the network transmission receiving service of the target system sends the data to be synchronized to the corresponding application service according to the service type of the data to be synchronized for synchronous data processing, and the application service returns the processing result of the synchronous data to the network transmission sending service of the synchronous initiator system through the network transmission receiving service of the synchronized system;
the received synchronous data processing result is notified to the unified synchronous service through the network transmission sending service, and corresponding data in a synchronous data sequence to be transmitted are processed through the unified synchronous service;
and, in response to receiving a synchronization result query request sent by an application service, returning the synchronization data processing result to the application service; the synchronization result query request includes the synchronization request ID.
2. The method of claim 1, wherein the traffic types include at least one or more of graphical data, model data, operational control data, and vital alarm data.
3. The method of claim 1, wherein the service data synchronization configuration information comprises service type priority information;
the processing the data to be synchronized according to the acquired service data synchronization configuration information to generate a synchronization data sequence to be transmitted includes:
and writing the data to be synchronized into the synchronous data sequence to be transmitted with the corresponding priority according to the service type priority corresponding to the data to be synchronized.
4. The method of claim 3, wherein the service data synchronization configuration information further includes synchronization target system information corresponding to a service type;
the method for sending the data to be synchronized corresponding to each synchronization request from the synchronization data sequence to be transmitted through the preset network transmission sending service and sending the data to be synchronized to the preset network transmission receiving service of the target system comprises the following steps:
reading data to be synchronized in each synchronous data sequence to be transmitted according to the priority of the service type from top to bottom;
and for the read data to be synchronized, acquiring the pre-configured synchronous target system information corresponding to the read data to be synchronized, and transmitting the data to the network transmission receiving service of the corresponding target system.
5. The method as claimed in claim 1, wherein the processing of the corresponding data in the synchronization data sequence to be transmitted by the unified synchronization service after the network transmission service notifies the unified synchronization service of the received synchronization data processing result comprises:
and if the synchronous data processing result is correspondingly and synchronously finished, the unified synchronization service deletes the corresponding data in the synchronous data to be transmitted.
6. The method of claim 5, wherein processing data to be synchronized further comprises: storing data to be synchronized to a plurality of distributed storage nodes in the current system;
and after the network transmission sending service informs the received synchronous data processing result to the unified synchronization service, if the synchronous data processing result is correspondingly synchronized, the unified synchronization service also deletes corresponding data of the plurality of distributed storage nodes.
7. The method of claim 1, wherein the service data synchronization configuration information further comprises data aging information;
the unified data synchronization method further comprises: and according to the data timeliness of the service types, performing timeliness management on corresponding data to be synchronized, and if the data to be synchronized fails, deleting the corresponding data.
8. The method of claim 1, wherein the application service of the target system performs synchronous data processing on data to be synchronized, comprising:
checking whether the data to be synchronized is in a preset standard format;
checking whether the data content to be synchronized is complete;
checking whether a data object corresponding to data to be synchronized is a data object in the system;
and if all the checks pass, updating the data to be synchronized to the local data object, and completing data synchronization.
9. A unified data synchronization system of a power grid dispatching automation system is characterized by comprising an application service module and a unified synchronization service module, wherein the unified synchronization service module comprises a synchronization request service submodule, a synchronization data management submodule, a network transmission receiving service submodule and a network transmission sending service submodule;
the application service module sends a data synchronization request to the unified synchronization service module by calling a preset synchronization request service interface, wherein the data synchronization request comprises data to be synchronized and a service type corresponding to the data to be synchronized;
a synchronous request service submodule of the unified synchronous service module generates a unique synchronous request ID for the received data synchronous request and returns the unique synchronous request ID to the application service module;
a synchronous data management submodule of the unified synchronous service module acquires preset synchronous configuration information of the service data corresponding to the service type according to the service type in the data synchronous request; processing data to be synchronized according to the service data synchronization configuration information to generate a synchronization data sequence to be transmitted;
the network transmission and sending service submodule of the unified synchronization service module reads the data to be synchronized corresponding to each synchronization request from the synchronization data sequence to be transmitted and sends the data to be synchronized to the network transmission and receiving service submodule of a target system; the network transmission receiving service submodule of the target system sends the data to be synchronized to the corresponding application service module according to the service type of the data to be synchronized for synchronous data processing, and the application service module returns the synchronous data processing result to the network transmission sending service submodule of the synchronous initiator system through the network transmission receiving service submodule of the synchronized initiator system;
after receiving the synchronous data processing result, the network transmission and sending service submodule informs the synchronous data management submodule, and the synchronous data management submodule processes corresponding data in a synchronous data sequence to be transmitted;
the unified synchronization service module responds to the received synchronization result query request sent by the application service module and returns the synchronization data processing result to the application service module; the synchronization result query request includes the synchronization request ID.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for unified data synchronization between grid dispatching automation systems according to any of claims 1-8.
CN202210866796.3A 2022-07-22 2022-07-22 Unified data synchronization method and system between power grid dispatching automation systems Pending CN115357404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210866796.3A CN115357404A (en) 2022-07-22 2022-07-22 Unified data synchronization method and system between power grid dispatching automation systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210866796.3A CN115357404A (en) 2022-07-22 2022-07-22 Unified data synchronization method and system between power grid dispatching automation systems

Publications (1)

Publication Number Publication Date
CN115357404A true CN115357404A (en) 2022-11-18

Family

ID=84031968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210866796.3A Pending CN115357404A (en) 2022-07-22 2022-07-22 Unified data synchronization method and system between power grid dispatching automation systems

Country Status (1)

Country Link
CN (1) CN115357404A (en)

Similar Documents

Publication Publication Date Title
CN111539726B (en) Block chain consensus system and method
WO2000010087A1 (en) Fault tolerant computer system
JPH05219136A (en) Method of adjusting different kind of transaction
CN113067850B (en) Cluster arrangement system under multi-cloud scene
CN103795754A (en) Method and system for data synchronization among multiple systems
US20200293220A1 (en) Log processing method, and related device and system
CN109684131B (en) Dynamic reconstruction method of hybrid structure network fault-tolerant system based on table driving
CN110581782A (en) Disaster tolerance data processing method, device and system
CN105701159A (en) Data synchronization device and method
CN110032478A (en) Method, device and system for real-time synchronization of data of main and standby centers and storage medium
CN103944974A (en) Method for processing protocol messages, method for processing faults of controllers and related device
JPS63279633A (en) Multi-address communication system
WO2005046120A1 (en) A method for data redundancy of hlr
CN103731465A (en) Distributed system and transaction treatment method thereof
CN116633942A (en) Bayesian-busy fault tolerance consensus method for high-speed response client
CN102752148B (en) Management system and management method based on network element adaption subsystem
CN110351122B (en) Disaster recovery method, device, system and electronic equipment
CN112351106A (en) Service grid platform containing event grid and communication method thereof
CN115357404A (en) Unified data synchronization method and system between power grid dispatching automation systems
CN116232893A (en) Consensus method and device of distributed system, electronic equipment and storage medium
CN114039978B (en) Decentralized PoW computing power cluster deployment method
CN114598593A (en) Message processing method, system, computing device and computer storage medium
CN112994998A (en) Communication node, communication method, communication device and electronic equipment
CN112187408A (en) Data processing method, system, device, storage medium and processor
CN101895980B (en) Method and device for task synchronization

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination