CN103049527A - Large power grid oriented parallel real-time database master and slave switching management system - Google Patents

Large power grid oriented parallel real-time database master and slave switching management system Download PDF

Info

Publication number
CN103049527A
CN103049527A CN2012105599513A CN201210559951A CN103049527A CN 103049527 A CN103049527 A CN 103049527A CN 2012105599513 A CN2012105599513 A CN 2012105599513A CN 201210559951 A CN201210559951 A CN 201210559951A CN 103049527 A CN103049527 A CN 103049527A
Authority
CN
China
Prior art keywords
real
time data
data base
module
node
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.)
Granted
Application number
CN2012105599513A
Other languages
Chinese (zh)
Other versions
CN103049527B (en
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.)
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
State Grid Fujian Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
State Grid Fujian Electric Power 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 State Grid Corp of China SGCC, China Electric Power Research Institute Co Ltd CEPRI, State Grid Fujian Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201210559951.3A priority Critical patent/CN103049527B/en
Publication of CN103049527A publication Critical patent/CN103049527A/en
Application granted granted Critical
Publication of CN103049527B publication Critical patent/CN103049527B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明提供一种面向大电网的并行实时数据库主备切换管理系统,包括用于选择实时数据库主节点的选主模块、用于切换实时数据库主节点和实时数据库备节点的主备切换模块和用于将实时数据库主节点上的信息同步到本地节点上的同步模块。本发明提供的面向大电网的并行实时数据库主备切换管理系统在保证并行实时库高并发响应的基础上,正确切换主备节点,满足应用服务的要求。

Figure 201210559951

The invention provides a parallel real-time database master-standby switching management system oriented to a large power grid, including a master selection module for selecting a real-time database master node, a master-standby switch module for switching a real-time database master node and a real-time database standby node, and a user It is used to synchronize the information on the master node of the real-time database to the synchronization module on the local node. The large power grid-oriented parallel real-time database master-standby switching management system provided by the present invention can correctly switch the master-standby nodes on the basis of ensuring high concurrent response of the parallel real-time database, so as to meet the requirements of application services.

Figure 201210559951

Description

