Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Flow table backup method and device

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

Active Publication Date: 2020-12-25
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
  • Flow table backup method and device
  • Flow table backup method and device
  • 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

The invention provides a flow table backup method and device. The method comprises the steps that a controller periodically detects whether the flow in the east-west direction and the south-north direction is normal or not, and further determines whether a condition of adding or deleting a flow table or not exists when the controller is compared with a previous synchronization period; if the flowis normal and the situation of adding or deleting the flow table does not exist, the flow table at the moment is the flow table capable of enabling the service to run normally, so that the controllerbacks up the flow table under the situation, and the flow table capable of enabling the flow to be forwarded normally can be backed up.

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 Applications(China)
IPC IPC(8): H04L12/703H04L12/721H04L12/24H04L29/08H04L12/26H04L45/28
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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products