CN101741714B - Path adjust method, node device and half-duplex network system - Google Patents
Path adjust method, node device and half-duplex network system Download PDFInfo
- Publication number
- CN101741714B CN101741714B CN2008102269017A CN200810226901A CN101741714B CN 101741714 B CN101741714 B CN 101741714B CN 2008102269017 A CN2008102269017 A CN 2008102269017A CN 200810226901 A CN200810226901 A CN 200810226901A CN 101741714 B CN101741714 B CN 101741714B
- Authority
- CN
- China
- Prior art keywords
- node
- mp2mp
- group
- shared
- information
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000003247 decreasing effect Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention relates to a path adjust method, a node device and a half-duplex network system, wherein in the path adjust method, a first node in the half-duplex network system receives a route protocol message sent by a second node in the network, wherein the route protocol message comprises half-duplex multipoint to multipoint (HD-MP2MP) group information of the second node; the first node stores the HD-MP2MP group information of the first node; the first node adjusts a label switching path (LSP) between the first node and the second node according to HD-MP2MP group information of the second node contained in the protocol message and the HD-MP2MP group information of the first node stored in the first node. The path adjust method, the node device and the half-duplex network system can automatically adjust the half-duplex multipoint to multipoint label switching path.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a path adjustment method, a node apparatus, and a half-duplex network system.
Background
In a scenario where an Internet Protocol (IP) network transmits broadcast and television programs such as an Internet Protocol Television (IPTV), an efficient method is needed to transmit the programs from multiple program sources to other program sources and end users, each of which also receives data requests and the like of the other program sources and end users; the Client performs the above-mentioned data transmission by using a Multi-Protocol Label Switching (MPLS) network, and can classify nodes in the network into a Server node, a Client node, and a Transit node. The Server node can establish Label Switched Paths (LSPs) with other Server nodes and all Client nodes to transmit data; the Client node can only establish LSP with the Server node for data transmission; the LSP can not be established between the Client nodes to transmit data. Accordingly, such an LSP between multiple nodes may be referred to as a Half-duplex Multipoint-to-Multipoint Label Switched path (HD-MP 2MP LSPs).
In the prior art, the establishment of the LSP in HD-MP2MP requires a large amount of LSP configuration work to be performed manually, which increases the complexity of configuration and management, and configuration errors are easy to occur.
Disclosure of Invention
The embodiment of the invention provides a path adjusting method, a node device and a half-duplex network system, which aim to realize accurate and rapid establishment of a label switching path in a half-duplex network.
The embodiment of the invention provides a path adjusting method, which comprises the following steps:
a first node in a half-duplex network receives a routing protocol message sent by a second node in the network, wherein the routing protocol message comprises half-duplex multipoint-to-multipoint HD-MP2MP group information of the second node, and the HD-MP2MP group information of the second node comprises node property information, group identification and address information of the second node; the first node stores HD-MP2MP group information of the first node, and the HD-MP2MP group information of the first node comprises node property information, group identification and address information of the first node;
when the first node and the second node belong to the same HD-MP2MP group, the node property of the first node in the shared HD-MP2MP group is a server node, the node property of the second node in the shared HD-MP2MP group is a server node or a client node, no LSP exists in the shared HD-MP2MP group between the first node and the second node, and the first node establishes a label switching path from the first node to the second node in the shared HD-MP2MP group according to the address information corresponding to the shared HD-MP2MP group in the first node and the address information corresponding to the shared HD-MP2MP group in the second node;
when a first node and a second node belong to the same HD-MP2MP group, the node property of the first node in the shared HD-MP2MP group is a client node, the node property of the second node in the shared HD-MP2MP group is a service end node, no LSP exists in the shared HD-MP2MP group between the first node and the second node, and the first node establishes a label switched path from the first node to the second node in the shared HD-MP2MP group according to the address information corresponding to the shared HD-MP2MP group in the first node and the address information corresponding to the shared HD-MP2MP group in the second node;
when the first node and the second node do not belong to one HD-MP2MP group together, and an LSP exists in the non-shared HD-MP2MP group between the first node and the second node, the first node tears down the label switched path from the first node to the second node in the non-shared HD-MP2MP group.
An embodiment of the present invention provides a node apparatus, including:
a message receiving unit, configured to receive a routing protocol message of a second node in the half-duplex network, where the routing protocol message includes half-duplex multipoint-to-multipoint HD-MP2MP group information of the second node, and the HD-MP2MP group information of the second node includes node property information, a group identifier, and address information of the second node;
an information holding unit configured to hold HD-MP2MP group information of a local node apparatus, the HD-MP2MP group information of the local node apparatus including node property information, a group identification, and address information of the local node apparatus;
a path processing unit, configured to, when the local node apparatus and the second node belong to the same HD-MP2MP group, where a node property of the local node apparatus in the shared HD-MP2MP group is a server node, a node property of the second node in the shared HD-MP2MP group is a server node or a client node, and no LSP exists between the local node apparatus and the second node in the shared HD-MP2MP group, the local node apparatus establishes a label switched path from the local node apparatus to the second node in the shared HD-MP2MP group according to address information corresponding to the shared HD-MP2MP group in the local node apparatus and address information corresponding to the shared HD-MP2MP group in the second node; when the local node apparatus and the second node belong to the same HD-MP2MP group, the node property of the local node apparatus in the shared HD-MP2MP group is a client node, the node property of the second node in the shared HD-MP2MP group is a server node, no LSP exists in the shared HD-MP2MP group between the local node apparatus and the second node, and the local node apparatus establishes a label switching path from the local node apparatus to the second node in the shared HD-MP2MP group according to the address information corresponding to the shared HD-MP2MP group in the local node apparatus and the address information corresponding to the shared HD-MP2MP group in the second node; when the local node apparatus and the second node do not belong to one HD-MP2MP group, and an LSP exists between the local node apparatus and the second node in the non-common HD-MP2MP group, the local node apparatus tears down the label switched path from the local node apparatus to the second node in the non-common HD-MP2MP group.
The embodiment of the invention provides a half-duplex network system, which comprises a first node and a second node, wherein the first node is used for receiving a routing protocol message of the second node in the half-duplex network system and storing HD-MP2MP group information of the node, the routing protocol message comprises the half-duplex multipoint to HD-MP2MP group information of the second node, the HD-MP2MP group information of the node comprises node property information, group identification and address information of the node, and the HD-MP2MP group information of the second node comprises the node property information, the group identification and the address information of the second node; and when the local node and the second node belong to the same HD-MP2MP group, the node property in the shared HD-MP2MP group is a server node, the node property of the second node in the shared HD-MP2MP group is a server node or a client node, no LSP exists in the shared HD-MP2MP group between the local node and the second node, and a label switched path from the local node to the second node is established in the shared HD-MP2MP group according to the address information corresponding to the shared HD-MP2MP group in the local node and the address information corresponding to the shared HD-MP2MP group in the second node; when the local node and the second node belong to the same HD-MP2MP group, the node property in the commonly-owned HD-MP2MP group is a client node, the node property of the second node in the commonly-owned HD-MP2MP group is a server node, no LSP exists in the commonly-owned HD-MP2MP group between the local node and the second node, and a label switching path from the local node to the second node is established in the commonly-owned HD-MP2MP group according to the address information corresponding to the commonly-owned HD-MP2MP group in the local node and the address information corresponding to the commonly-owned HD-MP2MP group in the second node; when the local node and the second node do not belong to one HD-MP2MP group, an LSP exists in the non-shared HD-MP2MP group between the local node and the second node, and the label switching path from the local node to the second node in the non-shared HD-MP2MP group is removed.
The path adjusting method, the node device and the half-duplex network system obtain the HD-MP2MP group information of the second node through the routing protocol message, automatically adjust the half-duplex multipoint-to-multipoint label switching path according to the obtained HD-MP2MP group information of the second node and the HD-MP2MP group information stored by the node, have simple configuration and management and can ensure higher accuracy.
Drawings
FIG. 1 is a flowchart illustrating a first embodiment of a path adjustment method according to the present invention;
FIG. 2 is a flowchart illustrating a second embodiment of a path adjustment method according to the present invention;
FIG. 3 is a flowchart illustrating a third embodiment of a method for adjusting a path according to the present invention;
FIG. 4 is a schematic structural diagram of a node apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a half-duplex network system according to an embodiment of the present invention.
Detailed Description
The technical solutions of the embodiments of the present invention are further described below with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, a flowchart of a first embodiment of a path adjustment method according to the present invention is shown, and the method includes:
step 101, a first node in a half-duplex network receives a routing protocol message sent by a second node in the network, wherein the routing protocol message comprises half-duplex multipoint-to-multipoint HD-MP2MP group information of the second node; the first node stores HD-MP2MP group information of the first node; the HD-MP2MP group information of the first node includes node property information of the first node; the HD-MP2MP group information of the second node includes node property information of the second node;
in a half-duplex network, nodes with two node properties exist, and the node properties of the nodes indicate whether the nodes can establish LSP to all other nodes in the half-duplex network or only can establish LSP to part of other nodes in the half-duplex network;
wherein the HD-MP2MP group information of the first node may include node property information of the first node when there is only one HD-MP2MP group in the half-duplex network; the HD-MP2MP group information of the second node at this time may include node property information of the second node;
and step 102, the first node adjusts the label switched path LSP between the first node and the second node according to the HD-MP2MP group information of the second node and the HD-MP2MP group information of the first node, which are contained in the routing protocol message.
The first node establishes or tears down the LSP between the first node and the second node according to the node property information of the second node contained in the HD-MP2MP group information of the second node and the node property information of the first node contained in the HD-MP2MP group information of the first node.
The first node may establish an LSP from the first node to the second node when the node property information of the first node indicates that it can establish LSPs to all other nodes in the network, for example, when the first node is a server end node and the second node is a server end node or a client node, or the first node is a client node and the second node is a server end node and no LSP exists between the first node and the second node.
When the node property information of the first node indicates that it can only establish LSPs to a part of other nodes in the network, and the second node does not belong to the part of other nodes, for example, the first node is a client node and the second node is a client node, if an LSP exists between the first node and the second node, the first node tears down the LSP between the first node and the second node. Since the path can be established or torn down by using the existing method, the process of establishing or tearing down the path will not be described in detail here.
As shown in fig. 2, a flowchart of a second embodiment of the path adjustment method of the present invention is shown, and the method includes:
the HD-MP2MP group information of the first node comprises a group identification of an HD-MP2MP group to which the first node belongs, address information of the first node and node property information of the first node; the HD-MP2MP group information of the second node includes the group id of the HD-MP2MP group to which the second node belongs, the address information of the second node, and the node property information of the second node; the node property information of the first node indicates that the first node is a server node or a client node; the node property information of the second node indicates that the second node is a server node or a client node; the second node may belong to a plurality of HD-MP2MP groups, and the HD-MP2MP group to which the second node belongs may have a plurality of group ids, wherein the plurality of group ids correspond to the plurality of HD-MP2MP groups. The node property information of the second node may be multiple, each of the multiple node property information of the second node corresponds to each of the HD-MP2MP groups of the multiple HD-MP2MP groups to which the second node belongs, and is used for respectively indicating the node property of the second node in each of the HD-MP2MP groups to which the second node belongs; or, the node property information of the second node is only one, and is used for indicating the property of the node of the second node in each HD-MP2MP group in the plurality of HD-MP2MP groups to which the second node belongs, and the property of the node of the second node in each HD-MP2MP group in the plurality of HD-MP2MP groups to which the second node belongs is the same.
Also, there may be a plurality of address information of the second node; each of the plurality of address information of the second node corresponds to each of the plurality of HD-MP2MP groups to which the second node belongs, and is configured to indicate a port address of the second node corresponding to each of the HD-MP2MP groups to which the second node belongs; or, only one address information of the second node is used for indicating the routing address of the second node. The address of the node for establishing the route may include a plurality of port addresses and a routing address.
The first node in the half-duplex network may receive the routing protocol packet sent by the second node in the network periodically, or may trigger reception according to a set condition, for example, when the group identifier of the HD-MP2MP group to which the second node belongs increases or decreases, the first node in the network receives the routing protocol packet of the second node;
This step may include the following cases: when the first node and the second node belong to the same HD-MP2MP group, the node property of the first node in the shared HD-MP2MP group is a server node, the node property of the second node in the shared HD-MP2MP group is a server node or a client node, no LSP exists in the shared HD-MP2MP group between the first node and the second node, and the first node establishes a label switched path from the first node to the second node in the shared HD-MP2MP group according to the address information corresponding to the shared HD-MP2MP group in the first node and the address information corresponding to the shared HD-MP2MP group in the second node. When the first node and the second node belong to the same HD-MP2MP group, the node property of the first node in the shared HD-MP2MP group is a client node, the node property of the second node in the shared HD-MP2MP group is a service node, no LSP exists in the shared HD-MP2MP group between the first node and the second node, and the first node establishes a label switched path from the first node to the second node in the shared HD-MP2MP group according to the address information corresponding to the shared HD-MP2MP group in the first node and the address information corresponding to the shared HD-MP2MP group in the second node. When the first node and the second node do not belong to one HD-MP2MP group together, and an LSP exists in the non-shared HD-MP2MP group between the first node and the second node, the first node tears down the label switched path from the first node to the second node in the non-shared HD-MP2MP group.
Specifically, the detailed process for implementing the above-mentioned several situations included in this step may be as follows: when a first node judges that the first node and a second node belong to a first HD-MP2MP group according to a group identifier of an HD-MP2MP group to which the first node belongs and a group identifier of an HD-MP2MP group to which the second node belongs, node property information of the first node indicates that the first node is a server node in the first HD-MP2MP group, and node property information of the second node indicates that the second node is a server node or a client node in the first HD-MP2MP group, the first node judges whether an LSP exists between the first node and the second node in the first HD-MP2MP group; if there is no LSP between the first node and the second node in the first HD-MP2MP group, the first node establishes a label switched path from the first node to the second node in the first HD-MP2MP based on the address information in the first node corresponding to the first HD-MP2MP group and the address information in the second node corresponding to the first HD-MP2MP group. The address information of the first node corresponding to the first HD-MP2MP group may be an address of a port of the first node, and specifically may be an IP address of the port; the address information of the first node corresponding to the first HD-MP2MP group may also be a routing address of the first node, and specifically may be a router ID (router identification) of the first node. The address information of the second node corresponding to the first HD-MP2MP group may be an address of a port of the second node, and specifically may be an IP address of the port; the address information of the second node corresponding to the first HD-MP2MP group may also be a routing address of the second node, and specifically may be a routing ID (router identification) of the second node. Since the LSP process for the first node to establish a port address or routing address of the first node to a port address or routing address of the second node can use the existing route establishment process, it will not be described in detail herein.
When a first node judges that the first node and a second node belong to a first HD-MP2MP group according to a group identifier of an HD-MP2MP group to which the first node belongs and a group identifier of an HD-MP2MP group to which the second node belongs, node property information of the first node indicates that the first node is a client node in the first HD-MP2MP group, and node property information of the second node indicates that the second node is a server node in the first HD-MP2MP group, the first node judges whether an LSP exists between the first node and the second node in the first HD-MP2MP group; if there is no LSP between the first node and the second node in the first HD-MP2MP group, the first node establishes a label switched path from the first node to the second node in the first HD-MP2MP based on the address information in the first node corresponding to the first HD-MP2MP group and the address information in the second node corresponding to the first HD-MP2MP group.
When the first node judges that the first node and the second node do not belong to the first HD-MP2MP group according to the group identification of the HD-MP2MP group to which the first node belongs and the group identification of the HD-MP2MP group to which the second node belongs, the first node judges that an LSP exists between the first node and the second node in the first HD-MP2MP group; the first node tears down the label switched path from the first node to the second node in the first HD-MP2MP based on the address information corresponding to the first HD-MP2MP group in the first node and the address information corresponding to the first HD-MP2MP group in the second node.
The path adjusting method obtains HD-MP2MP group information of other nodes through the routing protocol message, automatically configures the half-duplex multipoint-to-multipoint label switching path according to the HD-MP2MP group information of other nodes and the HD-MP2MP group information of the node, has simple configuration and management, and can ensure higher accuracy.
As shown in fig. 3, a flowchart of a third embodiment of the path adjustment method of the present invention is shown, and the method includes:
the HD-MP2MP group information of the first node in the half-duplex network comprises the group identification of the HD-MP2MP group to which the first node belongs, the address information of the first node and the node property information of the first node; similarly, the HD-MP2MP group information of the second node in the network includes the group identification of the HD-MP2MP group to which the second node belongs, the address information of the second node, and the node property information of the second node. The node property information may be used to indicate whether the node is a server node or a client node.
The second node may belong to a plurality of HD-MP2MP groups, and at this time, the group id of the HD-MP2MP group to which the second node belongs is plural, and the plural group ids correspond to the plural HD-MP2MP groups. The node property information of the second node may be multiple, each of the multiple node property information respectively corresponds to each of the HD-MP2MP groups of the multiple HD-MP2MP groups to which the second node belongs, and is used for respectively indicating the node property of the second node in each of the HD-MP2MP groups to which the second node belongs; the address information of the second node may be multiple, and each of the multiple address information of the second node corresponds to each of the HD-MP2MP groups of the multiple HD-MP2MP groups to which the second node belongs, and is used for indicating a port address of the second node corresponding to each of the HD-MP2MP groups to which the second node belongs.
The group identification of the HD-MP2MP group to which the first node belongs in the half-duplex network and the group identification of the HD-MP2MP group to which the second node belongs in the network are distributed by a network manager.
To distinguish between the different sets of HD-MP2MP, the network manager assigns a group ID to each set of HD-MP2MP in the half-duplex network. A node in a half-duplex network receives from a network manager a group identification assigned to the HD-MP2MP group to which the node belongs.
The first node in the half-duplex network may receive the routing protocol packet from the second node in the network periodically, or may trigger the receiving according to a set condition, for example, when the group identifier of the HD-MP2MP group to which the second node belongs increases or decreases, the first node in the network receives the routing protocol packet of the second node.
The OSPF protocol message uses OSPF TE HD-MP2MP-GROUP TLV (object of half-duplex multipoint-to-multipoint GROUP of open optimal path priority traffic engineering) to announce the HD-MP2MP GROUP information of the second node to the first node. Here OSPF TE HD-MP2MP-group TLV also follows the normal TLV format as shown in table 2.
TABLE 2 common TLV Format
Wherein, Type represents the Type of Value and is 2 bytes, Length represents the Length of Value and is 2 bytes, and the remainder is the Value field. For specific formats of IPv4 and IPv6, the values of the corresponding Type fields are assumed to be 3 and 4 respectively, and both represent undetermined; the Value field is defined as shown in table 3.
Table 3IPv4value field format
The node comprises a first node and a second node, wherein the first node is a first node and the second node is a second node, and the first node and the second node are respectively a group identifier of HD-MP2MP-group-n 1, HD-MP2MP-group-number 2,. and HD-MP2MP-group-n respectively represent group identifiers of 1 st to nth HD-MP2MP groups to which the second node belongs; S/C represents the node property information of the second node in each group to which the second node belongs, S represents that the second node is a Server node, and C represents that the second node is a Client node; the IPv4address 1 and the IPv4address 2 are.
The first node and the second node both belong to the HD-MP2MP group identified as HD-MP2MP-group-number 1, there is no LSP between the first node and the second node in the HD-MP2MP group identified as HD-MP2MP-group-number 1, and the first node is a serving node in the HD-MP2MP group identified by group HD-MP2MP-group-number 1, the second node is a serving or client node in the HD-MP2MP group identified by group HD-MP2MP-group-number 1, the first node establishes an LSP from the port IP address corresponding to the HD-MP2MP group identified as HD-MP2MP-group-number 1 in the first node to the port IP address corresponding to the HD-MP2MP group identified as HD-MP2MP-group-number 1 in the second node. The port IP address can be in IPV4 format, and can be in IPV6 format.
In the path adjustment method, the second node in the half-duplex network notifies the HD-MP2MP group information of the node to the first node in the half-duplex network by adopting the expanded OSPF protocol message, so that the first node in the half-duplex network can automatically configure the LSP according to the received HD-MP2MP group information of the node in the half-duplex network and the HD-MP2MP group information of the first node stored by the first node in the half-duplex network, the configuration and management are simple, and higher accuracy can be ensured.
In addition to using the OSPF TE HD-MP2MP-GROUP TLV (object of open optimal path first traffic engineering Half-Duplex Multipoint-to-Multipoint GROUP) in the OSPF protocol message to notify the first node of the HD-MP2MP GROUP information of the second node, the HD-MP2MP GROUP information of the second node may be notified to the first node through the ISIS TEHD-MP2MP sub-TLV (Intermediate System to Intermediate System traffic engineering Half-Duplex Multipoint-to-Multipoint Type) in the ISIS (Intermediate System to Intermediate System) protocol message, where the ISIS TE HD-MP2MP sub-TLV may use the same format as OSPF TE-MP 2 MP-GROUP.
As shown in fig. 4, which is a schematic structural diagram of an embodiment of a node apparatus of the present invention, the apparatus includes: a message receiving unit 11, configured to receive a routing protocol message of a second node in the half-duplex network, where the routing protocol message includes information of a half-duplex multipoint-to-multipoint HD-MP2MP group of the second node; an information holding unit 12 for holding HD-MP2MP group information of the present node apparatus; a path processing unit 13, configured to adjust a label switched path LSP between the node apparatus and the second node according to the HD-MP2MP group information of the second node and the HD-MP2MP group information of the node apparatus stored in the information storage unit.
The HD-MP2MP group information of the first node comprises a group identification of an HD-MP2MP group to which the first node belongs, address information of the first node and node property information of the first node; the HD-MP2MP group information of the second node includes the group id of the HD-MP2MP group to which the second node belongs, the address information of the second node, and the node property information of the second node; the node property information of the first node indicates that the first node is a server node or a client node; the node property information of the second node indicates that the second node is a server node or a client node; the second node may belong to a plurality of HD-MP2MP groups, and the HD-MP2MP group to which the second node belongs may have a plurality of group ids corresponding to the plurality of HD-MP2MP groups. The node property information of the second node may be multiple, each of the multiple node property information of the second node corresponds to each of the HD-MP2MP groups of the multiple HD-MP2MP groups to which the second node belongs, and is used for respectively indicating the node property of the second node in each of the HD-MP2MP groups to which the second node belongs; or, the node property information of the second node is only one, and is used for indicating the node property of the second node in each HD-MP2MP group in the plurality of HD-MP2MP groups. Also, there may be a plurality of address information of the second node; each of the plurality of address information of the second node corresponds to each of the plurality of HD-MP2MP groups to which the second node belongs, and is configured to indicate a port address of the second node corresponding to each of the HD-MP2MP groups to which the second node belongs; or, only one address information of the second node is used for indicating the routing address of the second node.
In addition, the path processing unit may include a path establishing module and a path removing module, where the path establishing module is configured to establish, when the node is a server node, the second node is a server node or a client node, and no LSP exists between the node and the second node, or, when the node is a client node, the second node is a server node, and no LSP exists between the node and the second node, an LSP from the node to the second node is established; the path removing module is used for removing the LSP between the local node and the second node when the local node is a client node and the second node is a client node, and the LSP exists between the local node and the second node.
The node device receives the HD-MP2MP group information of the second node through the message receiving unit, saves the HD-MP2MP group information of the node through the information saving unit, and configures a Label Switching Path (LSP) by using the path processing unit according to the HD-MP2MP group information of the second node and the HD-MP2MP group information of the node saved by the node, so that the configuration and the management are simple, and higher accuracy can be ensured.
Fig. 5 is a schematic structural diagram of an embodiment of a half-duplex network system according to the present invention, where the half-duplex network system includes a first node 1 and a second node 2, and the first node 1 is configured to receive a routing protocol packet of the second node 2 in the half-duplex network system and store HD-MP2MP group information of the node, where the routing protocol packet includes half-duplex multipoint-to-multipoint HD-MP2MP group information of the second node 2; and adjusting the label switching path LSP between the local node and the second node 2 according to the HD-MP2MP group information of the second node 2 and the stored HD-MP2MP group information of the local node.
According to the half-duplex network system, the first node automatically configures the label switching path by receiving the HD-MP2MP group information of the second node and storing the HD-MP2MP group information of the second node and according to the HD-MP2MP group information of the second node and the HD-MP2MP group information of the first node stored by the first node, so that the configuration and the management are simple, and higher accuracy can be ensured.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (7)
1. A method for path adjustment, comprising:
a first node in a half-duplex network receives a routing protocol message sent by a second node in the network, wherein the routing protocol message comprises half-duplex multipoint-to-multipoint HD-MP2MP group information of the second node, and the HD-MP2MP group information of the second node comprises node property information, group identification and address information of the second node; the first node stores HD-MP2MP group information of the first node, and the HD-MP2MP group information of the first node comprises node property information, group identification and address information of the first node;
when the first node and the second node belong to the same HD-MP2MP group, the node property of the first node in the shared HD-MP2MP group is a server node, the node property of the second node in the shared HD-MP2MP group is a server node or a client node, no LSP exists in the shared HD-MP2MP group between the first node and the second node, and the first node establishes a label switching path from the first node to the second node in the shared HD-MP2MP group according to the address information corresponding to the shared HD-MP2MP group in the first node and the address information corresponding to the shared HD-MP2MP group in the second node;
when a first node and a second node belong to the same HD-MP2MP group, the node property of the first node in the shared HD-MP2MP group is a client node, the node property of the second node in the shared HD-MP2MP group is a service end node, no LSP exists in the shared HD-MP2MP group between the first node and the second node, and the first node establishes a label switched path from the first node to the second node in the shared HD-MP2MP group according to the address information corresponding to the shared HD-MP2MP group in the first node and the address information corresponding to the shared HD-MP2MP group in the second node;
when the first node and the second node do not belong to one HD-MP2MP group together, and an LSP exists in the non-shared HD-MP2MP group between the first node and the second node, the first node tears down the label switched path from the first node to the second node in the non-shared HD-MP2MP group.
2. The path adjustment method of claim 1, wherein the second node belongs to a plurality of HD-MP2MP groups, and wherein there are a plurality of group identifications of the HD-MP2MP group to which the second node belongs, and wherein the plurality of group identifications correspond to the plurality of HD-MP2MP groups.
3. The path adjustment method according to claim 2, wherein there are a plurality of pieces of node property information of the second node; each piece of node property information in the plurality of pieces of node property information of the second node respectively corresponds to each HD-MP2MP group in the plurality of HD-MP2MP groups to which the second node belongs, and is used for respectively indicating the node property of the second node in each HD-MP2MP group to which the second node belongs; or,
the node property information of the second node is only one, and is used for indicating the property of the second node in each HD-MP2MP group in the plurality of HD-MP2MP groups.
4. The path adjustment method according to claim 3, wherein there are a plurality of pieces of address information of the second node; each address information in the plurality of address information of the second node respectively corresponds to each HD-MP2MP group in the plurality of HD-MP2MP groups to which the second node belongs, and is used for respectively indicating the port address of the second node corresponding to each HD-MP2MP group to which the second node belongs; or,
the address information of the second node is only one and is used for indicating the routing address of the second node.
5. The path adjustment method according to any of claims 1-4, wherein the receiving, by the first node in the half-duplex network, the routing protocol packet sent by the second node in the network comprises:
when the group identification of the HD-MP2MP group to which the second node belongs, which is included in the HD-MP2MP group information of the second node, is increased or decreased, the first node receives a routing protocol message of the second node; or,
and the first node periodically receives a routing protocol message of the second node.
6. A node apparatus in a half-duplex network, comprising:
a message receiving unit, configured to receive a routing protocol message of a second node in the half-duplex network, where the routing protocol message includes half-duplex multipoint-to-multipoint HD-MP2MP group information of the second node, and the HD-MP2MP group information of the second node includes node property information, a group identifier, and address information of the second node;
an information holding unit configured to hold HD-MP2MP group information of a local node apparatus, the HD-MP2MP group information of the local node apparatus including node property information, a group identification, and address information of the local node apparatus;
a path processing unit, configured to, when the local node apparatus and the second node belong to the same HD-MP2MP group, where a node property of the local node apparatus in the shared HD-MP2MP group is a server node, a node property of the second node in the shared HD-MP2MP group is a server node or a client node, and no LSP exists between the local node apparatus and the second node in the shared HD-MP2MP group, the local node apparatus establishes a label switched path from the local node apparatus to the second node in the shared HD-MP2MP group according to address information corresponding to the shared HD-MP2MP group in the local node apparatus and address information corresponding to the shared HD-MP2MP group in the second node; when the local node apparatus and the second node belong to the same HD-MP2MP group, the node property of the local node apparatus in the shared HD-MP2MP group is a client node, the node property of the second node in the shared HD-MP2MP group is a server node, no LSP exists in the shared HD-MP2MP group between the local node apparatus and the second node, and the local node apparatus establishes a label switching path from the local node apparatus to the second node in the shared HD-MP2MP group according to the address information corresponding to the shared HD-MP2MP group in the local node apparatus and the address information corresponding to the shared HD-MP2MP group in the second node; when the local node apparatus and the second node do not belong to one HD-MP2MP group, and an LSP exists between the local node apparatus and the second node in the non-common HD-MP2MP group, the local node apparatus tears down the label switched path from the local node apparatus to the second node in the non-common HD-MP2MP group.
7. A half-duplex network system comprising a first node and a second node, characterized in that:
the first node is configured to receive a routing protocol packet of a second node in the half-duplex network system and store HD-MP2MP group information of the first node, where the routing protocol packet includes half-duplex multipoint-to-multipoint HD-MP2MP group information of the second node, the HD-MP2MP group information of the first node includes node property information, group identifier, and address information of the first node, and the HD-MP2MP group information of the second node includes node property information, group identifier, and address information of the second node; and when the local node and the second node belong to the same HD-MP2MP group, the node property in the shared HD-MP2MP group is a server node, the node property of the second node in the shared HD-MP2MP group is a server node or a client node, no LSP exists in the shared HD-MP2MP group between the local node and the second node, and a label switched path from the local node to the second node is established in the shared HD-MP2MP group according to the address information corresponding to the shared HD-MP2MP group in the local node and the address information corresponding to the shared HD-MP2MP group in the second node; when the local node and the second node belong to the same HD-MP2MP group, the node property in the commonly-owned HD-MP2MP group is a client node, the node property of the second node in the commonly-owned HD-MP2MP group is a server node, no LSP exists in the commonly-owned HD-MP2MP group between the local node and the second node, and a label switching path from the local node to the second node is established in the commonly-owned HD-MP2MP group according to the address information corresponding to the commonly-owned HD-MP2MP group in the local node and the address information corresponding to the commonly-owned HD-MP2MP group in the second node; when the local node and the second node do not belong to one HD-MP2MP group, an LSP exists in the non-shared HD-MP2MP group between the local node and the second node, and the label switching path from the local node to the second node in the non-shared HD-MP2MP group is removed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008102269017A CN101741714B (en) | 2008-11-19 | 2008-11-19 | Path adjust method, node device and half-duplex network system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008102269017A CN101741714B (en) | 2008-11-19 | 2008-11-19 | Path adjust method, node device and half-duplex network system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101741714A CN101741714A (en) | 2010-06-16 |
CN101741714B true CN101741714B (en) | 2012-04-04 |
Family
ID=42464628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008102269017A Expired - Fee Related CN101741714B (en) | 2008-11-19 | 2008-11-19 | Path adjust method, node device and half-duplex network system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101741714B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101043436A (en) * | 2006-03-20 | 2007-09-26 | 华为技术有限公司 | Method for improving communication quality based on label distribution protocol |
CN101043429A (en) * | 2006-06-05 | 2007-09-26 | 华为技术有限公司 | Method for establishing multicasting LSP in MPLS field and multicasting data communication system |
CN101286863A (en) * | 2007-04-10 | 2008-10-15 | 中兴通讯股份有限公司 | Implementing system and method of multicast application service based on MPLS |
-
2008
- 2008-11-19 CN CN2008102269017A patent/CN101741714B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101043436A (en) * | 2006-03-20 | 2007-09-26 | 华为技术有限公司 | Method for improving communication quality based on label distribution protocol |
CN101043429A (en) * | 2006-06-05 | 2007-09-26 | 华为技术有限公司 | Method for establishing multicasting LSP in MPLS field and multicasting data communication system |
CN101286863A (en) * | 2007-04-10 | 2008-10-15 | 中兴通讯股份有限公司 | Implementing system and method of multicast application service based on MPLS |
Also Published As
Publication number | Publication date |
---|---|
CN101741714A (en) | 2010-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10313239B2 (en) | Methods, apparatus, and articles of manufacture to provide a multicast virtual private network (MVPN) | |
US8605723B2 (en) | MPLS traffic engineering for point-to-multipoint label switched paths | |
CN107968750B (en) | Message transmission method, device and node | |
US9143434B2 (en) | Multi-protocol label switching multi-topology support | |
CN109714274B (en) | Method for acquiring corresponding relation and routing equipment | |
US20100002697A1 (en) | Optimal fragmentation of multicast packets | |
CN101355487B (en) | Method and apparatus for distributing label | |
US20150215203A1 (en) | Control apparatus, communication system, communication method, and program | |
CN112491706B (en) | Data message processing method and device, storage medium and electronic device | |
US20120134365A1 (en) | Method and network device for associated channel capability negotiation | |
EP3823223A1 (en) | Multicast support | |
US10225091B2 (en) | Method for implementing point-to-multipoint multicast, network node, and system | |
CN111614556A (en) | BIER-based bidirectional forwarding detection session creation method and related equipment | |
CN103516599A (en) | Host finding method, network device, and host | |
WO2018177273A1 (en) | Method and apparatus for processing based on bier information | |
CN107231249B (en) | Method for acquiring physical topology information of forwarding node, controller and forwarding node | |
US20130250962A1 (en) | Method and apparatus for label distribution | |
CN101741714B (en) | Path adjust method, node device and half-duplex network system | |
US10291581B2 (en) | Method and system for reducing PIM protocol DR change | |
CN102215156A (en) | Method, device and system for realizing flow forwarding | |
CN108632149B (en) | Multicast method and routing device for satellite frame relay network | |
CN105960780B (en) | A kind of cross-layer path establishment method and device | |
CN106789705B (en) | Method and device for transmitting control message | |
WO2020021558A1 (en) | Methods, apparatus and machine-readable media relating to path computation in a communication network | |
US9525615B2 (en) | Systems and methods for implementing multiple ISIS routing instances on a network element |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120404 Termination date: 20151119 |
|
EXPY | Termination of patent right or utility model |