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

Method and apparatus for implementing IPv6 packet classification

A packet classification and IP address technology, which is applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of reduced search efficiency, achieve good scalability, reduce memory usage, and improve search speed

Inactive Publication Date: 2009-01-14
BEIJING UNIV OF POSTS & TELECOMM
View PDF0 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This type of algorithm has high search efficiency, but in IPv6, the 128-bit address makes the search on the address domain face great challenges
[0012] It can be seen that the IPv6 packet classification needs to deal with 256-bit address space (source address, destination address), if the IPv4 packet classification method based on the 64-bit address space is directly applied to the IPv6 packet classification, the above method may no longer be Applicable, or the search efficiency drops sharply

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 apparatus for implementing IPv6 packet classification
  • Method and apparatus for implementing IPv6 packet classification
  • Method and apparatus for implementing IPv6 packet classification

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0073] The original rule set in the router is shown in Table 2. After the source IP address and destination IP address of each rule are converted by binary logic operations, the set of composite IP addresses obtained is shown in Table 3:

[0074] rule number

flow label

source IP address

Destination IP address

stream ID

priority

0

0x00011:0x00011

2001:4000:: / 18

2001:3000:: / 20

4

1

[0075] 1

0x00100:0x00101

2001:: / 18

2001:2000:: / 19

5

2

2

0x01000:0x01100

2001:: / 18

2001:3000:: / 20

6

3

3

0x01001:0x01001

2001:1000:: / 20

2001:: / 18

7

4

4

0x01010:0x01100

2001:6000:: / 20

2001:1800:: / 21

8

5

5

0x01010:0x01100

2001:4800:: / 22

2001:3000:: / 20

3

6

6

0x10010:0x10111

2001:0600:: / 23

2001:0700:: / 23

2 ...

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 relates to a method of realizing IPv6 message sorting and a device, wherein an original rule and a centralized rule are both denoted by triple composed of source IP address, object IP address and flow label, and decision trees are constructed according to address prefixing of each rule composite IP address. The method comprises: abstracting the triple of the current data packet, and recording a centralized default rule of the original rule; converting the source IP address and the object IP address of the current data packet from two-dimensional logic operation into compound IP address; determining message classification rule of the current data packet as a matching rule or a default rule with highest priority corresponding to the bit matching result of corresponding nodes by bit in turn according to current data packet composite IP address. The device comprises a structural unit, a processing unit and a sorting unit. The invention is fast in searching speed, small in memory occupancy, excellent in expansibility and simple in updating, widely applied in a network interconnection communication field.

Description

technical field [0001] The invention relates to message classification technology, in particular to a method and equipment for realizing IPv6 message classification. Background technique [0002] In IPv4 packet classification, the router extracts the five-tuple (destination IP address, source IP address, destination port, source port, protocol) protocol field, and searches for matching rules from the rule set according to the extracted five-tuple to determine this The flow to which the packet belongs. If a packet matches multiple rules, the router classifies the packet according to the principle with the highest priority. In the IPv4 rule set, the rule format is as follows: [0003] source IP address Destination IP address source port destination port agreement stream ID priority [0004] Table 1 [0005] Among them, the source IP address and the destination IP address are expressed in the form of classless inter-domain routing, b...

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): H04L12/56H04L29/06G06F17/30H04L45/74
Inventor 张圣亮黄小红马严孙琼赵国锋李凡
Owner BEIJING UNIV OF POSTS & TELECOMM
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