Nothing Special   »   [go: up one dir, main page]

CN107547364A - Route sending-down method, device and the network equipment - Google Patents

Route sending-down method, device and the network equipment Download PDF

Info

Publication number
CN107547364A
CN107547364A CN201710700296.1A CN201710700296A CN107547364A CN 107547364 A CN107547364 A CN 107547364A CN 201710700296 A CN201710700296 A CN 201710700296A CN 107547364 A CN107547364 A CN 107547364A
Authority
CN
China
Prior art keywords
routing iinformation
list item
route
item position
routing
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
Application number
CN201710700296.1A
Other languages
Chinese (zh)
Other versions
CN107547364B (en
Inventor
况玲
莫正鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201710700296.1A priority Critical patent/CN107547364B/en
Publication of CN107547364A publication Critical patent/CN107547364A/en
Application granted granted Critical
Publication of CN107547364B publication Critical patent/CN107547364B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Present disclose provides a kind of route sending-down method, device and the network equipment, belong to Internet technical field.Wherein, the route sending-down method is applied to the network equipment, and the processor of the network equipment is connected with multiple exchange chips, and multiple exchange chips belong to a MDC equipment, and this method includes:When processor has routing iinformation to need to issue, a target exchange chip is chosen from multiple exchange chips;Routing iinformation is issued to target exchange chip;The list item position of the routing iinformation that reception target exchange chip is determined in the routing table;List item position and routing iinformation are issued to multiple exchange chips.Route sending-down method, device and the network equipment that the disclosure provides, routing iinformation is issued to by all exchange chips according to the list item position that an exchange chip determines, calculated without each exchange chip, the longer calculating time is taken during so as to reduce route sending-down, improve route issues efficiency.

Description

Route sending-down method, device and the network equipment
Technical field
This disclosure relates to Internet technical field, more particularly, to a kind of route sending-down method, device and the network equipment.
Background technology
Routing table be used for store point to the network equipment routing iinformation, when interchanger forwards to data message, it is necessary to The information such as the physics outgoing interface of next-hop network address and forwarding data packets are obtained by table of query and routing, by finding Outgoing interface by data message forwarding to next-hop network equipment.When user changes networking configuration or link changes, Interchanger needs new routing iinformation being issued in the routing table of exchange chip.Because the network equipment quantity in network is huge Greatly, change frequently, therefore interchanger needs to issue substantial amounts of routing iinformation.At present according to the specification of hardware routing table, interchanger On route specification can reach million the order of magnitude.
Due to generally comprising one or more exchange chips on the business board of interchanger, route addition in routing table, delete , it is necessary to which each exchange chip of interface provided according to chip manufacturer issues once when removing or changing.
Interchanger for supporting MDC (Multitenant Device Context, multi-tenant facility environment) configurations, can So that the interchanger is divided into more MDC equipment by virtualization technology.Because exchange chip different on veneer can divide Into same MDC equipment, the route sending-down under MDC environment is also to be issued according to chip, and each exchange chip issues once.
Because routing table is usually the soft table of tree structure, each exchange chip has respective routing table, so in business Plate CPU issues new when being routed to exchange chip, and each interaction chip, which is required to first pass through software, to be calculated new route and routeing Position in table, then CPU is again by route sending-down to corresponding position.So the quantity of exchange chip is more, route institute is issued The time needed is longer.Similarly for MDC environment, the chip being divided on same veneer in same MDC is more, under corresponding route It is lower to send out efficiency.
For being stored with the interchanger largely routeing, if user changes networking configuration or link changes, meeting Cause the route on interchanger to be added, delete or change, so if the route sending-down of interchanger is less efficient, can lead Apply family transmission the message long period can not reach purpose equipment, even result in route change when serious packet loss occurs.
The content of the invention
In view of this, the purpose of the disclosure is to provide a kind of route sending-down method, device and the network equipment, can improve Route issues efficiency.
To achieve these goals, the technical scheme that the disclosure uses is as follows:
In a first aspect, present disclose provides a kind of route sending-down method, methods described is applied to the network equipment, the network The processor of equipment is connected with multiple exchange chips, and multiple exchange chips belong to a MDC equipment;Methods described bag Include:
If the processor has routing iinformation to need to issue, a target friendship is chosen from multiple exchange chips Change chip;
The routing iinformation is issued to the target exchange chip;
Receive the list item position of the routing iinformation that the target exchange chip is determined in the routing table;
The list item position and the routing iinformation are issued to multiple exchange chips.
Second aspect, present disclose provides a kind of route sending-down device, described device is applied to the network equipment, the network The processor of equipment is connected with multiple exchange chips, and multiple exchange chips belong to a MDC equipment;Described device bag Include:
Target exchange chip determining module, if there is routing iinformation to need to issue for the processor, from multiple institutes State one target exchange chip of selection in exchange chip;
Route location determining module, for the routing iinformation to be issued into the target exchange chip;And described in receiving List item position of the routing iinformation that target exchange chip is determined in the routing table;
Route sending-down module, for the list item position and the routing iinformation to be issued into multiple exchange chips.
The third aspect, the embodiment of the present disclosure provide a kind of network equipment, including processor, is connected with the processor Multiple exchange chips and machinable medium, the machinable medium is stored with can be by the computing device Machine-executable instruction, machine-executable instruction described in the computing device is to realize above-mentioned method.
Fourth aspect, the embodiment of the present disclosure provide a kind of machinable medium, the machinable medium Machine-executable instruction is stored with, when being called and being performed by processor, the machine can perform the machine-executable instruction Instruction promotes the processor to realize above-mentioned method.
Above-mentioned route sending-down method, device, the network equipment and machinable medium, set for belonging to a MDC Standby multiple exchange chips, when progress routing iinformation issues, an exchange chip can be only chosen to determine the routing iinformation List item position in the routing table, routing iinformation is issued to by all exchange chips according to the list item position, without each friendship Change chip all to be calculated, the longer calculating time is taken in route sending-down so as to reduce, improve route issues efficiency.
Other feature and advantage of the disclosure will illustrate in the following description, or, Partial Feature and advantage can be with Deduce from specification or unambiguously determine, or the above-mentioned technology by implementing the disclosure can be learnt.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of disclosure embodiment or technical scheme of the prior art The required accompanying drawing used is briefly described in embodiment or description of the prior art, it should be apparent that, in describing below Accompanying drawing is some embodiments of the disclosure, for those of ordinary skill in the art, before creative work is not paid Put, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart for the first route sending-down method that the embodiment of the present disclosure provides;
Fig. 2 is the flow chart for second of route sending-down method that the embodiment of the present disclosure provides;
Fig. 3 is the flow chart that the route sending-down method provided using the embodiment of the present disclosure adds route;
Fig. 4 is the flow chart that the route sending-down method provided using the embodiment of the present disclosure deletes route;
Fig. 5 is the structured flowchart for the first route sending-down device that the embodiment of the present disclosure provides;
Fig. 6 is the structured flowchart for second of route sending-down device that the embodiment of the present disclosure provides;
Fig. 7 is a kind of structural representation for network equipment for realizing route sending-down that the embodiment of the present disclosure provides.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present disclosure clearer, below in conjunction with accompanying drawing to the disclosure Technical scheme be clearly and completely described, it is clear that described embodiment is disclosure part of the embodiment, rather than Whole embodiments.Based on the embodiment in the disclosure, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, belong to the scope of disclosure protection.
The problem of route sending-down is less efficient under multi-chip environment for existing route sending-down method, the disclosure are implemented Example provides a kind of route sending-down method, device, the network equipment and machinable medium.The technology can be widely used in In the network equipments such as interchanger, user gateway or router, the network equipment can include master control borad and business board.Master control borad leads to Often only it is responsible for the calculating of various procotols, is not involved in the forwarding of service message, general exigent cpu performance and bigger Internal memory.Business board is mainly responsible for the forwarding of service message, is provided with what one or more was connected with business board CPU on business board Exchange chip, the routing table for including substantial amounts of routing iinformation is stored with exchange chip.The model of multiple exchange chips can phase It is same or different, but the routing table of each exchange chip is globally consistent, the globally consistent routing table for including each exchange chip Storage mode it is identical, and the list item position of identical routing iinformation in the routing table is identical.
The above-mentioned network equipment can also support MDC to configure, and MDC configurations can be by virtualization technology by a network equipment More logical device are divided into, every logical device is referred to as a MDC equipment.It is exclusive soft or hard that every MDC equipment possesses oneself Part resource, independent operating, independent forwarding, separately provide business., will not if creating, starting, restarting, deleting a MDC equipment Influence the operation of other MDC equipment.For a user, every MDC equipment is exactly an independent physical equipment.MDC equipment Between it is mutually isolated, it is impossible to direct communication, there is very high security.For manager, add when there is new branch It is fashionable, to save the expense for purchasing new network device and network device hardware upgrading, existing network can be improved by dividing MDC Resource utilization.Meanwhile more MDC integration of equipments can efficiently reduce management and maintenance cost on a physical equipment.
Below by specific embodiment to the route sending-down method of the disclosure, device, the network equipment and machine readable storage Medium is described in detail.
Embodiment one:
A kind of route sending-down method is present embodiments provided, this method is applied to the above-mentioned network equipment, the network equipment The multiple exchange chips being connected including at least processor and with processor, multiple exchange chips belong to a MDC equipment, It can so make the routing table in multiple exchange chips globally consistent.For the business board of multiple exchange chips, category can be considered as In same MDC equipment.
The flow chart of route sending-down method as shown in Figure 1, this method comprise the following steps:
Step S101, if processor has routing iinformation to need to issue, a target is chosen from multiple exchange chips Exchange chip.
When applying in different network environments, the processor can be the processor of business board CPU or MDC equipment, with Under illustrate respectively in two kinds of situation.
A kind of situation is:Multiple exchange chips belong to same business board, and each exchange chip is connected with business board CPU. If business board CPU receives the request of distal end routing operations, or when study is to new distal end route, can be from multiple exchange chips In arbitrarily selection one exchange chip, as target exchange chip;By first exchange chip of the business board or can also be The exchange chip for acquiescence of uniting when this mode can avoid each route sending-down, all redefines mesh as target exchange chip Exchange chip is marked, saves program.
Another situation is:The network equipment for supporting MDC configurations, multiple exchange chips belong to same MDC equipment. When MDC is created, master control borad CPU and business board CPU can create corresponding task process in the processor of MDC equipment, often A MDC equipment is created, the task process of correlation will be created, the task process between different MDC equipment is separate.Such as Fruit on the port of some MDC equipment enable OSPF (Open Shortest Path First, ospf), The Routing Protocols such as BGP (Border Gateway Protocol, Border Gateway Protocol), it is main when study is to new distal end route Forwarding task corresponding to control plate CPU can be synchronized to route messages in forwarding task corresponding to business board CPU.CPU pairs of business board Current route messages are sent to drive module by the forwarding task answered, and are parsed above-mentioned route messages by drive module, are obtained The KEY (keyword) of route:DIP (purpose IP address) and the result searched:The routing iinformations such as next-hop.
After parsing obtains routing iinformation, the processor of MDC equipment needs routing iinformation being issued to each exchange chip Routing table in store.Now, the processor of MDC equipment can arbitrarily select an exchange chip from multiple exchange chips, As target exchange chip;Can also be using the exchange chip of first exchange chip of MDC equipment or system default as target Exchange chip.
Step S102, routing iinformation is issued to target exchange chip.
Specifically, routing iinformation is issued to target exchange chip by above-mentioned business board CPU or the processor of MDC equipment, So that target exchange chip calculates the list item position of routing iinformation in the routing table according to the algorithm of setting.Wherein, the calculation of setting Method can use conventional computational methods.For example, according to the DIP prefix computation routing iinformation affiliated point in the routing table Branch.
Step S103, the list item position of the routing iinformation that reception target exchange chip is determined in the routing table.
Step S104, list item position and routing iinformation are issued to multiple exchange chips.
After receiving the list item position of the routing iinformation of target exchange chip return in the routing table, business board CPU or MDC List item position and routing iinformation are issued to multiple exchange chips by the processor of equipment with broadcast mode.
The route sending-down method that the embodiment of the present disclosure provides, multiple exchange chips for belonging to a MDC equipment, When progress routing iinformation issues, an exchange chip can be only chosen to determine the list item position of the routing iinformation in the routing table Put, routing iinformation is issued to by all exchange chips according to the result of calculation of the exchange chip, without each exchange chip Calculated, the longer calculating time is taken in route sending-down so as to reduce, the efficiency that issues of route is improved, effectively subtracts The packet loss phenomenon occurred during route change is lacked.
Embodiment two:
A kind of preferred route sending-down method is present embodiments provided, this method applies equally to include multiple exchange cores The network equipment of piece, the processor connection of multiple exchange chips and the network equipment, and the routing table in each exchange chip is global Unanimously.The network equipment supports the DMA (Direct Memory Access, direct memory access) of route to issue mode, i.e., should All exchange chips of the network equipment all support the DMA of route to issue mode.The flow of route sending-down method shown in Figure 2 Figure, this method comprise the following steps:
Step S201, if processor has routing iinformation to need to issue, a target is chosen from multiple exchange chips Exchange chip.Identical with above-described embodiment one, under different network environments, the processor can also be business board CPU or MDC The processor of equipment, will not be repeated here.
Step S202, routing iinformation is issued to target exchange chip.
Step S203, the list item position of the routing iinformation that reception target exchange chip is determined in the routing table.
Processor receives the list item position of the routing iinformation of target exchange chip return in the routing table, by list item position With the DMA buffer areas of routing iinformation storage to storage chip.Or list item position and routing iinformation are deposited by target exchange chip Store up DMA buffer areas.
Step S204, judges whether the number of the current routing iinformation for having determined that list item position reaches predetermined threshold value;Such as Fruit is to perform step S205;If not, return to step S201.
Step S205, each routing iinformation and corresponding list item position are issued to multiple exchange chips.
If the list item position of DMA cache bank memories storage and routing iinformation reach certain amount, disposably DMA can be cached The list item position of area's memory storage and routing iinformation are sent directly to the routing table of each exchange chip by way of data broadcasting In.
As another implementation of the present embodiment, processor can will first need the routing iinformation that issues to store to depositing Store up the DMA buffer areas of chip or the DMA buffer areas of target exchange chip.Routing iinformation in DMA buffer areas reaches certain amount Afterwards, then by target exchange chip the list item position of each routing iinformation in the routing table is calculated, then by each routing iinformation Multiple exchange chips are issued to corresponding list item position.
In addition, above-mentioned steps S205 is to have determined that the number of the routing iinformation of list item position reaches default threshold by statistics Value triggering, as another implementation, time factor can also be introduced, has both been monitored since there is first routing iinformation Whether timing, the duration to current time reach setting duration, and also monitoring has determined that the number of the routing iinformation of list item position Whether predetermined threshold value is reached, one of the two satisfaction is carried out above-mentioned steps S205, to ensure the promptness of route sending-down.
Compared with existing DMA issues the mode of route, route sending-down method that the embodiment of the present disclosure is provided, processor The routing iinformation and list item position that will first can be issued are stored to DMA buffer areas, when the routing iinformation of cache bank memories storage reaches Property is write in routing table again after certain amount, under the route that can not only lift the single-chip business board for supporting DMA to issue Send out efficiency, the MDC equipment of business board or multi-chip for multi-chip, when issuing route, by an exchange chip all according to List item position corresponding to each routing iinformation of dma mode calculating, after routing iinformation reaches certain amount, then writes each exchange chip Routing table in.Therefore, under multi-chip environment, the amount of calculation of software is not only reduced, improves calculating speed, is also reduced The number of hardware is frequently accessed, and then improves the message forwarding rate of user terminal, lifts user's online experience degree.
It should be noted that above-mentioned two embodiment of the method is described by the way of progressive, what each embodiment stressed All be the difference with other embodiment, between each embodiment identical similar part mutually referring to.
Embodiment three:
Include route addition, route deletion and routing update etc., the present embodiment pair in view of the application scenarios of route sending-down Above-mentioned the step of list item position and routing iinformation are issued into multiple exchange chips, is refined, including:
If above-mentioned routing iinformation is the routing iinformation of route to be added, the routing iinformation is respectively written into multiple described The list item position of the routing table of exchange chip;
If above-mentioned routing iinformation is when the routing iinformation of revocation route, the road of above-mentioned multiple exchange chips is searched respectively By the list item position of table, and delete the routing iinformation in the list item position found;
If above-mentioned routing iinformation is the routing iinformation of route to be updated, the road of above-mentioned multiple exchange chips is searched respectively By the list item position of table, the routing iinformation in the list item position found is replaced using the routing iinformation.
Based on this, a kind of route sending-down method is present embodiments provided, this method is with the network equipment for supporting that MDC is configured Illustrated exemplified by middle addition route.Flow chart shown in Figure 3, this method comprise the following steps:
Step S301, when study is to new distal end route, distal end route messages are parsed by drive module, obtain route Information.
When creating MDC equipment, master control borad CPU and business board CPU can create corresponding task in the processor of MDC equipment Process, a MDC equipment is often created, the task process of correlation will be created, the task process between different MDC equipment is mutual It is independent.If enabling the Routing Protocol such as OSPF, BGP on the port of some MDC equipment, when arriving new distal end by port study During route, forwarding task corresponding to master control borad CPU can be synchronized to distal end route messages corresponding to business board CPU and forward task In.Current distal end route messages are sent to drive module by forwarding task corresponding to business board CPU, are parsed by drive module Said distal ends route messages, the KEY being route:DIP and the result searched:The routing iinformations such as next-hop.
Step S302, an exchange chip is chosen by MDC modules, as target exchange chip.
When creating MDC equipment, MDC modules can record the port in MDC equipment and exchange core according to the information of user configuration The corresponding relation of piece.When being route on the port of some MDC equipment according to Routing Protocol study to new distal end, MDC equipment MDC equipment of the forwarding module according to belonging to current corresponding to processor or business board CPU, pass through MDC modules and obtain software records It is current belonging to MDC equipment an exchange chip, as target exchange chip.
Step S303, routing iinformation is issued to target exchange chip, so that target exchange chip calculates routing iinformation and existed List item position in routing table.
Step S304, list item position and routing iinformation are issued to multiple exchange chips with broadcast mode, so that each friendship Changing chip, new routing iinformation is added in corresponding list item position in the routing table.
During route sending-down, all exchange chips included under current MDC equipment can be determined by MDC modules, poll is worked as All exchange chips included under preceding MDC equipment, the list item position calculated according to target exchange chip, routing iinformation is broadcasted In the routing table for all exchange chips being issued in current MDC equipment.
What above-mentioned Fig. 3 was illustrated exemplified by routeing adding procedure, ginseng similar with its for deleting the implementation routeing The flow chart of route sending-down method as shown in Figure 4, this method comprise the following steps:
Step S401, when perceiving distal end route withdraw, distal end route withdraw message is parsed by drive module, obtained Routing iinformation.
When some port of MDC equipment perceives distal end route withdraw, forwarding task can be remote corresponding to master control borad CPU End route withdraw message is synchronized in forwarding task corresponding to business board CPU.Forwarding task will be current corresponding to business board CPU Distal end route withdraw message is sent to drive module, parses said distal ends route withdraw message by drive module, is route KEY:DIP and the result searched:The routing iinformations such as next-hop.
Step S402, an exchange chip is chosen by MDC modules, as target exchange chip.
When creating MDC equipment, MDC modules can record the port in MDC equipment and exchange core according to the information of user configuration The corresponding relation of piece.Therefore, an exchange core of the current affiliated MDC equipment of software records can be obtained by MDC modules Piece, as target exchange chip.
Step S403, routing iinformation is issued to target exchange chip, so that target exchange chip is searched routing iinformation and existed List item position in routing table.
Step S404, list item position and routing iinformation are issued to multiple exchange chips with broadcast mode, so that each friendship Change chip and delete the routing iinformation in the routing table.
After receiving the list item position of the routing iinformation of target exchange chip return in the routing table, pass through MDC modules It is determined that all exchange chips included under current MDC equipment, all exchange chips for being included under the current MDC equipment of poll, by mesh List item position and routing iinformation that mark exchange chip is found are issued to all exchange cores in current MDC equipment with broadcast mode Piece, so that the routing iinformation is deleted in corresponding list item position to each exchange chip in the routing table.
It is similar with the implementation for deleting route to update the implementation of route, is changed when perceiving distal end route When, distal end route change message is parsed by drive module, obtains the routing iinformation for needing to update.Target exchange chip is according to need The routing iinformation to be updated determines the list item position of the route in the routing table, then by the list item position and routing iinformation with wide Broadcast mode is issued to multiple exchange chips, so that each exchange chip changes the routing iinformation that list item position is corresponded in routing table For new routing iinformation.
Using above-mentioned route sending-down method addition, delete or renewal route, for belonging to the more of M DC equipment Individual exchange chip, when progress routing iinformation issues, an exchange chip can be only chosen to determine that the routing iinformation is being route List item position in table, routing iinformation is issued to by all exchange chips according to the result of calculation of the exchange chip, without every Individual exchange chip is all calculated, and the longer calculating time is taken in route sending-down so as to reduce, improves issuing for route Efficiency, the packet loss phenomenon occurred during route change is effectively reduced, improve the message forwarding rate of user terminal, lift user Online experience degree.
Example IV:
A kind of route sending-down device corresponding with above method embodiment is present embodiments provided, the device is applied to net Network equipment, the processor of the network equipment are connected with multiple exchange chips, and multiple exchange chips belong to a MDC and set It is standby, so that the routing table in multiple exchange chips is globally consistent.As shown in figure 5, the device includes:
Target exchange chip determining module 51, if there is routing iinformation to need to issue for processor, from multiple exchanges A target exchange chip is chosen in chip;Or using first exchange chip in multiple exchange chips of MDC equipment as Target exchange chip;
Route location determining module 52, for routing iinformation to be issued into the target exchange chip;And receive target friendship Change the list item position of routing iinformation that chip is determined in the routing table;
Route sending-down module 53, for list item position and the routing iinformation to be issued into multiple exchange chips.
Wherein, route sending-down module 53 can be also used for:
If routing iinformation is the routing iinformation of route to be added, routing iinformation is respectively written into multiple exchange chips The list item position of routing table;
If the routing iinformation is when the routing iinformation of revocation route, the road of multiple exchange chips is searched respectively By the list item position of table, and delete the routing iinformation in the list item position found;
If the routing iinformation is the routing iinformation of route to be updated, the road of multiple exchange chips is searched respectively By the list item position of table, the routing iinformation in the list item position found is replaced using the routing iinformation respectively.
As shown in fig. 6, in one more preferred embodiment, if the network equipment supports the DMA of route to issue mode, road It can be included by issuing module 53:
Monitoring of Quantity unit 531 is route, the number for the routing iinformation for the list item position for judging currently to have determined that is It is no to reach predetermined threshold value;
Multirouting issuance unit 532, if the number for routing iinformation reaches predetermined threshold value, by each routing iinformation and Corresponding list item position is issued to multiple exchange chips.
The route sending-down device that the embodiment of the present disclosure provides, multiple exchange chips for belonging to a MDC equipment, When progress routing iinformation issues, an exchange chip can be only chosen to determine the list item position of the routing iinformation in the routing table Put, routing iinformation is issued to by all exchange chips according to the list item position, calculated without each exchange chip, from And reduce and the longer calculating time is taken in route sending-down, improve route issues efficiency.
Embodiment five:
Present embodiments provide a kind of network equipment corresponding with above method embodiment.Fig. 7 is the network equipment Structural representation, as shown in fig. 7, the equipment includes processor 701 and memory 702;Wherein, memory 702 is used to store one Bar or a plurality of computer instruction, one or more computer instruction are executed by processor, to realize above-mentioned route sending-down method.
Further, the network equipment shown in Fig. 7 also includes bus 703 and multiple exchange chips 704, processor 701, exchanges Chip 704 and memory 702 are connected by bus 703.
Wherein, memory 702 may include high-speed random access memory (RAM, Random Access Memory), Non-labile memory (non-volatile memory), for example, at least a magnetic disk storage may also be included.Bus 703 can be isa bus, pci bus or eisa bus etc..The bus can be divided into address bus, data/address bus, control always Line etc..For ease of representing, only represented in Fig. 7 with a four-headed arrow, it is not intended that an only bus or a type of Bus.
Exchange chip 704 is used to be connected with least one user terminal and other NEs by network interface, is responsible for Packaged service message is sent to user terminal by network interface.
Processor 701 is probably a kind of IC chip, has the disposal ability of signal.It is above-mentioned in implementation process Each step of method can be completed by the integrated logic circuit of the hardware in processor 701 or the instruction of software form.On The processor 701 stated can be general processor, including central processing unit (Central Processing Unit, referred to as CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), application specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or Person other PLDs, discrete gate or transistor logic, discrete hardware components.It can realize or perform sheet Disclosed each method, step and logic diagram in inventive embodiments.General processor can be microprocessor or the processing Device can also be any conventional processor etc..The step of method with reference to disclosed in the embodiment of the present invention, can be embodied directly in Hardware decoding processor performs completion, or performs completion with the hardware in decoding processor and software module combination.Software mould Block can be located at random access memory, flash memory, read-only storage, programmable read only memory or electrically erasable programmable storage In the ripe storage medium in this areas such as device, register.The storage medium is located at memory 702, and processor 701 reads memory Information in 702, with reference to its hardware complete previous embodiment method the step of.
Further, the embodiment of the present invention additionally provides a kind of machinable medium, and the machinable medium is deposited Machine-executable instruction is contained, when being called and being performed by processor, machine-executable instruction promotes the machine-executable instruction Processor realizes above-mentioned route sending-down method, and specific implementation can be found in embodiment of the method, will not be repeated here.
The route sending-down device and the network equipment that the embodiment of the present invention is provided, its realization principle and caused technique effect Identical with preceding method embodiment, to briefly describe, device embodiment part does not refer to part, refers to preceding method embodiment Middle corresponding contents.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can also pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing Show the device of multiple embodiments according to the present invention, method and computer program product architectural framework in the cards, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code Part, a part for the module, program segment or code include one or more and are used to realize holding for defined logic function Row instruction.It should also be noted that at some as in the implementation replaced, the function that is marked in square frame can also with different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially perform substantially in parallel, they are sometimes It can perform in the opposite order, this is depending on involved function.It is it is also noted that every in block diagram and/or flow chart The combination of individual square frame and block diagram and/or the square frame in flow chart, function or the special base of action as defined in performing can be used Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module or unit in each embodiment of the present invention can integrate and to form an independence Part or modules individualism, can also two or more modules be integrated to form an independent portion Point.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the disclosure is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform each embodiment methods described of the disclosure all or part of step. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
Finally it should be noted that:The embodiment of embodiment described above, the only disclosure, to illustrate the disclosure Technical scheme, rather than its limitations, the protection domain of the disclosure is not limited thereto, although with reference to the foregoing embodiments to this public affairs Open and be described in detail, it will be understood by those within the art that:Any one skilled in the art In the technical scope that the disclosure discloses, it can still modify to the technical scheme described in previous embodiment or can be light Change is readily conceivable that, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement, do not make The essence of appropriate technical solution departs from the spirit and scope of embodiment of the present disclosure technical scheme, should all cover the protection in the disclosure Within the scope of.Therefore, the protection domain of the disclosure described should be defined by scope of the claims.

Claims (10)

1. a kind of route sending-down method, it is characterised in that methods described is applied to the network equipment, the processor of the network equipment Multiple exchange chips are connected with, multiple exchange chips belong to a MDC equipment;Methods described includes:
If the processor has routing iinformation to need to issue, a target exchange core is chosen from multiple exchange chips Piece;
The routing iinformation is issued to the target exchange chip;
Receive the list item position of the routing iinformation that the target exchange chip is determined in the routing table;
The list item position and the routing iinformation are issued to multiple exchange chips.
2. according to the method for claim 1, it is characterised in that if originating party under the DMA of network equipment support route Formula, the described the step of list item position and the routing iinformation are issued to multiple exchange chips, including:
Judge whether the number of the current routing iinformation for having determined that list item position reaches predetermined threshold value;
If it is, each routing iinformation and the corresponding list item position are issued to multiple exchange chips.
3. according to the method for claim 1, it is characterised in that described that a target is chosen from multiple exchange chips The step of exchange chip, including:
Using first exchange chip in multiple exchange chips of the MDC equipment as target exchange chip.
4. according to the method for claim 1, it is characterised in that described to issue the list item position and the routing iinformation The step of to multiple exchange chips, including:
If the routing iinformation is the routing iinformation of route to be added, the routing iinformation is respectively written into multiple friendships Change the list item position of the routing table of chip;
If the routing iinformation is when the routing iinformation of revocation route, the routing table of multiple exchange chips is searched respectively The list item position, and delete the routing iinformation in the list item position that finds;
If the routing iinformation is the routing iinformation of route to be updated, the routing table of multiple exchange chips is searched respectively The list item position, replace the routing iinformation in the list item position that finds using the routing iinformation.
5. a kind of route sending-down device, it is characterised in that described device is applied to the network equipment, the processor of the network equipment Multiple exchange chips are connected with, multiple exchange chips belong to a MDC equipment;Described device includes:
Target exchange chip determining module, if there is routing iinformation to need to issue for the processor, from multiple friendships Change one target exchange chip of selection in chip;
Route location determining module, for the routing iinformation to be issued into the target exchange chip;And receive the target List item position of the routing iinformation that exchange chip is determined in the routing table;
Route sending-down module, for the list item position and the routing iinformation to be issued into multiple exchange chips.
6. device according to claim 5, it is characterised in that if originating party under the DMA of network equipment support route Formula, the route sending-down module, including:
Monitoring of Quantity unit is route, for judging currently to have determined that whether the number of routing iinformation of list item position reaches default Threshold value;
Multirouting issuance unit, if the number for the routing iinformation reaches predetermined threshold value, by each routing iinformation Multiple exchange chips are issued to the corresponding list item position.
7. device according to claim 5, it is characterised in that the target exchange chip determining module is additionally operable to:
Using first exchange chip in multiple exchange chips of the MDC equipment as target exchange chip.
8. device according to claim 5, it is characterised in that the route sending-down module is additionally operable to:
If the routing iinformation is the routing iinformation of route to be added, the routing iinformation is respectively written into multiple friendships Change the list item position of the routing table of chip;
If the routing iinformation is when the routing iinformation of revocation route, the routing table of multiple exchange chips is searched respectively The list item position, and delete the routing iinformation in the list item position that finds;
If the routing iinformation is the routing iinformation of route to be updated, the routing table of multiple exchange chips is searched respectively The list item position, replace the routing iinformation in the list item position that finds using the routing iinformation respectively.
9. a kind of network equipment, it is characterised in that the multiple exchange chips and machine being connected including processor, with the processor Readable storage medium storing program for executing, the machinable medium be stored with can by the machine-executable instruction of the computing device, Machine-executable instruction described in the computing device is to realize the method described in any one of Claims 1-4.
10. a kind of machinable medium, it is characterised in that the machinable medium is stored with the executable finger of machine Order, for the machine-executable instruction when being called and being performed by processor, the machine-executable instruction promotes the processor Realize the method described in any one of Claims 1-4.
CN201710700296.1A 2017-08-15 2017-08-15 Route issuing method, device and network equipment Active CN107547364B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710700296.1A CN107547364B (en) 2017-08-15 2017-08-15 Route issuing method, device and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710700296.1A CN107547364B (en) 2017-08-15 2017-08-15 Route issuing method, device and network equipment

Publications (2)

Publication Number Publication Date
CN107547364A true CN107547364A (en) 2018-01-05
CN107547364B CN107547364B (en) 2021-08-06

Family

ID=60971498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710700296.1A Active CN107547364B (en) 2017-08-15 2017-08-15 Route issuing method, device and network equipment

Country Status (1)

Country Link
CN (1) CN107547364B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981478A (en) * 2019-02-18 2019-07-05 新华三信息安全技术有限公司 A kind of message processing method and device
CN110891031A (en) * 2019-11-29 2020-03-17 新华三半导体技术有限公司 Synchronous information parallel writing method and network equipment
CN111026324A (en) * 2018-10-09 2020-04-17 华为技术有限公司 Updating method and device of forwarding table entry
CN111064815A (en) * 2019-11-06 2020-04-24 深圳震有科技股份有限公司 Method and device for sharing one IP by multiple single boards, computer equipment and medium
CN111131051A (en) * 2019-12-30 2020-05-08 杭州迪普科技股份有限公司 Route issuing method and device
CN113472701A (en) * 2020-03-31 2021-10-01 深圳市中兴微电子技术有限公司 Method, device and equipment for processing routing information and storage medium
CN115087958A (en) * 2020-03-12 2022-09-20 华为技术有限公司 Data updating method, device and equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6496510B1 (en) * 1997-11-14 2002-12-17 Hitachi, Ltd. Scalable cluster-type router device and configuring method thereof
CN101562573A (en) * 2009-04-22 2009-10-21 中兴通讯股份有限公司 Method and system for aggregating route items
CN102710529A (en) * 2012-06-21 2012-10-03 杭州华三通信技术有限公司 Message forward method and equipment based on virtual device
CN102752199A (en) * 2012-06-21 2012-10-24 中国科学院计算技术研究所 Method and system for constructing data forwarding plane of virtual router
CN103973560A (en) * 2013-02-04 2014-08-06 杭州华三通信技术有限公司 Device and method for fault treatment of stack links in IRF (intelligent resilient framework) system
CN105391629A (en) * 2014-09-05 2016-03-09 杭州迪普科技有限公司 Resource backup method and device
CN105743792A (en) * 2014-12-12 2016-07-06 中兴通讯股份有限公司 Flow table updating method and apparatus
CN105939397A (en) * 2015-08-13 2016-09-14 杭州迪普科技有限公司 Message transmission method and device
CN106330553A (en) * 2016-08-30 2017-01-11 杭州迪普科技有限公司 Message forwarding method and device
CN107864094A (en) * 2017-11-15 2018-03-30 新华三技术有限公司 A kind of traffic routing method, device and machinable medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6496510B1 (en) * 1997-11-14 2002-12-17 Hitachi, Ltd. Scalable cluster-type router device and configuring method thereof
CN101562573A (en) * 2009-04-22 2009-10-21 中兴通讯股份有限公司 Method and system for aggregating route items
CN102710529A (en) * 2012-06-21 2012-10-03 杭州华三通信技术有限公司 Message forward method and equipment based on virtual device
CN102752199A (en) * 2012-06-21 2012-10-24 中国科学院计算技术研究所 Method and system for constructing data forwarding plane of virtual router
CN103973560A (en) * 2013-02-04 2014-08-06 杭州华三通信技术有限公司 Device and method for fault treatment of stack links in IRF (intelligent resilient framework) system
CN105391629A (en) * 2014-09-05 2016-03-09 杭州迪普科技有限公司 Resource backup method and device
CN105743792A (en) * 2014-12-12 2016-07-06 中兴通讯股份有限公司 Flow table updating method and apparatus
CN105939397A (en) * 2015-08-13 2016-09-14 杭州迪普科技有限公司 Message transmission method and device
CN106330553A (en) * 2016-08-30 2017-01-11 杭州迪普科技有限公司 Message forwarding method and device
CN107864094A (en) * 2017-11-15 2018-03-30 新华三技术有限公司 A kind of traffic routing method, device and machinable medium

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026324B (en) * 2018-10-09 2021-11-19 华为技术有限公司 Updating method and device of forwarding table entry
CN111026324A (en) * 2018-10-09 2020-04-17 华为技术有限公司 Updating method and device of forwarding table entry
US11316804B2 (en) 2018-10-09 2022-04-26 Huawei Technologies Co., Ltd. Forwarding entry update method and apparatus in a memory
CN109981478B (en) * 2019-02-18 2022-07-22 新华三信息安全技术有限公司 Message processing method and device
CN109981478A (en) * 2019-02-18 2019-07-05 新华三信息安全技术有限公司 A kind of message processing method and device
CN111064815A (en) * 2019-11-06 2020-04-24 深圳震有科技股份有限公司 Method and device for sharing one IP by multiple single boards, computer equipment and medium
CN111064815B (en) * 2019-11-06 2022-02-18 深圳震有科技股份有限公司 Method and device for sharing one IP by multiple single boards, computer equipment and medium
CN110891031B (en) * 2019-11-29 2021-01-01 新华三半导体技术有限公司 Synchronous information parallel writing method and network equipment
CN110891031A (en) * 2019-11-29 2020-03-17 新华三半导体技术有限公司 Synchronous information parallel writing method and network equipment
CN111131051A (en) * 2019-12-30 2020-05-08 杭州迪普科技股份有限公司 Route issuing method and device
CN115087958A (en) * 2020-03-12 2022-09-20 华为技术有限公司 Data updating method, device and equipment
CN115087958B (en) * 2020-03-12 2024-01-16 华为技术有限公司 Data updating method, device and equipment
CN113472701A (en) * 2020-03-31 2021-10-01 深圳市中兴微电子技术有限公司 Method, device and equipment for processing routing information and storage medium
CN113472701B (en) * 2020-03-31 2023-10-10 深圳市中兴微电子技术有限公司 Processing method, device, equipment and storage medium of route information

Also Published As

Publication number Publication date
CN107547364B (en) 2021-08-06

Similar Documents

Publication Publication Date Title
CN107547364A (en) Route sending-down method, device and the network equipment
CN109981493B (en) Method and device for configuring virtual machine network
CN109905251B (en) Network management method, device, electronic equipment and storage medium
US20160197824A1 (en) Packet forwarding
CN106998297B (en) A kind of virtual machine migration method and device
EP3451597B1 (en) Packet forwarding
WO2020073685A1 (en) Forwarding path determining method, apparatus and system, computer device, and storage medium
CN107104824A (en) A kind of network topology determines method and apparatus
WO2018210148A1 (en) Migration method for virtual machine, sdn controller, and computer readable storage medium
CN107547346B (en) Message transmission method and device
CN108965134B (en) Message forwarding method and device
EP3432550A1 (en) Acceleration proxy device, acceleration proxy method and content management system
WO2015106623A1 (en) Method and apparatus for configuring and delivering flow table entry
CN108206764A (en) Configuration method, server and the computer-readable medium of configuring information of network appliance
CN108540387A (en) Method for network access control and device
CN107547400B (en) Virtual machine migration method and device
WO2014160652A1 (en) Hardware acceleration for routing programs
CN111031056A (en) Method for realizing security domain function in security group
CN109672618A (en) Redundant interface processing method, device, server and storage medium
US8855015B2 (en) Techniques for generic pruning in a trill network
US9853891B2 (en) System and method for facilitating communication
US9973412B2 (en) Method and system for generating routing tables from link specific events
WO2016173196A1 (en) Method and apparatus for learning address mapping relationship
CN104767720A (en) OpenFlow message tracking and filtering method in software defined network
CN103907318B (en) Method and device for refreshing flow table

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant