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

Method and system for aging session table

A session table and node technology, which is applied in the field of data communication, can solve the problems of blocked forwarding core business, abnormality of other tasks, and increased burden on the main control core, and achieve the effects of reducing blocked forwarding tasks, improving processing efficiency, and improving concurrency

Active Publication Date: 2018-04-27
MAIPU COMM TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This kind of aging mechanism will not cause major problems under normal circumstances, but in some cases, such as when a large number of entries are aged intensively, the burden on the main control core rises sharply, and the main control core needs to spend a lot of time for aging , on the other hand, when the master control core is aging the session table, it will lock the session table to prevent access conflicts. Therefore, the forwarding core cannot query the session table when the master control core is performing the aging task, which directly leads to Forwarding core services are blocked, resulting in serious consequences such as network interruption and splitting of stacking devices
[0004] First of all, this problem is due to the fact that all the aging tasks are centralized to the main control core, and at the same time, a large number of session tables are aged or deleted in a centralized manner, which causes the main control core to occupy a large amount of control rights of the session table; secondly, the session table aging tasks are all It is processed by the main control core, which increases the CPU occupancy rate of the main control core, which may easily cause other tasks to be abnormal or the device to be stuck; furthermore, only one main control core processes the session table, and the speed is low, and because the main control core is processing the session table When , the forwarding core cannot query the session table, causing the forwarding core business to be blocked

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
  • Method and system for aging session table
  • Method and system for aging session table
  • Method and system for aging session table

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to facilitate those skilled in the art to understand the technical content of the present invention, the content of the present invention will be further explained below in conjunction with the accompanying drawings.

[0036] like figure 1 Shown is the scheme flowchart of the present invention, the technical scheme of the present invention is: a kind of session table aging method, comprises the following steps:

[0037] A. Perform aging detection on the session table, obtain the session node message that needs aging, search for the corresponding forwarding core according to the obtained session node message, and send the session node aging message to the forwarding core aging message queue;

[0038] B. The session node is removed from the session table according to the session node aging message cached in the forwarding core aging message queue.

[0039] like figure 2 Shown is the main control core aging message judgment flow chart, and the step A specifical...

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 discloses a session table aging method and system. By transferring the core part of the aging task to the forwarding core, the concurrency of the multi-core system is improved, the burden of the main control core is reduced, and the aging efficiency is improved. It solves the problem that the main control core is stuck due to the centralized aging of a large number of session tables; unlocking, each forwarding core reclaims memory, that is, there is no need to lock when the session is actually deleted, and the forwarding core uses one aging and one forwarding In the traditional method, the main control core occupies the session table for a long time due to the aging task, which causes the forwarding service to be blocked; the aging message and the memory recycling message are processed separately, and the mechanism of aging priority and deletion delay is realized, which improves the forwarding The processing efficiency of the core effectively reduces the blocking of forwarding tasks caused by aging tasks due to waiting.

Description

technical field [0001] The invention belongs to the field of data communication, and in particular relates to a session table maintenance technology. Background technique [0002] A large number of network protocols or applications need to establish session tables in the system. The system can perform various tasks such as forwarding and sessions through querying table items. Common session tables include ARP (Address Resolution Protocol) tables, routing tables, NAT ( Network address translation) forwarding table, etc. In order to realize the dynamic maintenance of various session tables, the system usually introduces an aging mechanism, that is, aging and deleting entries that have been in a silent state for a long time, so as to prevent the session table from being too redundant and improve Find efficiency. [0003] The solution to this problem is mentioned in the patent application document with the application number CN200710198708.2: in a distributed system, the aging ...

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): H04L12/24H04L12/741H04L45/74
Inventor 马聪马海
Owner MAIPU COMM 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