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 PDFInfo
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a large power grid oriented parallel real-time database master and slave switching management system which comprises a master selecting module, a master and slave switching module and a synchronization module, wherein the master selecting module is used for selecting master nodes of a real-time database, the master and slave switching module is used for switching the master nodes and slave nodes of the real-time database, and the synchronization module is used for synchronizing information on the master nodes of the real-time database to local nodes. By the aid of the large power grid oriented parallel real-time database master and slave switching management system, based on guarantee of concurrent response of the parallel real-time database, the master nodes and the slave nodes are correctly switched, and the requirements of application services are met.
Description
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.
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)
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)
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 of metadata |
CN102750371A (en) * | 2012-06-15 | 2012-10-24 | 中国电力科学研究院 | Parallel real-time database system and data management method thereof for power system |
-
2012
- 2012-12-20 CN CN201210559951.3A patent/CN103049527B/en active Active
Patent Citations (5)
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 of 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)
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 |
---|---|---|
CN103049527B (en) | A kind of parallel real-time database active-standby switch management system towards bulk power grid | |
CN103078927B (en) | Key-value data distributed caching system and method thereof | |
CN103095806B (en) | A kind of load balancing management system of the real-time dataBase system towards bulk power grid | |
CN105141452A (en) | High-performance service system and method based on CXF | |
EP2429120A1 (en) | Distributed network management system, network element management server, and data configuration management method | |
CN104486445A (en) | Distributed extendable resource monitoring system and method based on cloud platform | |
CN104243527A (en) | Data synchronization method and device and distributed system | |
CN102685237A (en) | Method for requesting session maintaining and dispatching in cluster environment | |
CN108848132B (en) | Power distribution scheduling main station system based on cloud | |
CN101873005A (en) | Method for realizing balanced acquisition of electric energy | |
CN110213359B (en) | Internet of vehicles networking data pushing system and method based on D2D | |
CN103581226A (en) | Method, system and device for synchronizing terminal capacity information | |
CN104539982A (en) | Method and system for dispatching of video resource point-to-point sharing and node terminal | |
CN103297502A (en) | Load balancing system and method | |
CN109215326A (en) | A kind of parallel meter register method and device | |
CN114138488A (en) | Cloud-native implementation method and system based on elastic high-performance computing | |
CN102185717A (en) | Service processing equipment, method and system | |
CN105302649A (en) | Disaster recovery backup method and system | |
CN102982033A (en) | Small documents storage method and system thereof | |
CN105302817A (en) | Distributed file system management method and apparatus | |
CN102694677A (en) | New method for disaster recovery data center construction based on remote IP analysis | |
CN103281383A (en) | Timing sequence recording method for distributed-type data source | |
CN110674221A (en) | Spatial data synchronization method, terminal and computer readable storage medium | |
CN102355370B (en) | Method for Ethernet board-level protection, device and system | |
CN104331326A (en) | Scheduling method and system for cloud computing |
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 |