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

Method and device for establishing table entry of flow table and method and device for querying table entry of flow table

A table item and flow table technology, applied in the field of network communication, can solve problems such as complex table items

Inactive Publication Date: 2013-08-14
BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Currently, the keys of flow table entries in most network applications contain IPv6 addresses. Therefore, in network processor-based IPv6 applications, as the keys of flow table entries continue to increase (some special-purpose entries The keyword also needs to include other information), and the corresponding flow table entries become more complicated,

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 device for establishing table entry of flow table and method and device for querying table entry of flow table
  • Method and device for establishing table entry of flow table and method and device for querying table entry of flow table
  • Method and device for establishing table entry of flow table and method and device for querying table entry of flow table

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] A flow table entry creation method, query method and device provided in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0039] First, a method for creating a flow table entry provided by an embodiment of the present invention is described in detail.

[0040] Such as figure 1 As shown, the method for creating a flow table entry provided by the embodiment of the present invention includes the following steps:

[0041] S101. Extract the content information of the keyword used to create the entry to be created from the received message;

[0042] S102. Divide the extracted content information into at least two subsets;

[0043] In this step S102, the length of each subset is not greater than the maximum length that the network processor can handle; the maximum length that the network processor can handle is determined according to the processing capability of the network processor.

[0044] S103. Co...

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 method and a device for establishing a table entry of a flow table. The method for establishing the table entry of the flow table comprises the following steps of: dividing extracted content information into at least two subsets; corresponding all or part of the subsets to unique mapping values; and generating a key word of a to-be-established table entry according to the mapping value corresponding to each subset in all or part of the subsets so as to further generate the to-be-established table entry. The invention also discloses a method and a device for querying the table entry of the flow table; and the method comprises the following steps of: extracting content information for querying the key word of the to-be-queried table entry from a received message; querying the mapping value corresponding to each subset in all or part of the subsets of the extracted content information; and generating the key word of the to-be-queried table entry according to thesearched mapping value and querying the corresponding table entry from the flow table through the generated key word. Because both the length of each subset and the length of the key word for generating the flow table are less than the maximum length which can be processed by a network processor, the network processor can realize the functions of establishing and querying the table entry of the flow table containing the complex key word.

Description

technical field [0001] The invention relates to the field of network communication, in particular to a creation method, query method and device of a flow table entry. Background technique [0002] With the popularity of the Internet, the network has brought great convenience to people. Because the current basic protocol of the IP network, IPv4, uses a 32-bit address length, it has caused a shortage of IP address resources. The next-generation IP network protocol IPv6 uses 128-bit addresses, which can provide a huge address space to solve this problem. [0003] However, the increase of IPv6 addresses has brought some technical difficulties to the table entry processing of the network processor. Network Processor (Network Processor, NP) is a programmable device composed of several microcode processors and hardware coprocessors. , QoS) and other fields have a wide range of applications. A very important part of the technical implementation of the network processor is the ent...

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): H04L29/06H04L12/70H04L45/74
Inventor 陈彦俊
Owner BEIJING XINWANG RUIJIE NETWORK 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