CN102833161B - Tunnel load share method and device - Google Patents

Tunnel load share method and device Download PDF

Info

Publication number
CN102833161B
CN102833161B CN201210299122.6A CN201210299122A CN102833161B CN 102833161 B CN102833161 B CN 102833161B CN 201210299122 A CN201210299122 A CN 201210299122A CN 102833161 B CN102833161 B CN 102833161B
Authority
CN
China
Prior art keywords
tunnel
load sharing
sharing group
information
network node
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.)
Active
Application number
CN201210299122.6A
Other languages
Chinese (zh)
Other versions
CN102833161A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210299122.6A priority Critical patent/CN102833161B/en
Publication of CN102833161A publication Critical patent/CN102833161A/en
Priority to PCT/CN2013/081308 priority patent/WO2014029287A1/en
Application granted granted Critical
Publication of CN102833161B publication Critical patent/CN102833161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a kind of tunnel load share method and device, wherein, this method includes:Network node detects the alarm situation in tunnel, and updates the information in effective tunnel in current tunnel load sharing group information, wherein, tunnel load sharing group information is to be sent to network node by platform protocol module;The information in effective tunnel after network node renewal is sent to the forwarding chip in network node, wherein, forwarding chip selects effective tunnel to carry out load balancing to service traffics according to information.When the present invention solves tunnel in correlation technique in tunnel load sharing group and forwarding failure occurs, the slow-footed problem of business convergence, it is achieved thereby that the Fast Convergent of business, the forwarding performance of network node is improved.

Description