A kind of active and standby handover management of parallel real-time data base system towards large electrical network
Technical field
The invention belongs to the control technique in power system field, be specifically related to a kind of active and standby handover management of parallel real-time data base system towards large electrical network.
Background technology
In existing power scheduling technology support system, use real-time data base storage and the real time datas such as management remote measurement amount, remote signalling amount.Along with the development of electrical network, it is large that the real-time measurement data volume constantly becomes, and the bottleneck of the existing employed real-time data base efficient of dispatch automated system and storage is more and more significant.
In order to overcome the above problems, arise at the historic moment in the real-time storehouse of distributed parallel.The distributed parallel real-time data base is comprised of a plurality of nodes, and they provide service simultaneously, very strong support is provided for high Concurrency Access.
But the active and standby switching in the electric system innately can not be supported in the real-time storehouse of distributed parallel.Real-time storehouse in the electric system provides Data Source for many application, and different application is different to active and standby demand.Having some to use needs the access host node, and other need to be accessed from node, so in actual applications, active and standby switching is very frequently.In the real-time storehouse of distributed parallel, how to allow each node can both perceive the switching state of other nodes in the native system, constantly keep unified view, this is the larger problem that the real-time storehouse of present distributed parallel faces.
Summary of the invention
In order to overcome above-mentioned the deficiencies in the prior art, the invention provides a kind of active and standby handover management of parallel real-time data base system towards large electrical network, guarantee correctly to switch main-standby nodes on the basis of the high concurrent response in parallel real-time storehouse, satisfy the requirement of application service.
In order to realize the foregoing invention purpose, the present invention takes following technical scheme:
A kind of active and standby handover management of parallel real-time data base system towards large electrical network is provided, described parallel database comprises N by the real-time data base of network service, described real-time data base comprises real-time data base host node and real-time data base slave node, and it is active and standby right that described real-time data base host node and real-time data base slave node consist of; Described system comprises
Select primary module, be used for selecting the real-time data base host node;
Active and standby handover module is used for switching real-time data base host node and real-time data base slave node; With
Synchronization module is used for the information synchronization on the real-time data base host node to local node.
Described primary module, the active and standby handover module of selecting is connected with synchronization module and connected.
The described primary module that selects comprises load judgment module, broadcast module, message sink module and communication module.
Described load judgment module is judged local loading condition, and obtains the load result by cum rights average; The time of described broadcast module load is broadcast to other all nodes that comprise real-time data base host node and real-time data base slave node; Described message sink module accepts to comprise from other broadcast of all nodes transmissions of real-time data base host node and real-time data base slave node, and load is compared, and selects the node of minimum load as real-time data base host node, i.e. coordinator node; Described communication module: after selecting coordinator node, other nodes just establish a communications link with this coordinator node, wait for the indication of coordinator node.
Described active and standby handover module comprises application type manager, logger module, local meta data manager and information sending module.
Described application type manager judges that request of data is from real-time data base host node or real-time data base slave node; The daily record of work that described logger module recording real-time data storehouse host node or real-time data base slave node switch; The address of described local meta data manager recording real-time data storehouse host node; Described information sending module sends all real-time data base host nodes to handover information.
Described synchronization module comprises change module, message transmission module and synchronous update module.
Described change module is upgraded local metadata information according to active and standby handover information; Metadata information after described message transmission module will be upgraded and the time of renewal send to coordinator node; Described synchronous update module receives the metadata information that coordinator node sends, and then upgrades the metadata information of local node.
Compared with prior art, beneficial effect of the present invention is: in the abundant situation of real-time data base number of nodes, parallel real-time data base will improve data manipulation performance significantly; And, under the prerequisite that does not affect parallel real-time storehouse access function, provide seamless active and standby handoff functionality.In the system of the real-time storehouse of distributed parallel, the active and standby information that each node is seen is that the overall situation is unified, and can guarantee the succession of active and standby switching.Can support to support more abundant application in the situation of local computing not affecting the standalone version dispatching technique by the active and standby handover management of distributing real-time data bank provided by the invention system, such as the whole network calculating etc.
Description of drawings
Fig. 1 is N the synoptic diagram that real-time data base communicates by network;
Fig. 2 is towards the active and standby handover management system construction drawing of the parallel real-time data base of large electrical network;
Fig. 3 is towards the active and standby switch managing method process flow diagram of the parallel real-time data base of large electrical network.
Embodiment
Below in conjunction with accompanying drawing the present invention is described in further detail.
Such as Fig. 1 and Fig. 2, a kind of active and standby handover management of parallel real-time data base system towards large electrical network is provided, described parallel database comprises N by the real-time data base of network service, described real-time data base comprises real-time data base host node and real-time data base slave node, and it is active and standby right that described real-time data base host node and real-time data base slave node consist of; Described system comprises
Select primary module, be used for selecting the real-time data base host node;
Active and standby handover module is used for switching real-time data base host node and real-time data base slave node; With
Synchronization module is used for the information synchronization on the real-time data base host node to local node.
Described primary module, the active and standby handover module of selecting is connected with synchronization module and connected.
The described primary module that selects comprises load judgment module, broadcast module, message sink module and communication module.
Described load judgment module is judged local loading condition, and obtains the load result by cum rights average; The time of described broadcast module load is broadcast to other all nodes that comprise real-time data base host node and real-time data base slave node; Described message sink module accepts to comprise from other broadcast of all nodes transmissions of real-time data base host node and real-time data base slave node, and load is compared, and selects the node of minimum load as real-time data base host node, i.e. coordinator node; Described communication module: after selecting coordinator node, other nodes just establish a communications link with this coordinator node, wait for the indication of coordinator node.
Described active and standby handover module comprises application type manager, logger module, local meta data manager and information sending module.
Described application type manager judges that request of data is from real-time data base host node or real-time data base slave node; The daily record of work that described logger module recording real-time data storehouse host node or real-time data base slave node switch; The address of described local meta data manager recording real-time data storehouse host node; Described information sending module sends all real-time data base host nodes to handover information.
Described synchronization module comprises change module, message transmission module and synchronous update module.
Described change module is upgraded local metadata information according to active and standby handover information; Metadata information after described message transmission module will be upgraded and the time of renewal send to coordinator node; Described synchronous update module receives the metadata information that coordinator node sends, and then upgrades the metadata information of local node.
Should be noted that at last: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit, although with reference to above-described embodiment the present invention is had been described in detail, those of ordinary skill in the field are to be understood that: still can make amendment or be equal to replacement the specific embodiment of the present invention, and do not break away from any modification of spirit and scope of the invention or be equal to replacement, it all should be encompassed in the middle of the claim scope of the present invention.

Claims (8)

