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

Method and device for processing routing table items

A routing table and routing technology, applied in the field of communication, can solve the problems of ipv6 routing storage resources waste, etc., to achieve the effect of solving the waste of storage resources, improving table item specifications, and saving storage resources

Active Publication Date: 2021-08-27
SUZHOU CENTEC COMM CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a method and device for processing routing entries, so as to at least solve the problem of waste of storage resources in the storage of ipv6 routes in the related art

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 processing routing table items
  • Method and device for processing routing table items
  • Method and device for processing routing table items

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] The embodiment of the present invention provides a method for processing routing table items. image 3 It is a flowchart of a method for processing routing entries according to an embodiment of the present invention, such as image 3 shown, including:

[0041] Step S102, determining the first part, the second part of the network part of the ipv6 address, and the first virtual routing and forwarding instance identifier corresponding to the ipv6 address, wherein the first part is the upper 32 bits of the network part, so said second part is the lower 32 bits in said network part;

[0042] Optionally, the ipv6 address is composed of a network part and a node part, the network part includes a site prefix and a subnet ID, and the node part includes an interface ID.

[0043] Step S104, combining the first part and the first virtual routing forwarding instance identifier to obtain first combination information, determining a first prefix index corresponding to the first comb...

Embodiment 2

[0071] According to another embodiment of the present invention, a device for processing routing entries is provided, and the device is used to implement the above embodiments and preferred implementation manners, and what has already been described will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

[0072] Figure 5 is a structural block diagram of a device for processing routing entries according to an embodiment of the present invention, such as Figure 5 As shown, the device includes:

[0073] A determining module 52, configured to determine a first part, a second part, and a first virtual routing forwarding instance identifier corresponding to the ipv6 address in the network...

Embodiment 3

[0082] An embodiment of the present invention also provides a storage medium, the storage medium includes a stored program, wherein the above-mentioned program executes any one of the above-mentioned methods when running.

[0083] Optionally, in this embodiment, the above-mentioned storage medium may be configured to store program codes for performing the following steps:

[0084] S1. Determine the first part, the second part, and the first virtual routing forwarding instance identifier corresponding to the ipv6 address in the network part of the ipv6 address, wherein the first part is the upper 32 bits of the network part, and the The second part is the lower 32 bits in the network part;

[0085] S2. Combine the first part and the first virtual routing forwarding instance identifier to obtain first combination information, determine a first prefix index corresponding to the first combination information, and combine the second part with the first combination information A pr...

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 present invention provides a method and device for processing routing entries, the method comprising: determining the first part, the second part of the network part of the ipv6 address and the first virtual routing forwarding instance identifier corresponding to the ipv6 address, the first part is The high 32 bits of the network part, and the second part is the low 32 bits of the network part; combining the first part and the first virtual routing forwarding instance identifier to obtain the first combination information, and determining the first prefix index corresponding to the first combination information, Combining the second part with the first prefix index to obtain the second combination information; correspondingly storing the first combination information and the first prefix index in the first routing table to use the first combination information and the first prefix index as the first routing table The routing entry in the second routing table stores the second combination information in the second routing table so that the second combination information is used as a routing entry in the second routing table. The invention solves the problem of waste of storage resources in the storage of ipv6 routes in the related art.

Description

technical field [0001] The present invention relates to the communication field, in particular to a method and device for processing routing entries. Background technique [0002] At present, the application of ipv6 technology is more and more extensive. The ipv6 address is 128 bits, how to plan, allocate and use the 128-bit ipv6 address is one of the problems to be solved at present. The address prefix of the ipv6 address assigned by the Internet Assigned Numbers Authority (IANA) in the Asia-Pacific region is between 19 and 23 digits, that is, / 19 to / 23. Domains (also known as autonomous systems, AutonomousSystem, or AS for short) have prefixes between / 20 and / 32. For example, China Telecom’s commercial ipv6 is 240e:: / 20, China Unicom’s is 2408:8000:: / 20, and China Radio and Television’s is 240a:4000:: / 21. According to the ipv6 address allocation rules, the prefix of the ipv6 address to the provincial level is / 32, and the network segment address to the user side area ...

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/741H04L45/74
CPCH04L45/74H04L45/745H04L45/54H04L2101/659H04L2101/604H04L61/5007
Inventor 赵茂聪何志川王文刚
Owner SUZHOU CENTEC COMM 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