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

Routing table entry processing method and device

A routing and table entry technology, applied in the field of communication, can solve the problems of ipv6 routing storage resource waste and so on

Active Publication Date: 2020-05-08
SUZHOU CENTEC COMM CO LTD
View PDF7 Cites 3 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
  • Routing table entry processing method and device
  • Routing table entry processing method and device
  • Routing table entry processing method and device

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 the first part, the second part, and the first virtual routing forwarding instance identifier corresponding to the ipv6 address in the n...

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 invention provides a routing table entry processing method and device. The method comprises the steps of determining a first part and a second part in a network part of an ipv6 address and a firstvirtual routing forwarding instance identifier corresponding to the ipv6 address, wherein the first part is a high 32-bit of the network part, and the second part is a low 32-bit of the network part;combining the first part with the first virtual routing forwarding instance identifier to obtain first combined information, determining a first prefix index corresponding to the first combined information, and combining the second part with the first prefix index to obtain second combined information; and correspondingly storing the first combined information and the first prefix index in a first routing table so as to take the first combined information and the first prefix index as routing table entries in the first routing table, and storing the second combined information in a second routing table so as to take the second combined information as routing table entries in the second routing table. According to the invention, the problem of storage resource waste of ipv6 routing storagein related technologies is solved.

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 Applications(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