WO2011160498A1 - 运营管理和维护的配置方法和节点 - Google Patents

运营管理和维护的配置方法和节点 Download PDF

Info

Publication number
WO2011160498A1
WO2011160498A1 PCT/CN2011/073729 CN2011073729W WO2011160498A1 WO 2011160498 A1 WO2011160498 A1 WO 2011160498A1 CN 2011073729 W CN2011073729 W CN 2011073729W WO 2011160498 A1 WO2011160498 A1 WO 2011160498A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
configuration information
attribute
configuration
multicast
Prior art date
Application number
PCT/CN2011/073729
Other languages
English (en)
French (fr)
Inventor
刘晖
曹玮
郑莲淑
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2011160498A1 publication Critical patent/WO2011160498A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a configuration method and a node for operation management and maintenance. Background technique
  • the video service is one of the important services for the future growth of operators. Operators need to provide users with services that meet the quality requirements of users, improve user satisfaction, increase the number of users and avoid user loss, and improve the operation and maintenance management capabilities of video networks.
  • the operation, management, and maintenance of the multicast network (hereinafter referred to as 0 AM) can detect network faults or performance bottlenecks by proactively detecting or monitoring, and detect network performance before the fault occurs. Deterioration, take corresponding measures to avoid the occurrence of faults; After the failure, it can respond quickly, reduce the time taken for fault location, trigger the corresponding protection mechanism, and optimize the utilization of network resources.
  • fault management includes connectivity detection, connectivity verification, loopback, alarm indication signals, remote defect indication, lockout signals, and automatic protection switching.
  • Performance measurements include packet loss measurement, delay measurement, and throughput measurement.
  • the video service of the Internet Protocol has the characteristics of one-way and point-to-multipoint multicast transmission.
  • the 0AM of the multicast network is usually delivered through one-way 0 ⁇ 3 ⁇ 4 text.
  • the packet loss measurement can be sent through the sender.
  • the packet carries the number of packets sent by the sender in the OAM packet.
  • the receiver collects the number of packets actually received, and compares the number of packets sent in the 0AM packet to obtain the number of packets lost.
  • the delay measurement can measure the delay of the packet arriving at the receiving end by time stamping the delayed measurement packet sent by the sender. When the packet loss rate within a certain time interval, or the delay measurement value exceeds the normal threshold, it is determined that the performance of the multicast network is degraded or abnormal.
  • the above performance measurement and other 0AM detection methods can be performed not only between the root node and the leaf node of the multicast tree, but also on the intermediate node between the root node and the leaf node.
  • the network needs to configure the root node, the leaf node, and the intermediate node of the multicast tree that participates in the measurement. Configure the processing mode of the 0AM packets, for example, enable and disable.
  • 0AM configuration can be performed on each node in the multicast tree by using a manual configuration or a management protocol to complete the 0AM configuration of the root node, the leaf node, and the intermediate node of the multicast tree participating in the measurement, but this The method needs to configure all the nodes in the multicast tree.
  • the multicast tree is large, the operation is complicated and error-prone. The operation and maintenance costs are high. Summary of the invention
  • the embodiments of the present invention provide a configuration method and a node for the operation management and maintenance, so as to implement automatic configuration of the 0AM attribute of the node on the multicast tree, reduce the workload of the artificial configuration, and avoid and reduce human error.
  • the embodiment of the invention provides a configuration method for operation management and maintenance, including:
  • the intermediate node of the multicast tree receives the multicast join message sent by the downstream node of the intermediate node, where the multicast join message includes operation, management, and maintenance (0AM) configuration information;
  • the intermediate node configures the 0AM attribute of the intermediate node according to the 0AM configuration information, and sends the multicast join message to the upstream node of the intermediate node, so that the upstream node of the intermediate node is according to the group 0AM configuration information in the broadcast join message configures its own 0AM genus And sending the multicast join message until the multicast join message is hop by hop to the root node of the multicast tree.
  • the embodiment of the present invention further provides a method for configuring operation management and maintenance, including: a root node of a multicast tree receives a multicast join message sent by a downstream node of the root node, where the multicast join message includes an operation, Management and maintenance (0AM) configuration information;
  • the root node configures the 0AM attribute of the root node according to the 0AM configuration information.
  • the embodiment of the present invention further provides an intermediate node of a multicast tree, including:
  • a receiving module configured to receive a multicast join message sent by a downstream node of the intermediate node, where the multicast join message includes operation, management, and maintenance (0AM) configuration information;
  • a configuration module configured to configure an OAM attribute of the intermediate node according to the 0AM configuration information
  • the sending module is configured to send the multicast join message to an upstream node of the intermediate node, so as to be upstream of the intermediate node
  • the node configures its own 0AM attribute according to the 0AM configuration information in the multicast join message, and sends the multicast join message until the multicast join message is hop-by-hop sent to the root of the multicast tree. node.
  • the embodiment of the present invention further provides a root node of a multicast tree, including:
  • a packet receiving module configured to receive a multicast join message sent by a downstream node of the root node, where the multicast join message includes operation, management, and maintenance (0AM) configuration information;
  • an attribute configuration module configured to configure an 0AM attribute of the root node according to the 0AM configuration information.
  • the embodiment of the present invention further provides a leaf node of a multicast tree, including:
  • a node attribute configuration module configured to configure, according to the operation, management, and maintenance (0AM) configuration information configured on the leaf node, the 0AM attribute of the leaf node;
  • a message sending module configured to send a multicast join message to the upstream node of the leaf node, where the multicast join message includes the 0AM configuration information.
  • the intermediate node of the multicast tree after receiving the multicast join message sent by the downstream node of the intermediate node, configures the information according to the 0AM configuration information in the multicast join message.
  • the OAM attribute of the intermediate node sends the multicast join message to the upstream node of the intermediate node.
  • the root node of the multicast tree After receiving the multicast join message, the root node of the multicast tree is configured according to the 0AM configuration information in the multicast join message.
  • the 0AM attribute of the root node thus, the automatic configuration of the 0AM attribute of the node on the multicast tree is realized, the workload of the artificial configuration is reduced, the human error is avoided and reduced, and the operability is good.
  • FIG. 1 is a flowchart of another embodiment of a method for configuring operation management and maintenance according to the present invention
  • FIG. 2 is a flowchart of another embodiment of a method for configuring operation management and maintenance according to the present invention
  • FIG. 4 is a schematic diagram of a relationship of a multicast tree 0AM entity according to the present invention
  • FIG. 5 is a schematic diagram of an embodiment of an encoding source address format of an attribute added to the present invention
  • FIG. 6 is a schematic diagram of an embodiment of an 0AM joining attribute format according to the present invention
  • FIG. 7 is a schematic diagram of an embodiment of a format of a MIP configuration TLV according to the present invention.
  • FIG. 8 is a schematic diagram of an embodiment of a format of a MEP_I configuration TLV according to the present invention.
  • FIG. 9 is a schematic diagram of an embodiment of a format of a MEP_E configuration TLV according to the present invention.
  • FIG. 10 is a schematic diagram of an embodiment of a format of a 0AM configuration option in a Hel lo message according to the present invention
  • FIG. 11 is a schematic structural diagram of an embodiment of a leaf node of a multicast tree according to the present invention.
  • FIG. 12 is a schematic structural diagram of an embodiment of an intermediate node of a multicast tree according to the present invention.
  • FIG. 13 is a schematic structural diagram of another embodiment of an intermediate node of a multicast tree according to the present invention.
  • FIG. 14 is a schematic structural diagram of an embodiment of a root node of a multicast tree according to the present invention.
  • FIG. 15 is a schematic structural diagram of an embodiment of a configuration system for operation management and maintenance of the present invention. detailed description
  • FIG. 1 is a flowchart of an embodiment of a method for configuring operation management and maintenance according to the present invention. As shown in FIG. 1 , the method for configuring the operation management and maintenance may include:
  • Step 101 Configure the 0AM attribute of the leaf node according to the 0AM configuration information configured on the leaf node of the multicast tree.
  • the foregoing 0AM configuration information is configured in advance on the leaf node of the multicast tree.
  • the leaf of the multicast tree may be pre-configured through a command line interface (Command L ine Interface; CLI), a network management protocol, or other control protocol.
  • CLI command line interface
  • the node configures the above 0AM configuration information.
  • the embodiment of the present invention is not limited to this, and the 0AM configuration information is configured in the leaf node of the multicast tree in other manners, which is not limited by the embodiment of the present invention.
  • configuring the 0AM attribute of the leaf node according to the 0AM configuration information configured on the leaf node of the multicast tree may be:
  • the leaf node configures the 0AM attribute on the inbound interface and/or the outbound interface of the leaf node according to the foregoing 0AM configuration information.
  • MEP_E maintenance entity group end point Egres s
  • the 0AM attribute can be configured on the inbound interface and/or the outbound interface of the leaf node.
  • the supported functions can be packet loss measurement enable, delay measurement enable, or other types of 0AM functions.
  • the configured 0AM attribute and the multicast tree status need to be established.
  • the association When the multicast status of leaf nodes is due to multicast tree extension
  • the 0AM attribute of the inbound interface and the outbound interface configured to the leaf node is also deleted, so as to avoid the residual of the useless 0AM attribute on the unrelated node.
  • Step 102 Send a multicast join message to the upstream node of the leaf node, where the multicast join message includes the 0AM configuration information.
  • the sending of the multicast join message to the upstream node of the leaf node may be:
  • the leaf node of the multicast tree may periodically send or send the multicast join message to the upstream node of the leaf node.
  • the leaf node of the multicast tree configures the 0AM attribute of the leaf node according to the 0AM configuration information, and sends a multicast join message carrying the 0AM configuration information to the upstream node of the leaf node, so that the leaf node is upstream.
  • the node configures its own 0AM attribute according to the 0AM configuration information, thereby realizing automatic configuration of the 0AM attribute of the node on the multicast tree, reducing the workload of artificial configuration, avoiding and reducing human error, and operability is good.
  • FIG. 2 is a flowchart of another embodiment of a method for configuring operation management and maintenance according to the present invention.
  • the configuration method of the operation management and maintenance may include:
  • Step 201 The intermediate node of the multicast tree receives the multicast join message sent by the downstream node of the intermediate node, where the multicast join message includes 0 AM configuration information.
  • the downstream node of the intermediate node may be a leaf node and/or an upstream node of the leaf node.
  • Step 202 The intermediate node configures the 0AM attribute of the intermediate node according to the 0AM configuration information, and sends the multicast join message to the upstream node of the intermediate node, so that the upstream node of the intermediate node joins the packet according to the multicast
  • the 0AM configuration information is configured with its own 0AM attribute, and the multicast join message is sent until the multicast join message is hop-by-hop sent to the root node of the multicast tree.
  • the intermediate node may configure the 0AM attribute on the inbound interface and/or the outbound interface of the intermediate node according to the 0AM configuration information, for example, the maintenance entity group may be set on the inbound interface and/or the outbound interface of the intermediate node.
  • MIP Maintenance Entity Group Intermediate Point
  • OAM attributes can be configured in On the inbound and/or outbound interfaces of the intermediate node, the supported functions can be packet loss measurement enable, delay measurement enable, or other types of 0AM functions.
  • the sending of the multicast join message to the upstream node of the intermediate node may be:
  • the intermediate node may periodically send the multicast join message or send it to the upstream node of the intermediate node as needed.
  • the intermediate node may include an inbound interface and at least two outbound interfaces.
  • the intermediate node may be based on the at least two outbound interfaces.
  • the received 0AM configuration information is configured with different 0AM attributes on the at least two outbound interfaces, and the 0AM configuration information received by the at least two outbound interfaces is fused, if the at least two outbound interfaces receive the 0AM If the configuration information can be fused, the 0AM attribute is configured on the inbound interface of the intermediate node according to the fused configuration 0AM configuration information.
  • the intermediate node needs to send the multicast join message including the merged 0AM configuration information to the upstream node of the intermediate node.
  • the 0AM configuration information received by the at least two outbound interfaces can be fused.
  • the 0AM configuration information received by the at least two outbound interfaces is not contradictory, and the intermediate node can form the 0AM configuration information received according to the at least two outbound interfaces.
  • the 0AM configuration information of the upstream node of the intermediate node is consistent. For example, it is assumed that the 0AM configuration information received by an outbound interface of the intermediate node is configured to enable the forwarding branch of the downstream node connected to the outbound interface to be configured on the inbound interface and the outbound interface.
  • the 0AM configuration information received by the outbound interface of the node is configured to enable the delay measurement attribute of the forwarding branch where the downstream node connected to the outbound interface is located, and is also configured on the inbound interface and the outbound interface.
  • the two intermediate nodes are configured.
  • the 0AM configuration information received by the outbound interface can be fused. After the intermediate node fused the 0AM configuration information received by the two outbound interfaces of the intermediate node, the obtained 0AM configuration information is the packet loss measurement attribute and delay. Measurement property enable.
  • the multicast join message may include other join attributes except the 0AM configuration information, and the intermediate node may first configure the 0AM configuration information. Fusion with other join attributes other than the above 0AM configuration information Processing, and then configuring the attributes of the intermediate node according to the result of the fusion processing.
  • the intermediate node configures the 0AM attribute of the intermediate node according to the 0AM configuration information
  • the configured 0AM attribute and the multicast tree status need to be established.
  • the association When the multicast state of the intermediate node is deleted due to the change of the topology of the multicast tree, the 0AM attribute of the inbound interface and the outbound interface configured to the leaf node are also deleted to avoid the residual of the useless 0AM attribute on the unrelated node.
  • the intermediate node of the multicast tree after receiving the multicast join message sent by the downstream node of the intermediate node, the intermediate node of the multicast tree configures the 0AM attribute of the intermediate node according to the 0AM configuration information in the multicast join message, and The upstream node of the intermediate node sends the multicast join message; thus, the automatic configuration of the 0AM attribute of the node on the multicast tree is implemented, the workload of the artificial configuration is reduced, the human error is avoided and reduced, and the operability is good.
  • FIG. 3 is a flowchart of still another embodiment of the method for configuring the operation management and maintenance of the present invention.
  • the configuration method for the operation management and maintenance may include:
  • Step 301 The root node of the multicast tree receives the multicast join message sent by the downstream node of the root node, where the multicast join message includes 0 AM configuration information.
  • Step 302 The root node configures the 0AM attribute of the root node according to the 0AM configuration information. Specifically, the root node may configure the 0AM attribute on the inbound interface and/or the outbound interface of the root node according to the foregoing 0AM configuration information.
  • the maintenance entity group entry endpoint may be configured on the ingress interface and/or the outbound interface of the root node.
  • the supported functions can be Packet loss measurement enable, delay measurement enable, or other kinds of 0AM functions.
  • the root node may include an inbound interface and at least two outbound interfaces.
  • the root node may be based on the at least two outbound interfaces.
  • the received 0AM configuration information is configured by configuring different 0AM attributes on the at least two outbound interfaces, and then receiving the 0AM configuration information on the at least two outbound interfaces.
  • the convergence processing is performed. If the 0AM configuration information received by the at least two outbound interfaces can be fused, the 0AM attribute is configured on the inbound interface of the root node according to the fused configuration 0AM configuration information. For example, it is determined that the MIMO configuration information received by the at least two outbound interfaces can be fused.
  • the method provided in the embodiment shown in FIG. 2 of the present invention may be referred to, and details are not described herein again.
  • the multicast join message includes, in addition to the 0AM configuration information, a join attribute other than the 0AM configuration information, the root node may first
  • the 0AM configuration information is merged with other join attributes except the above 0AM configuration information, and then the attributes of the root node are configured according to the result of the fusion processing.
  • the configured 0AM attribute and the multicast tree status need to be established.
  • the association When the multicast status of the root node is deleted due to the change of the multicast tree topology, the 0AM attribute of the inbound interface and the outbound interface configured to the root node are also deleted to avoid the use of the useless 0AM attribute on the unrelated node.
  • the root node of the multicast tree after receiving the multicast join message, configures the 0AM attribute of the root node according to the 0AM configuration information in the multicast join message, thereby implementing the node on the multicast tree.
  • the automatic configuration of the 0AM attribute reduces the workload of the artificial configuration, avoids and reduces human error, and has good operability.
  • the MEP_I, MIP and MEP_E in the embodiment shown in Fig. 1, Fig. 2 and Fig. 3 of the present invention are three kinds.
  • 0AM entity 0AM packets are usually sent in MEP-I, forwarded by MIP, and terminated at MEP-E.
  • 4 is a schematic diagram of a relationship between a multicast tree 0AM entity according to the present invention. As shown in FIG. 4, the multicast tree includes MEP_I.
  • NE Network Equipment
  • MEP_I is used to send 0 AM ⁇ . For example, during packet loss measurement, MEP_I counts the multicast data stream, and sends the count value to the packet loss measurement packet for packet loss detection. And / or, in the delay measurement, MEP_ I can send a delay time measurement > 3 ⁇ 4 text timestamp;
  • MEP_E is used to terminate 0 ⁇ 3 ⁇ 4 text. For example, when measuring packet loss, ⁇ _ ⁇ can count the data stream, get the number of packets from ⁇ _ ⁇ to ⁇ _ ⁇ , and calculate ⁇ _ ⁇ to ⁇ _ ⁇ for a period of time. The packet loss rate; and/or, in the delay measurement, MEP_E can read the timestamp carried in the delay measurement message, and record the local time value when the delay measurement message is received, and calculate the delay from MEP_I to MEP_E. ;
  • the MIP is used to listen to the 0AM packet and forward the 0AM packet to the downstream node or transparently transmit the 0AM packet.
  • the processing principle of MIP is the same as that of MEP_E, but the packet loss rate and delay of MEP_I to MIP are calculated.
  • MEP_I, MIP, and MEP_E are logical entities that can be located on the inbound and/or outbound interfaces of the NE.
  • the enabling and de-enabling of the 0AM function of MEP_I, MIP, and MEP_E can be performed by extending Protocol Independent Mulcasting (PIM).
  • PIM Protocol Independent Mulcasting
  • the advantage of extending the PIM protocol is that it avoids cumbersome manual configuration when there are many intermediate nodes in the multicast tree, does not add additional control plane burden, can adapt to changes in the multicast tree topology, and can utilize the reliability of the PIM protocol itself. Processing mechanism to ensure the reliability of the configuration.
  • the downstream node of the multicast tree (including the leaf node) sends PIM join messages or PIM prune messages to the upstream node (including the root node).
  • the upstream node can construct a multicast forwarding entry to the downstream node based on the PIM join message of the downstream node, and delete the multicast forwarding entry by using the timeout or the downstream prune message.
  • a multicast tree is formed according to the connection of all the nodes having the multicast forwarding entry from the root node to the leaf node.
  • the original PIM join message is extended, and the extended PIM join message is called an extended PIM join message, and the multicast join report in the embodiment shown in FIG. 1, FIG. 2 and FIG.
  • the present invention can be used to add a packet to the extended PIM.
  • the embodiment of the present invention is not limited thereto.
  • the multicast join message may also be a join message in any multicast routing protocol, which is not limited by the embodiment of the present invention, but the present invention In the following description of the embodiment, the multicast join message is used as an example of the extended PIM join message.
  • the embodiment of the present invention configures a new join attribute in the extended PIM join message, and carries the 0AM configuration information to complete the configuration of the 0AM attribute of some forwarding branches in the multicast tree or the multicast tree.
  • the extended PIM join message can be sent periodically or on demand.
  • the manner of the present invention is not limited by the implementation of the PIM protocol itself and/or the configuration of the leaf node of the multicast tree.
  • the bottom-up feature of the multicast tree is established.
  • the administrator can configure the 0AM configuration information to be implemented on the forwarding node of the root node to the leaf node in the leaf node of the multicast tree.
  • the 0AM configuration information can be Performance monitoring of all intermediate nodes from the root node to a leaf node; and configuring the 0AM attribute of the leaf node according to the 0AM configuration information.
  • the 0AM configuration information is carried in the extended PIM join message, and the extended PIM join message carrying the 0AM configuration information is hop-by-hop from the leaf node to the root node, that is, the extended PIM join message is sequentially from the downstream node to the upstream node.
  • Each hop node configures the 0AM attribute of the hop node according to the 0AM configuration information in the extended PIM join message. If the configuration of a node fails, the configuration failure information can be fed back to the NMS or the downstream node.
  • the 0AM attribute of the node of the multicast tree is configured by the extended PIM protocol
  • different leaf nodes are required to configure the same 0AM configuration information.
  • an intermediate node having at least two outbound interfaces is upstream of the intermediate node.
  • the 0AM configuration information in the extended PIM join message sent by the node is the same as the 0AM configuration information of the multiple downstream nodes of the intermediate node.
  • the intermediate node only needs to add the 0AM configuration information to the intermediate node by using the extended PIM join message.
  • the upstream node can pass.
  • the 0AM configuration information received by different outbound interfaces of the intermediate node having at least two outbound interfaces is different, and the intermediate node may receive different according to at least two outbound interfaces.
  • the 0AM configuration information is configured with different 0AM attributes on the at least two outbound interfaces, and then the different 0AM configuration information received by the at least two outbound interfaces is fused, and then the fusion processing is performed to the upstream node of the intermediate node. 0AM configuration information.
  • the downstream node 1 needs to configure the forwarding branch where the downstream node 1 is located to enable the packet loss measurement attribute, and configure the inbound interface and the outbound interface, and the downstream node 2 wants to configure the forwarding branch pair delay measurement attribute of the downstream node 2 If it is enabled, it is also configured on the inbound interface and the outbound interface.
  • the intermediate node receives the 0AM sent by the downstream node 1 and the downstream node 2. After the configuration information is configured, the outbound interface corresponding to the downstream node 1 is configured to enable the packet loss measurement attribute, and the outbound interface corresponding to the downstream node 2 is configured to enable the delay measurement attribute, and then the received 0AM is received.
  • the configuration information is fused, and the inbound interface of the intermediate node is configured to enable the packet loss measurement attribute and the delay measurement attribute according to the fused configuration 0AM configuration information.
  • the outbound interface of the downstream node 2 is configured to be in the blocking state
  • the outbound interface of the downstream node 2 is configured to be in the blocking state, so that the inbound interface and the outbound interface are enabled with the delay measurement attribute enabled.
  • the extended PIM join message of the configuration information is sent from the inbound interface to the upstream node.
  • the 0AM configuration information is carried in the extended PIM join message, and is sent from the leaf node to the upstream node hop by hop. If the intermediate node receives the different 0AM configuration information sent by the different downstream nodes, the extended PIM sent by the intermediate node to the upstream node carries the configuration information after the fusion processing. If the configuration information of the different downstream nodes of the intermediate node cannot be fused, the intermediate node discards the 0 ⁇ attribute corresponding to the 0 ⁇ configuration information that cannot be fused, and sends the configuration information to the downstream node or the network management unit of the intermediate node. .
  • the same ⁇ configuration information can be configured as much as possible on different leaf nodes.
  • the configuration information of the different downstream nodes of the intermediate node cannot be fused.
  • the configuration information of the different downstream nodes of the intermediate node is contradictory, and the intermediate node cannot form the same as the upstream node of the intermediate node according to the configuration information of the different downstream nodes. 0 ⁇ configuration information. For example, it is assumed that the downstream node 1 of the intermediate node needs to configure the forwarding branch where the downstream node 1 is located to enable the packet loss measurement attribute, and is configured on the inbound interface and the outbound interface, and the downstream node 2 of the intermediate node wishes to configure the downstream node.
  • the forwarding branch is in the blocking state of the packet loss measurement, and is also configured on the inbound interface and the outbound interface.
  • the downstream node 1 expects that the packet loss measurement packet can be sent from the ingress interface of the intermediate node to the downstream node 1
  • the outbound interface 2 and the downstream node 2 want to block the packet loss measurement packet from entering the ingress interface of the intermediate node. Therefore, the configuration information of the downstream node 1 and the downstream node 2 of the intermediate node cannot be merged.
  • the MEP_E and the MEP_I may be respectively configured on the leaf node and the root node of the multicast tree, and the MIP is configured on the intermediate node between the leaf node and the root node of the multicast tree to implement the entire The configuration of the multicast tree or a multicast forwarding branch, but in the embodiment of the present invention, the MEP_E and the MEP_I are not limited to being configured on the leaf node and the root node of the multicast tree, and the MEP_I may be configured on the non-root node. , configure MEP_E on non-leaf nodes.
  • the 0AM is still inserted from the MEP_I to the MEP_E termination; and the extended PIM join message is still sent from the leaf node to the root node hop by hop, without affecting the implementation of the embodiment of the present invention.
  • the extended PIM protocol supports the configuration of the subtree and the partial forwarding branch, the interface address of the MEP_I and MEP_E to be configured is also carried in the extended PIM join message.
  • the extended PIM join message can carry different 0AM configuration information
  • the 0AM configuration information of the intermediate node of the multicast tree can be used as an example for MIP configuration, MIP enable, or MIP enable.
  • the 0AM attribute of the intermediate node can be selected to be performed on the inbound interface and/or the outbound interface of the intermediate node.
  • the supported 0AM function can be enabled for packet loss measurement and/or delay measurement, or other types of 0AM functions. Can / go to enable, etc., will not repeat them here.
  • the configuration of the 0AM attribute is described in the following example.
  • the method of configuring the 0AM attribute on the root node is similar to the configuration of the 0AM attribute on the intermediate node, and is not mentioned here.
  • FIG. 5 is a schematic diagram of an embodiment of an encoded source address format for adding attributes according to the present invention. The fields in Figure 5 are described below.
  • IPv4 Internet Protocol version 4
  • IPv6 Internet Protocol version 6
  • Encoding type set to 1 to indicate carrying the attribute
  • PIM-SM Independent Mul t icas t-Sparse Mode
  • W bit The bit used by the PIM to add a source group or a shared group in the PIM prune or PIM prune.
  • R bit Set to 1 when the W bit is set to 1;
  • Mask length the mask length of the source subnet
  • Source address multicast source address
  • Transition attribute bit indicating the processing when this node does not support this attribute, set to
  • E bit the attribute end bit, indicating that the attribute is the last attribute field carried by the code source address
  • Attribute type The type of the attribute
  • Length the length of the value field
  • FIG. 6 is a schematic diagram of an embodiment of the 0AM join attribute format of the present invention.
  • the F, E, and length fields are defined as described above; Introduction.
  • 0AM attribute type Define new values, by the Internet Digital Distribution Authority (The Internet).
  • ME_ ID identifies an identifier of the maintenance group to which the MEP_I, MIP, and MEP_E belong, and is unique within a maintenance management domain.
  • MIP configuration type length value (Type Length Va lue; hereinafter referred to as TLV)
  • MEP_ I configuration TLV MEP_I configuration TLV
  • MEP_E configuration TLV configuration content, using length-type-value structure; for example: type can be defined as:
  • FIG. 7 is a schematic diagram of an embodiment of a format of a MIP configuration TLV according to the present invention. The meanings of the fields in FIG. 7 are as follows:
  • Length the length of the range field starting from the length field
  • Flag field Each bit indicates which 0AM function is configured, for example: L can be defined as a packet loss measurement, D can be defined as a delay measurement, and the position of each 0AM function in the flag field is fixed;
  • Function configuration type Can be defined as configuring MIP (0x01), deconfiguring MIP (0x02), MIP enable (0x03), MIP disable (0x04), MIP blocking (0x05), configuration+enable MIP (0x06), Configure + to disable MIP ( 0x07 ), and configure + block MIP ( 0x08 ) and so on;
  • Function configuration location Support on the inbound interface (0x01), support on the outbound interface (0x02), and support on both the inbound and outbound interfaces (0x03).
  • FIG. 8 is a schematic diagram of an embodiment of a format of a MEP_I configuration TLV according to the present invention.
  • the meanings of the fields in FIG. 8 are as follows:
  • Length the length of the range field starting from the length field
  • Flag field Each bit indicates which 0AM function is configured, for example: L can be defined as a packet loss measurement, D can be defined as a delay measurement, and the position of each 0AM function in the flag field is fixed;
  • Configure the interface address Use the non-integral and non-integral path configurations. After receiving the extended PIM join message, the node determines whether the interface address is the local node address. If yes, complete the configuration of the node and abort. 3 ⁇ 4 text continues to pass upstream;
  • Function configuration location This function is configured on the inbound interface (0x01) or outbound interface (0x02) of the node;
  • Function configuration type configuration (0x01), enable (0x02), deconfigure (0x03), de-enable (0x04), configuration + enable (0x06), configuration + de-enable (0x07), and only carry configuration parameters ( 0x08 ), etc.; when the value is 0x06, assuming that ⁇ - ⁇ has been enabled, then only ⁇ - ⁇ iH ⁇ Function operation type: Configure to send (0x01) or send (0x02) 0AM configuration information periodically; this field is used by MEP_I;
  • Function 0AM packet transmission period The unit is millisecond. The transmission period when the 0AM packet period is sent is used by MEP_I. It is invalid when it is set to Oxffffffff.
  • Function 0AM packet sending start time and function 0AM packet sending end time Determine the period in which the 0AM packet is sent. When it is set to Oxfffffffff, it is invalid. You can use the Network Time Protocol (hereinafter referred to as NTP) time stamp. Used by MEP_I.
  • NTP Network Time Protocol
  • FIG. 9 is a schematic diagram of an embodiment of a format of a MEP_E configuration TLV according to the present invention.
  • the meanings of the fields in FIG. 9 are as follows:
  • Length the length of the range field starting from the length field
  • Flag field Each bit indicates which 0AM function is configured, for example: L can be defined as a packet loss measurement, D can be defined as a delay measurement, and the position of each 0AM function in the flag field is fixed;
  • Configure the interface address Use only when the MEP_E is configured on a non-leaf node. By default, the root node is used as the bearer node of the MEP_E.
  • the MEP_E determines whether the interface address is the local node. The address, if yes, completes the configuration of the MEP-E of the local node, and the extended PIM join message carrying the 0AM configuration information continues to be delivered to the upstream node.
  • Function configuration type configuration (0x01), deconfigure (0x02), enable (0x03), disable (0x04), configure + enable (0x06), configure + disable (0x07), etc.
  • the extended PIM protocol further supports the processing of the PIM joining attribute except the 0AM configuration information.
  • the PIM joining attributes other than the 0AM configuration information may include: Pu identity attribute and / or reverse forwarding path vector attribute.
  • the topology information of the multi-topology information can be identified, and the topology information can be transmitted.
  • the reverse forwarding path vector attribute can be used to set and transmit the reverse forwarding path vector on the border device.
  • the topology identifier attribute identifying multiple topology information is used to construct different virtual extensions in the same physical network. Park, the reverse forwarding path vector attribute is used to establish a multicast tree between two border network devices.
  • the intermediate node or the root node needs to perform fusion processing on these attributes.
  • the intermediate node or the root node may perform 0AM configuration on the node in the identified virtual topology. To enable or disable the 0AM function of the virtual topology multicast tree and multicast forwarding branch.
  • the intermediate node or the root node may perform 0AM configuration on the core network node between the two border devices to enable Or disable the 0AM function of the core network node.
  • the same node receives different attribute packets from different downstream interfaces, for example: If the node receives 0AM configuration information on interface 1, and receives multiple topology addition attributes on interface 2, the node needs to determine whether these attributes can be Fusion, if you can't merge, you need to deal with different join properties separately. If different join attributes result in conflicts or erroneous operations, the node does not process these join attributes, and it is wrong to the downstream node or network management.
  • the node that sends the extended PIM join message can set the F bit in the extended PIM join message, that is, the value of the F bit is set to "1", and 0AM is not supported.
  • the node that configures the information does not configure the 0AM attribute of the local node, and the extended PIM join message continues to be delivered to the upstream node.
  • the neighboring nodes of the multicast tree can extend the Hello message and carry the new Hel lo option to negotiate the 0AM configuration capability.
  • FIG. 10 is a format of the 0AM configuration option in the Hello message of the present invention. Schematic of the embodiment, the meaning of each field in Figure 10 is as follows: Option type: Define a value different from other defined PIM Hel lo options, for example, the value is 39;
  • Option length the length of the option value field
  • the value 01 is the normal 0AM configuration, and other values are not yet defined.
  • the neighboring nodes of the multicast tree can transmit Hello packets to determine whether the neighboring node has the capability of performing the 0AM configuration by using the PIM protocol.
  • the embodiment of the present invention provides a method for configuring the operation management and maintenance.
  • the PIM protocol is extended to carry the 0AM configuration information in the extended PIM join message, and the automatic configuration of the node on the multicast tree is completed.
  • the configuration method has the following advantages:
  • the PIM protocol design itself implements a reliable transmission mechanism for packets.
  • the configuration of the 0AM attribute has a natural advantage through periodic refresh or transmission control protocol (Transmission Control Protocol (TCP) bearer).
  • TCP Transmission Control Protocol
  • the 0AM configuration can automatically track changes in the multicast topology with greater flexibility.
  • the configuration of the operation management and maintenance provided by the embodiment of the present invention is applicable to PIM-Sparse Mode (PIM-Sparse Mode; PIM-SM) and PIM-Source Specific Multicast (PIM-Source Specific Multicast).
  • PIM-SSM also applies to other protocols of the PIM protocol family, such as the bidirectional PIM protocol.
  • the configuration method of the operation management and maintenance provided by the embodiment of the present invention can be used not only for the IPv4 multicast network but also for the IPv6 multicast network.
  • the configuration method of the operation management and maintenance provided by the embodiment of the present invention can also be used in a multi-protocol Label Switching Point to Multi-Point (hereinafter referred to as MPLS P2MP) network.
  • MPLS P2MP multi-protocol Label Switching Point to Multi-Point
  • the multicast routing protocol in the MPLS P2MP network can be used to configure the 0AM attribute of the node in the MPLS P2MP multicast tree.
  • the foregoing may be performed by a program instruction related hardware, where the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes the steps of the foregoing method embodiment; and the foregoing storage medium includes: R0M, A variety of media that can store program code, such as RAM, disk, or optical disk.
  • FIG. 11 is a schematic structural diagram of an embodiment of a leaf node of a multicast tree according to the present invention.
  • the leaf node in this embodiment may implement the process of the embodiment shown in FIG. 1 of the present invention.
  • the leaf node may include : node attribute configuration module 1101 and message sending module 1102;
  • the node attribute configuration module 1101 is configured to configure the 0AM attribute of the leaf node according to the 0AM configuration information configured on the leaf node. Specifically, the node attribute configuration module 1101 may be configured to enter the interface of the leaf node according to the 0AM configuration information. You can configure the 0AM attribute on the outbound interface of the leaf node. For example, you can configure the inbound interface and/or the outbound interface of the leaf node to be enabled with MEP_E or MEP_E. Supported functions can be enabled for packet loss measurement, delayed measurement enable, or other types of 0AM functions.
  • the message sending module 1102 is configured to send a multicast join message to the upstream node of the leaf node, where the multicast join message includes the foregoing 0 AM configuration information. Specifically, the message sending module 1102 may be upstream of the leaf node. The node periodically sends or sends the above multicast join message on demand.
  • the intermediate node may further include: a setting module 1103 and/or a deleting module 1104;
  • the setting module 1103 is configured to set a timer. At this time, the node attribute configuration module 1101 may also be configured according to the updated 0AM configuration if the updated 0AM configuration information is obtained within the valid time of the timer set by the setting module 1103. The information reconfigures the 0AM attribute of the leaf node.
  • the deleting module 1104 is configured to: after the timer set by the setting module 1103 times out, if the updated 0AM configuration information is not obtained, delete the configured 0AM attribute of the leaf node.
  • the leaf node of the multicast tree the node attribute configuration module 1101 configures the 0AM attribute of the leaf node according to the 0AM configuration information, and the packet sending module 1102 sends the multicast join message carrying the 0AM configuration information to the upstream node of the leaf node. , so that the upstream node of the leaf node is based on
  • the OAM configuration information is configured with its OAM attribute, which implements automatic configuration of the 0AM attribute of the node on the multicast tree, reduces the workload of human configuration, avoids and reduces human error, and has good operability.
  • FIG. 1 is a schematic structural diagram of an embodiment of an intermediate node of a multicast tree according to the present invention.
  • the intermediate node in this embodiment may implement the process of the embodiment shown in FIG. 2 of the present invention.
  • the intermediate node may include : a receiving module 1201, a configuration module 1202, and a sending module 1203;
  • the receiving module 1 201 is configured to receive a multicast join message sent by the downstream node of the intermediate node, where the multicast join message includes 0 AM configuration information, and the downstream node of the intermediate node includes a leaf node and/or the leaf The upstream node of the node;
  • the configuration module 1202 is configured to configure the 0AM attribute of the intermediate node according to the 0AM configuration information. Specifically, the configuration module 1202 can configure the 0AM attribute on the inbound interface and/or the outbound interface of the intermediate node according to the 0AM configuration information, for example: Configure the MIP function on the inbound interface and/or the outbound interface of the intermediate node, or enable the MI P to be enabled. You can configure the 0AM attribute on the inbound interface and/or the outbound interface of the intermediate node.
  • the supported function can be packet loss. Measurement enable, delay measurement enable, or other types of 0AM functions;
  • the sending module 1203 is configured to send the multicast join message to the upstream node of the intermediate node, so that the upstream node of the intermediate node configures its own 0AM attribute according to the 0AM configuration information in the multicast join message, and sends the group.
  • the broadcast join message is sent to the root node of the multicast tree hop by hop; specifically, the sending module 1203 can periodically send the multicast join message or send it to the upstream of the intermediate node as needed. node.
  • the configuration module 1202 configures the 0AM of the intermediate node according to the 0AM configuration information in the multicast join message.
  • the sending module 1203 sends the multicast join message to the upstream node of the intermediate node, thereby implementing automatic configuration of the 0AM attribute of the node on the multicast tree, reducing the workload of the artificial configuration, and avoiding and reducing human error. , operability is good.
  • FIG. 13 is a schematic structural diagram of another embodiment of an intermediate node of a multicast tree according to the present invention, and FIG.
  • the intermediate node of the multicast tree shown is different in that, in the intermediate node of the multicast tree shown in FIG. 13, the configuration module 1202 may include: a fusion processing submodule 12021 and an attribute configuration submodule 12022;
  • the attribute configuration sub-module 12022 is configured to: when the intermediate node includes an inbound interface and at least two outbound interfaces, and the at least two outbound interfaces receive different 0AM configuration information, according to the at least two outbound interfaces,
  • the 0AM configuration information is configured with different 0AM attributes on the at least two outbound interfaces.
  • the merging processing sub-module 12021 is configured to perform merging processing on the MME configuration information received by the at least two outbound interfaces.
  • the Attribute Configuration sub-module 12022 can also be configured when the MME configuration information received by the at least two outbound interfaces can be fused.
  • the 0AM attribute is configured on the inbound interface of the intermediate node according to the 0AM configuration information after the fusion processing sub-module 12021.
  • the sending module 1203 is specifically configured to send the multicast join message including the 0AM configuration information after the fusion processing sub-module 12021 is merged to the upstream node of the intermediate node.
  • the merging processing sub-module 12021 may further configure the 0AM configuration information and other PIMs except the above 0AM configuration information when the multicast join message further includes other PIM join attributes other than the 0AM configuration information.
  • the attribute is added to perform the fusion process.
  • the attribute configuration sub-module 12022 may further configure the attribute of the intermediate node according to the result of the fusion processing sub-module 12021 fusion process.
  • the intermediate node may further include: a timer setting module 1204 and/or a genre deletion module 1205;
  • the timer setting module 1204 is configured to set a timer. At this time, the configuration module 1202 may further receive the updated 0AM configuration information according to the updated time within the valid time of the timer set by the timer setting module 1204. 0AM configuration information reconfigures the 0AM attribute of the intermediate node.
  • the attribute deletion module 1205 is configured to: after the timer set by the timer setting module 1204 expires, if the updated 0AM configuration information is not received, delete the configured 0AM of the intermediate node. Attributes.
  • the intermediate node of the foregoing multicast tree implements automatic configuration of the 0AM attribute of the node on the multicast tree, reduces the workload of the artificial configuration, avoids and reduces human error, and has good operability.
  • FIG. 14 is a schematic structural diagram of an embodiment of a root node of a multicast tree according to the present invention.
  • the root node in this embodiment may implement the process of the embodiment shown in FIG. 3 of the present invention.
  • the root of the multicast tree is shown in FIG.
  • the node may include: a message receiving module 1401 and an attribute configuration module 1402;
  • the message receiving module 1401 is configured to receive a multicast join message sent by a downstream node of the root node, where the multicast join message includes 0 AM configuration information.
  • the attribute configuration module 1402 is configured to configure the 0AM attribute of the root node according to the 0AM configuration information. Specifically, the attribute configuration module 1402 may configure the 0AM attribute on the inbound interface and/or the outbound interface of the root node according to the 0AM configuration information. For example, you can configure the MEP_I enable or the MEP_I to be enabled on the inbound interface and/or the outbound interface of the root node. You can configure the 0AM attribute on the inbound interface and/or the root node.
  • the supported functions can be Packet loss measurement enable, delay measurement enable, or other kinds of 0AM functions.
  • the attribute configuration module 1402 may include: a configuration sub-module 14021 and a processing sub-module 14022;
  • the configuration sub-module 14021 is configured to: when the root node includes an inbound interface and at least two outbound interfaces, and the 0AM configuration information received by the at least two outbound interfaces is different, the 0AM configuration information received according to the at least two outbound interfaces Configuring different 0AM genus '1's on the at least two outbound interfaces;
  • the processing sub-module 14022 is configured to perform the merging processing on the MME configuration information received by the at least two outbound interfaces.
  • the configuration sub-module 14021 may further perform the merging of the 0AM configuration information received by the at least two outbound interfaces according to the
  • the processing sub-module 14022 combines the processed 0AM configuration information to configure the 0AM attribute on the ingress interface of the root node.
  • the processing sub-module 14022 may also configure the 0AM configuration information and the 0AM configuration information when the multicast join information includes a PIM join attribute other than the 0AM configuration information.
  • the other PIMs are added to the attributes to perform the fusion process.
  • the configuration sub-module 14021 may further configure the attributes of the root node according to the result of the processing process of the processing sub-module 14022.
  • the root node may further include: a node timer setting module 1403 and/or a node attribute deleting module 1404;
  • the node timer setting module 1403 is configured to set a timer. At this time, the attribute configuration module 1402 may further receive the updated 0AM configuration information within the valid time of the timer set by the node timer setting module 1403. The 0AM attribute of the root node is reconfigured according to the updated 0AM configuration information.
  • the node attribute deletion module 1404 is configured to delete the configured 0AM attribute of the root node if the updated 0AM configuration information is not received after the timer set by the node timer setting module 1403 expires.
  • the attribute configuration module 1402 configures the 0AM attribute of the root node according to the 0AM configuration information in the multicast join message;
  • the automatic configuration of the 0AM attribute of the node on the multicast tree reduces the workload of human configuration, avoids and reduces human error, and has good operability.
  • the configuration system for operation management and maintenance may include: a leaf node 1501, an intermediate node 1502, and a root node of a multicast tree. 1503;
  • the leaf node 1501 is configured to configure an OAM attribute of the leaf node 1501 according to the 0AM configuration information configured on the leaf node, and send a multicast join message to the upstream node of the leaf node, where the multicast join message includes The above-mentioned 0 AM configuration information; specifically, the leaf node 1501 can be implemented by the leaf node of the multicast tree shown in FIG. 11 of the present invention;
  • the intermediate node 1502 is configured to receive the multicast join message sent by the downstream node of the intermediate node 1502, and configure the 0AM attribute of the intermediate node 1502 according to the 0AM configuration information; and send the multicast join message to the upstream of the intermediate node 1502. a node, so that the upstream node of the intermediate node 1502 configures its own 0AM attribute according to the 0AM configuration information in the multicast join message, and sends the
  • the multicast join message is sent to the root node 1503 of the multicast tree hop by hop; specifically, the intermediate node 1502 can pass the intermediate node of the multicast tree shown in FIG. 12 or FIG. 13 of the present invention.
  • the downstream node of the intermediate node 1502 includes a leaf node 1501 and/or an upstream node of the leaf node 1501;
  • the root node 1503 is configured to receive the multicast join message sent by the downstream node of the root node 1503, and configure the 0AM attribute of the root node 1503 according to the 0AM configuration information. Specifically, the root node 1503 may adopt the method shown in FIG. 14 of the present invention. Root node implementation of the multicast tree.
  • the configuration system of the operation management and maintenance provided in this embodiment logically constitutes a multicast tree.
  • the root node, the intermediate node, and the leaf node of the multicast tree are different. device.
  • the root node of the multicast tree can be a designated router (Designated Router; hereinafter referred to as DR) connected to the multicast source.
  • the leaf node of the multicast tree can be The receiver DR connected to the receiver, the intermediate node can be the route between the source DR and the receiver DR
  • the multicast tree For a multicast tree established through PIM-SM, the multicast tree includes three states: a shared tree state, a shared tree and source tree coexistence state, and a source tree state.
  • a shared tree from the receiver DR to the Rendezvous Point hereinafter referred to as RP
  • RP Rendezvous Point
  • the multicast traffic arrives at the RP of the multicast tree at the same time
  • a source tree from the RP to the source DR is established at the same time; when the traffic to the receiver exceeds a predetermined threshold, a source tree from the receiver DR to the source DR is established.
  • the root node of the multicast tree may be an RP
  • the leaf node may be a receiver DR
  • the intermediate node may be a router between the RP and the receiver DR.
  • the multicast tree is divided into two segments, the first segment is a shared tree, and the second segment is a source tree.
  • the root node of the first segment shared tree is the RP
  • the leaf node is the receiver DR.
  • the intermediate node is the router between the RP and the receiver DR.
  • the root node of the second source tree is the source DR
  • the leaf node is the RP
  • the intermediate node is the router between the source DR and the RP.
  • the root node of the multicast tree is the source DR
  • the leaf node is the receiver DR
  • the intermediate node is the router between the source DR and the receiver DR.
  • the multicast join message is hop-by-hop from the leaf node to the root node to complete the multicast tree.
  • Configuration For the multicast tree in the shared state of the shared tree and the source tree established by the PIM-SM, the multicast join message is forwarded from the receiver DR to the RP in the shared tree, and the source tree is hop-by-hop from the RP to the source DR. , complete the configuration of the source tree and the shared tree respectively.
  • the leaf node 1501 of the multicast tree after configuring the 0AM attribute of the leaf node according to the 0AM configuration information, sends a multicast join message carrying the 0AM configuration information to the upstream node of the leaf node 1501.
  • the intermediate node 1502 of the multicast tree After receiving the multicast join message sent by the downstream node of the intermediate node 1502, the intermediate node 1502 of the multicast tree configures the 0AM attribute of the intermediate node 1502 according to the 0AM configuration information in the multicast join message, and then The upstream node of the intermediate node 1502 sends the multicast join message.
  • the root node 1503 of the multicast tree After receiving the multicast join message, the root node 1503 of the multicast tree configures the 0AM attribute of the root node 1503 according to the 0AM configuration information in the multicast join message. Thereby, the automatic configuration of the 0AM attribute of the node on the multicast tree is realized, the workload of the artificial configuration is reduced, the human error is avoided and reduced, and the operability is good.
  • the multicast join message in the embodiment shown in FIG. 15 and FIG. 15 may be an extended PIM join message.
  • the embodiment of the present invention is not limited thereto, and the multicast join message may also be any multicast route.
  • the join message in the protocol is not limited in this embodiment of the present invention.
  • the embodiment of the present invention uses the multicast join message as an extended PIM join message as an example for description.
  • modules in the apparatus in the embodiments may be distributed in the apparatus of the embodiment according to the embodiment, or may be correspondingly changed in one or more apparatuses different from the embodiment.
  • the modules of the above embodiments may be combined into one module, or may be further split into a plurality of sub-modules.

