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

Backup method and device of flow table data, network equipment and storage medium

A network device and table data technology, applied in the field of network transmission, can solve the problems affecting the data forwarding performance of the processor core and the inability to ensure the synchronization efficiency of backup data, so as to improve the efficiency of data forwarding, reduce the pressure of data processing, and improve the synchronization efficiency Effect

Pending Publication Date: 2022-02-08
EVERSEC BEIJING TECH
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the prior art, virtualized network devices are mostly multi-core network devices, and in a multi-core environment, the backup of flow table data is usually performed by each processor core to send its own backup data, that is, each processor core While processing traffic forwarding, the kernel performs backup of flow table data, but such flow table backup method greatly affects the data forwarding performance of the processor core, and cannot ensure the synchronization efficiency of backup data

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
  • Backup method and device of flow table data, network equipment and storage medium
  • Backup method and device of flow table data, network equipment and storage medium
  • Backup method and device of flow table data, network equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] figure 1 It is a flow chart of a method for backing up flow table data provided by Embodiment 1 of the present invention. This embodiment is applicable to a network device serving as a host to back up flow table data to a backup device. data backup device, the device can be implemented by software and / or hardware, and integrated on the network equipment, typically, can be integrated in network equipment such as switches, routers or servers, the method specifically includes the following steps:

[0029] S110. In response to detecting that there is newly added flow table data in the target forwarding core, send the backup data of the newly added flow table data to a matching target memory space through the target forwarding core.

[0030] The flow table, that is, the traffic statistics table, is a collection of policy entries for data flows, which is responsible for the search and forwarding of data packets; the flow table includes header fields (Header Fields) for data p...

Embodiment 2

[0048] figure 2 It is a flow chart of a flow table data backup method provided by Embodiment 2 of the present invention. The embodiment of the present invention is embodied on the basis of the above technical solution. Specifically, the method includes the following steps:

[0049] S201. Configure the forwarding core and the backup core of the network device according to the historical traffic records of the network device; execute S202.

[0050] S202. Execute init initialization of the network device in response to obtaining the device startup instruction; perform S203.

[0051] In the embodiment of the present invention, the network device is equipped with a Linux system, and when the network device is started, the initialization of the init process under the Linux system is executed.

[0052] S203. Configure memory space for the forwarding core of the network device, and initialize a message queue; execute S204.

[0053] S204. It is detected that new flow table data exis...

Embodiment 3

[0070] image 3 It is a structural block diagram of a backup device for flow table data provided by Embodiment 3 of the present invention. The device specifically includes: a memory space storage module 310 , a message queue storage module 320 , a serialization execution module 330 and a backup data sending module 340 .

[0071] The memory space storage module 310 is configured to send the backup data of the newly added flow table data to a matching target memory space through the target forwarding core in response to detecting that there is newly added flow table data in the target forwarding core;

[0072] A message queue storage module 320, configured to send the backup data in the target memory space to a matching target message queue;

[0073] A serialization execution module 330, configured to read the backup data in the target message queue through the target backup core, and serialize the backup data;

[0074] The backup data sending module 340 is configured to send t...

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 embodiment of the invention discloses a flow table data backup method and device, and the method comprises the steps: responding to the detection that newly-added flow table data exists in a target forwarding core, and transmitting the backup data of the newly-added flow table data to a matched target memory space through the target forwarding core; sending the backup data in the target memory space to a matched target message queue; reading backup data in the target message queue through the target backup core, and serializing the backup data; and sending the serialized backup data to the standby network equipment through the target backup core. According to the technical scheme provided by the embodiment of the invention, the separation of the data forwarding task and the flow table backup task on the forwarding core is realized, the data processing pressure of the forwarding core is greatly reduced, the data forwarding efficiency of the forwarding core is improved, and meanwhile, serialization and backup data transmission are executed through the backup core, so that the synchronization efficiency of the flow table data is improved.

Description

technical field [0001] Embodiments of the present invention relate to network transmission technologies, and in particular to a backup method, device, network device and storage medium for flow table data. Background technique [0002] For network devices running on the live network, when a network device fails, another device is needed to quickly take over the current network traffic. Therefore, the active-standby disaster recovery function has become an indispensable part of the network device. [0003] When the main machine fails, the standby machine becomes the main machine to take over the current traffic service to ensure the continuity of the business in the current network. After the switchover, whether the new main machine can quickly take over the current business traffic depends on the traffic on the old main machine. table data to ensure high-speed forwarding of traffic. [0004] In the prior art, virtualized network devices are mostly multi-core network devices...

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): G06F11/14
CPCG06F11/1464G06F11/1448
Inventor 米胜山傅强袁林邸学锋马洪彬窦晶贾立军刘道林范晓波张赫男姜双双智斌阿曼太梁彧蔡琳杨满智王杰田野金红陈晓光
Owner EVERSEC BEIJING TECH
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