Tunnel load share method and device
Technical field
The present invention relates to the communications field, in particular to a kind of tunnel load share method and device.
Background technology
In Computer Data Communication field, especially Deta bearer net, the application of tunneling technique is very extensive, and load point Load is a kind of on apparatus for network node, and the strategy and method of load balancing are carried out on multilink.When packet message processing When the message that node finds to be forwarded can outwards be forwarded by mulitpath, how a paths are reasonably selected so that net Network node reaches higher forwarding performance or meets certain forwarding demand, and this is that load sharing needs to solve the problems, such as.This Apply for signified tunnel load sharing, be on apparatus for network node, service traffics carry out load balancing on a plurality of tunnel A kind of strategy and method.
Tunnel load sharing group has 2 kinds of generation types at present, and one kind is to calculate a plurality of tunnel exit shape by Routing Protocol Into another is that some tunnels of static binding are formed, when one or more tunnel forward-path in tunnel load sharing group During failure, the load sharing group that above-mentioned 2 kinds of modes are formed is required for depending on protocol aware, and then, notice forwarding chip is again Select active path to be restrained, by the tunnel load sharing technology, either set in centralized device or distribution It is standby upper, accomplish that convergence is all extremely difficult in 50ms.In associated tunnel load sharing technology, due to needing protocol aware tunnel Road forwarding failure, then reinforms forwarding chip and reselects active path to be restrained, accordingly, there exist business convergence speed Slowly, the defects of forwarding performance is low.
For it is at least one above-mentioned in correlation technique the problem of, not yet propose effective solution at present.
The content of the invention
The invention provides a kind of tunnel load share method and device, at least to solve in correlation technique in tunnel load When sharing the tunnel appearance forwarding failure in group, the slow-footed problem of business convergence.
According to an aspect of the invention, there is provided a kind of tunnel load share method, including:Network node detects tunnel Alarm situation, and update the information in effective tunnel in current tunnel load sharing group information, wherein, tunnel load sharing group Information is to be sent to network node by platform protocol module;The information in effective tunnel after network node renewal is sent to net Forwarding chip in network node, wherein, forwarding chip selects effective tunnel to carry out load balancing to service traffics according to information.
Preferably, in the alarm situation in network node detection tunnel, and update in current tunnel load sharing group information Before the information in effective tunnel, above-mentioned tunnel load share method also includes:Network node is believed in current tunnel load sharing group The both ends configuration quick detection module in each tunnel in breath, whether quick detection module is effective for detecting tunnel, and In the case that forwarding failure occurs in tunnel where detecting quick detection module, alarm signal is produced.
Preferably, in the alarm situation in network node detection tunnel, and update in current tunnel load sharing group information Before the information in effective tunnel, above-mentioned tunnel load share method also includes:Network node is in the following manner in current tunnel Load balancing is carried out to the service traffics of network node on effective tunnel in load sharing group information:Network node is according to acquisition The loopback port address in tunnel on other network nodes, calculated by Routing Protocol in current tunnel load sharing group information from net Network node allows effective tunnel of selection to other network nodes, and operation result is sent into forwarding chip;Network node from Static selection is allowed effective tunnel of selection by network node to other network nodes in current tunnel load sharing group information, and Selection result is sent to forwarding chip.
Preferably, the alarm situation in network node detection tunnel, and update and have in current tunnel load sharing group information The information in effect tunnel includes:In the case where network node has detected that tunnel produces alarm, network node renewal current tunnel The information in effective tunnel in load sharing group information.
Preferably, the information in effectively tunnel includes in network node renewal current tunnel load sharing group information:Network section Point inquires about tunnel number and tunnel load sharing in current tunnel load sharing group information according to the tunnel number in the tunnel for producing alarm The relation of group index, judge the tunnel whether tunnel belongs in current tunnel load sharing group information;Belong to current tunnel in tunnel Tunnel in road load sharing group information, and in the case that the forwarding state in tunnel is effectively forwarding, network node is from current tunnel The information in tunnel is deleted in effective tunnel information in road load sharing group information, and in current tunnel load sharing group information The forwarding state in tunnel is revised as failure forwarding, updates the information in effective tunnel in current tunnel load sharing group information.
Preferably, in the alarm situation in network node detection tunnel, and update in current tunnel load sharing group information After the information in effective tunnel, above-mentioned tunnel load share method also includes:What network node receiving platform protocol module was sent First tunnel load sharing group information, wherein, the first tunnel load sharing group information is that platform protocol module detects that is produced from tunnel Give birth to after alerting, the tunnel load sharing group information regenerated.
Preferably, the alarm situation in network node detection tunnel, and update and have in current tunnel load sharing group information The information in effect tunnel includes:In the case where network node has detected that alarm disappears caused by tunnel, network node renewal is worked as The information in effective tunnel in preceding tunnel load sharing group information.
Preferably, the information in effectively tunnel includes in network node renewal current tunnel load sharing group information:Network section Tunnel number and tunnel load sharing in the tunnel number inquiry current tunnel load sharing group information in the tunnel that point disappears according to alarm The relation of group index, judge the tunnel whether tunnel that alarm disappears belongs in current tunnel load sharing group information;Alerting The tunnel that the tunnel of disappearance belongs in current tunnel load sharing group information, and the forwarding state for alerting the tunnel to disappear is failure In the case of forwarding, the information in the tunnel that network node alarm disappears is added to having in current tunnel load sharing group information Imitate in tunnel information, and be revised as the forwarding state for alerting the tunnel to disappear effectively in current tunnel load sharing group information Forwarding, update the information in effective tunnel in current tunnel load sharing group information.
Preferably, in the alarm situation in network node detection tunnel, and update in current tunnel load sharing group information After the information in effective tunnel, above-mentioned tunnel load share method also includes:What network node receiving platform protocol module was sent Second tunnel load sharing group information, wherein, the second tunnel load sharing group information is that platform protocol module has detected tunnel Alarm disappear after, the tunnel load sharing group information that regenerates.
According to another aspect of the present invention, there is provided a kind of tunnel load sharing device, including:Update module, for examining The alarm situation in tunnel is surveyed, and updates the information in effective tunnel in current tunnel load sharing group information, wherein, tunnel load It is to be sent to network node by platform protocol module to share group information;Sending module, for by effective tunnel after renewal Information is sent to the forwarding chip in network node, wherein, forwarding chip selects effective tunnel to enter service traffics according to information Row load balancing.
Preferably, above-mentioned tunnel load sharing device also includes:Quick detection module, it is configured at current tunnel load sharing The both ends in each tunnel in group information, it is whether effective for detecting tunnel, and where quick detection module is detected In the case that forwarding failure occurs in tunnel, alarm signal is produced.
Preferably, update module includes:First updating block, for detected tunnel produce alarm in the case of, Update the information in effective tunnel in current tunnel load sharing group information.
Preferably, the first updating block includes:First judgment sub-unit, for the tunnel number according to the tunnel for producing alarm The relation in tunnel number and tunnel load sharing group index in tunnel load sharing group information is inquired about, judges whether tunnel belongs to current Tunnel in tunnel load sharing group information;First renewal subelement, for belonging to current tunnel load sharing group letter in tunnel Tunnel in breath, and the forwarding state in tunnel is in the case of effectively forwarding, from having in current tunnel load sharing group information The information that tunnel is deleted in tunnel information is imitated, and is revised as the forwarding state in tunnel in current tunnel load sharing group information Failure forwarding, update the information in effective tunnel in current tunnel load sharing group information.
Preferably, above-mentioned tunnel load sharing device also includes:First receiving module, sent out for receiving platform protocol module The the first tunnel load sharing group information sent, wherein, the first tunnel load sharing group information is that platform protocol module detects tunnel After road produces alarm, the tunnel load sharing group information that regenerates.
Preferably, update module includes:Second updating block, for detecting the feelings that disappearance is alerted caused by tunnel Under condition, the information in effective tunnel in current tunnel load sharing group information is updated.
Preferably, the second updating block includes:Second judgment sub-unit, for the tunnel number in the tunnel to be disappeared according to alarm The relation in tunnel number and tunnel load sharing group index in current tunnel load sharing group information is inquired about, judges the tunnel that alarm disappears The tunnel whether road belongs in current tunnel load sharing group information;Second renewal subelement, in the tunnel that alarm disappears The tunnel belonged in current tunnel load sharing group information, and the forwarding state for alerting the tunnel to disappear is the situation of failure forwarding Under, the information for alerting the tunnel to disappear is added in effective tunnel information in current tunnel load sharing group information, and The forwarding state for alerting the tunnel to disappear is revised as effectively forwarding in current tunnel load sharing group information, updates current tunnel The information in effective tunnel in load sharing group information.
Preferably, above-mentioned tunnel load sharing device also includes:Second receiving module, sent out for receiving platform protocol module The the second tunnel load sharing group information sent, wherein, the second tunnel load sharing group information is that platform protocol module has detected After the alarm in tunnel disappears, the tunnel load sharing group information that regenerates.
In the present invention, network node can detect the alarm situation in tunnel, to update current tunnel load in time The information in effective tunnel in group information is shared, the tunnel load sharing group information is to be sent to network node by platform protocol module , for example, in the case that forwarding failure occurs in tunnel in above-mentioned current tunnel load sharing group information, network node can be with Detect and alerted caused by the tunnel, and the tunnel of the alarm is deleted from effective tunnel, to update current tunnel in time The information in effective tunnel in road load sharing group information, then, the network is sent to by the information in effective tunnel after renewal Forwarding chip in node, select effective tunnel to carry out load balancing to service traffics according to above- mentioned information by forwarding chip, keep away Exempt from after there is forwarding failure by protocol aware to tunnel, network node can just reselect effective tunnel and carry out business convergence Situation, the Fast Convergent of business is realized, so as to improve the forwarding performance of network node.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of tunnel load share method according to embodiments of the present invention;
Fig. 2 is the structured flowchart of tunnel load sharing device according to embodiments of the present invention;
Fig. 3 is the structured flowchart of another tunnel load sharing device according to embodiments of the present invention;
Fig. 4 is the structured flowchart of update module according to embodiments of the present invention;
Fig. 5 is the structured flowchart of another tunnel load sharing device according to embodiments of the present invention;
Fig. 6 is the schematic diagram of tunnel load sharing application scenarios according to embodiments of the present invention;
Fig. 7 is the flow chart of another tunnel load share method according to embodiments of the present invention;And
Fig. 8 is the flow chart of another tunnel load share method according to embodiments of the present invention.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that do not conflicting In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
A kind of tunnel load share method is present embodiments provided, as shown in figure 1, the tunnel load share method includes step Rapid S102 to step S104.
Step S102:Network node detects the alarm situation in tunnel, and updates in current tunnel load sharing group information The information in effective tunnel, wherein, tunnel load sharing group information is to be sent to network node by platform protocol module.
Step S104:The information in effective tunnel after network node renewal is sent to the forwarding chip in network node, Wherein, forwarding chip selects effective tunnel to carry out load balancing to service traffics according to information.
By above-mentioned steps, network node can detect the alarm situation in tunnel, and the tunnel to update current in time is born Lotus shares the information in effective tunnel in group information, and the tunnel load sharing group information is to be sent to network section by platform protocol module Point, for example, in the case that forwarding failure occurs in the tunnel in above-mentioned current tunnel load sharing group information, network node can To detect alarm caused by the tunnel, and the tunnel of the alarm is deleted from effective tunnel, it is current to update in time The information in effective tunnel in tunnel load sharing group information, then, the net is sent to by the information in effective tunnel after renewal Forwarding chip in network node, effective tunnel is selected to carry out load balancing to service traffics according to above- mentioned information by forwarding chip, Avoid after there is forwarding failure by protocol aware to tunnel, network node can just reselect effective tunnel and carry out business convergence Situation, the Fast Convergent of business is realized, so as to improve the forwarding performance of network node.
In order to detect effective situation in every tunnel in time, the business convergence speed of network node is effectively improved, at this In preferred embodiment, the alarm situation in network node detection tunnel, and update and have in current tunnel load sharing group information Before the information for imitating tunnel, the both ends in each tunnel of the above-mentioned network node in above-mentioned current tunnel load sharing group information Configure quick detection module, the quick detection module is put whether effective for detecting tunnel, and is detecting quick detection module In the case that forwarding failure occurs in the tunnel at place, alarm signal is produced.Therefore, network node can pass through quick detection module When detecting effective situation in each tunnel in real time, and occurring forwarding failure in tunnel, detect in time and produce alarm signal, Business convergence is carried out to allow network node promptly to reselect effective tunnel, to effectively improve network node Business convergence speed.
In order to by effective tunnel in current tunnel load sharing group information come the service traffics to above-mentioned network node Load balancing is carried out, in the preferred embodiment, can be accomplished by the following way, for example, being detected in above-mentioned network node The alarm situation in tunnel, and update in current tunnel load sharing group information before the information in effective tunnel, above-mentioned network section The loopback port address in tunnel on other network nodes according to acquisition is put, above-mentioned current tunnel load is calculated by Routing Protocol Share allows effective tunnel of selection from above-mentioned network node to other network nodes in group information, and operation result is sent to Above-mentioned forwarding chip;Above-mentioned network node is static from above-mentioned current tunnel load sharing group information to be selected by above-mentioned network node Allow effective tunnel of selection to other above-mentioned network nodes, and selection result is sent to forwarding chip.
For effective tunnel information of real-time update forwarding chip, the forwarding performance of network node is effectively improved, it is excellent at this Select in embodiment, the alarm situation in above-mentioned network node detection tunnel, and update and have in current tunnel load sharing group information The information in effect tunnel includes:In the case where above-mentioned network node has detected that tunnel produces alarm, in network node renewal State the information in effective tunnel in current tunnel load sharing group information.Realize and detected that tunnel produces alarm in network node In the case of, the information in effective tunnel in the current tunnel load sharing group information for the network node that can upgrade in time, so as to The information in effective tunnel on forwarding chip is updated in real time so that forwarding chip exactly, can be reselected effectively effectively Business is rapidly restrained in tunnel, so as to improving the forwarding performance of network node.
It is preferred real at this in order to quickly complete the information for updating effective tunnel in current tunnel load sharing group information Apply in example, can be realized by following steps, for example, having in above-mentioned network node renewal current tunnel load sharing group information The information in effect tunnel includes:Above-mentioned network node inquires about current tunnel load sharing group according to the tunnel number in the tunnel for producing alarm The relation in tunnel number and tunnel load sharing group index in information, judges whether above-mentioned tunnel belongs to above-mentioned current tunnel load point Carry on a shoulder pole the tunnel in group information;The tunnel belonged in above-mentioned tunnel in above-mentioned current tunnel load sharing group information, and above-mentioned tunnel Forwarding state for effectively forwarding in the case of, above-mentioned network node is from effective in above-mentioned current tunnel load sharing group information The information in above-mentioned tunnel is deleted in tunnel information, and by the forwarding in above-mentioned tunnel in above-mentioned current tunnel load sharing group information Status modifier is that failure forwards, and completes to update the information in effective tunnel in above-mentioned current tunnel load sharing group information.Pass through root The tunnel number in current tunnel load sharing group information and tunnel load sharing are inquired about according to the tunnel number in the tunnel for producing alarm The relation of group index judges whether to need with the effective information in tunnel in new above-mentioned preceding tunnel load sharing group information, to improve Update the efficiency of the information in effective tunnel in current tunnel load sharing group information.
In order to effectively, reasonably improve the forwarding performance of network node using every tunnel, in this preferred embodiment In, the alarm situation in above-mentioned network node detection tunnel, and update effective tunnel in current tunnel load sharing group information Information after, the network node receiving platform protocol module send the first tunnel load sharing group information, wherein, this first Tunnel load sharing group information is that the tunnel load regenerated divides after above-mentioned platform protocol module detects that tunnel produces alarm Carry on a shoulder pole group information.I.e. in the case where platform protocol module has detected that tunnel produces alarm, slow convergence is carried out, is regenerated new Tunnel load sharing group information be sent to network node, to update the tunnel load sharing group information on network node, with more New above-mentioned network node is sent to the information in effective tunnel of forwarding chip.
In order to meet the needs of different application scene, in the preferred embodiment, the announcement in above-mentioned network node detection tunnel Alert condition, and the information for updating effective tunnel in current tunnel load sharing group information includes:Detected in above-mentioned network node In the case of having alarm disappearance caused by tunnel, effective tunnel in network node renewal current tunnel load sharing group information Information.Realize in the case where above-mentioned network node has detected that tunnel produces alarm, can upgrade in time the network section The information in effective tunnel in the current tunnel load sharing group information of point, to update effective tunnel on forwarding chip in real time Information so that forwarding chip can exactly, effectively reselect effective tunnel rapidly to restrain business, so as to improve net The forwarding performance of network node.
In order to effectively, reasonably improve the forwarding performance of network node using every tunnel, in this preferred embodiment In, the information that above-mentioned network node updates effectively tunnel in above-mentioned current tunnel load sharing group information includes:Above-mentioned network section Tunnel number and tunnel load in above-mentioned current tunnel load sharing group information are inquired about in the tunnel number in the tunnel that point disappears according to alarm The relation of group index is shared, judges the tunnel whether tunnel that above-mentioned alarm disappears belongs in current tunnel load sharing group information Road;The tunnel belonged in the tunnel that the alarm disappears in current tunnel load sharing group information, and the tunnel of alarm disappearance In the case that forwarding state is failure forwarding, the information in the tunnel that the alarm of above-mentioned network node disappears is added to current tunnel In effective tunnel information in load sharing group information, and above-mentioned alarm is disappeared in above-mentioned current tunnel load sharing group information The forwarding state in the tunnel of mistake is revised as effectively forwarding, and completes effective tunnel in renewal current tunnel load sharing group information again Information.
In order to effectively, reasonably improve the forwarding performance of network node using every tunnel, in this preferred embodiment In, the alarm situation in above-mentioned network node detection tunnel, and update effective tunnel in current tunnel load sharing group information Information after, the second tunnel load sharing group information that above-mentioned network node receiving platform protocol module is sent, wherein, this Two tunnel load sharing group informations are the tunnels that regenerate after above-mentioned platform protocol module detects that cunicular alarm disappears Load sharing group information.I.e. in the case where above-mentioned platform protocol module detects that cunicular alarm disappears, received at a slow speed Hold back, regenerate new tunnel load sharing group information and be sent to network node, to update the tunnel load on network node point Group information is carried on a shoulder pole, to update the information that above-mentioned network node is sent to effective tunnel of forwarding chip.
In the preferred embodiment, there is provided a kind of tunnel load sharing device, as shown in Fig. 2 the tunnel load sharing Device includes:Update module 202, for detecting the alarm situation in tunnel, and update in current tunnel load sharing group information The information in effective tunnel, wherein, tunnel load sharing group information is to be sent to network node by platform protocol module;Send mould Block 204, update module 202 is connected to, for the forwarding core information in effective tunnel after renewal being sent in network node Piece, wherein, forwarding chip selects effective tunnel to carry out load balancing to service traffics according to information.
In the preferred embodiment, update module 202 can detect the alarm situation in tunnel, current to update in time The information in effective tunnel in tunnel load sharing group information, the tunnel load sharing group information is sent to by platform protocol module Network node, for example, in the case that forwarding failure occurs in the tunnel in above-mentioned current tunnel load sharing group information, network Node can be detected and alerted caused by the tunnel, and the tunnel of the alarm is deleted from effective tunnel, to update in time The information in effective tunnel in current tunnel load sharing group information, then, sending module 204 is by effective tunnel after renewal Information is sent to the forwarding chip in network node, selects effective tunnel to enter service traffics according to above- mentioned information by forwarding chip Row load balancing, avoid after there is forwarding failure by protocol aware to tunnel, network node can just reselect effective tunnel The situation of business convergence is carried out, the Fast Convergent of business is realized, so as to improve the forwarding performance of network node.
In order to detect effective situation in every tunnel in time, the business convergence speed of network node is effectively improved, at this In preferred embodiment, as shown in figure 3, above-mentioned tunnel load sharing device also includes:Quick detection module 206, it is configured at current The both ends in each tunnel in tunnel load sharing group information, it is whether effective for detecting tunnel, and detecting quick inspection In the case that forwarding failure occurs in tunnel where surveying module, alarm signal is produced.
For effective tunnel information of real-time update forwarding chip, the forwarding performance of network node is effectively improved, it is excellent at this Select in embodiment, as shown in figure 4, above-mentioned update module 202 includes:First updating block 2022, for detecting tunnel In the case of producing alarm, the information in effective tunnel in current tunnel load sharing group information is updated.
It is preferred real at this in order to quickly complete the information for updating effective tunnel in current tunnel load sharing group information Apply in example, can be realized by following steps, for example, as shown in figure 4, above-mentioned first updating block 2022 includes:First sentences Disconnected subelement 402, for tunnel number and tunnel in the tunnel inquiry tunnel load sharing group information according to the tunnel for producing alarm The relation of road load sharing group index, judge the tunnel whether tunnel belongs in current tunnel load sharing group information;First more New subelement 404, is connected to the first judgment sub-unit 402, for belonging in tunnel in current tunnel load sharing group information Tunnel, and the forwarding state in tunnel is effective tunnel from current tunnel load sharing group information in the case of effectively forwarding The information in tunnel is deleted in information, and the forwarding state in tunnel is revised as failure in current tunnel load sharing group information and turned Hair, update the information in effective tunnel in current tunnel load sharing group information.
In order to effectively, reasonably improve the forwarding performance of network node using every tunnel, in this preferred embodiment In, as shown in figure 5, above-mentioned tunnel load sharing device also includes:First receiving module 208, for receiving platform protocol module The the first tunnel load sharing group information sent, wherein, the first tunnel load sharing group information is that platform protocol module detects After tunnel produces alarm, the tunnel load sharing group information that regenerates.
In order to meet the needs of different application scene, in the preferred embodiment, as shown in figure 4, above-mentioned update module 202 Including:Second updating block 2024, in the case where having detected that alarm disappears caused by tunnel, renewal current tunnel to be born Lotus shares the information in effective tunnel in group information.
In order to effectively, reasonably improve the forwarding performance of network node using every tunnel, in this preferred embodiment In, as shown in figure 4, above-mentioned second updating block 2024 includes:Second judgment sub-unit 406, for the tunnel to be disappeared according to alarm The relation in tunnel number and tunnel load sharing group index, judges to accuse in the tunnel number inquiry current tunnel load sharing group information in road The tunnel whether alert tunnel to disappear belongs in current tunnel load sharing group information;Second renewal subelement 408, is connected to the Two judgment sub-units 406, for the tunnel belonged in the tunnel that alarm disappears in current tunnel load sharing group information, and alert In the case that the forwarding state in the tunnel of disappearance is failure forwarding, the information for alerting the tunnel to disappear is added to current tunnel and born Lotus is shared in effective tunnel information in group information, and the tunnel to disappear will be alerted in the current tunnel load sharing group information Forwarding state is revised as effectively forwarding, and updates the information in effective tunnel in current tunnel load sharing group information.
In order to effectively, reasonably improve the forwarding performance of network node using every tunnel, in this preferred embodiment In, as shown in figure 5, above-mentioned tunnel load sharing device also includes:Second receiving module 210, for receiving platform protocol module The the second tunnel load sharing group information sent, wherein, the second tunnel load sharing group information is that platform protocol module detects After cunicular alarm disappears, the tunnel load sharing group information that regenerates.
Above-mentioned each preferred embodiment is described in detail below in conjunction with accompanying drawing.
In the preferred embodiment, above-mentioned network node is by taking PE equipment as an example, to describe above-mentioned tunnel load share method, Fig. 7 is the flow chart of another tunnel load share method according to embodiments of the present invention, as shown in fig. 7, the flow includes step Rapid S702 to step S712.
Step S702:Set up the scene of tunnel load sharing.By taking the scene shown in Fig. 6 as an example, wherein have 2 PE equipment, PE1, PE2, there are some P equipment, can also there is no P equipment.Establish several bidirectional tunnels between PE1 and PE2, tunnel can be with It is dynamic rsvp te tunnels or the tmpls tunnels of static state.In every tunnel 2 ends of head and the tail configuration quick detection mould Block, if rsvp-te tunnels, then tunnel bfd can be configured, if tmpls tunnels, tmp oam can be configured.When So, merely just for example, tunnel type is not limited to tmpls tunnels or rsvp te tunnels, the present embodiment is for other Type tunnel is also suitable.
Step S704:Configuration service flow passes through tunnel load sharing group on PE1(Equivalent to above-mentioned current tunnel load Share group information)In tunnel forwarding.Business can be L2vpn or l3vpn business, by every tunnel interface and participate in road By computing, pass through the loopback port address in tunnel on Routing Protocol notice PE2(It is assumed to be the loopback port address in a.b.c.d tunnels)Arrive In PE1 equipment, by Routing Protocol computing, finally make it that a.b.c.d walks tunnel load sharing in this four route outlets on PE1 Group.Same PE1 is configured on PE2.
Step S706:When one or more tunnel forward-path in tunnel load sharing group on PE1 fails, PE1 ends Quick detection produce alarm, PE1 after alarm is received, PE1 according to produce alarm tunnel tunnel lookup tunnel number With tunnel load sharing index relative table, judge that the tunnel for producing alarm whether there is some the tunnel load point preserved in PE1 Load group table(Equivalent to above-mentioned current tunnel load sharing group information)In, and whether the tunnel forwarding state recorded in table effectively turns Hair-like state, it is present in above-mentioned tunnel in some tunnel load sharing group table of PE1 preservations, and the above-mentioned tunnel recorded in table turns In the case that hair-like state is effective forwarding state, PE1 will produce the tunnel of alarm from the effective entry of tunnel load sharing group table(Phase When in above-mentioned effective tunnel information)In remove, and integrate in tunnel load sharing group table it is all effectively tunnel informations renewal forwarding Chip.And above-mentioned tunnel forwarding state in tunnel load sharing group table is revised as invalid forwarding state.I.e. PE1 reselects tunnel Effective tunnel in road load sharing group table, the forwarding entry on forwarding chip is updated, so that PE1 to PE2 service traffics Convergence is completed in 50ms.
Step S708:When platform protocol module receives the alarm of quick detection module transmission, progress slow convergence, formation is newly Tunnel load sharing group table be handed down to PE1, PE1 reintegrate all effective tunnel information about firms and by the information of integration more Newly to forwarding chip.
Step S710:The tunnel of forwarding failure recovers to forward again before on PE1, and PE1 is receiving quick detection After the alarm disappearance message that module is sent, above-mentioned tunnel is added in effective tunnel entry of tunnel load sharing group table, it is whole Close all effectively tunnel informations and by the information updating of integration to forwarding chip.And by above-mentioned tunnel in tunnel load sharing group table Forwarding state be revised as effective forwarding state.That is PE1 reselects all effective tunnels in tunnel load sharing group table, and Forwarding entry on quick renewal forwarding chip.
Step S712:The alarm that the transmission of quick detection module is received when platform protocol module disappears, and carries out slow convergence, shape Cheng Xin tunnel load sharing group table is handed down to PE1, and PE1 reintegrates all effective tunnel information about firms and by the letter of integration Breath is updated to forwarding chip.
Fig. 8 is the flow chart of another tunnel load share method according to embodiments of the present invention, as shown in figure 8, the stream Journey includes step S802 to step S818.
Step S802:The tunnel load sharing group data issued according to platform protocol module(Equivalent to above-mentioned current tunnel Load sharing group information), network node preserves the corresponding relation in all member tunnels number and tunnel load sharing group index, and protects The forwarding state of every tunnel member is deposited, and selects the information in all effectively tunnels in tunnel load sharing group to be handed down to forwarding Chip.In this step, after network node receives the tunnel load sharing group data that platform protocol module issues, above-mentioned network Node configures service traffics on the network node and forwarded by the tunnel in tunnel load sharing group, and in each tunnel The quick detection module of 2 ends configuration from beginning to end, situation about being failed to detect the tunnel whether to occur, and when detecting failure, send Alarm.
Step S804:Network node judges whether to receive the tunnel alarm of quick detection module, if so, then going to step S806, otherwise, go to step S812.
Step S806:Network node closes according to tunnel lookup tunnel number and the load sharing index in the tunnel for producing alarm It is table, judges that the tunnel for producing alarm whether there is some the tunnel load sharing group table preserved in the network node(Equivalent to Above-mentioned current tunnel load sharing group information)In, and whether the forwarding state in the above-mentioned tunnel recorded in table is effective forwarding shape State, if above-mentioned tunnel is present in some tunnel load sharing group table that above-mentioned network node preserves, and recorded in table upper It is effective forwarding state to state tunnel forwarding state, then goes to step S808, otherwise, goes to step S804.
Step S808:Network node produces the tunnel of alarm from effective entry of tunnel load sharing group table(Equivalent to Above-mentioned effective tunnel information)In remove, integrate the information updating in all effectively tunnels in tunnel load sharing group table to forwarding core Piece.And the forwarding state in above-mentioned tunnel in tunnel load sharing group table is revised as invalid forwarding state.
Step S810:Platform protocol module receives the tunnel alarm of quick detection module, carries out slow convergence, is formed new Tunnel load sharing group table is handed down to network node, goes to step S802.
Step S812:Network node judges whether to receive disappearing for the tunnel alarm disappearance that tunnel quick detection module is sent Breath, if so, then going to step S814, otherwise, then goes to step S804.
Step S814:The tunnel lookup tunnel number and load sharing group index in the tunnel that network node disappears according to alarm Relation table, judge that the tunnel that alarm disappears whether there is in some tunnel load sharing group that network node preserves, and table Whether the tunnel forwarding state of middle record is invalid forwarding state, if so, then going to step S816, otherwise, goes to step S804.
Step S816:The tunnel that this alarm of network node disappears is added to effective tunnel of tunnel load sharing group table In entry, the information updating in all effectively tunnels in tunnel load sharing group table is integrated to forwarding chip.And tunnel load is divided The forwarding state in this tunnel is revised as effective forwarding state in load group table.
Step S818:Platform protocol module receives the message that the alarm that tunnel quick detection module is sent disappears, and carries out slow Speed convergence, forms new tunnel load sharing group table and is handed down to network node, go to step S802.
As can be seen from the above description, this preferred embodiment realizes following technique effect:Network node can be examined The alarm situation in tunnel is surveyed, to update the information in effective tunnel in current tunnel load sharing group information, the tunnel in time Load sharing group information is to be sent to network node by platform protocol module, for example, in above-mentioned current tunnel load sharing group In the case that forwarding failure occurs in tunnel in information, network node can be detected and alerted caused by the tunnel, and this is accused Alert tunnel is deleted from effective tunnel, to update the letter in effective tunnel in current tunnel load sharing group information in time Breath, then, the forwarding chip information in effective tunnel after renewal being sent in the network node, by forwarding chip according to Above- mentioned information selects effective tunnel to carry out load balancing to service traffics, avoids and forwarding failure occurs by protocol aware to tunnel Afterwards, network node can just reselect the situation that effective tunnel carries out business convergence, the Fast Convergent of business be realized, so as to carry The high forwarding performance of network node.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to they are stored Performed in the storage device by computing device, and in some cases, can be with different from shown in order execution herein The step of going out or describing, they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or Step is fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware and software combination.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (16)

  1. A kind of 1. tunnel load share method, it is characterised in that including:
    Network node detects the alarm situation in tunnel, and updates the letter in effective tunnel in current tunnel load sharing group information Breath, wherein, the tunnel load sharing group information is to be sent to the network node by platform protocol module;
    The information in effective tunnel after the network node renewal is sent to the forwarding chip in the network node, wherein, The forwarding chip selects effective tunnel to carry out load balancing to service traffics according to described information;
    Wherein, in the alarm situation in network node detection tunnel, and the current tunnel load sharing group information is updated In effectively tunnel information before, in addition to:The network node is in the following manner in the current tunnel load sharing group Load balancing is carried out to the service traffics of the network node on effective tunnel in information:The network node according to acquisition its The loopback port address in tunnel on his network node, by Routing Protocol calculate in the current tunnel load sharing group information from The network node allows effective tunnel of selection to other described network nodes, and operation result is sent into the forwarding core Piece;The network node from the current tunnel load sharing group information static selection by the network node to it is described other Network node allows effective tunnel of selection, and selection result is sent into the forwarding chip.
  2. 2. according to the method for claim 1, it is characterised in that the alarm situation in network node detection tunnel, and Update in the current tunnel load sharing group information before the information in effective tunnel, in addition to:
    The both ends configuration quick detection in each tunnel of the network node in the current tunnel load sharing group information Module, the quick detection module is used for detecting whether tunnel is effective, and the tunnel where the quick detection module is detected In the case that forwarding failure occurs in road, alarm signal is produced.
  3. 3. method according to any one of claim 1 to 2, it is characterised in that the announcement in the network node detection tunnel Alert condition, and the information for updating effective tunnel in the current tunnel load sharing group information includes:
    In the case where the network node has detected that tunnel produces alarm, the network node updates the current tunnel and born Lotus shares the information in effective tunnel in group information.
  4. 4. according to the method for claim 3, it is characterised in that the network node updates the current tunnel load sharing The information in effective tunnel includes in group information:
    The network node inquires about tunnel in the current tunnel load sharing group information according to the tunnel number in the tunnel for producing alarm The relation of Taoist monastic name and tunnel load sharing group index, judges whether the tunnel belongs to the current tunnel load sharing group information In tunnel;
    The tunnel belonged in the tunnel in the current tunnel load sharing group information, and the forwarding state in the tunnel is to have In the case of effect forwarding, the network node is deleted from effective tunnel information in the current tunnel load sharing group information The information in the tunnel, and be revised as failing by the forwarding state in the tunnel in the current tunnel load sharing group information Forwarding, update the information in effective tunnel in the current tunnel load sharing group information.
  5. 5. according to the method for claim 3, it is characterised in that the alarm situation in network node detection tunnel, and Update in the current tunnel load sharing group information after the information in effective tunnel, in addition to:
    The network node receives the first tunnel load sharing group information that the platform protocol module is sent, wherein, described the One tunnel load sharing group information is the tunnel regenerated after the platform protocol module detects that the tunnel produces alarm Load sharing group information.
  6. 6. method according to any one of claim 1 to 2, it is characterised in that the announcement in the network node detection tunnel Alert condition, and the information for updating effective tunnel in the current tunnel load sharing group information includes:
    In the case where the network node has detected that alarm disappears caused by tunnel, the network node renewal is described current The information in effective tunnel in tunnel load sharing group information.
  7. 7. according to the method for claim 6, it is characterised in that the network node updates the current tunnel load sharing The information in effective tunnel includes in group information:
    Tunnel in the current tunnel load sharing group information is inquired about in the tunnel number in the tunnel that the network node disappears according to alarm The relation of Taoist monastic name and tunnel load sharing group index, judges whether the tunnel that the alarm disappears belongs to the current tunnel load Share the tunnel in group information;
    The tunnel belonged in the tunnel that the alarm disappears in the current tunnel load sharing group information, and the alarm disappears Tunnel forwarding state for failure forwarding in the case of, alerted described in the network node disappearance tunnel information addition Into effective tunnel information in the current tunnel load sharing group information, and in the current tunnel load sharing group information The forwarding state in the middle tunnel that the alarm disappears is revised as effectively forwarding, and updates the current tunnel load sharing group information In effectively tunnel information.
  8. 8. according to the method for claim 6, it is characterised in that the alarm situation in network node detection tunnel, and Update in current tunnel load sharing group information after the information in effective tunnel, in addition to:
    The network node receives the second tunnel load sharing group information that the platform protocol module is sent, wherein, described the Two tunnel load sharing group informations are the tunnels that regenerate after the platform protocol module detects that cunicular alarm disappears Load sharing group information.
  9. A kind of 9. tunnel load sharing device, it is characterised in that including:
    Update module, for detecting the alarm situation in tunnel, and update effective tunnel in current tunnel load sharing group information Information, wherein, the tunnel load sharing group information is to be sent to network node by platform protocol module;
    Sending module, for the forwarding chip being sent to the information in effective tunnel after renewal in the network node, wherein, The forwarding chip selects effective tunnel to carry out load balancing to service traffics according to described information;
    Wherein, in the alarm situation in network node detection tunnel, and the current tunnel load sharing group information is updated In effectively tunnel information before, in addition to:The network node is in the following manner in the current tunnel load sharing group Load balancing is carried out to the service traffics of the network node on effective tunnel in information:The network node according to acquisition its The loopback port address in tunnel on his network node, by Routing Protocol calculate in the current tunnel load sharing group information from The network node allows effective tunnel of selection to other described network nodes, and operation result is sent into the forwarding core Piece;The network node from the current tunnel load sharing group information static selection by the network node to it is described other Network node allows effective tunnel of selection, and selection result is sent into the forwarding chip.
  10. 10. device according to claim 9, it is characterised in that also include:
    Quick detection module, the both ends in each tunnel being configured in the current tunnel load sharing group information, for examining Survey whether tunnel is effective, and in the case of the tunnel appearance forwarding failure where detecting the quick detection module, produce Alarm signal.
  11. 11. the device according to claim 9 or 10, it is characterised in that the update module includes:
    First updating block, in the case where having detected that tunnel produces alarm, updating the current tunnel load sharing The information in effective tunnel in group information.
  12. 12. device according to claim 11, it is characterised in that first updating block includes:
    First judgment sub-unit, inquired about for the tunnel number according to the tunnel for producing alarm in the tunnel load sharing group information The relation in tunnel number and tunnel load sharing group index, judges whether the tunnel belongs to the current tunnel load sharing group letter Tunnel in breath;
    First renewal subelement, for the tunnel belonged in the tunnel in the current tunnel load sharing group information, and institute In the case that the forwarding state for stating tunnel is effectively forwarding, from effective tunnel letter in the current tunnel load sharing group information The information in the tunnel is deleted in breath, and repaiies the forwarding state in the tunnel in the current tunnel load sharing group information Failure forwarding is changed to, updates the information in effective tunnel in the current tunnel load sharing group information.
  13. 13. device according to claim 11, it is characterised in that also include:
    First receiving module, the first tunnel load sharing group information sent for receiving the platform protocol module, wherein, institute It is after the platform protocol module detects that the tunnel produces alarm, to regenerate to state the first tunnel load sharing group information Tunnel load sharing group information.
  14. 14. the device according to claim 9 or 10, it is characterised in that the update module includes:
    Second updating block, in the case where having detected that alarm disappears caused by tunnel, updating the current tunnel and bearing Lotus shares the information in effective tunnel in group information.
  15. 15. device according to claim 14, it is characterised in that second updating block includes:
    Second judgment sub-unit, the tunnel number in the tunnel for being disappeared according to alarm are inquired about the current tunnel load sharing group and believed The relation in tunnel number and tunnel load sharing group index in breath, judges whether the tunnel that the alarm disappears belongs to the current tunnel Tunnel in road load sharing group information;
    Second renewal subelement, for belonging in the tunnel that the alarm disappears in the current tunnel load sharing group information Tunnel, and the forwarding state in the tunnel of the alarm disappearance is in the case that failure forwards, by the tunnel of the alarm disappearance Information is added in effective tunnel information in the current tunnel load sharing group information, and in the current tunnel load point The forwarding state in the tunnel that the alarm disappears is revised as effectively forwarding in load group information, updates the current tunnel load point Carry on a shoulder pole the information in effective tunnel in group information.
  16. 16. device according to claim 14, it is characterised in that also include:
    Second receiving module, the second tunnel load sharing group information sent for receiving the platform protocol module, wherein, institute It is after the platform protocol module detects that cunicular alarm disappears, to regenerate to state the second tunnel load sharing group information Tunnel load sharing group information.
CN201210299122.6A 2012-08-21 2012-08-21 Tunnel load share method and device Active CN102833161B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210299122.6A CN102833161B (en) 2012-08-21 2012-08-21 Tunnel load share method and device
PCT/CN2013/081308 WO2014029287A1 (en) 2012-08-21 2013-08-12 Method and device for sharing tunnel load

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210299122.6A CN102833161B (en) 2012-08-21 2012-08-21 Tunnel load share method and device

Publications (2)

Publication Number Publication Date
CN102833161A CN102833161A (en) 2012-12-19
CN102833161B true CN102833161B (en) 2018-01-30

Family

ID=47336134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210299122.6A Active CN102833161B (en) 2012-08-21 2012-08-21 Tunnel load share method and device

Country Status (2)

Country Link
CN (1) CN102833161B (en)
WO (1) WO2014029287A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833161B (en) * 2012-08-21 2018-01-30 中兴通讯股份有限公司 Tunnel load share method and device
CN104753754A (en) * 2015-03-12 2015-07-01 杭州华三通信技术有限公司 Method and apparatus for transmitting messages
CN106209906A (en) * 2016-08-24 2016-12-07 迈普通信技术股份有限公司 A kind of Layer 2 Tunneling Protocol L2TP message transmitting method and endpoint of a tunnel equipment
CN108337182B (en) * 2017-01-20 2020-06-02 华为技术有限公司 Report load sharing method and network equipment
CN112995349B (en) * 2019-12-12 2023-07-04 中兴通讯股份有限公司 Address management method, server, and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909501A (en) * 2005-08-05 2007-02-07 华为技术有限公司 Method for end to end service rapid convergence and route device
CN1933448A (en) * 2006-08-17 2007-03-21 华为技术有限公司 Business fast convergent method and network equipment
CN101035019A (en) * 2007-01-12 2007-09-12 华为技术有限公司 Fast convergence method and device of the end-to-end service

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8724454B2 (en) * 2010-05-12 2014-05-13 Cisco Technology, Inc. System and method for summarizing alarm indications in a network environment
CN102833161B (en) * 2012-08-21 2018-01-30 中兴通讯股份有限公司 Tunnel load share method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909501A (en) * 2005-08-05 2007-02-07 华为技术有限公司 Method for end to end service rapid convergence and route device
CN1933448A (en) * 2006-08-17 2007-03-21 华为技术有限公司 Business fast convergent method and network equipment
CN101035019A (en) * 2007-01-12 2007-09-12 华为技术有限公司 Fast convergence method and device of the end-to-end service

Also Published As

Publication number Publication date
CN102833161A (en) 2012-12-19
WO2014029287A1 (en) 2014-02-27

Similar Documents

Publication Publication Date Title
CN103036809B (en) For having the method and apparatus of the scalable network that active link utilizes
CN102474454B (en) Inter-node link aggregation system and method
CN102833161B (en) Tunnel load share method and device
CN103401786B (en) Network topology foundation, path clustering, message transmitting method and device, system
CN105744575B (en) Method, wireless network SDN controller and system for cell switching
CN104283791A (en) Three-layer topology determining method and device in SDN network
CN103023773B (en) Method, device and system for forwarding message in multi-topology network
CN103441936A (en) Issuing method of forwarding adjacent link
CN103581025B (en) Method and system for processing routing information and equipment
JP7092813B2 (en) Packet transmission method and equipment
CN107547391A (en) A kind of message transmitting method and device
CN108234200B (en) Communication processing method and device based on access ring
CN103414644A (en) Method for issuing entries and controller
CN106330697A (en) Hybrid network spanning tree establishing method, backup method and control system thereof
CN105450521A (en) Software-defined real-time dynamic optimization method of multipath network flow
CN113037527B (en) Network slice creation method, message forwarding method and device thereof
CN107154888A (en) The dispositions method and device of communication network
CN108964964A (en) A kind of network topology display methods and device
CN106941437A (en) A kind of information transferring method and device
CN103200100A (en) Method and device for packet transmitting
CN101771570A (en) State switching method and device
CN106034071B (en) Data message transmission method and edge route-bridge equipment
CN102055676B (en) Method and device for realizing load sharing in multiple spanning tree protocol (MSTP) networking environment
CN105991315A (en) Link protection method applied to SDN (software defined network), switching device and network controller
CN103200107B (en) Message transmitting method and message transmitting equipment

Legal Events

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