Description

运营管理和维护的配置方法和节点 本申请要求于 2010 年 6 月 22 日提交中国专利局、 申请号为 CN201010213835. 7 , 发明名称为 "运营管理和维护的配置方法和节点" 的 中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明实施例涉及通信技术领域, 尤其涉及一种运营管理和维护的配 置方法和节点。 背景技术
视频业务是未来运营商业务增长的重要业务之一, 运营商需要向用户 提供满足用户质量需求的服务, 提高用户满意度, 提高用户数量和避免用 户流失, 提高视频网络的运维管理能力。 组播网络的运营、 管理和维护 ( Operat ion Admini s trat ion and Ma intenance; 以下简称: 0 AM )可以通 过主动探测或监控发现网络的故障点或性能瓶颈点, 在故障发生前检测到 网络性能的恶化, 采取相应的措施以避免故障的发生; 在发生故障后, 可 快速响应, 减少故障定位所用时间, 触发相应的保护机制, 并可以优化网 络资源的利用。
0AM定义的功能通常包括故障管理和性能测量两类。 其中,故障管理包 括连通性检测、 连通性验证、 环回、 告警指示信号、 远程缺陷指示、 锁定 信号和自动保护倒换等; 性能测量包括丟包测量、 延迟测量和吞吐量测量 等。
网络电视( Internet Protocol Televi s ion; 以下简称: IPTV ) 的视 频业务具有单向、 点到多点的组播传送特点, 组播网络的 0AM通常通过单 向 0ΑΜ ·¾文传递完成。 例如对于性能测量, 可通过发送端发送丟包测量 0AM 报文, 在该 OAM报文中携带发送端统计的发送报文数量, 接收端统计实际 接收的报文数量, 再对比上述 0AM报文中携带的发送报文数量, 获取报文 丟失数量; 同理延迟测量可以通过给发送端发送的延迟测量报文打时间戳 的方法, 测量报文到达接收端所经过的时延。 当一定时间间隔内的报文丟 失率, 或延迟测量值超出正常的门限时, 判定组播网络发生性能下降或发 生异常。
上述性能测量和其他 0AM检测手段不但可以在组播树的根节点和叶子 节点之间进行, 也可以在根节点和叶子节点之间的中间节点上进行。 在进 行测量之前, 网络需要对参与测量的组播树的根节点、 叶子节点和中间节 点进行配置, 配置这些节点对 0AM报文的处理方式, 例如: 使能和去使能 等。
现有技术中, 可以通过手工配置或管理协议对组播树上的每个节点进 行 0AM配置, 以完成对参与测量的组播树的根节点、 叶子节点和中间节点 的 0AM配置, 但是这种方法需要对组播树上的所有节点进行配置, 当组播 树规模较大时操作复杂, 并且容易出错, 运维成本高。 发明内容
本发明实施例提供一种运营管理和维护的配置方法和节点, 以实现对 组播树上节点的 0AM属性的自动配置, 减少人为配置的工作量, 避免和减 少人为错误。
本发明实施例提供一种运营管理和维护的配置方法, 包括:
组播树的中间节点接收所述中间节点的下游节点发送的组播加入报 文, 所述组播加入报文包括运营、 管理和维护 (0AM ) 配置信息;
所述中间节点根据所述 0AM配置信息配置所述中间节点的 0AM属性, 并将所述组播加入报文发送给所述中间节点的上游节点, 以便所述中间节 点的上游节点根据所述组播加入报文中的 0AM配置信息配置自身的 0AM属 性, 并发送所述组播加入报文, 直至将所述组播加入报文逐跳发送至所述 组播树的根节点。
本发明实施例还提供一种运营管理和维护的配置方法, 包括: 组播树的根节点接收所述根节点的下游节点发送的组播加入报文, 所 述组播加入报文包括运营、 管理和维护 (0AM ) 配置信息;
所述根节点根据所述 0AM配置信息配置所述根节点的 0AM属性。
本发明实施例还提供一种组播树的中间节点, 包括:
接收模块, 用于接收所述中间节点的下游节点发送的组播加入报文, 所述组播加入报文包括运营、 管理和维护 (0AM ) 配置信息;
配置模块, 用于根据所述 0AM配置信息配置所述中间节点的 0AM属性; 发送模块, 用于将所述组播加入报文发送给所述中间节点的上游节点, 以便所述中间节点的上游节点根据所述组播加入报文中的 0AM配置信息配 置自身的 0AM属性, 并发送所述组播加入报文, 直至将所述组播加入报文 逐跳发送至所述组播树的根节点。
本发明实施例还提供一种组播树的根节点, 包括:
报文接收模块, 用于接收所述根节点的下游节点发送的组播加入报文, 所述组播加入报文包括运营、 管理和维护 (0AM ) 配置信息;
属性配置模块, 用于根据所述 0AM配置信息配置所述根节点的 0AM属 性。
本发明实施例还提供一种组播树的叶子节点, 包括:
节点属性配置模块, 用于根据在所述叶子节点上配置的运营、 管理和 维护 (0AM ) 配置信息配置所述叶子节点的 0AM属性;
报文发送模块, 用于向所述叶子节点的上游节点发送组播加入报文, 所述组播加入 文包括所述 0AM配置信息。
通过本发明实施例, 组播树的中间节点接收到该中间节点的下游节点 发送的组播加入报文之后, 根据该组播加入报文中的 0AM配置信息配置该 中间节点的 OAM属性, 然后向该中间节点的上游节点发送该组播加入报文; 组播树的根节点接收到组播加入报文之后, 根据该组播加入报文中的 0AM 配置信息配置该根节点的 0AM属性; 从而实现了对组播树上节点的 0AM属 性的自动配置, 减少了人为配置的工作量, 避免和减少了人为错误, 可操 作性好。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明运营管理和维护的配置方法一个实施例的流程图; 图 2为本发明运营管理和维护的配置方法另一个实施例的流程图; 图 3为本发明运营管理和维护的配置方法再一个实施例的流程图; 图 4为本发明组播树 0AM实体的关系示意图;
图 5为本发明加入属性的编码源地址格式一个实施例的示意图; 图 6为本发明 0AM加入属性格式一个实施例的示意图;
图 7为本发明 MIP配置 TLV的格式一个实施例的示意图;
图 8为本发明 MEP_ I配置 TLV的格式一个实施例的示意图;
图 9为本发明 MEP_E配置 TLV的格式一个实施例的示意图;
图 10为本发明 Hel lo报文中 0AM配置选项的格式一个实施例的示意图; 图 11为本发明组播树的叶子节点一个实施例的结构示意图;
图 12为本发明组播树的中间节点一个实施例的结构示意图;
图 13为本发明组播树的中间节点另一个实施例的结构示意图; 图 14为本发明组播树的根节点一个实施例的结构示意图;
图 15为本发明运营管理和维护的配置系统一个实施例的结构示意图。 具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动的前 提下所获得的所有其他实施例, 都属于本发明保护的范围。
图 1为本发明运营管理和维护的配置方法一个实施例的流程图,如图 1 所示, 该运营管理和维护的配置方法可以包括:
步骤 101 ,根据在组播树的叶子节点上配置的 0AM配置信息配置该叶子 节点的 0AM属性。
本实施例预先在组播树的叶子节点配置上述 0AM配置信息, 具体地, 可以通过命令行接口 ( Command L ine Interface; 以下简称: CLI )、 网管 协议或其他控制协议预先在组播树的叶子节点配置上述 0AM配置信息。
当然本发明实施例并不仅限于此, 还可采用其他方式在组播树的叶子 节点配置 0AM配置信息, 本发明实施例对此不作限定。
具体地, 根据在组播树的叶子节点上配置的 0AM配置信息配置该叶子 节点的 0AM属性可以为: 叶子节点根据上述 0AM配置信息在该叶子节点的 入接口和 /或出接口上配置 0AM属性, 例如: 可以在该叶子节点的入接口和 /或出接口上配置维护实体组出端点(Ma intenance Ent i ty Group End Point Egres s ; 以下简称: MEP_E )使能, 或者 MEP_E去使能; 即可以将 0AM属性 配置在叶子节点的入接口和 /或出接口上, 支持的功能可以为丟包测量使 能, 延迟测量使能, 或其他种类的 0AM功能。
本实施例中, 在根据 0AM配置信息配置叶子节点的 0AM属性之后, 为 使在叶子节点配置的 0AM属性能够动态地跟踪组播树拓朴的变化, 需建立 配置的 0AM属性和组播树状态的关联。 当叶子节点的组播状态因组播树拓 朴的变化被删除时, 配置到该叶子节点的入接口和出接口的 0AM属性也要 被删除, 避免无用 0AM属性在无关节点上的残留。
步骤 102 , 向该叶子节点的上游节点发送组播加入报文, 该组播加入报 文包括上述 0AM配置信息。
具体地, 向该叶子节点的上游节点发送组播加入报文可以为: 组播树 的叶子节点可以向该叶子节点的上游节点周期性发送或按需发送该组播加 入报文。
上述实施例中, 组播树的叶子节点根据 0AM配置信息配置该叶子节点 的 0AM属性, 并向该叶子节点的上游节点发送携带该 0AM配置信息的组播 加入报文,以便该叶子节点的上游节点根据该 0AM配置信息配置自身的 0AM 属性, 从而实现了对组播树上节点的 0AM属性的自动配置, 减少了人为配 置的工作量, 避免和减少了人为错误, 可操作性好。
图 2 为本发明运营管理和维护的配置方法另一个实施例的流程图, 如 图 2所示, 该运营管理和维护的配置方法可以包括:
步骤 201 ,组播树的中间节点接收该中间节点的下游节点发送的组播加 入报文, 该组播加入报文包括 0 AM配置信息。
本实施例中, 上述中间节点的下游节点可以为叶子节点和 /或该叶子节 点的上游节点。
步骤 202 , 中间节点根据该 0AM配置信息配置该中间节点的 0AM属性, 并将组播加入报文发送给该中间节点的上游节点, 以便该中间节点的上游 节点根据该组播加入报文中的 0AM配置信息配置自身的 0AM属性, 并发送 该组播加入 文, 直至将该组播加入 文逐跳发送至组播树的根节点。
具体地, 中间节点可以根据该 0AM配置信息在该中间节点的入接口和 / 或出接口上配置 0AM属性, 例如: 可以在该中间节点的入接口和 /或出接口 上酉己置维护实体组中间 、 ( Maintenance Ent i ty Group Intermediate Point ; 以下简称: MIP )使能, 或者 MIP去使能; 可以将 OAM属性配置在 中间节点的入接口和 /或出接口上, 支持的功能可以为丟包测量使能, 延迟 测量使能, 或其他种类的 0AM功能。
具体地, 本实施例中, 将组播加入报文发送给该中间节点的上游节点 可以为: 中间节点可以将该组播加入报文周期性发送或按需发送给该中间 节点的上游节点。
本实施例的一种实现方式中, 中间节点可以包括一个入接口和至少两 个出接口, 当至少两个出接口接收到的 0AM配置信息不同时, 该中间节点 可以根据上述至少两个出接口接收到的 0AM配置信息在上述至少两个出接 口上分别配置不同的 0AM属性, 再对上述至少两个出接口接收到的 0AM配 置信息进行融合处理, 如果上述至少两个出接口接收到的 0AM配置信息能 够融合, 则根据融合处理后的 0AM配置信息在该中间节点的入接口上配置 0AM属性。 这时, 该中间节点需要将包括融合处理后的 0AM配置信息的组播 加入报文发送给该中间节点的上游节点。 其中, 至少两个出接口接收到的 0AM配置信息能够融合可以为:至少两个出接口接收到的 0AM配置信息不矛 盾, 中间节点根据至少两个出接口接收到的 0AM配置信息可以形成对该中 间节点的上游节点一致的 0AM配置信息。 举例来说, 假设中间节点的一个 出接口接收到的 0AM配置信息为配置与该出接口相连的下游节点所在转发 分支对于丟包测量属性使能, 配置在入接口和出接口上; 而该中间节点的 另一个出接口接收到的 0AM配置信息为配置与该出接口相连的下游节点所 在转发分支对延迟测量属性使能, 也配置在入接口和出接口上; 这时, 该 中间节点的两个出接口接收到的 0AM配置信息就是可以融合的, 该中间节 点对该中间节点的两个出接口接收到的 0AM配置信息进行融合处理后, 获 得的 0AM配置信息为对丟包测量属性和延迟测量属性使能。
本实施例的另一种实现方式中, 该组播加入报文除 0AM配置信息之外, 还可以包括除上述 0AM配置信息之外的其他加入属性, 则该中间节点可以 先对该 0AM配置信息和除上述 0AM配置信息之外的其他加入属性进行融合 处理, 然后根据融合处理的结果配置该中间节点的属性。
另外, 在中间节点根据 0AM配置信息配置该中间节点的 0AM属性之后, 为使在中间节点配置的 0AM属性能够动态地跟踪组播树拓朴的变化, 需建 立配置的 0AM属性和组播树状态的关联。 当中间节点的组播状态因组播树 拓朴的变化被删除时, 配置到该叶子节点的入接口和出接口的 0AM属性也 要被删除, 避免无用 0AM属性在无关节点上的残留。
上述实施例中, 组播树的中间节点接收到该中间节点的下游节点发送 的组播加入报文之后, 根据该组播加入报文中的 0AM配置信息配置该中间 节点的 0AM属性, 并向该中间节点的上游节点发送该组播加入报文; 从而 实现了对组播树上节点的 0AM属性的自动配置, 减少了人为配置的工作量, 避免和减少了人为错误, 可操作性好。
图 3 为本发明运营管理和维护的配置方法再一个实施例的流程图, 如 图 3所示, 该运营管理和维护的配置方法可以包括:
步骤 301 ,组播树的根节点接收该根节点的下游节点发送的组播加入报 文, 该组播加入 文包括 0 AM配置信息。
步骤 302 , 根节点根据上述 0AM配置信息配置该根节点的 0AM属性。 具体地, 该根节点可以根据上述 0AM配置信息在该根节点的入接口和 / 或出接口配置 0AM属性; 例如: 可以在该根节点的入接口和 /或出接口配置 维护实体组入端点 ( Ma intenance Ent i ty Group End Point Ingres s; 以 下简称: MEP_ I )使能, 或者 MEP_ I去使能; 可以将 OAM属性配置在根节点 的入接口和 /或出接口上,支持的功能可以为丟包测量使能,延迟测量使能, 或其他种类的 0AM功能。
本实施例的一种实现方式中, 根节点可以包括一个入接口和至少两个 出接口, 当至少两个出接口接收到的 0AM配置信息不同时, 该根节点可以 根据上述至少两个出接口接收到的 0AM配置信息在上述至少两个出接口上 分别配置不同的 0AM属性, 再对上述至少两个出接口接收到的 0AM配置信 息进行融合处理, 如果上述至少两个出接口接收到的 0AM配置信息能够融 合, 则根据融合处理后的 0AM配置信息在该根节点的入接口上配置 0AM属 性。 其中, 确定至少两个出接口接收到的 0AM配置信息能够融合可以参照 本发明图 2所示实施例提供的方法, 在此不再赘述。
本实施例的另一种实现方式中, 该组播加入报文除 0AM配置信息之夕卜, 还包括除上述 0AM配置信息之外的其他加入属性, 则该根节点可以先对该
0AM配置信息和除上述 0AM配置信息之外的其他加入属性进行融合处理,然 后根据融合处理的结果配置该根节点的属性。
本实施例中, 在根据 0AM配置信息配置根节点的 0AM属性之后, 为使 在根节点配置的 0AM属性能够动态地跟踪组播树拓朴的变化, 需建立配置 的 0AM属性和组播树状态的关联。 当根节点的组播状态因组播树拓朴的变 化被删除时, 配置到该根节点的入接口和出接口的 0AM属性也要被删除, 避免无用 0AM属性在无关节点上的残留。
上述实施例中, 组播树的根节点接收到组播加入报文之后, 根据该组 播加入报文中的 0AM配置信息配置该根节点的 0AM属性; 从而实现了对组 播树上节点的 0AM属性的自动配置, 减少了人为配置的工作量, 避免和减 少了人为错误, 可操作性好。
本发明图 1、 图 2和图 3所示实施例中的 MEP_ I、 MIP和 MEP_E是 3种
0AM实体, 0AM报文通常在 MEP—I发送, 经过 MIP转发, 在 MEP— E终结。 图 4为本发明组播树 0AM实体的关系示意图,如图 4所示,组播树包括 MEP_ I、
MIP和 MEP_E, 以及网络设备(Network Equipment ; 以下简称: NE )。
其中, MEP _ I用于发送 0 AM ^艮文, 例如在丟包测量时, MEP _ I对组播数 据流进行计数, 并将计数值写入丟包检测的丟包测量报文中发送; 和 /或, 在延迟测量时, MEP_ I可以对延迟测量 >¾文打时戳发送;
MEP_E用于终结 0ΑΜ ·¾文, 例如在丟包测量时, ΜΕΡ_Ε可以对数据流进 行计数, 获取 ΜΕΡ_ Ι到 ΜΕΡ_Ε的丟包数, 计算一段时间内 ΜΕΡ_ Ι到 ΜΕΡ_Ε 的丟包率; 和 /或, 在延迟测量时 MEP_E可以读取延迟测量报文中携带的时 戳, 同时记录收到延迟测量报文时本地的时间值, 计算从 MEP_ I 到 MEP_E 的时延;
MIP用于监听 0AM报文, 并将 0AM报文向下游节点转发, 或对 0AM报文 进行透传。 例如对于丟包测量和延迟测量, MIP的处理原理与 MEP_E的处理 原理相同, 但计算的是 MEP_ I到该 MIP的丟包率和时延。
MEP_ I、 MIP和 MEP_E皆为逻辑实体, 可位于 NE的入接口和 /或出接口。 MEP_ I、 MIP和 MEP_E的 0AM功能的使能和去使能可以通过扩展协议无关组 播 ( Protocol Independent Mul t icas t ; 以下简称: PIM )十办议进行酉己置。 扩展 PIM协议的好处是在组播树中间节点较多时可以避免繁瑣的人工配置, 不会增加额外的控制层面负担, 能够自适应组播树拓补的变化, 并且可以 利用 PIM协议本身的可靠性处理机制, 保证配置的可靠性。
PIM协议的基本原理是: 组播树下游节点(包括叶子节点 )向上游节点 (包括根节点 )逐跳发送 PIM加入报文或 PIM剪枝报文。 上游节点可以根 据下游节点的 PIM加入报文构建到下游节点的组播转发表项, 通过超时或 下游的剪枝报文删除该组播转发表项。 根据从根节点到叶子节点的所有具 有组播转发表项的节点的连接, 构成组播树。
本发明实施例对原有的 PIM加入报文进行扩展, 扩展后的 PIM加入报 文称作扩展 PIM加入报文, 本发明图 1、 图 2和图 3所示实施例中的组播加 入报文可以为扩展 PIM加入报文, 当然本发明实施例并不仅限于此, 组播 加入报文也可以为任何组播路由协议中的加入报文, 本发明实施例对此不 作限定, 但本发明以下实施例的描述中, 以该组播加入 ^艮文为扩展 PIM加 入报文为例进行说明。
本发明实施例通过在扩展 PIM加入报文中定义新的加入属性,携带 0AM 配置信息, 完成对组播树或组播树上某些转发分支的 0AM属性的配置。
上述扩展 PIM加入报文, 可以周期性地发送, 也可以按需发送, 采用 何种方式发送取决于 PIM协议本身的实现方式和 /或组播树的叶子节点上的 配置, 本发明实施例对此不作限定。
根据 PIM协议建立组播树自下而上的特点, 管理者可以在组播树的叶 子节点配置对从根节点到该叶子节点的转发分支应实施的 0AM配置信息, 该 0AM配置信息可以为使能从根节点到某个叶子节点之间的所有中间节点 的性能监控; 并根据该 0AM配置信息配置叶子节点的 0AM属性。 然后, 将 该 0AM配置信息携带在扩展 PIM加入 文中, 并将携带 0AM配置信息的扩 展 PIM加入报文从该叶子节点逐跳向根节点传递, 即扩展 PIM加入报文从 下游节点到上游节点依次传递, 在根节点中止。每一跳节点根据该扩展 PIM 加入报文中的 0AM配置信息配置本跳节点的 0AM属性, 如果在某个节点的 配置出现失败, 可向网管或下游节点反馈配置失败信息。
在通过扩展 PIM协议对组播树的节点的 0AM属性进行配置时, 通常要 求不同的叶子节点配置相同的 0AM配置信息, 具体地, 具有至少两个出接 口的中间节点,向该中间节点的上游节点发送的扩展 PIM加入报文中的 0AM 配置信息与该中间节点的多个下游节点的 0AM配置信息相同, 这时该中间 节点仅需将该 0AM配置信息通过扩展 PIM加入报文向该中间节点的上游节 点传递即可。
但是, 如果不同的叶子节点配置不同的 0AM配置信息, 则具有至少两 个出接口的中间节点的不同出接口接收到的 0AM配置信息不同, 该中间节 点可以根据至少两个出接口接收到的不同 0AM配置信息在上述至少两个出 接口上分别配置不同的 0AM属性, 然后再对上述至少两个出接口接收到的 不同 0AM配置信息进行融合处理, 然后向该中间节点的上游节点传递融合 处理后的 0AM配置信息。 举例来说, 下游节点 1希望配置该下游节点 1所 在转发分支对于丟包测量属性使能, 配置在入接口和出接口上, 而下游节 点 2希望配置该下游节点 2所在转发分支对延迟测量属性使能, 也配置在 入接口和出接口上,则中间节点接收到下游节点 1和下游节点 2发送的 0AM 配置信息之后, 会将该中间节点对应下游节点 1 的出接口配置为对丟包测 量属性使能, 而将对应下游节点 2 的出接口配置为对延迟测量属性使能, 然后对接收到的 0AM配置信息进行融合处理, 根据融合处理后的 0AM配置 信息将该中间节点的入接口配置为对丟包测量属性和延迟测量属性使能。 本发明实施例中, 如果为了避免扩展 PIM加入报文向不需要的分支扩散, 也可以将下游节点 2 的出接口配置为阻塞状态, 使携带入接口和出接口对 延迟测量属性使能的 0AM配置信息的扩展 PIM加入报文从入接口向上游节 点发送。
本发明实施例中, 0AM配置信息在扩展 PIM加入报文中携带,从叶子节 点开始, 逐跳向上游节点发送。 如果中间节点接收到不同下游节点发送的 不同 0AM配置信息, 则该中间节点向上游节点发送的扩展 PIM加入 ·艮文携 带融合处理后 0ΑΜ的配置信息。 如果中间节点的不同下游节点的 0ΑΜ配置 信息无法融合,则该中间节点放弃配置无法融合的 0ΑΜ配置信息对应的 0ΑΜ 属性, 并向该中间节点的下游节点或网管 ^艮告相关 0ΑΜ配置信息发送失败。 为了减少 ΡΙΜ协议的处理负担和避免差错产生, 可以在不同的叶子节点上 尽可能配置相同的 0ΑΜ配置信息。 其中, 中间节点的不同下游节点的 0ΑΜ 配置信息无法融合可以为: 中间节点的不同下游节点的 0ΑΜ配置信息矛盾, 中间节点根据不同下游节点的 0ΑΜ配置信息无法形成对该中间节点的上游 节点一致的 0ΑΜ配置信息。 举例来说, 假设中间节点的下游节点 1希望配 置该下游节点 1 所在转发分支对于丟包测量属性使能, 配置在入接口和出 接口上, 而该中间节点的下游节点 2希望配置该下游节点 2所在转发分支 对丟包测量呈阻塞状态, 也配置在入接口和出接口上, 这时由于下游节点 1 希望丟包测量报文可以从该中间节点的入接口发送到该下游节点 1 连接的 出接口, 而下游节点 2希望阻塞丟包测量报文从该中间节点的入接口进入, 因此, 这时该中间节点的下游节点 1和下游节点 2的 0ΑΜ配置信息无法融 合。 本发明实施例中, 可以将 MEP_E和 MEP_ I分别配置在组播树的叶子节 点和根节点上, 将 MIP 配置在组播树的叶子节点与根节点之间的中间节点 上, 以实现对整个组播树或一个组播转发分支的配置, 但本发明实施例中, MEP_E和 MEP_ I并不限于在组播树的叶子节点和根节点进行配置,也可以将 MEP_ I配置在非根节点上,将 MEP_E配置在非叶子节点上。在此情形下, 0AM 才艮文仍然从 MEP _ I插入, 到 MEP _ E终结; 而扩展 P IM加入 文仍然从叶子 节点逐跳被发送至根节点, 不影响本发明实施例的实现。 如果扩展 PIM协 议支持子树和部分转发分支的配置, 还需要在扩展 PIM加入报文中携带待 配置 MEP_ I和 MEP_E的接口地址。
取决于不同的应用场景, 扩展 PIM加入 ^艮文可携带不同的 0AM配置信 息,以组播树的中间节点的 0AM配置信息为例,可以为 MIP配置、 MIP使能、 或 MIP去使能等。 并且, 配置中间节点的 0AM属性可以选择在中间节点的 入接口和 /或出接口进行, 支持的 0AM功能可以为丟包测量使能和 /或延迟 测量使能, 或其他种类的 0AM功能的使能 /去使能等, 在此不再赘述。
以上主要以中间节点为例, 对 0AM属性的配置方式进行介绍, 在根节 点上配置 0AM属性的方式与在中间节点上配置 0AM属性的方式相似, 在此 不再赘述。
扩展 PIM加入报文携带 0AM配置信息的格式可以采用 PIM加入报文的 格式, 但需定义新的属性字段。 图 5 为本发明加入属性的编码源地址格式 一个实施例的示意图。 下面对图 5中的各字段进行介绍。
地址族: 因特网协议版本 4 ( Internet Protocol vers ion 4; 以下简 称: IPv4 )或因特网协议版本 6 ( Internet Protocol vers ion 6; 以下简 称: IPv6 );
编码类型: 设为 1 , 表示携带加入属性;
S 比特: 设为 1 时表明支持的是稀疏模式独立组播协议(Protocol
Independent Mul t icas t-Sparse Mode; 以下简称: PIM-SM ); W比特: PIM加入 ^艮文或 PIM剪枝 ^艮文中用来标识源组或共享组的比特;
R比特: 当 W比特设为 1时也设为 1 ;
掩码长度: 源子网的掩码长度;
源地址: 组播源地址;
F比特: 过渡属性比特, 表明当本节点不支持此项属性时的处理, 设为
1时表明继续向上游节点转发报文, 设为 0时表明需要丟弃报文;
E比特: 属性结束比特,说明该属性是该编码源地址携带的最后一个属 性字段;
属性类型: 属性的类型;
长度: 值字段的长度;
值: 该属性的值域。
扩展 PIM加入报文需要定义新的属性类型, 图 6为本发明 0AM加入属 性格式一个实施例的示意图, 图 6中, F、 E和长度字段的定义如前所述; 下面对其他字段进行介绍。
0AM属性类型: 定义新的数值, 由互联网数字分配机构(The Internet
As s i gned Numbers Author i ty; 以下简称: I ANA ) 分酉己, 说明该属生为用 于 0AM配置参数的属性;
版本号: 0 AM版本号;
ME_ ID:标识 MEP_ I、 MIP和 MEP_E所属维护组的一个标识, 在一个维护 管理域内唯一;
MIP 配置类型长度值 ( Type Length Va lue; 以下简称: TLV )、 MEP_ I 配置 TLV和 MEP_E配置 TLV: 配置内容, 采用长度-类型-值结构; 例如: 类型可定义为:
0x01: MIP配置 TLV;
0x02: MEP_ I配置 TLV;
0x03: MEP_E配置 TLV。 图 7为本发明 MIP配置 TLV的格式一个实施例的示意图, 图 7中各字 段的含义如下:
类型: 01;
长度: 从长度字段后面开始的值域字段的长度;
标志字段: 每一位指明配置了哪种 0AM功能, 例如: L可定义为丟包测 量, D可定义为延迟测量, 每种 0AM功能在标志字段中的位置固定;
功能配置类型: 可定义为配置 MIP ( 0x01)、 去配置 MIP (0x02)、 MIP 使能( 0x03 )、 MIP去使能( 0x04 )、 MIP阻塞( 0x05 )、配置 +使能 MIP( 0x06 )、 配置 +去使能 MIP ( 0x07 ), 以及配置 +阻塞 MIP ( 0x08 )等等;
功能配置位置: 在入接口支持( 0x01 ), 在出接口支持(0x02), 以及 同时在入接口和出接口支持(0x03)等等。
图 8为本发明 MEP_I配置 TLV的格式一个实施例的示意图, 图 8中各 字段的含义如下:
类型: 0x02;
长度: 从长度字段后面开始的值域字段的长度;
标志字段: 每一位指明配置了哪种 0AM功能, 例如: L可定义为丟包测 量, D可定义为延迟测量, 每种 0AM功能在标志字段中的位置固定;
配置接口地址: 非整树和非整路径配置时使用, 节点在收到扩展 PIM 加入报文后, 判定接口地址是否是本节点地址, 如果是, 则完成对节点的 配置, 并中止将 0ΑΜ·¾文向上游继续传递;
功能配置位置: 该项功能配置在该节点的入接口 (0x01 )还是出接口 ( 0x02 );
功能配置类型: 配置 (0x01)、 使能 (0x02)、 去配置 ( 0x03)、 去使能 (0x04)、 配置 +使能(0x06)、 配置 +去使能(0x07), 以及仅携带配置参 数 ( 0x08 )等; 当取值为 0x06时, 假定 ΜΕΡ—Ι已经使能, 则仅向 ΜΕΡ—Ι传 iH酉己 功能操作类型: 配置周期性地发送( 0x01 )或按需发送( 0x02 ) 0AM配 置信息; 该字段由 MEP_ I使用;
功能 0AM报文发送周期:单位为毫秒, 0AM报文周期发送时的发送周期, 由 MEP_ I使用, 当设置为 Oxffffffff 时无效。
功能 0AM报文发送起始时间和功能 0AM报文发送结束时间: 决定 0AM 报文发送的时段, 当设置为 Oxffffffffff 时无效, 可使用网络时间协议 ( Network Time Protocol ; 以下简称: NTP ) 时标, 由 MEP_ I使用。
图 9为本发明 MEP_E配置 TLV的格式一个实施例的示意图, 图 9中各 字段的含义如下:
类型: 0x03;
长度: 从长度字段后面开始的值域字段的长度;
标志字段: 每一位指明配置了哪种 0AM功能, 例如: L可定义为丟包测 量, D可定义为延迟测量, 每种 0AM功能在标志字段中的位置固定;
配置接口地址: 仅在 MEP_E 配置在非叶子节点上时使用, 默认情况下 不设定, 采用根节点作为 MEP_E的承载节点; MEP_E在收到扩展 PIM加入报 文之后, 判定接口地址是否是本节点地址, 如果是, 完成对本节点的 MEP-E 的配置, 并将携带 0AM配置信息的扩展 PIM加入报文继续向上游节点传递。
功能配置位置: 叶子节点上的入接口 (0x01 )或出接口 (0x02 );
功能配置类型: 配置 ( 0x01 )、 去配置 ( 0x02 )、 使能 ( 0x03 )、 去使能 ( 0x04 )、 配置 +使能(0x06 ), 配置 +去使能(0x07 )等。
本发明实施例中,扩展 PIM协议还支持除 0AM配置信息之外的其他 PIM 加入属性的处理, 举例来说, 除 0AM配置信息之外的其他 PIM加入属性可 以包括: 标识多拓朴信息的拓朴标识属性和 /或逆向转发路径向量属性。 通 过标识多拓朴信息的拓朴标识属性可以实现多拓朴信息的传递, 通过逆向 转发路径向量属性可以实现边界设备上逆向转发路径向量的设定和传递。 标识多拓朴信息的拓朴标识属性用于在同一物理网络中构建不同的虚拟拓 朴, 逆向转发路径向量属性用于在两个边界网络设备之间建立组播树。 当 0AM配置信息与上述两个属性同时包含在同一个扩展 PIM加入报文 中时, 中间节点或根节点需要对这些属性进行融合处理。 例如, 当标识多 拓朴信息的拓朴标识属性和 0AM配置信息同时存在于一个扩展 PIM加入才艮 文中时, 中间节点或根节点可以将对所标识的虚拟拓朴中的节点进行 0AM 配置, 以使能或去使能该虚拟拓朴组播树和组播转发分支的 0AM功能。 再 如, 当逆向转发路径向量属性和 0AM配置信息同时存在于一个扩展 PIM加 入报文中时, 中间节点或根节点可以将对两个边界设备之间的核心网络节 点进行 0AM配置, 以使能或去使能该核心网络节点的 0AM功能。
如果同一节点从不同的下游接口接收到不同的属性报文, 例如: 该节 点在接口 1接收到 0AM配置信息, 在接口 2接收到多拓朴加入属性等, 则 该节点需要判断这些属性能否融合, 如果无法融合, 则需要对不同的加入 属性分别进行处理。 如果不同的加入属性导致矛盾或错误操作发生, 则该 节点不处理这些加入属性, 向下游节点或网管 4艮错。
如果配置路径上的部分节点不支持 0AM功能, 则发送扩展 PIM加入报 文的节点可将该扩展 PIM加入报文中的 F比特置位, 即将 F比特的值设为 "1" , 不支持 0AM配置信息的节点接收到设定 F比特的扩展 PIM加入报文 之后, 不配置本节点的 0AM属性, 将扩展 PIM加入报文继续向上游节点传 递。
本发明实施例中, 组播树邻居节点之间可以通过扩展 Hel lo报文, 携 带新的 Hel lo选项进行 0AM配置能力的协商, 图 10为本发明 Hel lo报文中 0AM配置选项的格式一个实施例的示意图, 图 10中各字段的含义如下: 选项类型: 定义一个区别于其他已定义的 PIM Hel lo选项值, 例如取 值为 39;
选项长度: 选项值字段的长度;
选项值: 例如取值 01为通常的 0AM配置, 其他取值尚未定义。 本发明实施例中, 组播树邻居节点之间可通过传递 Hello报文, 确定 邻居节点是否具有使用 PIM协议进行 0AM配置的能力。
本发明实施例提供一种运营管理和维护的配置方法, 通过扩展 PIM协 议, 在扩展 PIM加入报文中携带 0AM配置信息, 完成对组播树上的节点的 自动配置, 上述运营管理和维护的配置方法具有以下优点:
( 1 )配置节点少, 由 PIM协议自动完成, 可操作性好, 减少了人为配 置的工作量, 避免和减少了人为错误;
( 2 )扩展现有的 PIM协议,通过扩展 PIM加入报文携带 0AM配置信息, 不会增加控制层面的负担, 可扩展性好;
( 3) PIM协议设计本身实现了对报文的可靠传送机制, 例如: 通过周 期性刷新或通过传输控制协议 ( Transmission Control Protocol; 以下简 称: TCP)承载等方式, 实现 0AM属性的配置具有自然优势;
( 4 )使 0AM配置可以自动追踪组播拓朴的变化, 具有较大的灵活性。 本发明实施例提供的运营管理和维护的配置方法, 不但适用于稀疏模 式 PIM ( PIM-Sparse Mode; 以下简称: PIM-SM ) 和 PIM 指定信源组播 (PIM-Source Specific Multicast; 以下简称: PIM-SSM), 也适用于 PIM 协议族的其他协议, 如双向 PIM协议等。
本发明实施例提供的运营管理和维护的配置方法不仅可以用于 IPv4组 播网络, 同样可以用于 IPv6组播网络。在 IPv6组播网络中,可以采用 IPv6 网络中的组播路由协议, 完成对 IPv6组播树的节点的 0AM属性的配置。
另外, 本发明实施例提供的运营管理和维护的配置方法还可以用于多 协议标签交换点对多点 ( Multi-Protocol Label Switching Point to Multi-Point; 以下简称: MPLS P2MP ) 网络中, 这时, 可以采用 MPLS P2MP 网络中的组播路由协议, 完成对 MPLS P2MP组播树的节点的 0AM属性的配 置。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机 可读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质包括: R0M、 RAM, 磁碟或者光盘等各种可以存储程序代 码的介质。
图 1 1为本发明组播树的叶子节点一个实施例的结构示意图, 本实施例 中的叶子节点可以实现本发明图 1所示实施例的流程, 如图 11所示, 该叶 子节点可以包括: 节点属性配置模块 1101和报文发送模块 1102 ;
其中, 节点属性配置模块 1101 , 用于根据在该叶子节点上配置的 0AM 配置信息配置该叶子节点的 0AM属性; 具体地, 节点属性配置模块 1101可 以根据该 0AM配置信息在该叶子节点的入接口和 /或出接口上配置 0AM属 性; 例如: 可以将该叶子节点的入接口和 /或出接口配置为 MEP_E使能, 或 者 MEP_E去使能, 可以将 0AM属性配置在叶子节点的出接口上, 支持的功 能可以为丟包测量使能, 延迟测量使能, 或其他种类的 0AM功能。
报文发送模块 11 02 ,用于向该叶子节点的上游节点发送组播加入报文, 该组播加入报文包括上述 0 AM配置信息; 具体地, 报文发送模块 1102可以 向叶子节点的上游节点周期性发送或按需发送上述组播加入报文。
另外, 在本实施例的一种实现方式中, 该中间节点还可以包括: 设置 模块 1103和 /或删除模块 1104 ;
其中,设置模块 1103 ,用于设置定时器;这时,节点属性配置模块 1101 , 还可以在设置模块 1103设置的定时器的有效时间内, 如果获得更新的 0AM 配置信息, 则根据更新的 0AM配置信息重新配置该叶子节点的 0AM属性。
删除模块 1104 , 用于在设置模块 1103设置的定时器超时之后, 如果未 获得更新的 0AM配置信息, 则删除该叶子节点已配置的 0AM属性。
上述组播树的叶子节点, 节点属性配置模块 1101根据 0AM配置信息配 置该叶子节点的 0AM属性, 报文发送模块 1 102向该叶子节点的上游节点发 送携带该 0AM配置信息的组播加入报文, 以便该叶子节点的上游节点根据 该 OAM配置信息配置自身的 OAM属性, 从而实现了对组播树上节点的 0AM 属性的自动配置, 减少了人为配置的工作量, 避免和减少了人为错误, 可 操作性好。
图 1 2为本发明组播树的中间节点一个实施例的结构示意图, 本实施例 中的中间节点可以实现本发明图 2所示实施例的流程, 如图 12所示, 该中 间节点可以包括: 接收模块 1201、 配置模块 1202和发送模块 1203 ;
其中, 接收模块 1 201 , 用于接收该中间节点的下游节点发送的组播加 入报文, 该组播加入报文包括 0 AM配置信息, 该中间节点的下游节点包括 叶子节点和 /或该叶子节点的上游节点;
配置模块 1202 , 用于根据该 0AM配置信息配置中间节点的 0AM属性; 具体地, 配置模块 1202可以根据该 0AM配置信息在该中间节点的入接口和 /或出接口上配置 0AM属性, 例如: 可以在该中间节点的入接口和 /或出接 口上配置 MIP使能, 或者 MI P去使能; 可以将 0AM属性配置在中间节点的 入接口和 /或出接口上, 支持的功能可以为丟包测量使能, 延迟测量使能, 或其他种类的 0AM功能;
发送模块 1203 , 用于将组播加入报文发送给该中间节点的上游节点, 以便该中间节点的上游节点根据该组播加入报文中的 0AM配置信息配置自 身的 0AM属性, 并发送该组播加入报文, 直至将该组播加入报文逐跳发送 至组播树的根节点; 具体地, 发送模块 1203可以将组播加入报文周期性发 送或按需发送给该中间节点的上游节点。
上述组播树的中间节点中, 接收模块 1201接收到该中间节点的下游节 点发送的组播加入报文之后, 配置模块 1202根据该组播加入报文中的 0AM 配置信息配置该中间节点的 0AM属性, 发送模块 1203向该中间节点的上游 节点发送该组播加入报文; 从而实现了对组播树上节点的 0AM属性的自动 配置, 减少了人为配置的工作量, 避免和减少了人为错误, 可操作性好。
图 1 3为本发明组播树的中间节点另一个实施例的结构示意图,与图 12 所示的组播树的中间节点相比, 不同之处在于, 图 1 3所示的组播树的中间 节点中, 配置模块 1202可以包括: 融合处理子模块 12021和属性配置子模 块 12022 ;
其中, 属性配置子模块 12022 , 用于当该中间节点包括一个入接口和至 少两个出接口, 且该至少两个出接口接收到的 0AM配置信息不同时, 根据 至少两个出接口接收到的 0AM配置信息在上述至少两个出接口上分别配置 不同的 0AM属性;
融合处理子模块 12021 ,用于对至少两个出接口接收到的 0AM配置信息 进行融合处理; 这时, 属性配置子模块 12022还可以当至少两个出接口接 收到的 0AM配置信息能够融合时, 根据融合处理子模块 12021融合处理后 的 0AM配置信息在该中间节点的入接口上配置 0AM属性。
这时, 发送模块 1203具体用于将包括融合处理子模块 12021融合处理 后的 0AM配置信息的组播加入报文发送给该中间节点的上游节点。
本实施例中, 融合处理子模块 12021 还可以当组播加入报文还包括除 上述 0AM配置信息之外的其他 P IM加入属性时, 对 0AM配置信息和除上述 0AM配置信息之外的其他 PIM加入属性进行融合处理; 这时, 属性配置子模 块 12022还可以根据融合处理子模块 12021融合处理的结果配置该中间节 点的属性。
本实施例中, 该中间节点还可以包括: 定时器设置模块 1204 和 /或属 性删除模块 1205 ;
其中, 定时器设置模块 1204 , 用于设置定时器; 这时, 配置模块 1202 还可以在定时器设置模块 1204设置的定时器的有效时间内, 如果接收到更 新的 0AM配置信息, 则根据更新的 0AM配置信息重新配置中间节点的 0AM 属性。
属性删除模块 1205 ,用于在定时器设置模块 1204设置的定时器超时之 后, 如果未接收到更新的 0AM配置信息, 则删除该中间节点已配置的 0AM 属性。
上述组播树的中间节点实现了对组播树上节点的 0AM属性的自动配置, 减少了人为配置的工作量, 避免和减少了人为错误, 可操作性好。
图 14为本发明组播树的根节点一个实施例的结构示意图, 本实施例中 的根节点可以实现本发明图 3所示实施例的流程, 如图 14所示, 该组播树 的根节点可以包括: 报文接收模块 1401和属性配置模块 1402 ;
其中, 报文接收模块 1401 , 用于接收根节点的下游节点发送的组播加 入报文, 该组播加入报文包括 0 AM配置信息;
属性配置模块 1402 , 用于根据该 0AM配置信息配置该根节点的 0AM属 性; 具体地, 属性配置模块 1402可以根据该 0AM配置信息在该根节点的入 接口和 /或出接口上配置 0AM属性; 例如: 可以在该根节点的入接口和 /或 出接口上配置 MEP_ I使能, 或者 MEP_ I去使能; 可以将 0AM属性配置在根 节点的入接口和 /或上, 支持的功能可以为丟包测量使能, 延迟测量使能, 或其他种类的 0AM功能。
在本实施例的一种实现方式中, 属性配置模块 1402可以包括: 配置子 模块 14021和处理子模块 14022 ;
其中, 配置子模块 14021 , 用于当根节点包括一个入接口和至少两个出 接口, 且至少两个出接口接收到的 0AM配置信息不同时, 根据至少两个出 接口接收到的 0AM配置信息在上述至少两个出接口上分别配置不同的 0AM 属' 1"生;
处理子模块 14022 ,用于对至少两个出接口接收到的 0AM配置信息进行 融合处理; 这时, 配置子模块 14021 还可以当上述至少两个出接口接收到 的 0AM配置信息能够融合时, 根据处理子模块 14022融合处理后的 0AM配 置信息在根节点的入接口上配置 0AM属性。
本实施例中, 处理子模块 14022还可以当组播加入 ^艮文还包括除 0AM 配置信息之外的其他 PIM加入属性时, 对该 0AM配置信息和除 0AM配置信 息之外的其他 PIM加入属性进行融合处理; 这时, 配置子模块 14021还可 以根据处理子模块 14022融合处理的结果配置该根节点的属性。
在本实施例的另一种实现方式中, 该根节点还可以包括: 节点定时器 设置模块 1403和 /或节点属性删除模块 1404 ;
其中, 节点定时器设置模块 1403 , 用于设置定时器; 这时, 属性配置 模块 1402还可以在节点定时器设置模块 1403设置的定时器的有效时间内, 如果接收到更新的 0AM配置信息, 则根据更新的 0AM配置信息重新配置该 根节点的 0AM属性。
节点属性删除模块 1404 ,用于在节点定时器设置模块 1403设置的定时 器超时之后, 如果未接收到更新的 0AM配置信息, 则删除该根节点已配置 的 0AM属性。
上述组播树的根节点中,报文接收模块 1401接收到组播加入报文之后, 属性配置模块 1402根据该组播加入报文中的 0AM配置信息配置该根节点的 0AM属性; 从而实现了对组播树上节点的 0AM属性的自动配置, 减少了人为 配置的工作量, 避免和减少了人为错误, 可操作性好。
图 15为本发明运营管理和维护的配置系统一个实施例的结构示意图, 如图 15所示, 该运营管理和维护的配置系统可以包括: 组播树的叶子节点 1501、 中间节点 1502和根节点 1503;
其中, 叶子节点 1501 , 用于根据在该叶子节点上配置的 0AM配置信息 配置该叶子节点 1501的 0AM属性, 并向该叶子节点的上游节点发送组播加 入才艮文, 该组播加入 文包括上述 0 AM配置信息; 具体地, 叶子节点 1501 可以通过本发明图 11所示的组播树的叶子节点实现;
中间节点 1502 ,用于接收该中间节点 1502的下游节点发送的组播加入 报文, 并根据该 0AM配置信息配置该中间节点 1502的 0AM属性; 将组播加 入报文发送给中间节点 1502的上游节点, 以便该中间节点 1502的上游节 点根据该组播加入报文中的 0AM配置信息配置自身的 0AM属性, 并发送该 组播加入报文, 直至将该组播加入报文逐跳发送至组播树的根节点 1503; 具体地, 中间节点 1502可以通过本发明图 12或图 13所示的组播树的中间 节点实现; 其中, 该中间节点 1502的下游节点包括叶子节点 1501和 /或该 叶子节点 1501的上游节点;
根节点 1503,用于接收该根节点 1503的下游节点发送的组播加入报文, 根据该 0AM配置信息配置根节点 1503的 0AM属性; 具体地, 根节点 1503 可以通过本发明图 14所示的组播树的根节点实现。
本实施例提供的运营管理和维护的配置系统逻辑上构成一棵组播树, 对于通过 PIM协议族的不同协议建立的组播树, 组播树的根节点、 中间节 点和叶子节点对应不同的设备。
例如: 对于通过 PIM-SSM建立的组播树, 该组播树的根节点可以为与 组播源连接的源指定路由器( Designated Router; 以下简称: DR), 组播 树的叶子节点可以为与接收者连接的接收者 DR,中间节点可以为源 DR与接 收者 DR之间的路由
对于通过 PIM-SM建立的组播树,该组播树包括三种状态:共享树状态、 共享树和源树共存状态, 以及源树状态。 在这三种状态中, 当接收者希望 加入组播组时, 建立从接收者 DR到汇集点( Rendezvous Point; 以下简称: RP) 的共享树; 当同时有组播流量到达组播树的 RP时, 同时建立从 RP到 源 DR的源树; 当到接收者的流量超过预定的阈值时, 建立从接收者 DR到 源 DR的源树。 在共享树状态, 组播树的根节点可以为 RP, 叶子节点可以为 接收者 DR, 中间节点可以为 RP与接收者 DR之间的路由器。 在共享树和源 树共存状态, 组播树分为两段, 第一段为共享树, 第二段为源树; 其中, 第一段共享树的根节点为 RP, 叶子节点为接收者 DR, 中间节点为 RP与接 收者 DR之间的路由器; 第二段源树的根节点为源 DR, 叶子节点为 RP, 中 间节点为源 DR与 RP之间的路由器。在源树状态,组播树的根节点为源 DR, 叶子节点为接收者 DR, 中间节点为源 DR与接收者 DR之间的路由器。 对于通过 PIM-SSM建立的组播树、 通过 PIM-SM建立的源树状态或共享 树状态的组播树, 组播加入报文从叶子节点到根节点逐跳传递, 完成对组 播树的配置; 对于通过 PIM-SM建立的共享树和源树共存状态的组播树, 组 播加入报文在共享树从接收者 DR逐跳传递到 RP, 在源树从 RP逐跳传递到 源 DR, 分别完成对源树和共享树的配置。
上述运营管理和维护的配置系统中, 组播树的叶子节点 1501根据 0AM 配置信息配置该叶子节点的 0AM属性之后, 向该叶子节点 1501的上游节点 发送携带该 0AM配置信息的组播加入报文; 组播树的中间节点 1502接收到 该中间节点 1502的下游节点发送的组播加入报文之后, 根据该组播加入报 文中的 0AM配置信息配置该中间节点 1502的 0AM属性, 然后向该中间节点 1502的上游节点发送该组播加入报文;组播树的根节点 1503接收到组播加 入报文之后, 根据该组播加入报文中的 0AM配置信息配置该根节点 1503的 0AM属性; 从而实现了对组播树上节点的 0AM属性的自动配置, 减少了人为 配置的工作量, 避免和减少了人为错误, 可操作性好。
本发明图 I f图 15所示实施例中的组播加入报文可以为扩展 PIM加入 才艮文, 当然本发明实施例并不仅限于此, 组播加入^艮文也可以为任何组播 路由协议中的加入报文, 本发明实施例对此不作限定, 但本发明实施例以 该组播加入报文为扩展 PIM加入报文为例进行说明。
本领域技术人员可以理解附图只是一个优选实施例的示意图, 附图中 的模块或流程并不一定是实施本发明所必须的。
本领域技术人员可以理解实施例中的装置中的模块可以按照实施例描 述进行分布于实施例的装置中, 也可以进行相应变化位于不同于本实施例 的一个或多个装置中。 上述实施例的模块可以合并为一个模块, 也可以进 一步拆分成多个子模块。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修 改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不 使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims

权利 要求 书
1、 一种运营管理和维护的配置方法, 其特征在于, 包括:
组播树的根节点接收所述根节点的下游节点发送的组播加入报文, 所 述组播加入报文包括运营、 管理和维护 (0AM ) 配置信息;
所述根节点根据所述 0AM配置信息配置所述根节点的 0AM属性。
2、根据权利要求 1所述的方法,其特征在于,所述根节点根据所述 0AM 配置信息配置所述根节点的 0AM属性包括:
所述根节点根据所述 0AM配置信息在所述根节点的入接口和 /或出接口 上配置 0AM属性。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述根节点包括一 个入接口和至少两个出接口, 当所述至少两个出接口接收到的 0AM配置信 息不同时, 所述根节点根据所述 0AM配置信息配置所述根节点的 0AM属性 包括:
所述根节点根据所述至少两个出接口接收到的 0AM配置信息在所述至 少两个出接口上分别配置不同的 0AM属性;
所述根节点对所述至少两个出接口接收到的 0AM配置信息进行融合处 理, 如果所述至少两个出接口接收到的 0AM配置信息能够融合, 则根据融 合处理后的 0AM配置信息在所述根节点的入接口上配置 0AM属性。
4、 根据权利要求 1-3任意一项所述的方法, 其特征在于, 所述组播加 入报文还包括除所述 0AM配置信息之外的其他加入属性;
所述方法还包括:
所述根节点对所述 0AM配置信息和所述除所述 0AM配置信息之外的其 他加入属性进行融合处理, 并根据融合处理的结果配置所述根节点的属性。
5、 一种运营管理和维护的配置方法, 其特征在于, 包括:
组播树的中间节点接收所述中间节点的下游节点发送的组播加入报 文, 所述组播加入报文包括运营、 管理和维护 (0AM ) 配置信息; 所述中间节点根据所述 0AM配置信息配置所述中间节点的 0AM属性, 并将所述组播加入报文发送给所述中间节点的上游节点, 以便所述中间节 点的上游节点根据所述组播加入报文中的 0AM配置信息配置自身的 0AM属 性, 并发送所述组播加入报文, 直至将所述组播加入报文逐跳发送至所述 组播树的根节点。
6、 根据权利要求 5所述的方法, 其特征在于, 所述中间节点根据所述 0AM配置信息配置所述中间节点的 0AM属性包括:
所述中间节点根据所述 0AM配置信息在所述中间节点的入接口和 /或出 接口上配置 0AM属性。
7、 根据权利要求 5或 6所述的方法, 其特征在于, 所述中间节点包括 一个入接口和至少两个出接口, 当所述至少两个出接口接收到的 0AM配置 信息不同时,所述中间节点根据所述 0AM配置信息配置所述中间节点的 0AM 属性包括:
所述中间节点根据所述至少两个出接口接收到的 0AM配置信息在所述 至少两个出接口上分别配置不同的 0 AM属性;
所述中间节点对所述至少两个出接口接收到的 0AM配置信息进行融合 处理, 如果所述至少两个出接口接收到的 0AM配置信息能够融合, 则根据 融合处理后的 0AM配置信息在所述中间节点的入接口上配置 0AM属性; 所述将所述组播加入报文发送给所述中间节点的上游节点包括: 所述中间节点将包括所述融合处理后的 0AM配置信息的组播加入报文 发送给所述中间节点的上游节点。
8、 根据权利要求 5-7任意一项所述的方法, 其特征在于, 所述组播加 入报文还包括除所述 0AM配置信息之外的其他加入属性;
所述方法还包括:
所述中间节点对所述 0AM配置信息和所述除所述 0AM配置信息之外的 其他加入属性进行融合处理, 并根据融合处理的结果配置所述中间节点的 属性。
9、 一种组播树的叶子节点, 其特征在于, 包括:
节点属性配置模块, 用于根据在所述叶子节点上配置的运营、 管理和 维护 (0AM ) 配置信息配置所述叶子节点的 0AM属性;
报文发送模块, 用于向所述叶子节点的上游节点发送组播加入报文, 所述组播加入 文包括所述 0AM配置信息。
10、 根据权利要求 9 所述的叶子节点, 其特征在于, 所述节点属性配 置模块具体用于根据所述 0AM配置信息在所述叶子节点的入接口和 /或出接 口上配置 0AM属性。
11、 一种组播树的根节点, 其特征在于, 包括:
报文接收模块, 用于接收所述根节点的下游节点发送的组播加入报文, 所述组播加入报文包括运营、 管理和维护 (0AM ) 配置信息;
属性配置模块, 用于根据所述 0AM配置信息配置所述根节点的 0AM属 性。
12、 根据权利要求 11所述的根节点, 其特征在于, 所述属性配置模块 具体用于根据所述 0AM配置信息在所述根节点的入接口和 /或出接口上配置 0AM属性。
1 3、 根据权利要求 11或 12所述的根节点, 其特征在于, 所述属性配 置模块包括:
配置子模块, 用于当所述根节点包括一个入接口和至少两个出接口, 且所述至少两个出接口接收到的 0AM配置信息不同时, 根据所述至少两个 出接口接收到的 0AM配置信息在所述至少两个出接口上分别配置不同的 0AM 属性;
处理子模块, 用于对所述至少两个出接口接收到的 0AM配置信息进行 融合处理;
所述配置子模块, 还用于当所述至少两个出接口接收到的 0AM配置信 息能够融合时, 根据所述处理子模块融合处理后的 0AM配置信息在所述根 节点的入接口上配置 0AM属性。
14、 根据权利要求 1 3所述的根节点, 其特征在于, 所述处理子模块还 用于当所述组播加入报文还包括除所述 0AM配置信息之外的其他加入属性 时, 对所述 0AM配置信息和所述除所述 0AM配置信息之外的其他加入属性 进行融合处理;
所述配置子模块, 还用于根据所述处理子模块融合处理的结果配置所 述根节点的属性。
15、 一种组播树的中间节点, 其特征在于, 包括:
接收模块, 用于接收所述中间节点的下游节点发送的组播加入报文, 所述组播加入报文包括运营、 管理和维护 (0AM ) 配置信息;
配置模块, 用于根据所述 0AM配置信息配置所述中间节点的 0AM属性; 发送模块, 用于将所述组播加入报文发送给所述中间节点的上游节点, 以便所述中间节点的上游节点根据所述组播加入报文中的 0AM配置信息配 置自身的 0AM属性, 并发送所述组播加入报文, 直至将所述组播加入报文 逐跳发送至所述组播树的根节点。
16、 根据权利要求 15所述的中间节点, 其特征在于, 所述配置模块具 体用于根据所述 0AM配置信息在所述中间节点的入接口和 /或出接口上配置 0AM属性。
17、 根据权利要求 15或 16所述的中间节点, 其特征在于, 所述配置 模块包括:
属性配置子模块, 用于当所述中间节点包括一个入接口和至少两个出 接口, 且所述至少两个出接口接收到的 0AM配置信息不同时, 根据所述至 少两个出接口接收到的 0AM配置信息在所述至少两个出接口上分别配置不 同的 0AM属性;
融合处理子模块, 用于对所述至少两个出接口接收到的 0AM配置信息 进行融合处理;
所述属性配置子模块, 还用于当所述至少两个出接口接收到的 0AM配 置信息能够融合时, 根据所述融合处理子模块融合处理后的 0AM配置信息 在所述中间节点的入接口上配置 0AM属性。
18、 根据权利要求 17所述的中间节点, 其特征在于, 所述发送模块具 体用于将包括所述融合处理子模块融合处理后的 0AM配置信息的组播加入 报文发送给所述中间节点的上游节点。
19、 根据权利要求 17或 18所述的中间节点, 其特征在于, 所述融合 处理子模块还用于当所述组播加入报文还包括除所述 0AM配置信息之外的 其他加入属性时, 对所述 0AM配置信息和所述除所述 0AM配置信息之外的 其他加入属性进行融合处理;
所述属性配置子模块, 还用于根据所述融合处理子模块融合处理的结 果配置所述中间节点的属性。
PCT/CN2011/073729 2010-06-22 2011-05-06 运营管理和维护的配置方法和节点 WO2011160498A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010213835.7 2010-06-22
CN201010213835.7A CN102299815B (zh) 2010-06-22 2010-06-22 运营管理和维护的配置方法和节点

Publications (1)

Publication Number Publication Date
WO2011160498A1 true WO2011160498A1 (zh) 2011-12-29

Family

ID=45360002

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/073729 WO2011160498A1 (zh) 2010-06-22 2011-05-06 运营管理和维护的配置方法和节点

Country Status (2)

Country Link
CN (1) CN102299815B (zh)
WO (1) WO2011160498A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017193569A1 (zh) * 2016-05-10 2017-11-16 华为技术有限公司 一种路径建立方法及控制器
CN108536447A (zh) * 2018-04-11 2018-09-14 上海掌门科技有限公司 运维管理方法

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739448A (zh) * 2012-06-28 2012-10-17 华为技术有限公司 传输报文的方法、设备和系统
CN102868569B (zh) 2012-06-30 2015-12-09 华为技术有限公司 三层虚拟专用网的性能检测方法、节点和系统
EP3522454B1 (en) * 2012-07-13 2021-04-28 Telefonaktiebolaget LM Ericsson (publ) Connectivity fault management in a communication network
CN103152205B (zh) * 2013-03-22 2016-02-10 烽火通信科技股份有限公司 基于流索引的oam处理方法及装置
CN104348678B (zh) * 2013-08-05 2018-10-30 华为技术有限公司 以太网性能测量方法、装置及系统
CN103475588A (zh) * 2013-09-10 2013-12-25 神州数码网络(北京)有限公司 Oam报文的发送处理方法和装置、接收处理方法和装置
CN104734876A (zh) * 2013-12-24 2015-06-24 中兴通讯股份有限公司 一种实现以太网oam配置的方法及装置
CN105323096B (zh) * 2014-07-30 2018-11-23 中国移动通信集团公司 一种网络功能的运维方法及运维系统
CN105656705A (zh) * 2014-11-12 2016-06-08 中兴通讯股份有限公司 接入设备组播功能的检测方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102253A (zh) * 2007-08-13 2008-01-09 杭州华三通信技术有限公司 在IPsec隧道中传输组播的方法、分支节点和中心节点
CN101212326A (zh) * 2006-12-29 2008-07-02 上海贝尔阿尔卡特股份有限公司 一种在任意播组内对节点配置的方法和辅助方法及装置
CN101651552A (zh) * 2009-09-09 2010-02-17 华为技术有限公司 节点配置方法和网络设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212326A (zh) * 2006-12-29 2008-07-02 上海贝尔阿尔卡特股份有限公司 一种在任意播组内对节点配置的方法和辅助方法及装置
CN101102253A (zh) * 2007-08-13 2008-01-09 杭州华三通信技术有限公司 在IPsec隧道中传输组播的方法、分支节点和中心节点
CN101651552A (zh) * 2009-09-09 2010-02-17 华为技术有限公司 节点配置方法和网络设备

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017193569A1 (zh) * 2016-05-10 2017-11-16 华为技术有限公司 一种路径建立方法及控制器
US10749788B2 (en) 2016-05-10 2020-08-18 Huawei Technologies Co., Ltd. Path establishment method and controller
US11502937B2 (en) 2016-05-10 2022-11-15 Huawei Technologies Co., Ltd. Path establishment method and controller
US11888726B2 (en) 2016-05-10 2024-01-30 Huawei Technologies Co., Ltd. Path establishment method and controller
CN108536447A (zh) * 2018-04-11 2018-09-14 上海掌门科技有限公司 运维管理方法
CN108536447B (zh) * 2018-04-11 2021-07-16 上海掌门科技有限公司 运维管理方法

Also Published As

Publication number Publication date
CN102299815A (zh) 2011-12-28
CN102299815B (zh) 2014-04-30

Similar Documents

Publication Publication Date Title
WO2011160498A1 (zh) 运营管理和维护的配置方法和节点
US9497110B2 (en) Multicast-only fast re-route processing for point-to-multipoint pseudowire
CN100450086C (zh) 在虚拟专用局域网业务中实现组播数据流转发的方法
US9059902B2 (en) Procedures, apparatuses, systems, and computer-readable media for operating primary and backup network elements
WO2012003743A1 (zh) 组播流量的转发方法及装置
EP2437444A1 (en) Method, router and communication system for rapid multicast convergence
WO2012075831A1 (zh) 一种实现组播保护的方法及系统
WO2009052712A1 (fr) Procédé, système et routeur pour un transfert de flux de multidiffusion
WO2010111956A1 (zh) 一种组播转发路径收敛的方法和系统
WO2020168854A1 (zh) 一种evpn组播方法、装置及系统
US20200412633A1 (en) On-path telemetry for multicast traffic
WO2009146622A1 (zh) 实现组播的方法、路由器及系统
WO2007059679A1 (fr) Procede pour le traitement de service multidiffusion anormal et equipement de reseau associe
US20150295725A1 (en) Method and apparatus for configuring multicast group
US9537672B2 (en) Method for managing customer edge device automatically and PE device
WO2010006524A1 (zh) 可靠组播的方法、运营商边缘上层设备及系统
WO2022017432A1 (zh) 组播报文的发送方法、装置和系统
WO2021147377A1 (zh) 组播报文检测方法、网络设备和系统
WO2014169856A1 (zh) 一种组播通信方法和汇聚交换机
CN110115011B (zh) 组播业务处理方法及接入设备
EP1983713A1 (en) Method for operating a network element and according device as well as communication system comprising such device
WO2015014197A1 (zh) 组播负载场景下选路的方法和路由器
WO2013037319A1 (zh) 标签转发路径的带宽资源管理方法、装置和系统
WO2011140813A1 (zh) 在协议无关组播双重加入下转发数据的方法、装置及系统
WO2012136062A1 (zh) 组播路径切换方法及路由器

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11797529

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11797529

Country of ref document: EP

Kind code of ref document: A1