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

Table entry processing method and device

A processing method and a technology of table items, which are applied in the field of data processing, can solve problems such as failure to age out entries in time, affect resource reuse, and increase calculation load, so as to improve forwarding performance, increase device throughput, and reduce useless overhead Effect

Active Publication Date: 2017-02-15
CHENGDU SKSPRUCE TECH
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The problem with this mechanism is that the length of the scan interval is difficult to quantify. If the scan interval is too short, unnecessary calculations will be added. The entries of the specifications all need an aging mechanism, and all of them are traversed periodically, which increases a lot of unnecessary calculations

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
  • Table entry processing method and device
  • Table entry processing method and device
  • Table entry processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0067] As an implementation manner, the device further includes a third processing module 460, configured to periodically traverse multiple entry linked lists, and determine whether each entry in each entry link list needs to be aged, and if so, the list that needs to be aged Item deleted.

[0068] As an implementation manner, the device further includes a fourth processing module 470, configured to create an entry corresponding to the received message, and add the entry corresponding to the received message to the table corresponding to the identification number necklace watch.

[0069] Further, the fourth processing module 470 is specifically configured to send a message to the creation module, so that the creation module creates an entry corresponding to the received message.

[0070] Each of the above modules may be implemented by software codes, or may also be implemented by hardware such as an integrated circuit chip.

[0071] It should be noted that each embodiment in...

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 provides a table entry processing method and device. The method includes the following steps: according to header information of a received message, generating an identification number; according to the identification number, searching a corresponding table entry chain table; judging whether the identification number corresponding to the received message is matched with that corresponding to a current table entry; if the identification number corresponding to the received message is matched with that corresponding to the current table entry, judging whether the current table entry needs aging; if the current table entry needs aging, updating a table entry field in the current table entry and corresponding update time; if the current table entry does not need aging, updating the update time corresponding to the current table entry; if the identification number corresponding to the received message is not matched with that corresponding to the current table entry, judging whether the current table entry needs aging; if the current table entry needs aging, deleting the current table entry, and using the next table entry as the current table entry till traversal of all table entries is finished; and if the current table entry does not need aging, using the next table entry as the current table entry till traversal of all the table entries is finished. The method avoids the calculation amount of large-scale timer queue management, reduces useless expenses brought by regular traversal, and improving forwarding performance and equipment throughput.

Description

technical field [0001] The present invention relates to the field of data processing, and in particular, to a table item processing method and device. Background technique [0002] In network devices such as firewalls, routers, and gateways, it is necessary to create large-scale (session) session tables or connection information tables, forwarding tables, etc. On high-end network devices, these table entries need to be as many as several million, or even tens of millions entries to support the concurrent Internet access and control requirements of a large number of users. For the purposes of resource recovery and reuse and security control, a timeout mechanism is needed to delete entries that are inactive beyond a limited period of time, so that resources can be recovered for new connected services or disconnected. [0003] The commonly used aging mechanism for entries is the timer overtime mechanism. When creating an entry, a corresponding timer is dynamically started and ...

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
IPC IPC(8): H04L12/24
CPCH04L41/0823
Inventor 殷建儒
Owner CHENGDU SKSPRUCE 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