1. the active and standby handover management of parallel real-time data base system towards large electrical network, described parallel database comprises N by the real-time data base of network service, described real-time data base comprises real-time data base host node and real-time data base slave node, and it is active and standby right that described real-time data base host node and real-time data base slave node consist of; It is characterized in that: described system comprises
Select primary module, be used for selecting the real-time data base host node;
Active and standby handover module is used for switching real-time data base host node and real-time data base slave node; With
Synchronization module is used for the information synchronization on the real-time data base host node to local node.
2. the active and standby handover management of the parallel real-time data base system towards large electrical network according to claim 1, it is characterized in that: described primary module, the active and standby handover module of selecting is connected with synchronization module and connected.
3. the active and standby handover management of the parallel real-time data base system towards large electrical network according to claim 1 and 2, it is characterized in that: the described primary module that selects comprises load judgment module, broadcast module, message sink module and communication module.
4. the active and standby handover management of the parallel real-time data base system towards large electrical network according to claim 3 is characterized in that: described load judgment module is judged local loading condition, and obtains the load result by cum rights average;
The time of described broadcast module load is broadcast to other all nodes that comprise real-time data base host node and real-time data base slave node;
Described message sink module accepts to comprise from other broadcast of all nodes transmissions of real-time data base host node and real-time data base slave node, and load is compared, and selects the node of minimum load as real-time data base host node, i.e. coordinator node;
Described communication module: after selecting coordinator node, other nodes just establish a communications link with this coordinator node, wait for the indication of coordinator node.
5. the active and standby handover management of the parallel real-time data base system towards large electrical network according to claim 1 and 2, it is characterized in that: described active and standby handover module comprises application type manager, logger module, local meta data manager and information sending module.
6. the active and standby handover management of the parallel real-time data base system towards large electrical network according to claim 5 is characterized in that: described application type manager judges that request of data is from real-time data base host node or real-time data base slave node;
The daily record of work that described logger module recording real-time data storehouse host node or real-time data base slave node switch;
The address of described local meta data manager recording real-time data storehouse host node;
Described information sending module sends all real-time data base host nodes to handover information.
7. the active and standby handover management of the parallel real-time data base system towards large electrical network according to claim 1 and 2 is characterized in that: described synchronization module comprises change module, message transmission module and synchronous update module.
8. the active and standby handover management of the parallel real-time data base system towards large electrical network according to claim 7 is characterized in that: described change module is upgraded local metadata information according to active and standby handover information;
Metadata information after described message transmission module will be upgraded and the time of renewal send to coordinator node;
Described synchronous update module receives the metadata information that coordinator node sends, and then upgrades the metadata information of local node.
CN201210559951.3A 2012-12-20 2012-12-20 A kind of parallel real-time database active-standby switch management system towards bulk power grid Active CN103049527B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210559951.3A CN103049527B (en) 2012-12-20 2012-12-20 A kind of parallel real-time database active-standby switch management system towards bulk power grid

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210559951.3A CN103049527B (en) 2012-12-20 2012-12-20 A kind of parallel real-time database active-standby switch management system towards bulk power grid

Publications (2)

Publication Number Publication Date
CN103049527A true CN103049527A (en) 2013-04-17
CN103049527B CN103049527B (en) 2016-01-20

Family

ID=48062168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210559951.3A Active CN103049527B (en) 2012-12-20 2012-12-20 A kind of parallel real-time database active-standby switch management system towards bulk power grid

Country Status (1)

