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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com