CN105959220A - Routing table issuing method and device - Google Patents
Routing table issuing method and device Download PDFInfo
- Publication number
- CN105959220A CN105959220A CN201610513759.9A CN201610513759A CN105959220A CN 105959220 A CN105959220 A CN 105959220A CN 201610513759 A CN201610513759 A CN 201610513759A CN 105959220 A CN105959220 A CN 105959220A
- Authority
- CN
- China
- Prior art keywords
- route
- issued
- conversion board
- table items
- target conversion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/14—Routing performance; Theoretical aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/26—Route discovery packet
Abstract
The invention provides a routing table issuing method. The method comprises the steps of selecting routing table items correlated to processing service of target forwarding boards from a to-be-issued routing table; and preferentially issuing or only issuing the currently selected routing table items to the target forwarding boards. According to the method and the device, the routing table items can be issued flexibly according to the processing service of the target forwarding boards, therefore, through application of the method and the device, it is determined that the routings issued to the target forwarding boards of small specifications are the routings with relatively high service correlation ratios, the service processing efficiency is improved, and the problem that in the prior art, the service processing efficiency of the boards of small specifications is relatively low due to the fact that the service independent ratios of the stored routing table items are relatively high can be solved.
Description
Technical field
The application relates to communication technical field, particularly relates to the method and device that a kind of routing table issues.
Background technology
Frame type equipment is a kind of equipment that can plug dissimilar board flexibly, can be according to inserted board
Difference do different business.Therefore, frame type equipment is than the box-shaped device spirit once fixed service type of dispatching from the factory
Live.But frame type equipment there is also some shortcomings while possessing motility, owing to frame type equipment can be same
Time insert polylith board, and the specification of this polylith board can be different, therefore there will be same number of business
List item, some board can store completely, the situation that some board can not store completely.Can not store completely
The small dimension board of business list item because of cannot storage part separate service list item and causing cannot to process these list items corresponding
Business, it is therefore desirable to Configuration Agent board, and by agency board card agent process business.
In correlation technique, when to the board issuing service list item of small dimension, use the method issued at random.
Owing to the business list item specification of small dimension board is limited, therefore, when the business list item being issued to small dimension board
When being the list item unrelated with the business that small dimension board need to process or the low list item of business correlation ratio, small dimension
The wholly or largely business of board is both needed to act on behalf of board assist process, causes Business Processing efficiency low.
Summary of the invention
In view of this, the application provides the method and device that a kind of routing table issues, and solves in correlation technique
Small dimension board is because of the route table items business correlation ratio inefficient problem of the low Business Processing caused of storage.
Specifically, the application is achieved by the following technical solution:
First aspect according to the embodiment of the present application, it is provided that a kind of method that routing table issues, described method should
For the master control borad of frame type equipment, described frame type equipment includes some conversion boards, if described conversion board includes
Stem grafting mouth, it is characterised in that described method includes:
Select to process, to target conversion board, the route table items that business is relevant from routing table to be issued;
Preferentially issue or only issue the route table items of current selection to described target conversion board.
Optionally, described method also includes:
Planning based on service needed or network topology is divided into same by the some interfaces on described target conversion board
In interface group;
The described route table items selecting to process business relevant to target conversion board from routing table to be issued includes:
Select to process with target conversion board from described routing table to be issued based on the interface in described interface group
The route table items that business is relevant.
Optionally, described in routing table to be issued include that virtual flow-line forwards route table items corresponding to VRF, described
Method also includes:
The some interfaces processing related service on described target conversion board are divided into same based on network topology planning
One virtual flow-line forwards in VRF;
The described route table items selecting to process business relevant to target conversion board from routing table to be issued includes:
Select to process industry with target conversion board from described routing table to be issued based on the interface in described VRF
Route table items that business is relevant or select the VRF table item corresponding with described VRF from described routing table to be issued.
Optionally, described selection from routing table to be issued processes, to target conversion board, the route that business is relevant
List item includes:
Routing table to be issued described in traversal, by all route table items in described routing table to be issued based on presetting
The cycle that issues issue through several times and be all issued to described target conversion board at random;Wherein, described target turns
Some route table items that the some route table items once received after sending out buttress evidence once receive before updating;
When target conversion board is carried out route sending-down, add up described target conversion board to the front institute once issued
There is the route hit rate of route table items;
It is ranked up according to all route table items that described target conversion board is received by described route hit rate;
Select to route the route table items that hit rate is higher from described routing table to be issued based on described ranking results
For processing, to described target conversion board, the route table items that business is relevant.
Second aspect according to the embodiment of the present application, it is provided that the device that a kind of routing table issues, described device should
For the master control borad of frame type equipment, described frame type equipment includes some conversion boards, if described conversion board includes
Stem grafting mouth, it is characterised in that described device includes:
Select unit, for selecting the road relevant to target conversion board process business from routing table to be issued
By list item;
Issue unit, for preferentially issuing or only issue the route table items of current selection to described target conversion board.
Optionally, described device also includes:
First division unit, for planning on described target conversion board based on service needed or network topology
Some interfaces are divided in same interface group;
Described selection unit specifically for:
Select to process with target conversion board from described routing table to be issued based on the interface in described interface group
The route table items that business is relevant.
Optionally, described in routing table to be issued include that virtual flow-line forwards route table items corresponding to VRF, described
Device also includes:
Second division unit, for processing related service based on network topology planning on described target conversion board
Some interfaces be divided into same virtual flow-line and forward in VRF;
Described selection unit specifically for:
Select to process industry with target conversion board from described routing table to be issued based on the interface in described VRF
Route table items that business is relevant or select the VRF table item corresponding with described VRF from described routing table to be issued.
Optionally, described selection unit specifically for:
Routing table to be issued described in traversal, by all route table items in described routing table to be issued based on presetting
The cycle that issues issue through several times and be all issued to described target conversion board at random;Wherein, described target turns
Some route table items that the some route table items once received after sending out buttress evidence once receive before updating;
When target conversion board is carried out route sending-down, add up described target conversion board to the front institute once issued
There is the route hit rate of route table items;
It is ranked up according to all route table items that described target conversion board is received by described route hit rate;
Select to route the route table items that hit rate is higher from described routing table to be issued based on described ranking results
For processing, to described target conversion board, the route table items that business is relevant.
In this application, the master control borad of frame type equipment can select to turn with target from routing table to be issued
Send out plate and process the route table items that business is relevant, then, preferentially issue or only issue the routing table of current selection
Item is to this target conversion board.Owing to the application can be carried out neatly according to the business that target conversion board processes
Issuing of route table items, therefore, application the application may determine that the road being issued to small dimension target conversion board
By the route higher for its business correlation ratio, thus improve its Business Processing efficiency, solve relevant skill
The unrelated rate of route table items business of art medium and small dimension board caine storage is higher causes Business Processing inefficient
Problem.
Accompanying drawing explanation
Fig. 1 is a structural representation of frame type equipment;
Fig. 2 is that board acts on behalf of forwarding process schematic diagram;
Fig. 3 is the flow chart of the method that a kind of routing table shown in the embodiment of the present application issues;
Fig. 4 is the division schematic diagram of interface group in shown in the application a embodiment;
Fig. 5 is the division schematic diagram of VRF in shown in the application a embodiment;
Fig. 6 is a kind of hardware structure diagram of the device place equipment that the application routing table issues;
Fig. 7 is an embodiment block diagram of the device that the application routing table issues.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following retouches
Stating when relating to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.
Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the application
Formula.On the contrary, they only with describe in detail in appended claims, the application some in terms of mutually one
The example of the apparatus and method caused.
It is only merely for describing the purpose of specific embodiment at term used in this application, and is not intended to be limiting this
Application." a kind of ", " described " of singulative used in the application and appended claims
" it is somebody's turn to do " be also intended to include most form, unless context clearly shows that other implications.It is also understood that
Term "and/or" used herein refer to and comprise any of one or more project of listing being associated or
Likely combine.
Although should be appreciated that may use term first, second, third, etc. to describe various letter in the application
Breath, but these information should not necessarily be limited by these terms.These terms are only used for same type of information district each other
Separately.Such as, in the case of without departing from the application scope, the first information can also be referred to as the second information,
Similarly, the second information can also be referred to as the first information.Depend on linguistic context, word as used in this
" if " can be construed to " ... time " or " when ... time " or " in response to determining ".
See Fig. 1, for a structural representation of frame type equipment.
Frame type equipment is a kind of equipment that can plug dissimilar board flexibly, can be according to slotting board
Difference does different business.In addition to the master control borad shown in Fig. 1, power supply and standby master control borad, frame sets
For selecting business board and interface board flexibly according to reasons such as business demands.Such as, need when frame type equipment
Process more with E-Packet relevant business time, more interface board can be inserted on equipment and there is road
By the business board of function.
Owing to frame type equipment can insert polylith board simultaneously, and the specification of polylith board can be different, because of
, there is master control borad when this polylith board issues same number of business list item in this, some board can be complete
Full storage, the situation that some board can not store completely.Can not the small dimension board of storage service list item completely
Because of cannot storage part separate service list item and cause processing the business that these list items are corresponding, it is therefore desirable to configuration
Act on behalf of board, and processed business by agency board card agent.
It can be assumed for instance that the route specification of interface board 1 is 100,000 in Fig. 1, the route rule of interface board 2
Lattice are 10,000, if this frame type equipment needs the route that issues to have 30,000, then when this frame type equipment by this 3
Article ten thousand, when route is all issued to interface board 1, interface board 1 can store completely, and interface board 1 stores completely
After these 30,000 routes, these 30,000 business corresponding to route can be processed;And when this frame type equipment by this 3
Article ten thousand, when route is all issued to interface board 2, owing to interface board 2 can only store most 10,000 routes, because of
This, interface board 2 cannot store these 30,000 routes completely.Now, interface board 2 can by beyond specification can not
The business of the part route correspondence accommodated is transferred to accommodate completely interface board 1 agency of all routes and is processed.
Wherein, the board of board agency's generally referred to as big specification acts on behalf of the business of small dimension board, such as,
The common practice of routing service board agency is that the master control borad of frame type equipment issues its specification energy to small dimension board
Enough part routes accommodated, and store the convergence route of the route that small dimension board can not accommodate, this convergence road
Acted on behalf of board by sensing, i.e. connect to the small dimension board that route specification is 10,000 when the master control borad of frame type equipment
When oralia 2 issues 30,000 routes, the detailed route less than 10,000 and portion can be issued to interface board 2
Dividing and point to convergence route or the agency's route acting on behalf of board, concrete routing forwarding flow process may refer to such as Fig. 2
Shown board acts on behalf of forwarding process schematic diagram.
Although small dimension board by acting on behalf of the business that board completes self and cannot process, but can remain a need for
Solve the inefficient problem of its Business Processing.When the route table items of small dimension board storage is its business correlation ratio
During high route table items, small dimension board can process most business, now, the industry of small dimension board
Business treatment effeciency is high;When the route table items of small dimension board storage is the low route table items of its business correlation ratio,
Small dimension board can only process the business of fraction, and most business is required for by acting on behalf of board process, this
Time, the Business Processing efficiency of small dimension board is low.Therefore, different when the route table items of small dimension board storage
Time, its Business Processing efficiency is the most different, therefore, it is difficult to ensure that small dimension board can have the industry of a stability and high efficiency
Business treatment effeciency.
In order to make full use of the performance of small dimension board self so that small dimension board can have a stability and high efficiency
Business Processing efficiency, correlation technique employs and issues route table items at random to small dimension plate according to certain algorithm
The method of card.Owing to correlation technique does not accounts for the service needed of small dimension board, and fail according to small dimension
The service needed of board carries out issuing of route table items, and therefore, correlation technique fails to solve small dimension board industry
The problem that business treatment effeciency is low.
In view of this, the application provides the method and device that a kind of routing table issues, and solves in correlation technique
Small dimension board is because of the route table items business correlation ratio inefficient problem of the low Business Processing caused of storage.?
In the application, the master control borad of frame type equipment can select to process with target conversion board from routing table to be issued
The route table items that business is relevant, then, preferentially issues or only issues the route table items of current selection to this target
Conversion board.Owing to the application can be carried out under route table items neatly according to the business that target conversion board processes
Sending out, therefore, application the application may determine that the route being issued to small dimension target conversion board is that its business is correlated with
The route that rate is high, thus improve its Business Processing efficiency, solve correlation technique medium and small dimension board caine and deposit
The route table items business correlation ratio inefficient problem of the low Business Processing caused of storage.
Referring to Fig. 3, for the flow chart of the method that a kind of routing table shown in the embodiment of the present application issues, this is real
Execute example to be applied on the master control borad of frame type equipment, comprise the following steps:
Step 301: select to process, to target conversion board, the routing table that business is relevant from routing table to be issued
?.
In this application, above-mentioned frame type equipment can include master control borad, standby master control borad, power supply and several
Business board and interface board.Wherein, the business board on frame type equipment and interface board can be according to service needed or use
The self-defined setting in family selects.Such as, need process more and E-Packet relevant when frame type equipment
During business, more interface board can be set on equipment and there is the business board of routing function;Work as frame
When equipment needs to process more relevant with network security business, can arrange on equipment more have anti-
The business board of wall with flues function.
Above-mentioned frame type equipment can include some conversion boards, and wherein, conversion board can be interface board or business board.
Conversion board can include some interfaces.
In this application, the master control borad of frame type equipment can select to forward with target from routing table to be issued
Plate processes the route table items that business is relevant.
In one embodiment, this frame type equipment can first be planned target based on service needed or network topology
Some interfaces on conversion board are divided in same interface group, and wherein, these some interfaces can be that business is correlated with
The interface that rate is high.
Refer to Fig. 4, for the division schematic diagram of interface group in shown in the application a embodiment.Wherein, little
Specification conversion board can be responsible for the business of network A and forward, when small dimension board receives network from interface g2/1
During the data of A, from interface g2/0, the data after this process can be sent after processing these data.Now,
Interface g2/0 and g2/1 of small dimension board can be divided into same interface group by the master control borad of frame type equipment.Its
In, the data of network A are the data that the network equipment from network A sends or the network mailing in network A
The data of equipment.When the interface major part on small dimension board is to be responsible for receiving or sending the data of network A
During interface, it may be determined that this small dimension board be mainly responsible for network A business forward, now, if certain
The data of network A certain interface by small dimension board certain interface by small dimension board send,
The interface of the interface then receiving the data of this network A and the data sending this network A can be that business is correlated with
The interface that rate is high, at this point it is possible to be divided into same interface group by these two interfaces.
After interface high for business correlation ratio on target conversion board is divided into same interface group, the master of frame type equipment
Control plate can select to process to target conversion board the route table items that business is relevant, tool from routing table to be issued
Body ground, the master control borad of frame type equipment can select from routing table to be issued based on the interface in above-mentioned interface group
Select and process, to target conversion board, the route table items that business is relevant.
In the embodiment illustrated, it can be assumed that the interface 10 on conversion board, interface 20, interface 25
And interface 30 is the interface in same interface group, now, above-mentioned part route table items to be issued can be as
Shown in table 1:
Purpose IP address | Interface | Next-hop ip address |
192.168.3.4 | 10 | 192.168.3.1 |
192.168.3.20 | 30 | 192.168.3.1 |
199.172.4.6 | 70 | 199.172.4.1 |
Table 1
As shown in Table 1, the interface of the first two route table items of table 1 belongs to the interface in above-mentioned interface group, this
Time, it may be determined that the first two route table items of table 1 is to process, to target conversion board, the route table items that business is relevant,
Therefore, the master control borad of frame type equipment can select the first two route table items of table 1.
In this application, target can the most first be turned by frame type equipment based on network topology planning
Send out the some interfaces processing related service on plate be divided into same VRF (Virtual Routing Forwarding,
Virtual routing forwarding) in.
Refer to Fig. 5, for the division schematic diagram of VRF in shown in the application a embodiment.Wherein, little
Specification conversion board can be responsible for the business of network A and forward, when small dimension board receives network from interface g2/1
The data of A, and after processing these data, by the data after this process when interface g2/0 sends, frame sets
Interface g2/0 and g2/1 of small dimension board can be divided into same VRF, such as VRFA by standby master control borad
In.When the interface that the interface major part on small dimension board is the data being responsible for reception or transmission network A,
May determine that this small dimension board is mainly responsible for the business forwarding of network A.Now, if certain network A
Data certain interface by small dimension board certain interface by small dimension board send, then receiving should
The interface of the interface of the data of network A and the data that send this network A can be to process connecing of related service
Mouthful, at this point it is possible to these two interfaces are divided into same VRF.
After the interface processing related service on target conversion board is divided into same VRF, the master control of frame type equipment
Plate can select to process the route table items that business is relevant, specifically to target conversion board from routing table to be issued
Ground, the master control borad of frame type equipment can select and mesh by interface based on above-mentioned VRF from routing table to be issued
Mark conversion board processes the route table items that business is relevant.
Certainly, above-mentioned routing table to be issued can include the route table items corresponding with above-mentioned VRF, now,
The master control borad of frame type equipment can select and mesh by interface based on above-mentioned VRF from routing table to be issued
Mark conversion board processes the route table items that business is relevant, but selects with above-mentioned from above-mentioned routing table to be issued
The route table items that VRF is corresponding
In the embodiment illustrated, it can be assumed that the interface 10 on conversion board, interface 20, interface 25
And the interface that interface 30 is same VRF, at this point it is possible to assume part route table items to be issued such as table 1
Shown in, then being belonged to the interface in above-mentioned VRF from the interface of the first two route table items of table 1, frame sets
Standby master control borad can select to select the first two route table items from table 1 to be issued.
Certainly, in the above-mentioned embodiment illustrated, it can be assumed that above-mentioned routing table to be issued includes with upper
Stating route table items corresponding to VRF, wherein, the partial content of the route table items that above-mentioned VRF is corresponding can be such as table
Shown in 2:
Purpose IP address | Interface | Next-hop ip address |
192.168.3.4 | 10 | 192.168.3.1 |
192.168.3.20 | 30 | 192.168.3.1 |
Table 2
Now, connecing during the master control borad of frame type equipment can judge routing table to be issued as shown in table 1
Whether mouth 10,30 and 70 belongs to the interface of above-mentioned VRF, but can be route by the first two in table 1
List item is that the route table items corresponding with above-mentioned VRF understands, and the master control borad of frame type equipment can be from table to be issued
The first two route table items is selected in 1.
In this application, the master control borad of frame type equipment can travel through above-mentioned road to be issued in one embodiment
By table, and by all route table items in this routing table to be issued based on the default cycle that issues through several times
Issue and be all issued to target conversion board at random, wherein, this target conversion board can according to after once receive
Some route table items update before some route table items of once receiving.Certainly, master control borad issues every time
The number of route table items can be different.
In the embodiment illustrated, it can be assumed that routing table to be issued has 100,000 route table items,
Now, the master control borad of frame type equipment can randomly choose the target conversion board of some from this routing table
The route table items that can accommodate is issued to target conversion board.Wherein, this some can be based on presetting
The number that calculates of algorithm, this algorithm preset can be existing algorithm and the combination of existing algorithm.
Certainly, this some can also be by user according to the self-defined setting of practical situation.
Assume that this some is 10,000, then master control borad can select from this routing table to be issued at random
Select 10,000 route table items, and these 10,000 route table items are issued to target conversion board.Assume that master
The cycle that issues preset of control plate is 12 hours, then master control borad can be after 12h from road to be issued
By that table randomly chooses 10,000 or other numbers with the front diverse road of the route table items once issued
It is issued to target conversion board by list item.Assume that the route table items that master control borad this time issues also is 10,000, then
After now target conversion board receives 10,000 routes that this time issues, can according to these 10,000 routes more
10,000 routes once issued before Xin.Then, master control borad can be carried out next time after 12 hours
Route table items issue, until 100,000 route table items in routing table to be issued all are issued to by master control borad
Target conversion board, i.e. target conversion board, in this issues several times, receives and stored all 10
Article ten thousand, route table items.
It should be noted that the cycle that issues preset of above-mentioned master control borad can set according to actual needs
Or arranged by User Defined.
Master control borad, when issuing target conversion board each time, can add up target conversion board to previous
The route hit rate of the secondary all route table items issued, then, master control borad can be according to this route hit rate
The all route table items receiving target conversion board are ranked up, and issue from waiting based on this ranking results
The route table items selecting route hit rate higher in routing table is to process, to target conversion board, the road that business is relevant
By list item.
In the embodiment illustrated, when master control borad carries out route sending-down to target conversion board, master control
Plate can add up the target conversion board route hit rate to the front all route table items once issued.Need
Bright, when the business that the cycle that issues of master control borad is longer or target conversion board processes is more, master control borad
The statistics to above-mentioned route hit rate can have been added up through several times in one issues the cycle.Wherein,
In this is added up several times, front when once having added up, corresponding list item can be reset, to treat next
Secondary statistics uses, and the result added up each time can add up, and then, master control borad can tire out according to this
Value added complete this and issue in the cycle statistics to above-mentioned route hit rate.
Master control borad have read target conversion board to the route hit rate of all route table items received after,
Can be ranked up according to all route table items that target conversion board is received by this route hit rate, permissible
Assuming that certain route table items in routing table to be issued has hit 90,000 times, another route table items hits
80000 times, then before the route table items hitting 90,000 times can be come the route table items having hit 80,000 times
Face.After master control borad completes to treat the route hit rate sequence of all route table items issued in routing table, can
With when issuing route table items to target conversion board, the forward route table items of selected and sorted result is with described
Target conversion board processes the route table items that business is relevant.
Step 302: preferentially issue or only issue the route table items of current selection to described target conversion board.
From after the routing table issued selects the route table items relevant to target conversion board process business, permissible
Preferentially issue or only issue the route table items of current selection to this target conversion board.
In one embodiment, can be with continued reference to Fig. 4.In Fig. 4, small dimension conversion board is mainly responsible for network
The business of A forwards, and large-sized plates card is mainly responsible for the business of network B and is forwarded.Assume that master control borad is by small dimension
Interface g2/0 and g2/1 of interface board is divided into interface group A;Interface g3/0 and g3/1 by big specification interface board
It is divided into interface group B.Then when master control borad issues routing table to small dimension interface board, can be from road to be issued
By selecting the route table items relevant to small dimension conversion board process business in table, i.e. interface belongs to interface group A
After route table items, preferentially issue or only issue the route table items of current selection to small dimension conversion board;Work as master control
Plate, when big specification interface board issues routing table, can select to forward with big specification from routing table to be issued
Plate processes the route table items that business is relevant, after i.e. interface belongs to the route table items of interface group B, preferentially issue or
Only issue the route table items of current selection to big specification conversion board.
From above-described embodiment, in this application, the master control borad of frame type equipment can be from route to be issued
Table selects to process to target conversion board the route table items that business is relevant, then, preferentially issues or only issue and work as
The route table items of front selection is to this target conversion board.The industry that can process according to target conversion board due to the application
Business carries out issuing of route table items neatly, and therefore, application the application may determine that and is issued to small dimension target
The route of conversion board is the route that its business correlation ratio is higher, thus improves its Business Processing efficiency, solves
The unrelated rate of route table items business of correlation technique medium and small dimension board caine storage is higher causes Business Processing efficiency
Relatively low problem.
Corresponding with the embodiment of the method that aforementioned routing table issues, present invention also provides what routing table issued
The embodiment of device.
The embodiment of the device that the application routing table issues can be applied on the master control borad of frame type equipment.Device
Embodiment can be realized by software, it is also possible to realizes by the way of hardware or software and hardware combining.With soft
As a example by part realizes, as the device on a logical meaning, be the processor by its place equipment by non-easily
In the property lost memorizer, corresponding computer program instructions reads and runs formation in internal memory.From hardware view
Speech, as shown in Figure 6, for a kind of hardware structure diagram of the device place equipment that the application routing table issues, removes
Outside processor shown in Fig. 6, internal memory, network interface and nonvolatile memory, in embodiment
The equipment at device place generally can also include other hardware, such as the forwarding chip etc. of responsible process message.
Refer to Fig. 7, for an embodiment block diagram of the device that the application routing table issues:
Described device may include that selection unit 710 and issues unit 720.
Wherein, select unit 710, for selecting from routing table to be issued and target conversion board process industry
The route table items that business is relevant;
Issue unit 720, forward to described target for preferentially issuing or only issue the route table items of current selection
Plate.
In an optional implementation, described device can also include (not shown in Fig. 7):
First division unit 730, for planning described target conversion board based on service needed or network topology
Some interfaces be divided in same interface group;
Described selection unit 710 can be specifically for:
Select to process with target conversion board from described routing table to be issued based on the interface in described interface group
The route table items that business is relevant.
In an optional implementation, described in routing table to be issued include virtual flow-line forward VRF pair
The route table items answered, described device can also include (not shown in Fig. 7):
Second division unit 740, for processing relevant industry based on network topology planning on described target conversion board
Some interfaces of business are divided into same virtual flow-line and forward in VRF;
Described selection unit 710 can be specifically for:
Select to process industry with target conversion board from described routing table to be issued based on the interface in described VRF
Route table items that business is relevant or select in the VRF table corresponding with described VRF from described routing table to be issued
Route table items.In an optional implementation, described selection unit 710 can be specifically for:
Routing table to be issued described in traversal, by all route table items in described routing table to be issued based on presetting
The cycle that issues issue through several times and be all issued to described target conversion board at random;Wherein, described target turns
Some route table items that the some route table items once received after sending out buttress evidence once receive before updating;
When target conversion board is carried out route sending-down, add up described target conversion board to the front institute once issued
There is the route hit rate of route table items;
It is ranked up according to all route table items that described target conversion board is received by described route hit rate;
Select to route the route table items that hit rate is higher from described routing table to be issued based on described ranking results
For processing, to described target conversion board, the route table items that business is relevant.
In said apparatus, the function of unit and the process that realizes of effect specifically refer to corresponding step in said method
Rapid realizes process, does not repeats them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part sees
The part of embodiment of the method illustrates.Device embodiment described above is only schematically, wherein
The described unit illustrated as separating component can be or may not be physically separate, as unit
The parts of display can be or may not be physical location, i.e. may be located at a place, or also may be used
To be distributed on multiple NE.Some or all of module therein can be selected according to the actual needs
Realize the purpose of the application scheme.Those of ordinary skill in the art in the case of not paying creative work,
I.e. it is appreciated that and implements.
In this application, the master control borad of frame type equipment can select to turn with target from routing table to be issued
Send out plate and process the route table items that business is relevant, then, preferentially issue or only issue the routing table of current selection
Item is to this target conversion board.Owing to the application can be carried out neatly according to the business that target conversion board processes
Issuing of route table items, therefore, application the application may determine that the road being issued to small dimension target conversion board
By the route higher for its business correlation ratio, thus improve its Business Processing efficiency, solve relevant skill
The unrelated rate of route table items business of art medium and small dimension board caine storage is higher causes Business Processing inefficient
Problem.
The foregoing is only the preferred embodiment of the application, not in order to limit the application, all in this Shen
Within spirit please and principle, any modification, equivalent substitution and improvement etc. done, should be included in this Shen
Within the scope of please protecting.
Claims (8)
1. the method that routing table issues, described method is applied on the master control borad of frame type equipment, described frame
Formula equipment includes that some conversion boards, described conversion board include some interfaces, it is characterised in that described method bag
Include:
Select to process, to target conversion board, the route table items that business is relevant from routing table to be issued;
Preferentially issue or only issue the route table items of current selection to described target conversion board.
Method the most according to claim 1, it is characterised in that described method also includes:
Planning based on service needed or network topology is divided into same by the some interfaces on described target conversion board
In interface group;
The described route table items selecting to process business relevant to target conversion board from routing table to be issued includes:
Select to process with target conversion board from described routing table to be issued based on the interface in described interface group
The route table items that business is relevant.
Method the most according to claim 1, it is characterised in that described in routing table to be issued include virtual
The route table items that routing forwarding VRF is corresponding, described method also includes:
The some interfaces processing related service on described target conversion board are divided into same based on network topology planning
One virtual flow-line forwards in VRF;
The described route table items selecting to process business relevant to target conversion board from routing table to be issued includes:
Select to process industry with target conversion board from described routing table to be issued based on the interface in described VRF
Route table items that business is relevant or select the VRF table item corresponding with described VRF from described routing table to be issued.
Method the most according to claim 1, it is characterised in that described choosing from routing table to be issued
Select the route table items processing business relevant to target conversion board to include:
Routing table to be issued described in traversal, by all route table items in described routing table to be issued based on presetting
The cycle that issues issue through several times and be all issued to described target conversion board at random;Wherein, described target turns
Some route table items that the some route table items once received after sending out buttress evidence once receive before updating;
When target conversion board is carried out route sending-down, add up described target conversion board to the front institute once issued
There is the route hit rate of route table items;
It is ranked up according to all route table items that described target conversion board is received by described route hit rate;
Select to route the route table items that hit rate is higher from described routing table to be issued based on described ranking results
For processing, to described target conversion board, the route table items that business is relevant.
5. the device that routing table issues, described device is applied on the master control borad of frame type equipment, described frame
Formula equipment includes that some conversion boards, described conversion board include some interfaces, it is characterised in that described device bag
Include:
Select unit, for selecting the road relevant to target conversion board process business from routing table to be issued
By list item;
Issue unit, for preferentially issuing or only issue the route table items of current selection to described target conversion board.
Device the most according to claim 5, it is characterised in that described device also includes:
First division unit, for planning on described target conversion board based on service needed or network topology
Some interfaces are divided in same interface group;
Described selection unit specifically for:
Select to process with target conversion board from described routing table to be issued based on the interface in described interface group
The route table items that business is relevant.
Device the most according to claim 5, it is characterised in that described in routing table to be issued include virtual
The route table items that routing forwarding VRF is corresponding, described device also includes:
Second division unit, for processing related service based on network topology planning on described target conversion board
Some interfaces be divided into same virtual flow-line and forward in VRF;
Described selection unit specifically for:
Select to process industry with target conversion board from described routing table to be issued based on the interface in described VRF
Route table items that business is relevant or select the VRF table item corresponding with described VRF from described routing table to be issued.
Device the most according to claim 5, it is characterised in that described selection unit specifically for:
Routing table to be issued described in traversal, by all route table items in described routing table to be issued based on presetting
The cycle that issues issue through several times and be all issued to described target conversion board at random;Wherein, described target turns
Some route table items that the some route table items once received after sending out buttress evidence once receive before updating;
When target conversion board is carried out route sending-down, add up described target conversion board to the front institute once issued
There is the route hit rate of route table items;
It is ranked up according to all route table items that described target conversion board is received by described route hit rate;
Select to route the route table items that hit rate is higher from described routing table to be issued based on described ranking results
For processing, to described target conversion board, the route table items that business is relevant.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610513759.9A CN105959220B (en) | 2016-06-28 | 2016-06-28 | The method and device that routing table issues |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610513759.9A CN105959220B (en) | 2016-06-28 | 2016-06-28 | The method and device that routing table issues |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105959220A true CN105959220A (en) | 2016-09-21 |
CN105959220B CN105959220B (en) | 2019-10-11 |
Family
ID=56903185
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610513759.9A Active CN105959220B (en) | 2016-06-28 | 2016-06-28 | The method and device that routing table issues |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105959220B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131051A (en) * | 2019-12-30 | 2020-05-08 | 杭州迪普科技股份有限公司 | Route issuing method and device |
CN113037630A (en) * | 2019-12-24 | 2021-06-25 | 中兴通讯股份有限公司 | Method and device for issuing table items and method and device for processing table items |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1863155A (en) * | 2005-10-13 | 2006-11-15 | 华为技术有限公司 | Method and system for synchronously for warding of forwarding information table |
CN102143069A (en) * | 2011-03-01 | 2011-08-03 | 华为技术有限公司 | Method and device for processing route information |
CN102904804A (en) * | 2012-10-22 | 2013-01-30 | 华为技术有限公司 | Routing forwarding information adding method, message forwarding method, device and network device |
US20140119358A1 (en) * | 2012-10-26 | 2014-05-01 | Huawei Technologies Co., Ltd. | Service Packet Forwarding and Processing Method and System, and Access Point AP |
CN105357114A (en) * | 2014-08-21 | 2016-02-24 | 杭州迪普科技有限公司 | Distributed network equipment |
-
2016
- 2016-06-28 CN CN201610513759.9A patent/CN105959220B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1863155A (en) * | 2005-10-13 | 2006-11-15 | 华为技术有限公司 | Method and system for synchronously for warding of forwarding information table |
CN102143069A (en) * | 2011-03-01 | 2011-08-03 | 华为技术有限公司 | Method and device for processing route information |
CN102904804A (en) * | 2012-10-22 | 2013-01-30 | 华为技术有限公司 | Routing forwarding information adding method, message forwarding method, device and network device |
US20140119358A1 (en) * | 2012-10-26 | 2014-05-01 | Huawei Technologies Co., Ltd. | Service Packet Forwarding and Processing Method and System, and Access Point AP |
CN105357114A (en) * | 2014-08-21 | 2016-02-24 | 杭州迪普科技有限公司 | Distributed network equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113037630A (en) * | 2019-12-24 | 2021-06-25 | 中兴通讯股份有限公司 | Method and device for issuing table items and method and device for processing table items |
WO2021129327A1 (en) * | 2019-12-24 | 2021-07-01 | 中兴通讯股份有限公司 | Entry issuing method and apparatus, and entry processing method and apparatus |
CN113037630B (en) * | 2019-12-24 | 2023-07-07 | 中兴通讯股份有限公司 | Table entry issuing method and device and table entry processing method and device |
CN111131051A (en) * | 2019-12-30 | 2020-05-08 | 杭州迪普科技股份有限公司 | Route issuing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105959220B (en) | 2019-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103227778B (en) | Memory pool access method, equipment and system | |
CN103441932B (en) | A kind of Host routes list item generates method and apparatus | |
CN109639579B (en) | Multicast message processing method and device, storage medium and processor | |
CN105939324A (en) | Message forwarding method and device | |
CN102904975A (en) | Method and associated device for message processing | |
CN109698788A (en) | Flow forwarding method and flow forwarding device | |
CN103731356B (en) | Message processing method and device | |
CN106161227A (en) | A kind of message forwarding method and device | |
CN106341338B (en) | A kind of retransmission method and device of message | |
CN106503981A (en) | Simple payment verification node Transaction Inquiries method and system | |
CN105991445A (en) | Link aggregation group setting method and device | |
CN106330553A (en) | Message forwarding method and device | |
CN108259346A (en) | A kind of equivalent route item establishing method and device | |
CN104243208A (en) | Port expansion and message processing method, device and network device | |
CN104426794B (en) | A kind of message forwarding method and device | |
CN107547346A (en) | A kind of message transmitting method and device | |
CN103338152A (en) | Multicast message forwarding method and main control board | |
CN106027356A (en) | Tunnel identifier conversion method and device | |
CN105959220A (en) | Routing table issuing method and device | |
CN106713130A (en) | Routing table updating method, EVPN control equipment and EVPN system | |
CN106453091B (en) | The equivalent route management method and device of router Forwarding plane | |
CN101383766A (en) | Packet forwarding method, device and equipment | |
CN102938711B (en) | Network interface information configuring methods and the network equipment | |
CN106059882A (en) | Route insertion method and device | |
CN105939276A (en) | Forwarding method and forwarding device of multicast data message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building Applicant after: Hangzhou Dipu Polytron Technologies Inc Address before: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building Applicant before: Hangzhou Dipu Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |