Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for information synchronization

A technology for synchronizing information and synchronizing messages, applied in the field of communication, can solve problems such as out-of-order synchronization and synchronization of synchronization messages, and achieve the effect of avoiding inaccurate synchronization

Active Publication Date: 2022-05-24
NEW H3C BIG DATA TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] A controller cluster includes multiple controllers, and each controller is determined by the leader to determine the network devices it manages. However, if the link between a controller in the cluster and the network devices it manages fails, the The new controller will take over the network devices managed by the controller (old controller) corresponding to the faulty link. At this time, both the new and old controllers will synchronize the status of the managed network devices to other controllers in the cluster. When the new and old controllers synchronize the status of network devices, they are concurrent. Therefore, when other controllers process the information synchronized by the new and old controllers, there may be out-of-order synchronization messages, which will lead to synchronization problems.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for information synchronization
  • A method and device for information synchronization
  • A method and device for information synchronization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] figure 2 A schematic flowchart of an information synchronization method is provided. The schematic flowchart shows an information synchronization method, and the method can be applied to any controller in the controller cluster. In order to better describe the information synchronization method provided in this embodiment, this embodiment uses figure 1 The network architecture shown is taken as an example to illustrate the method. Specifically, with figure 1 The Device B is the first network device, the first controller is the controller 3, the second controller is the controller 2, and the leader controller is the controller 1 as an example for description. The controller 1 is used as an example for any controller in this embodiment, but it should be understood that any controller here is not limited to the leader controller.

[0065] like figure 1 and figure 2 As shown, the information synchronization method specifically includes:

[0066] Step 201: Receive a ...

Embodiment 2

[0083] This embodiment describes how the term information is synchronized in the controllers in the cluster. In the method provided in this embodiment, the leader controller in the cluster first updates the term information of the controller as an example for description. image 3 A schematic flowchart of the information synchronization method provided in this embodiment is shown. This embodiment is described by taking the third controller as controller 3 and the third network device as Device B as an example. like figure 1 and image 3 As shown, the information synchronization method provided by this embodiment includes:

[0084] Step 301, if the leader controller 1 detects that the communication between the third controller in the cluster and the third network device managed by the third controller is disconnected, it elects a new controller for the third network device .

[0085] When controller 1 detects that the communication between controller 3, which originally man...

Embodiment 3

[0094] Corresponding to Embodiment 2, on the basis of Embodiment 1, any controller in Embodiment 1 may perform the following steps:

[0095] Step 209: Receive an election message sent by the leader controller in the cluster to be elected as the new controller of the third network device, where the election message carries the identifier of the third network device managed by any of the controllers and any The term information of the controller as the master device that manages network devices.

[0096] After the leader controller updates the tenure information that manages the third network device Device B, it will synchronize the above tenure information to other controllers in the cluster. Specifically, the tenure information can be carried in the election packet. The election packet is: The leader controller is used to elect a new master controller for network devices, and to synchronize the election result message to the cluster. The election message can be implemented usi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

This specification provides an information synchronization method and device, the method includes: receiving a first synchronization message sent by the first controller in the cluster, the first synchronization message includes: the status information of the first network device, management The tenure information of the first controller of the first network device; receiving the second synchronization message sent by the second controller, the second synchronization message includes: the state information of the first network device, the tenure of the second controller of the management network device information; determine a new controller to manage the first network device according to the tenure information of the first controller and the second controller; record the state information of the first network device according to the synchronization message sent by the new controller. According to the tenure information, the problem of inconsistency of the state of the network equipment caused by the new and old controllers managing the network equipment synchronizing information with the leader controller can be solved.

Description

technical field [0001] This specification relates to the field of communication technologies, and in particular, to an information synchronization method and device. Background technique [0002] The controller cluster provides a software platform for data center network, public cloud, private cloud, campus edge network, etc. to exert its different network characteristics. It provides an open software platform, provides a programmable user interface, and uses Southbound interface protocols such as OpenFlow and NETCONF (Network Configuration Protocol, Network Configuration Protocol) to manage the physical network. [0003] The controller cluster includes multiple controllers, and each controller is led by the leader to determine the network devices it manages. However, if the link between a controller in the cluster and the network device it manages fails, it will fail. The new controller will take over the network devices managed by the controller (old controller) correspon...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L41/084
CPCH04L41/0846
Inventor 陈南飞
Owner NEW H3C BIG DATA TECH CO LTD