Country Link
CN (1) CN103049527B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809979A (en) * 2014-02-25 2014-05-21 南京南瑞继保电气有限公司 Man-machine interaction software module integration system and implementing method thereof
CN104281631A (en) * 2013-07-12 2015-01-14 中兴通讯股份有限公司 Distributed database system and data synchronization method and nodes thereof
CN104346373A (en) * 2013-07-31 2015-02-11 华为技术有限公司 Partition log queue synchronization management method and device
CN104504172A (en) * 2014-11-27 2015-04-08 国家电网公司 Main-standby scheduling model data synchronization method for electricity SCADA (supervisory control and data acquisition) system
CN104601347A (en) * 2013-10-30 2015-05-06 北京临近空间飞行器系统工程研究所 High reliability data release storage system and method
CN106982138A (en) * 2017-03-20 2017-07-25 国网福建省电力有限公司 A kind of method that service consumer based on wide area Service-Oriented Architecture Based ensures data reliability in active-standby switch
CN110166524A (en) * 2019-04-12 2019-08-23 陆金所(上海)科技服务有限公司 Switching method, device, equipment and the storage medium of data center
CN115840756A (en) * 2022-12-14 2023-03-24 中国南方电网有限责任公司 Data updating method of main and standby debugging system, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881744A (en) * 2005-06-16 2006-12-20 许继集团有限公司 High voltage DC power transmission converter station real-time monitoring system and its realizing method
CN101394306A (en) * 2008-07-08 2009-03-25 国电南瑞科技股份有限公司 Seamless switching method for dual server system
CN101458808A (en) * 2008-12-31 2009-06-17 中国建设银行股份有限公司 Bank management system, server cluster and correlation method
CN102411639A (en) * 2011-12-31 2012-04-11 曙光信息产业股份有限公司 Multi-copy storage management method and system for metadata
CN102750371A (en) * 2012-06-15 2012-10-24 中国电力科学研究院 Parallel real-time database system and data management method thereof for power system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881744A (en) * 2005-06-16 2006-12-20 许继集团有限公司 High voltage DC power transmission converter station real-time monitoring system and its realizing method
CN101394306A (en) * 2008-07-08 2009-03-25 国电南瑞科技股份有限公司 Seamless switching method for dual server system
CN101458808A (en) * 2008-12-31 2009-06-17 中国建设银行股份有限公司 Bank management system, server cluster and correlation method
CN102411639A (en) * 2011-12-31 2012-04-11 曙光信息产业股份有限公司 Multi-copy storage management method and system for metadata
CN102750371A (en) * 2012-06-15 2012-10-24 中国电力科学研究院 Parallel real-time database system and data management method thereof for power system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281631A (en) * 2013-07-12 2015-01-14 中兴通讯股份有限公司 Distributed database system and data synchronization method and nodes thereof
CN104346373A (en) * 2013-07-31 2015-02-11 华为技术有限公司 Partition log queue synchronization management method and device
CN104346373B (en) * 2013-07-31 2017-12-15 华为技术有限公司 Subregion journal queue synchronization management method and equipment
CN104601347B (en) * 2013-10-30 2018-02-13 北京临近空间飞行器系统工程研究所 A kind of highly reliable data publication storage method
CN104601347A (en) * 2013-10-30 2015-05-06 北京临近空间飞行器系统工程研究所 High reliability data release storage system and method
CN103809979B (en) * 2014-02-25 2017-03-29 南京南瑞继保电气有限公司 A kind of interactive software module integrated system and its implementation
CN103809979A (en) * 2014-02-25 2014-05-21 南京南瑞继保电气有限公司 Man-machine interaction software module integration system and implementing method thereof
CN104504172A (en) * 2014-11-27 2015-04-08 国家电网公司 Main-standby scheduling model data synchronization method for electricity SCADA (supervisory control and data acquisition) system
CN106982138A (en) * 2017-03-20 2017-07-25 国网福建省电力有限公司 A kind of method that service consumer based on wide area Service-Oriented Architecture Based ensures data reliability in active-standby switch
CN110166524A (en) * 2019-04-12 2019-08-23 陆金所(上海)科技服务有限公司 Switching method, device, equipment and the storage medium of data center
CN110166524B (en) * 2019-04-12 2023-04-07 未鲲(上海)科技服务有限公司 Data center switching method, device, equipment and storage medium
CN115840756A (en) * 2022-12-14 2023-03-24 中国南方电网有限责任公司 Data updating method of main and standby debugging system, equipment and medium
CN115840756B (en) * 2022-12-14 2024-03-22 中国南方电网有限责任公司 Data updating method of main and standby modulation system, equipment and medium

Also Published As

Publication number Publication date
CN103049527B (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN103049527A (en) Large power grid oriented parallel real-time database master and slave switching management system
CN103095806B (en) A kind of load balancing management system of the real-time dataBase system towards bulk power grid
CN102955845B (en) Data access method, device and distributed data base system
CN105095317A (en) Distributive database service management system
CN108664660A (en) Distributed implementation method, apparatus, equipment and the storage medium of time series database
CN104486445A (en) Distributed extendable resource monitoring system and method based on cloud platform
CN104135539A (en) Data storage method, SDN controller and distributed network storage system
CN105376182B (en) A kind of managing power network resources and distribution method and system
CN105187512A (en) Method and system for load balancing of virtual machine clusters
CN104361030A (en) Distributed cache architecture with task distribution function and cache method
CN108848132B (en) Power distribution scheduling main station system based on cloud
CN103269364B (en) A kind of distributed cloud computing data migration method
CN106953910A (en) A kind of Hadoop calculates storage separation method
CN102983996A (en) Dynamic allocation method and system for high-availability cluster resource management
CN102937964A (en) Intelligent data service method based on distributed system
CN104539982A (en) Method and system for dispatching of video resource point-to-point sharing and node terminal
CN114138488A (en) Cloud-native implementation method and system based on elastic high-performance computing
CN103581226A (en) Method, system and device for synchronizing terminal capacity information
CN202068449U (en) Data exchange platform used for multistage data exchange
CN104348852A (en) Method for realizing telecommunications capacity group sending, device thereof, and system thereof
CN103338227B (en) The synchronous method of the information of making an inventory of electric power asset equipment and system
CN104573997B (en) Distribution network mapping and thematic map application architecture design method
CN110674221B (en) Spatial data synchronization method, terminal and computer readable storage medium
CN105302817A (en) Distributed file system management method and apparatus
CN103577424A (en) Distributed database view achieving method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant