A flow table backup method and device

A flow table and backup technology, applied in the transmission system, electrical components, etc., can solve the problems of ovs host failure restart, flow table loss, flow table difference, etc.

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

AI Technical Summary

Problems solved by technology

[0008] However, if there is a problem with the network connection between the controller and the ovs host, or if the ovs host fails and restarts, or the ovs process restarts, etc., the flow table on the controller and ovs will be different, or even all the flow tables will be lost, resulting in traffic abnormal

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 flow table backup method and device
  • A flow table backup method and device
  • A flow table backup method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] The flow table backup method of the present disclosure will be specifically described below by way of specific examples. figure 2 A schematic flow diagram of the flow table backup method provided for this disclosure, such as figure 2 As shown, this method is applied to the controller, and the controller can periodically execute the following methods, including:

[0044] Step 201, sending a detection message to the managed network switching device, the detection message is used to count the east-west traffic between the internal network hosts, and the traffic between the internal network host and the user network edge device reaching the external network Whether the north-south traffic is normal.

[0045] The network switching devices managed by the controller may generally include devices such as routers and switches. In this embodiment, a virtual switch OVS is used as an example for network switching equipment to be described later.

[0046] East-west traffic gene...

Embodiment 2

[0056] On the basis of the first embodiment above, if the controller determines that there is no added or deleted flow table and determines that the traffic is normal according to the detection message, the controller can also send a synchronization command to the managed network switching device. The instruction may cause the network switching device receiving the synchronization instruction to also back up the flow table stored by itself. Therefore, if the network switching device fails and restarts, the flow table can automatically restore the flow table from the flow table file backed up by the network switching device itself, avoiding traffic problems caused by direct recovery from the controller.

[0057] In one embodiment, a detection script program may be installed on the network switching device to monitor whether the network switching device is restarted. When the network switching device restarts, resulting in the loss of all the flow tables on the network switching...

Embodiment 3

[0061] This embodiment will introduce in detail the process of delivering a detection message.

[0062] Wherein, step 201 specifically includes:

[0063] Step 2011, issue a statistical flow table to the managed network switching device, the matching items of the statistical flow table include the source IP address and destination IP address of the path to be detected and the preset protocol type, and the action items include: statistically match the The number of packets in the flow table.

[0064] Step 2012, sending the detection message of the preset protocol type to the network switching device, the source IP address of the detection message of the preset protocol type is the same as the source IP address in the matching item of the statistical flow table , the destination IP address of the detection packet of the preset protocol type is the same as the destination IP address in the matching item of the statistical flow table.

[0065] In this embodiment, the figure 1 Ta...

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 a flow table backup method and device, the method includes: the controller periodically detects whether the east-west and north-south traffic is normal, and further determines whether there is an increase or deletion in the controller compared with the previous synchronization cycle In the case of the flow table, if the traffic is normal and there is no increase or deletion of the flow table, it means that the flow table at this time is a flow table that can allow the business to run normally, so the controller backs up the flow table in this case. In this way, it can be backed up to a flow table that can make traffic forwarding normal.

Description

technical field [0001] This specification relates to the technical field of software-defined networking, and in particular to a flow table backup method and device. Background technique [0002] SDN (Software Defined Network) is a new type of network architecture. Its core idea is to separate the control layer and forwarding layer of network switching equipment, and to centralize and flexibly control network traffic through the controller, so as to provide core network and application Provide a good platform for innovation. [0003] figure 1 It is a network diagram of an SDN network. When the virtual machine VM1 wants to access VM3 in the east-west direction, or access the external network in the north-south direction, it must rely on the flow table on the virtual switch vswitch (also called ovs) for forwarding. Therefore, for the host overlay For networking, the flow table on the vswitch host is very important. [0004] There are three main opportunities for the controll...

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): H04L45/28H04L45/00H04L41/0654H04L67/1095H04L43/0823H04L43/10
CPCH04L45/28H04L45/38H04L41/0654H04L67/1095H04L43/0823H04L43/10
Inventor 陈禄建
Owner NEW H3C BIG DATA TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products