CN103595768A - Method for realizing configuration synchronization between virtualized devices - Google Patents

Method for realizing configuration synchronization between virtualized devices Download PDF

Info

Publication number
CN103595768A
CN103595768A CN201310514997.8A CN201310514997A CN103595768A CN 103595768 A CN103595768 A CN 103595768A CN 201310514997 A CN201310514997 A CN 201310514997A CN 103595768 A CN103595768 A CN 103595768A
Authority
CN
China
Prior art keywords
equipment
configuration
main equipment
main
devices
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
CN201310514997.8A
Other languages
Chinese (zh)
Other versions
CN103595768B (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
Information and Telecommunication Branch of State Grid Hebei Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Information and Telecommunication Branch of State Grid Hebei 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, Information and Telecommunication Branch of State Grid Hebei Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201310514997.8A priority Critical patent/CN103595768B/en
Publication of CN103595768A publication Critical patent/CN103595768A/en
Application granted granted Critical
Publication of CN103595768B publication Critical patent/CN103595768B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for realizing configuration synchronization between virtualized devices. The method for realizing configuration synchronization between the virtualized devices is applied to configuration synchronization between the master device and slave devices in the cluster technology. According to the work process, the master device and the slave devices build data chaining, the master device carries out multicast configuration simultaneously on all the slave devices, and the master device and the slave devices judge whether configuration synchronization succeeds within timer time. If configuration of the master device fails, the configuration of the master device rolls back. If configuration of the slave devices fails, the slave devices carry out reconfiguration according to the instruction of the master device or leave the multicast group. The method for realizing configuration synchronization between the virtualized devices guarantees that all the member devices achieve configuration synchronization within a time constant range bearable for a user, can strictly control configuration consistence between the member devices, and improves work efficiency.

Description

A kind of method that realizes configuration synchronization between virtual equipment
Technical field
The present invention relates to communication technique field, specifically a kind of equipment room configuration synchronization technology.
Background technology
Along with improving constantly of network information, it is day by day complicated that network security becomes, and Network Security Device is also faced with increasing test at aspects such as performance, reliabilities.Can expand a capacity for hardware, the Intel Virtualization Technology that simplification software reconfigures process arises at the historic moment.Intel Virtualization Technology is used various control protocols, and multiple devices are invented to single equipment unified management, to reach streamlining management, improves the object of performance and raising network reliability.The configuration synchronization of equipment room is the prerequisite that Intel Virtualization Technology is realized.
Traditional virtual equipment configuration and synchronization method is when main equipment obtains configuration, configuration is sent to one by one from device service process, then main equipment configures, from equipment, also do identical configuration, main equipment and configuring alone from equipment, mainly there is following shortcoming in the method for this kind of configuration synchronization: 1) main equipment sends configuration to each from equipment in a looping fashion, time length, inefficiency; 2) from the configuration result of equipment how main equipment is issued configuration from equipment by all means, cannot learn from equipment whether receive configuration and; From equipment is received configuration, the configuration being only Myself, does not know main equipment configuration result; Be main equipment and there is no affirmation mechanism from equipment configuration, once after inconsistent, without any detection method and synchronization scenario, its consequence cannot be predicted and evade.
After Clustering occurs, the member device quantity in virtual unit sharply increases.When cluster scale becomes large, when member device increases, such strategy very poor efficiency that will become.And under a lot of abnormal conditions, can cause main equipment and inconsistent from equipment configuration, and as: main equipment with from devices communicating failure, main equipment and hang and wait indefinitely from equipment relevant configuration service processes.When main equipment breaks down, from equipment, just can not normally take over business, consequence can be very serious.
Summary of the invention
The technical issues that need to address of the present invention are to provide a kind of method that realizes configuration synchronization between virtual equipment, both guaranteed to accomplish configuration synchronization within the scope of time constant that all member devices can bear user, can also strictly control the configuration conformance of member's equipment room, increase work efficiency.
For solving the problems of the technologies described above, the technical solution adopted in the present invention is:
Realize a method for configuration synchronization between virtual equipment, described virtual equipment comprises that a main equipment and some are from equipment, and main equipment comprises the following steps with the configuration of synchronizeing from equipment room:
A. allly from equipment, to main equipment, send linking request respectively;
B. after linking successfully, main equipment adopts multicasting technology to be sent to allly from equipment by configuration information is parallel, and then main equipment self configures, and from equipment receives configuration information, configures respectively;
C. main equipment completes after configuration, and opening timing device is waited for all receiveing the response from equipment; From equipment completes configuration, configuration information clean culture receipt, to main equipment, and opening timing device, waits for the command message of main equipment;
D. main equipment judges whether all devices completes synchronous configuration;
If all devices is synchronous configuration successful all, main equipment multicast is given from this time configuration transmission of equipment and is determined the command message retaining, and configuration synchronization completes;
If wherein main equipment or have any equipment not complete synchronous configuration from equipment, proceeds to step e;
If main equipment configuration failure E., main equipment determines this time configuration of rollback, is again configured; If main equipment configuration successful, wherein certain or some from equipment configuration failure, the waiting for and to accept main equipment order from equipment of configuration successful not, and proceed to step F;
F. when receiving that from equipment configuration retains order, not configuration successful from equipment, re-start configuration, main equipment continues to wait for that configuration successful is not from the configuration receipt of equipment, until configured from equipment receipt; When receiving the order of main equipment from equipment and be rollback order, from equipment, exit multicast group, configuration synchronization completes.
Owing to having adopted technique scheme, the technological progress that the present invention obtains is:
The present invention can either guarantee to accomplish configuration synchronization within the scope of time constant that all devices can bear user, can also strictly control the configuration conformance of member's equipment room, and can tackle various abnormal conditions.Adopt multicasting technology allow many member devices parallel deployment, can farthest reduce the transmitting time of main equipment and from the serial stand-by period between equipment, increase work efficiency.Main equipment unification receives and manages all from the equipment acknowledge messages that clean culture is replied respectively, to processing separately from equipment of configuration failure, both can guarantee main equipment and the consistency and the stability that from equipment, configure, can also reduce setup time.Adopt regularly retransmission technique, can successfully manage the abnormal conditions such as communication failure, reached the requirement of real-time configuration synchronization.
Accompanying drawing explanation
Fig. 1 is that the present invention adopts multicasting technology parallel deployment schematic diagram;
Fig. 2 is workflow diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further details:
Virtual equipment generally includes a main equipment and some from equipment, main equipment and must maintenance synchronously can realize unified control from the configuration of equipment room.Realize a method for configuration synchronization between virtual equipment, as shown in Figure 2, specifically comprise the following steps.
A. at main equipment with from equipment starts respectively, from equipment, initiatively to main equipment, send linking request, main equipment is received and with heartbeat message signal, is maintained main equipment after request and from the link between equipment.Main equipment with each from adopting parallel mode to intercom mutually between equipment, as shown in Figure 1.
B. after link is set up, main equipment pack current configuration, adopts multicasting technology that current configuration is walked abreast and sends to allly from equipment, and main equipment configures after transmission, self starts to configure; From equipment receives configuration, then configure according to this configuration.Now, main equipment and allly set up a multicast group from equipment, main equipment is as the multicast source of this multicast group, and namely the manager of this multicast group, is safeguarding group membership's interpolation and deletion, main equipment is safeguarded a group name list, newly add from equipment the approval that obtains main equipment, join multicast group, main equipment adds this member on list, when each main equipment configures afterwards, form real-time synchronization that can be by multicast on main equipment group name list from equipment.
C. main equipment completes after configuration, and opening timing device is waited for all receiveing the response from equipment; From equipment completes configuration, configuration information clean culture receipt, to main equipment, and opening timing device, waits for the command message of main equipment.
D. main equipment judges whether all devices completes synchronous configuration, if all configuration synchronization successes of all devices, main equipment multicast is given from this time configuration of equipment and sent and determine the command message that retains, main equipment and all retain this time configuration from equipment, and configuration synchronization completes.If wherein main equipment or from equipment any one equipment do not complete synchronous configuration, according to the result of main equipment configuration, determine not complete the operating state of the equipment of synchronous configuration, enter step e.
If main equipment configuration failure E., main equipment determines this time configuration of rollback, is again configured.If main equipment configuration successful, wherein certain or some from equipment configuration failure, enter step F.
F. according to the configuration result of main equipment, to configuration successful not from equipment, send order, when receiving that from equipment configuration retains order, from equipment, re-start configuration, main equipment continues to wait for the configuration acknowledgement information from equipment; Until configured from equipment receipt, i.e. the synchronous configuration of all devices completes.When receive the order of main equipment from equipment, be, while configuring rollback command message, to illustrate from equipment configuration failure, from then on expression main equipment has been deleted this from equipment multicast group list, from equipment, exit multicast group, and configuration synchronization completes.
From equipment, exiting multicast group, can restart, to main equipment, initiate link, again after acquisition configuration, add again this multicast group in batches.
At main equipment with from equipment layoutprocedure, when overtime from equipment heartbeat link signal, main equipment can think that this can not be competent at member device work again from equipment, and main equipment is directly deleted this equipment from multicast group list, prevents from affecting configured in one piece efficiency.In timer time, when main equipment is not received at least one configuration acknowledgement information from equipment clean culture, main equipment retransmits configuration.From equipment, to main equipment clean culture configuration acknowledgement information, in timer time, do not receive the command message of main equipment, from equipment, be configured rollback.

Claims (1)

1. a method that realizes configuration synchronization between virtual equipment, is characterized in that: described virtual equipment comprises that a main equipment and some are from equipment, and main equipment comprises the following steps with the configuration of synchronizeing from equipment room:
A. allly from equipment, to main equipment, send linking request respectively;
B. after linking successfully, main equipment adopts multicasting technology to be sent to allly from equipment by configuration information is parallel, and then main equipment self configures, and from equipment receives configuration information, configures respectively;
C. main equipment completes after configuration, and opening timing device is waited for all receiveing the response from equipment; From equipment completes configuration, configuration information clean culture receipt, to main equipment, and opening timing device, waits for the command message of main equipment;
D. main equipment judges whether all devices completes synchronous configuration;
If all devices is synchronous configuration successful all, main equipment multicast is given from this time configuration transmission of equipment and is determined the command message retaining, and configuration synchronization completes;
If wherein main equipment or have any equipment not complete synchronous configuration from equipment, proceeds to step e;
If main equipment configuration failure E., main equipment determines this time configuration of rollback, is again configured; If main equipment configuration successful, wherein certain or some from equipment configuration failure, the waiting for and to accept main equipment order from equipment of configuration successful not, and proceed to step F;
F. when receiving that from equipment configuration retains order, not configuration successful from equipment, re-start configuration, main equipment continues to wait for that configuration successful is not from the configuration receipt of equipment, until configured from equipment receipt; When receiving the order of main equipment from equipment and be rollback order, from equipment, exit multicast group, configuration synchronization completes.
CN201310514997.8A 2013-10-28 2013-10-28 A kind of method that realizes configuration synchronization between virtual equipment Active CN103595768B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310514997.8A CN103595768B (en) 2013-10-28 2013-10-28 A kind of method that realizes configuration synchronization between virtual equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310514997.8A CN103595768B (en) 2013-10-28 2013-10-28 A kind of method that realizes configuration synchronization between virtual equipment

Publications (2)

Publication Number Publication Date
CN103595768A true CN103595768A (en) 2014-02-19
CN103595768B CN103595768B (en) 2016-05-25

Family

ID=50085748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310514997.8A Active CN103595768B (en) 2013-10-28 2013-10-28 A kind of method that realizes configuration synchronization between virtual equipment

Country Status (1)

Country Link
CN (1) CN103595768B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105007201A (en) * 2015-05-27 2015-10-28 广东欧珀移动通信有限公司 Method for accessing network, wireless sound box and system
WO2015188482A1 (en) * 2014-06-10 2015-12-17 中兴通讯股份有限公司 Method and device for providing and accessing virtualization application, realizing method and system
CN106533721A (en) * 2015-09-11 2017-03-22 中兴通讯股份有限公司 Network management data configuration method, device and system
CN106817231A (en) * 2015-12-07 2017-06-09 中国科学院信息工程研究所 A kind of Virtual Cluster rollback method and system based on multicasting technology
CN108521342A (en) * 2018-03-26 2018-09-11 北京奇艺世纪科技有限公司 A kind of management method and device of cluster
CN109324549A (en) * 2018-09-30 2019-02-12 杭州迪普科技股份有限公司 A kind of dual master control equipment configuration method and dual master control equipment
CN111241194A (en) * 2020-01-02 2020-06-05 浙江口碑网络技术有限公司 Data synchronization method and device
CN111245633A (en) * 2018-11-29 2020-06-05 北京天诚同创电气有限公司 Configuration file of microgrid main equipment and operation method thereof
CN114422559A (en) * 2021-12-31 2022-04-29 深圳海翼智新科技有限公司 Device control method and device, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780201A (en) * 2004-11-17 2006-05-31 中兴通讯股份有限公司 Method for realizing synchronous information between multiple nodes
CN101552686A (en) * 2008-03-31 2009-10-07 中兴通讯股份有限公司 Synchronous data transmission method among broadcasting service element locations of multimedia multicasting
CN102123024A (en) * 2011-03-17 2011-07-13 中兴通讯股份有限公司 Method, system and device for switching and selecting clock source equipment
CN102404102A (en) * 2011-11-16 2012-04-04 中兴通讯股份有限公司 Method and device for synchronizing Ethernet
CN102412956A (en) * 2011-11-29 2012-04-11 中兴通讯股份有限公司 Protocol unicast manner synchronization method, devices and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780201A (en) * 2004-11-17 2006-05-31 中兴通讯股份有限公司 Method for realizing synchronous information between multiple nodes
CN101552686A (en) * 2008-03-31 2009-10-07 中兴通讯股份有限公司 Synchronous data transmission method among broadcasting service element locations of multimedia multicasting
CN102123024A (en) * 2011-03-17 2011-07-13 中兴通讯股份有限公司 Method, system and device for switching and selecting clock source equipment
CN102404102A (en) * 2011-11-16 2012-04-04 中兴通讯股份有限公司 Method and device for synchronizing Ethernet
CN102412956A (en) * 2011-11-29 2012-04-11 中兴通讯股份有限公司 Protocol unicast manner synchronization method, devices and system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015188482A1 (en) * 2014-06-10 2015-12-17 中兴通讯股份有限公司 Method and device for providing and accessing virtualization application, realizing method and system
CN105227523A (en) * 2014-06-10 2016-01-06 中兴通讯股份有限公司 Virtualization applications provides, access method and device and implementation method and system
CN105227523B (en) * 2014-06-10 2021-09-28 中兴通讯股份有限公司 Method and device for providing and accessing virtualized application, and method and system for implementing method and device
CN105007201A (en) * 2015-05-27 2015-10-28 广东欧珀移动通信有限公司 Method for accessing network, wireless sound box and system
CN106533721B (en) * 2015-09-11 2021-03-02 中兴通讯股份有限公司 Network management data configuration method, device and system
CN106533721A (en) * 2015-09-11 2017-03-22 中兴通讯股份有限公司 Network management data configuration method, device and system
CN106817231A (en) * 2015-12-07 2017-06-09 中国科学院信息工程研究所 A kind of Virtual Cluster rollback method and system based on multicasting technology
CN108521342A (en) * 2018-03-26 2018-09-11 北京奇艺世纪科技有限公司 A kind of management method and device of cluster
CN109324549A (en) * 2018-09-30 2019-02-12 杭州迪普科技股份有限公司 A kind of dual master control equipment configuration method and dual master control equipment
CN109324549B (en) * 2018-09-30 2020-08-04 杭州迪普科技股份有限公司 Dual-master control equipment configuration method and dual-master control equipment
CN111245633A (en) * 2018-11-29 2020-06-05 北京天诚同创电气有限公司 Configuration file of microgrid main equipment and operation method thereof
CN111245633B (en) * 2018-11-29 2023-04-28 北京天诚同创电气有限公司 Configuration file of micro-grid main equipment and operation method thereof
CN111241194A (en) * 2020-01-02 2020-06-05 浙江口碑网络技术有限公司 Data synchronization method and device
CN114422559A (en) * 2021-12-31 2022-04-29 深圳海翼智新科技有限公司 Device control method and device, electronic device and storage medium

Also Published As

Publication number Publication date
CN103595768B (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN103595768B (en) A kind of method that realizes configuration synchronization between virtual equipment
US10169966B1 (en) Networking communication method for multi-slave cable anti-theft monitoring system
CA2733788C (en) Method and systems for redundant server automatic failover
US10992494B2 (en) Gateway round-robin system
WO2016107172A1 (en) Post-cluster brain split quorum processing method and quorum storage device and system
CN105743757B (en) The method of the free networking of RS485 communicating terminals
US9071508B2 (en) Distributed fabric management protocol
CN101594383B (en) Method for monitoring service and status of controllers of double-controller storage system
WO2017000832A1 (en) Mac address synchronization method, device and system
CN105763471B (en) link management method, device and system in virtual machine environment
CN103746889B (en) Half competitive mode RS-485 bus multi-master communication system and its working method
CN103995868A (en) Distributed system oriented global transaction manager and transaction handling method
CN106230622B (en) Cluster implementation method and device
CN102223655A (en) Underlying multi-thread data transmission method of mobile communication
CN103685530A (en) Automatic upgrade control method and system for WLAN current network APs
CN110427220A (en) Configuration method, device, electronic equipment and the storage medium of device command
CN110501979A (en) A kind of cluster control method, system and terminal device
CN103685083A (en) Communication method in asynchronous management network
CN104102607A (en) CAN (controlled area network) bus driving method and system based on VxWorks operating system environment
CN104298567B (en) A kind of system and method for ensureing Message Processing uniformity
CN101511098B (en) Distributed net element task management system and method
CN105471654A (en) FC network based configuration data automatic uploading method
WO2015101100A1 (en) Network device and service processing method in network
CN104579428A (en) PLC equipment automatic pairing method
CN102355371A (en) Implementation method for dual hot redundancy of splicing wall control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Zhu Jinhui

Inventor after: Bai Tao

Inventor after: Liu Ping

Inventor after: Li Jingquan

Inventor after: Liu Chenglong

Inventor after: Chen Liandong

Inventor after: Zhang Lei

Inventor after: Shen Lei

Inventor after: Wang Zhen

Inventor before: Bai Tao

Inventor before: Liu Ping

Inventor before: Li Jingquan

Inventor before: Liu Chenglong

Inventor before: Chen Liandong

Inventor before: Zhang Lei

Inventor before: Shen Lei

Inventor before: Wang Zhen

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant