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

A method for implementing external route calculation for router

A router and routing technology, applied in the direction of digital transmission system, electrical components, transmission system, etc., can solve the problems of large amount of calculation, affecting message forwarding, long time, etc., and achieve the effect of improving efficiency and reducing the number of times of traversing the routing table

Inactive Publication Date: 2009-05-20
HUAWEI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1) As the network grows, the number of Type 5 or Type 7 LSAs generated by ASBR will become larger and larger, and may even reach as many as hundreds of thousands. Type 5 or Type 7 LSAs that need to be calculated by routers There will also be a lot, and there may be millions of routes in the routing table. Therefore, when a router calculates external routes, it needs to traverse such a complicated routing table to calculate each LSA, and the calculation amount will be very large.
[0007] 2) If it is necessary for the router to recalculate all routes and add the routes to the routing table due to network oscillations, etc., it will take a lot of time. At this time, if there is a message to be forwarded, but there is no corresponding route in the routing table , the message can only be discarded, which affects the forwarding of the message

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
  • A method for implementing external route calculation for router

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The method of the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0022] Firstly, the core idea of ​​the present invention is explained: the present invention is aimed at the situation that the interface address information is stored in the forwarding_address of the fifth or seventh type of LSA used by the router when calculating the external route, and declares in the router that needs to calculate the external route An array, the array has multiple array items, and each array item saves a specific IP address of forwarding_address, the next hop and the corresponding distance that the router finds from the routing table according to the forwarding_address, and when the router calculates the external route The number of Type 5 or Type 7 LSAs used that contains the forwarding_address information, that is, the LSA number identification item. When the router calculates the external route, ...

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

This invention discloses a method for realizing outer route computation of a router which declares an array in the router and sets array items of forwarding-address storing the fifth or the seventh LSA, next hop and route distance route information. If the router needs to compute outer route according to a certain LSA, it looks for the related array items in the array according to the forwarding-address in the said LSA and to get related information from said array directly and compute said outer route if so, otherwise it looks for the related next hop and the route distance information set in the array item and to compute the outer route. It can get the related information only by looking for array with little information to increase efficiency of computing outer routes.

Description

technical field [0001] The present invention relates to a network link state routing protocol (Open Shortest Path First, OSPF), more precisely relates to a method for realizing router external route calculation. Background technique [0002] OSPF is a protocol that uses the link state algorithm (SPF) to select the optimal route. Each router generates link state information around itself to form a link state advertisement (Links State Advertisement, LSA). All LSAs are displayed on the entire network. Each router calculates routing information based on all LSAs it receives. [0003] If an OSPF-based autonomous system needs to be connected to an external routing system, the autonomous system boundary router (ASBR) in the autonomous system needs to import external routes. Specifically, the ASBR in the autonomous system imports routes generated by other protocols in the router. Generate an LSA describing the route from this autonomous system to this external routing system. If ...

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/24H04Q3/00H04Q3/545
Inventor 王丽星
Owner HUAWEI 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