WO2018107757A1 - 一种网络传输控制方法及相关设备 - Google Patents

一种网络传输控制方法及相关设备 Download PDF

Info

Publication number
WO2018107757A1
WO2018107757A1 PCT/CN2017/093886 CN2017093886W WO2018107757A1 WO 2018107757 A1 WO2018107757 A1 WO 2018107757A1 CN 2017093886 W CN2017093886 W CN 2017093886W WO 2018107757 A1 WO2018107757 A1 WO 2018107757A1
Authority
WO
WIPO (PCT)
Prior art keywords
node device
oam
packet
command
layer
Prior art date
Application number
PCT/CN2017/093886
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 华为技术有限公司
Priority to EP17882160.9A priority Critical patent/EP3468101B1/en
Publication of WO2018107757A1 publication Critical patent/WO2018107757A1/zh

Links

Images

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
    • H04L41/02Standardisation; Integration
    • H04L41/022Multivendor or multi-standard integration
    • 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
    • H04L41/02Standardisation; Integration
    • H04L41/0226Mapping or translating multiple network management protocols
    • 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
    • H04L41/34Signalling channels for network management communication
    • H04L41/344Out-of-band transfers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Definitions

  • the present invention relates to the field of communications, and in particular, to a network transmission control method and related equipment.
  • Ethernet switch supporting Ethernet protocol ETH Switch
  • IP Internet Protocol
  • MPLS P Multi-Protocol Label Switch Provider
  • MPLS PE Multi-Protocol Label Switch Provider Edge
  • IP/MPLS IP Internet Control Message Protocol
  • ICMP IP Internet Control Message Protocol
  • MPLS ping command is used to obtain the corresponding MPLS information.
  • IP OAM and MPLS OAM are supported by manual or operation.
  • the Systems Support System (OSS) is automatically combined. The operation process is complicated, and the OAM information acquisition efficiency is low and the effect is poor.
  • the embodiment of the invention provides a network transmission control method and related equipment, so as to automatically collect OAM information in a network transmission system including different protocol devices.
  • an embodiment of the present invention provides a network transmission control method, where the method is applied to a network transmission control system, where the network transmission control system includes a source node device, a first node device, and a second node device, and the method includes: The first node device receives the first packet from the source node device, where the first packet carries an Internet protocol to operate, manage, and maintain IP OAM information, where the IP OAM information includes an IP OAM command; and then the first node device according to the first report Generating a second packet, where the second packet carries the IP OAM information of the first packet, and the operation, management, and maintenance of the OAM information of the first node device, where the OAM information of the first node device includes an OAM command.
  • the OAM command of the node device is the same as the IP OAM command; the first node device then sends the second packet to the second node device, where the second node device is the next hop node device of the first node device.
  • the first node that passes the first packet can identify the first packet and is based on the OAM by carrying the IP OAM information in the first packet sent by the source node device.
  • Information The IP OAM command determines the OAM command of the OAM information of the first node device, and then adds the OAM information of the first node device to generate the second packet based on the first packet. Therefore, the first node device on the path through which the first packet passes can return the corresponding OAM result information to the source node device or the OAM controller based on the OAM information, so as to implement OAM information on all node devices on the E2E path. Automatic collection, improve OAM efficiency, and further improve the control of network transmission stability.
  • the method further includes: the first node device receiving the notification message from the second node device, where the notification message is used to indicate the location Determining a forwarding type used by the second node device; and then, in a case where the first node device determines that the forwarding type used by the second node device is different from the forwarding type of the first node device, the first node device generates The OAM information of the second node device, the OAM information of the second node device includes an OAM command, where the second packet further includes OAM information of the second node device, and the OAM command and the IP address in the OAM information of the second node device The OAM command is the same.
  • the generated second packet may be encapsulated with the OAM information of the second node device before being sent to the second node device, and then sent to the second node device.
  • the second node device enables the second node device to directly return the OAM result information of the second node device to the CE or the OAM controller according to the OAM information in the second packet, thereby improving the OAM efficiency.
  • the network transmission control system further includes a third node device, where the third node device is a previous hop node device of the first node device, and the first packet is forwarded by the third node device.
  • the packet from the source node device, the third node device is a Layer 2 node device, and the first node device is a Layer 3 node device, and the first packet further carries the OAM information of the third node device, where the third node device
  • the OAM information includes an OAM command, and the OAM command of the third node device is the same as the IP OAM command.
  • the first node device determines that the forwarding mode of the first node device is Layer 2 forwarding, where the first node device is in the first, where the first node device generates the second packet according to the first packet.
  • the Layer 3 OAM information of the first node device is added to the packet to generate a second packet.
  • the Layer 3 OAM information includes a Layer 3 OAM command.
  • the Layer 3 OAM command is the same as the IP command.
  • the OAM information of the first node device includes the Layer 3 OAM information of a node device; or,
  • the first node device determines that the forwarding mode of the first node device is three-layer forwarding, and the first node device deletes the OAM information of the third node device from the first packet, and adds the OAM information of the first node device, where the first node The OAM information of the device is Layer 3 OAM information.
  • the third node device is a Layer 2 node device
  • the first node device is a Layer 3 node device
  • the first packet of the OAM information including the third node device is generated, and the second node device is generated.
  • the network transmission control system further includes a third node device, where the third node device is a previous hop node device of the first node device, and the first packet is forwarded by the third node device.
  • the packet from the source node device, the third node device is a Layer 3 node device, and the first node device is a Layer 2 node device, and the first node device determines that the forwarding mode of the third node device is Layer 2 forwarding, and the first packet is And carrying the OAM information of the third node device, where the OAM information of the third node device includes the Layer 2 OAM information of the third node device and the Layer 3 OAM information of the third node device, where the Layer 2 OAM information includes the Layer 2 OAM command.
  • the Layer 2 OAM command is the same as the IP OAM command.
  • the Layer 3 OAM command includes a Layer 3 OAM command.
  • the Layer 3 OAM command is the same as the IP OAM command.
  • the method further includes: the first node device deleting the third layer OAM information of the third node device from the first packet, where the first node device generates the second packet according to the first packet.
  • the third node device is a Layer 3 node device and the forwarding mode is Layer 2 forwarding
  • the first node device is a Layer 3 node device
  • the first packet of the OAM information including the third node device is obtained.
  • the network transmission control system further includes a third node device, where the third node device is a previous hop node device of the first node device, and the first packet is forwarded by the third node device.
  • the packet from the source node device, the third node device is a Layer 3 node device, and the first node device is a Layer 2 node device, and the first node device determines that the forwarding mode of the third node device is Layer 3 forwarding, and the first The packet also carries the OAM information of the third node device, where the OAM information of the third node device includes the three-layer OAM information of the third node device, where the three-layer OAM information includes the three-layer OAM command of the third node device, and the third layer The OAM command is the same as the IPOAM command.
  • the first node device generates the second packet according to the first packet, the method further includes: deleting, by the first node device, the Layer 3 OAM information from the first packet, and adding the OAM information of the first node device, where the first Layer 2 OAM information of the OAM information of the node device.
  • the third node device is a Layer 3 node device and the forwarding mode is Layer 3 forwarding
  • the first node device is a Layer 3 node device
  • the first packet of the OAM information including the third node device is obtained.
  • the network transmission control system further includes a third node device, where the third node device is a previous hop node device of the first node device, and the first packet is forwarded by the third node device.
  • the packet from the source node device, the third node device is an Ethernet switch ETH Switch, and the first node device is a multi-protocol label switching carrier edge MPLS PE device, and the first packet further carries ETH OAM information, the ETH OAM
  • the information includes an ETH OAM command, which is the same as the IP OAM command;
  • the first node device determines that the forwarding mode of the first node device is Layer 2 forwarding, where the first node device is in the first packet, where the first node device generates the second packet according to the first packet.
  • the MPLS OAM information including an MPLS OAM command, the MPLS OAM command being the same as the IP command, the MPLS OAM information being the OAM information of the first node device; or the first node device determining The forwarding mode of a node device is Layer 3 forwarding.
  • the first node device deletes ETH OAM information from the first packet and adds MPLS OAM information.
  • the OAM information of the first node device is ETH OAM information.
  • the third node device is an ETH switch
  • the first node device is an MPLS PE device
  • the second packet including the OAM information of the second node device is generated from the first packet of the OAM information including the third node device. The process of the text.
  • the network transmission control system further includes a third node device, where the third node device is a previous hop node device of the first node device, and the first packet is forwarded by the third node device.
  • the packet from the source node device, the third node device is a multi-protocol label switching carrier edge MPLS PE device, the first node device is an Ethernet switch ETH Switch, and the first node device determines a forwarding mode of the third node device.
  • the first packet also carries the OAM information of the MPLS PE.
  • the OAM information of the MPLS PE includes ETH OAM information and MPLS OAM information, and the ETH OAM information includes an ETH OAM command, and the ETH OAM command and the IP OAM The command is the same.
  • the MPLS OAM information includes MPLS OAM commands.
  • the MPLS OAM command is the same as the IP OAM command.
  • the method further includes: the first node device deleting the MPLS OAM information from the first packet, where the first node device generates the second packet according to the first packet. Therefore, when the third node device is an MPLS PE device and the forwarding mode is Layer 2 forwarding, and the first node device is an ETH Switch, the first packet of the OAM information including the third node device is generated, and the second node device is generated. The process of the second message of OAM information.
  • the network transmission control system further includes a third node device, where the third node device is a previous hop node device of the first node device, and the first packet is forwarded by the third node device.
  • the packet from the source node device, the third node device is a multi-protocol label switching carrier edge MPLS PE device, the first node device is an Ethernet switch ETH Switch, and the first node device determines that the forwarding mode of the MPLS PE device is three layers.
  • the first packet further carries OAM information of the MPLS PE device, and the OAM information of the MPLS PE device includes MPLS OAM information, where the MPLS OAM information includes an MPLS OAM command, and the MPLS OAM command is the same as the IP OAM command.
  • the first node device generates the second packet according to the first packet, the method further includes: deleting, by the first node device, the MPLS OAM information from the first packet, and adding the OAM information of the ETH Switch, and the OAM information of the ETH Switch Information for ETH OAM. Therefore, when the third node device is an MPLS PE device and the forwarding mode is Layer 3 forwarding, and the first node device is an ETH Switch, the first packet of the OAM information including the third node device is generated, and the second node device is generated. The process of the second message of OAM information.
  • the method further includes: the first node device sends a response packet to the source node device, where the response packet includes the second packet.
  • the OAM result corresponding to the OAM command of the first node device in the middle.
  • the method further includes: the first node device sends a response packet to the OAM controller, where the response packet includes the second packet.
  • the OAM result corresponding to the OAM command of the first node device in the middle.
  • the source node device or the OAM controller can automatically collect all the OAM information of the node devices on the E2E path, and associate each information, and the OAM information acquisition efficiency is high, and the network transmission management is convenient.
  • the embodiment of the present invention provides a first node device, where the first node device has the function of implementing the foregoing first aspect, and the function may be implemented by using hardware or by executing corresponding software by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • an embodiment of the present invention provides a first node device, where the first node device includes a processor, a receiver, and a transmitter, where the processor is configured to support the first node device to perform a corresponding function in the foregoing method. .
  • the receiver and transmitter are used to support communication between the first node device and other devices.
  • the first node device may further include a memory for coupling with the processor, which stores program instructions and data necessary for the first node device.
  • an embodiment of the present invention provides a computer storage medium for storing the computer software instructions used in the foregoing first node device for the second aspect, which includes a program designed to perform the above aspects.
  • the first node device that passes the first packet can identify the first packet by carrying the IP OAM information in the first packet sent by the source node device. Message based on The IP OAM command in the OAM information determines an OAM command of the OAM information of the first node device, and then adds the OAM information of the first node device to generate a second packet based on the first packet. Therefore, the first node device on the path through which the first packet passes can return the corresponding OAM result information to the source node device or the OAM controller based on the OAM information, so as to implement OAM information on all node devices on the E2E path. Automatic collection, improve OAM efficiency, and further improve the control of network transmission stability.
  • FIG. 1 is a schematic structural diagram of a network transmission control system 100 according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a network transmission control method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of another network transmission control method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of OAM information provided by an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of another OAM information provided by an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of still another OAM information provided by an embodiment of the present invention.
  • FIG. 5-a is a schematic diagram of sending a message carrying OAM information according to an embodiment of the present invention.
  • FIG. 5-b is a schematic diagram of another packet sending message carrying OAM information according to an embodiment of the present invention.
  • FIG. 5-c is a schematic diagram of sending a packet carrying OAM information according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of packet generation according to an embodiment of the present invention.
  • FIG. 6-b is a schematic diagram of another packet generation according to an embodiment of the present invention.
  • FIG. 6-c is a schematic diagram of another packet generation according to an embodiment of the present invention.
  • FIG. 6-d is a schematic diagram of another packet generation according to an embodiment of the present invention.
  • FIG. 7-a is a schematic diagram of an IP ICMP packet based on a network transmission control system according to an embodiment of the present invention
  • FIG. 7-b is a schematic diagram of another IP ICMP packet based on a network transmission control system according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a first node device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another first node device according to an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of a network transmission control system 100 according to an embodiment of the present invention.
  • the network transmission control method provided by the embodiment of the present invention is applied to the network transmission control system 100.
  • the network transmission control system may include multiple CEs 110, at least one ETH Swithe 120, at least one MPLS PE 130, and at least one MPLS P140.
  • an E2E service may pass some or all of the devices. It is also possible to further add one or more ETH Swither 120, one or more MPLS PEs 130, and one or more to the network transmission control system shown in FIG.
  • MPLS P140 belongs to the category used by the network transmission control method provided by the embodiment of the present invention.
  • CE110 performs data transmission based on IP protocol
  • MPLS PE130 or MPLS P140 performs data transmission based on MPLS protocol
  • ETH Swithe120 performs data transmission based on Ethernet protocol.
  • OAM protocols and technologies used by different types of devices are also different.
  • the OAM information of each device can be obtained through OAM to implement monitoring.
  • OAM protocols and technologies used by different types of devices are different, they cannot be directly related to each other, and need to be manually associated or adapted through OSS. With association, low efficiency and poor effect.
  • the automatic association it can be OSS, which converts the above manual association into automatic association.
  • IP ICMP IP address on each node of each route is obtained.
  • the OSS knows the IP and network of each device.
  • the IP address obtained by IP ICMP is used to query the corresponding PE node.
  • MPLS PING is started to obtain the MPLS information on the corresponding network element, and the OSS associates the acquired information in turn.
  • an embodiment of the present invention provides a network transmission control method. The details will be described below.
  • the network transmission control system may further include an OAM controller 150, and the OAM controller 150 is connected to each network device to implement communication with each network device. Therefore, the OAM information of the network device can be obtained from each network device.
  • FIG. 2-a is a schematic flowchart of a network transmission control method according to an embodiment of the present invention.
  • the network transmission control method is applied to a network transmission control system, where the network transmission control system includes a source node device, a first node device and a second node device, where the source node device may be a CE in the network transmission control system, the first node device may be any one of the network transmission control systems, and the second node device is The next hop node device of the first node device may also be any network device in the foregoing network transmission control system.
  • the method includes:
  • Step S201 The first node device receives a first packet from the source node device.
  • the first packet carries IP OAM information, and the IP OAM information includes an IP OAM command.
  • the source node device may be a previous hop node device of the first node device, and the first node device directly receives the first packet from the source node device.
  • the first node device can be viewed as a node device that is directly connected to the source node device through a link or a transparent transmission device.
  • the source node device may also transmit the first packet to the first node device by using the at least one intermediate node device, where the first node device is not directly from the source node.
  • the first packet is received on the device.
  • the first node device can be seen as being directly connected to the source node device. Any intermediate node device or destination node device other than the connected device.
  • the source node device may be a CE
  • the first packet is an IPICMP packet.
  • the source CE sends an IP ICMP packet to the destination CE
  • the IMCP is used.
  • Protocol number 01 at which point a new protocol type can be defined, for example 50.
  • the supported transport protocol of the first packet is the same as the transport protocol supported by the source node device.
  • the first message may further include other information.
  • FIG. 3 is a schematic diagram of OAM information provided by an embodiment of the present invention
  • FIG. 4-a is another example provided by an embodiment of the present invention.
  • FIG. 4-b shows another schematic diagram of the OAM information provided by the embodiment of the present invention.
  • the IP OAM Paylaod in the first packet is used to carry an IP OAM command
  • the first packet may further include an IP OAM Header and an IP Header, wherein the IP OAM Header is also an IP OAM. Header, IP header is also the IP frame header.
  • the IP OAM Header is configured to identify the IP OAM information when the packet reaches the destination device at the same network level. For example, when receiving the IP ICMP packet sent by the source CE device, the destination CE device can identify the IP OAM information through the IP OAM header.
  • Step S202 The first node device generates a second packet according to the first packet.
  • the second packet carries the OAM information of the first packet, and the operation, management, and maintenance of the OAM information of the first node device, where the OAM information of the first node device includes an OAM command.
  • the OAM command of the first node device is the same as the IP OAM command.
  • the first node device can identify the IP ICMP packet, so the IP OAM information in the first packet can be identified.
  • the first node device obtains the IP OAM command content, and superimposes the OAM command of the first node device itself, which is the same as the content of the IP OAM command, according to the IP OAM command, to generate a second packet.
  • the first node device may return the corresponding OAM result information to the source CE or the OAM controller according to the OAM command in the second packet, so that the first packet can be automatically collected through the first packet.
  • the OAM information of the node on the path may be automatically collected through the first packet.
  • the first node device may be a layer 2 node device, for example, an ETH switch, and the OAM information of the first node device is ETH OAM information. Since the ETH Switch can identify IP ICMP packets, the content of the ETH OAM command can be determined based on the IP commands in the IP ICMP.
  • the second packet superimposes the OAM information of the first node device on the basis of the first packet.
  • the OAM Paylaod in the OAM information of the first node device is used to carry the OAM command of the first node device, and is the ETH OAM command.
  • the content of the ETH OAM command is the same as the content of the IP OAM command.
  • the IP OAM command is the route tracking command Tracert
  • the content of the ETH OAM command is also the route tracking command Tracert.
  • the specific bearer format of the command is changed according to the format specified by the packet, which is not limited in the embodiment of the present invention.
  • the OAM information of the first node device may further include other information.
  • an ETH OAM Header and an ETH Header may also be included, where the ETH OAM Header is also an Ethernet OAM header, and the ETH Header is also an Ethernet frame header.
  • the first node device may also be a Layer 3 node device.
  • the MPLS PE or the MPLS P if the forwarding mode supported by the MPLS PE or the MPLS P is Layer 2 forwarding, the forwarding mode can be determined according to the IP protocol.
  • the OAM information of the first node device is ETH OAM information and MPLS OAM information. . Because the MPLS PE or MPLS P can identify IP ICMP packets, the ETH OAM command content and the MPLS OAM command content can be determined based on the IP commands in the IP ICMP.
  • the ETH OAM command includes the ETH OAM command.
  • the ETH OAM command is the same as the IP OAM command.
  • the MPLS OAM command includes the MPLS OAM command.
  • the MPLS OAM command is the same as the IP OAM command.
  • the second packet superimposes the OAM information of the first node device on the basis of the first packet, where the OAM information of the first node device includes ETH OAM information and MPLS OAM.
  • the ETH OAM Paylaod in the ETH OAM information is used to carry the OAM command of the first node device.
  • the ETH OAM command has the same content as the IP OAM command.
  • the MPLS OAM Paylaod in the MPLS OAM information is used to carry the OAM command of the first node device.
  • the MPLS OAM command has the same content as the IP OAM command.
  • the IP OAM command is the route trace command Tracert
  • the content of the ETH OAM command is also the route trace command Tracert.
  • the specific bearer format of the command is changed according to the format specified in the message, which is not limited in the embodiment of the present invention.
  • the forwarding may be determined according to the IP protocol.
  • the OAM information of the first node device is ETH Switch OAM information.
  • the ETH OAM command will include the ETH OAM command, which is the same as the IP OAM command.
  • the OAM information of the first node device may also include MPLS OAM information, but the MPLS OAM information is not meaningful at this time. That is, the corresponding OAM information is not returned based on the MPLS OAM information at this time.
  • the OAM information of the first node device may further include other information.
  • ETH OAM Header and ETH Header may also be included.
  • the ETH OAM Header is also the Ethernet OAM header, and the ETH Header is also the Ethernet frame header.
  • the MPLS OAM Header is also the MPLS OAM header, and the MPLS Header is the MPLS header.
  • the second packet superimposes the OAM information of the first node device on the basis of the first packet, where the OAM information of the first node device includes ETH OAM information, and the ETH
  • the ETH OAM Paylaod in the OAM information is used to carry the OAM command of the first node device.
  • the ETH OAM command has the same content as the IP OAM command.
  • the IP OAM command is the route trace command Tracert
  • the content of the ETH OAM command is also the route trace command Tracert.
  • the specific bearer format of the command is changed according to the format specified in the message, which is not limited in the embodiment of the present invention.
  • the OAM information of the first node device may further include other information.
  • an ETH OAM Header and an ETH Header may also be included.
  • the ETH OAM Header is also the Ethernet OAM header
  • the ETH Header is also the Ethernet frame header.
  • the first node device may also be regarded as a CE device.
  • the OAM information of the first node device is empty, and any new OAM information may not be added to the first packet.
  • Step S203 The first node device sends the second packet to the second node device.
  • the first node device that the first packet passes can identify the first packet and is based on the OAM information.
  • the IP OAM command in the process determines the OAM command of the OAM information of the first node device, and then adds the OAM information of the first node device to generate the second packet based on the first packet. Therefore, the first node device on the path through which the first packet passes can return the corresponding OAM result information to the source node device or the OAM controller based on the OAM information, so as to implement OAM information on all node devices on the E2E path. Automatic collection, improve OAM efficiency, and further improve the control of network transmission stability.
  • FIG. 2-b is a schematic flowchart of another network transmission control method according to an embodiment of the present invention.
  • the flow diagram shows a network transmission control method in a scenario in which the first node device can obtain the forwarding mode of the second node device in advance. Details are as follows.
  • Step S204 The first node device receives a notification message from the second node device.
  • the notification message is used to indicate a forwarding type used by the second node device.
  • the forwarding type is used to identify the forwarding protocol used by the second node device, and the forwarding mode is specifically Layer 2 forwarding or Layer 3 forwarding.
  • the notification message indicates that the forwarding type used by the second node device is Ethernet Layer 2 forwarding.
  • the notification message may indicate that the forwarding type used by the second node device is MPLS label Layer 2 forwarding or MPLS label Layer 3 forwarding.
  • the notification message may indicate that the forwarding type used by the second node device is IP routing forwarding.
  • the first node device acquires a forwarding type used by the second node device by using a Link Layer Discovery Protocol (LLDP).
  • LLDP Link Layer Discovery Protocol
  • the notification message may be a neighbor discovery message.
  • the first node device may also obtain the type manner of the second node device by using other methods.
  • the first node device may also be a source node device. That is, the source node device can obtain the forwarding type of the next hop node device, and encapsulate the OAM information of the next hop node device in advance.
  • Step S205 The first node device determines that the forwarding type used by the second node device is different from the forwarding type of the first node device, and generates OAM information of the second node device.
  • the OAM information of the second node device includes an OAM command.
  • the second packet further includes the OAM information of the second node device, and the OAM command in the OAM information of the second node device is the same as the IP OAM command.
  • the OAM information of the second node device may be encapsulated in advance before the second packet is sent to the second node device. That is, the OAM information of the first node device in the second packet is deleted at this time, and the OAM information of the second node device is added, and then sent to the second node device. Making the second node device directly according to the second packet The OAM information is returned to the CE or the OAM controller to return the OAM result information of the second node device.
  • FIG. 5-a is a schematic diagram of a packet transmission carrying OAM information according to an embodiment of the present invention
  • FIG. 5-b is a schematic diagram of another packet transmission carrying OAM information according to an embodiment of the present invention.
  • the first node device is a CE device
  • the second node device is an ETH switch device as an example.
  • FIG. 5-c shows another type of message carrying OAM information provided by the embodiment of the present invention.
  • the first node device is an ETH Swtich device
  • the second node device is a Layer 2 forwarding MPLS PE.
  • the network transmission control system further includes a third node device, where the third node device is a previous hop node device of the first node device, the first The packet is a packet sent from the source node device, the third node device is a layer 2 node device, and the first node device is a layer 3 node device, where the packet is sent by the third node device.
  • the message also carries the OAM information of the third node device, where the OAM information of the third node device includes an OAM command, and the OAM command of the third node device is the same as the IP OAM command;
  • the method further includes: in the generating, by the first node device, the second packet according to the first packet, the method further includes:
  • the first node device determines that the forwarding mode of the first node device is Layer 2 forwarding, and the first node device adds three layers of OAM information of the first node device to the first packet to generate a
  • the three-layer OAM information includes a three-layer OAM command, and the three-layer OAM command is the same as the IP command, and the OAM information of the first node device includes three layers of the first node device.
  • OAM information or,
  • the first node device Determining, by the first node device, that the forwarding mode of the first node device is three-layer forwarding, the first node device deleting OAM information of the third node device from the first packet, and adding the The OAM information of the first node device, and the OAM information of the first node device is Layer 3 OAM information.
  • the third node device is an Ethernet switch ETH Switch
  • the first node device is a multi-protocol label switching carrier edge MPLS PE device
  • the first packet further carries ETH OAM information
  • the ETH OAM The information includes an ETH OAM command
  • the ETH OAM command is the same as the IP OAM command;
  • the method further includes: in the generating, by the first node device, the second packet according to the first packet, the method further includes:
  • the MPLS OAM information includes the MPLS OAM command, and the MPLS OAM command is the same as the IP command.
  • the MPLS OAM information is the OAM information of the first node device. Specifically, refer to FIG. 6-a, FIG. 6-a. A schematic diagram of packet generation provided by an embodiment of the present invention.
  • the first node device determines that the forwarding mode of the first node device is Layer 3 forwarding, and the first node device deletes the ETH OAM information from the first packet, and adds the MPLS OAM.
  • the OAM information of the first node device is ETH OAM information.
  • FIG. 6-b is a schematic diagram of another packet generation according to an embodiment of the present invention.
  • the third node device is a Layer 2 node device
  • the first node device is a Layer 3 node device
  • the first packet generated from the OAM information including the third node device is generated, including the second The process of the second message of the OAM information of the node device.
  • the network transmission control system further includes a third node device, where the third node device is a previous hop node device of the first node device, the first The packet is a packet sent from the source node device, the third node device is a Layer 3 node device, and the first node device is a Layer 2 node device, where the packet is sent by the third node device.
  • the first node device determines that the forwarding mode of the third node device is Layer 2 forwarding, the first packet further carries OAM information of the third node device, and the OAM information of the third node device includes the third The Layer 2 OAM information of the node device and the Layer 3 OAM information of the third node device, the Layer 2 OAM information includes a Layer 2 OAM command, and the Layer 2 OAM command is the same as the IP OAM command, and the Layer 3 The OAM information includes a Layer 3 OAM command, and the Layer 3 OAM command is the same as the IP OAM command.
  • the method further includes: in the generating, by the first node device, the second packet according to the first packet, the method further includes:
  • the first node device deletes the three-layer OAM information of the third node device from the first packet.
  • the third node device is a multi-protocol label switching carrier edge MPLS PE device
  • the first node device is an Ethernet switch ETH Switch
  • the first node device determines a forwarding manner of the third node device.
  • the first packet further carries the OAM information of the MPLS PE, and the OAM information of the MPLS PE includes ETH OAM information and MPLS OAM information, where the ETH OAM information includes an ETH OAM command, and the ETH
  • the OAM command is the same as the IP OAM command
  • the MPLS OAM command includes an MPLS OAM command
  • the MPLS OAM command is the same as the IP OAM command.
  • the method further includes: in the generating, by the first node device, the second packet according to the first packet, the method further includes:
  • the first node device deletes the MPLS OAM information from the first packet.
  • FIG. 6-c is a schematic diagram of another packet generation according to an embodiment of the present invention.
  • the third node device is a Layer 3 node device and the forwarding mode is Layer 2 forwarding
  • the first node device is a Layer 3 node device
  • the first OAM information from the third node device is obtained.
  • a packet a process of generating a second packet including OAM information of the second node device.
  • the network transmission control system further includes a third node device, where the third node device is a previous hop node device of the first node device, the first The packet is a packet sent from the source node device, the third node device is a Layer 3 node device, and the first node device is a Layer 2 node device, where the packet is sent by the third node device.
  • the first node device determines that the forwarding mode of the third node device is Layer 3 forwarding, the first packet further carries the OAM information of the third node device, and the OAM information of the third node device includes the third node device.
  • Layer 3 OAM information where the Layer 3 OAM information includes a Layer 3 OAM command of the third node device, where the Layer 3 OAM command is the same as the IP OAM command;
  • the method further includes: in the generating, by the first node device, the second packet according to the first packet, the method further includes:
  • the first node device deletes the Layer 3 OAM information from the first packet, and adds OAM information of the first node device, and the OAM information of the first node device is Layer 2 OAM information.
  • the third node device is a multi-protocol label switching carrier edge MPLS PE device
  • the first node device is an Ethernet switch ETH Switch
  • the feature is:
  • the first node device determines that the forwarding mode of the MPLS PE device is Layer 3 forwarding, and the first packet further carries OAM information of the MPLS PE device, and the OAM information of the MPLS PE device includes MPLS OAM information.
  • the MPLS OAM information includes an MPLS OAM command, and the MPLS OAM command is the same as the IP OAM command;
  • the method further includes: in the generating, by the first node device, the second packet according to the first packet, the method further includes:
  • the first node device deletes the MPLS OAM information from the first packet and adds OAM information of the ETH Switch, and the OAM information of the ETH Switch is ETH OAM information.
  • FIG. 6-d is a schematic diagram of another packet generation according to an embodiment of the present invention.
  • the third node device is a Layer 3 node device and the forwarding mode is Layer 3 forwarding
  • the first node device is a Layer 3 node device
  • the first OAM information from the third node device is obtained.
  • a packet a process of generating a second packet including OAM information of the second node device.
  • the method further includes:
  • Step S206 The first node device sends a response packet to the source node device.
  • the response message includes an OAM result corresponding to the OAM command of the first node device in the second packet.
  • the method further includes:
  • the first node device sends a response message to the OAM controller, where the response message includes an OAM result corresponding to the OAM command of the first node device in the second packet.
  • the response message is an IP ICMP message.
  • the trace result information may be returned to the source node device or the OAM controller.
  • the second packet includes the OAM information of the first node device, so that the corresponding OAM result can be obtained based on the OAM information, and then
  • the node device sends a packet carrying the OAM result to the source node device or the OAM controller.
  • the source node device or the OAM controller can automatically collect all the node device OAM information on the E2E path, and By correlating various information, OAM information acquisition efficiency is high, and network transmission management is convenient.
  • FIG. 7-a is a schematic diagram of an IP ICMP packet based on a network transmission control system according to an embodiment of the present invention
  • FIG. 7-b is another schematic diagram provided by an embodiment of the present invention.
  • the forwarding mode of MPLS P and MPLS PE in the network transmission control system is Layer 2 forwarding.
  • the forwarding of MPLS P and MPLS PE in the network transmission control system The mode is three-layer forwarding.
  • the following process is performed:
  • an ICMP packet is sent from CE1 to ETH Switch2, and an IP OAM TLV (Type Length Value) is added to the IP ICMP packet, which may be a route tracking command Tracert, which is used to indicate that all routing nodes on the E2E path are returned. Routing information, the IP ICMP packet is processed according to the standard, and the corresponding ETH Header is encapsulated and sent to 2;
  • IP OAM TLV Type Length Value
  • ETH Switch2 After receiving the IP ICMP packet from CE1, ETH Switch2 needs to identify the IP OAM protocol, and convert the tracert request in the IP ICMP to the MAC Tracert of the ETH OAM to generate a new IP ICMP packet and send it to the MPLS P3. At the same time, ETH Switch2 adds the corresponding trace result information to the packet and returns To the OAM controller or CE;
  • MPLS PE3 When MPLS PE3 is Layer 2 forwarding in Figure 7-a, MPLS PE3 deletes the ETH OAM information and adds MPLS OAM information to the MPLS P4 packet to be sent to MPLS P4. MPLS PE3 adds the corresponding trace result information to the OAM controller or CE1.
  • MPLS PE3 When MPLS PE3 is Layer 3 forwarding in Figure 7-b, MPLS PE3 adds MPLS OAM information to the packets sent from ETH Switch2 to generate new IP ICMP packets and sends them to MPLS P4. At the same time, MPLS PE3 adds the corresponding trace result information to the OAM controller or CE1.
  • the MPLS P4 adds the corresponding trace result information to the OAM controller or CE1 in the received IP ICMP packet sent by the MPLS PE3, and sends the IP ICMP packet to the MPLS PE5.
  • the MPLS EP5 adds the corresponding trace result information to the OAM controller or CE1 after receiving the IP ICMP packet sent by the MPLS P4, and sends the IP ICMP packet to the ETH Switch6.
  • ETH Switch 6 When ETH Switch 6 receives the IP ICMP packet sent by MPLS EP5, it identifies the IP OAM protocol, deletes the MPLS OAM information, generates a new IP ICMP packet, and sends it to CE1. At the same time, ETH Switch 6 adds the packet to the corresponding packet. Trace result information, returned to the OAM controller or CE1;
  • CE1 After receiving the IP ICMP packet received from ETH Switch 6, CE1 adds the corresponding trace result information to the OAM controller or CE1.
  • the first node device may be any one of the foregoing node devices 1-6.
  • FIG. 8 is a schematic structural diagram of a first node device according to an embodiment of the present invention, which is used to implement a network transmission control method according to an embodiment of the present invention.
  • the first node device belongs to the network transmission control system 100.
  • a first node device 800 according to an embodiment of the present invention may include:
  • the receiving unit 810, the generating unit 820, and the transmitting unit 830 are the receiving unit 810, the generating unit 820, and the transmitting unit 830.
  • the receiving unit 810 is configured to receive a first packet from the source node device, where the first packet carries an Internet protocol to operate, manage, and maintain IP OAM information, where the IP OAM information includes an IP OAM command;
  • the generating unit 820 is configured to generate a second packet according to the first packet, where the second packet carries IP OAM information of the first packet and operation, management, and operation of the first node device 800 Maintaining the OAM information, the OAM information of the first node device 800 includes an OAM command, and the OAM command of the first node device 800 is the same as the IP OAM command;
  • the sending unit 830 is configured to send the second packet to the second node device, where the second node device is a next hop node device of the first node device 800.
  • the receiving unit 810 is further configured to receive a notification message from the second node device, where the notification message is used to indicate forwarding used by the second node device. protocol;
  • the generating unit 820 is further configured to determine that the forwarding protocol used by the second node device is different from the forwarding protocol of the first node device 800, and generate OAM information of the second node device, where the second node device OAM information includes OAM commands;
  • the second packet further includes the OAM information of the second node device, and the OAM command in the OAM information of the second node device is the same as the IP OAM command.
  • the network transmission control system further includes a third node device, where the third node device is a previous hop node device of the first node device 800, where the A message is a packet sent from the source node device, the third node device is a layer 2 node device, and the first node device 800 is a layer 3 node device:
  • the first packet further carries the OAM information of the third node device, the OAM information of the third node device includes an OAM command, and the OAM command of the third node device is the same as the IP OAM command;
  • the generating unit 820 is specifically configured to determine that the forwarding mode of the first node device 800 is Layer 2 forwarding, and the first node device 800 adds three of the first node device 800 to the first packet.
  • Layer OAM information to generate the second packet the three-layer OAM information includes a three-layer OAM command, the three-layer OAM command is the same as the IP command, and the OAM information of the first node device 800 includes the Layer 3 OAM information of the first node device 800; or
  • the first node device 800 Determining that the forwarding mode of the first node device 800 is three-layer forwarding, the first node device 800 deleting OAM information of the third node device from the first packet, and adding the first node device
  • the OAM information of the first node device 800 is three layers of OAM information.
  • the network transmission control system further includes a third node device, where the third node device is a previous hop node device of the first node device 800, where the A message is a packet sent from the source node device, the third node device is a layer 3 node device, and the first node device 800 is a layer 2 node device:
  • the first node device 800 determines that the forwarding mode of the third node device is Layer 2 forwarding, the first packet further carries OAM information of the third node device, and the OAM information of the third node device includes The Layer 2 OAM information of the third node device and the Layer 3 OAM information of the third node device, the Layer 2 OAM information includes a Layer 2 OAM command, and the Layer 2 OAM command is the same as the IP OAM command.
  • the Layer 3 OAM information includes a Layer 3 OAM command, and the Layer 3 OAM command is the same as the IP OAM command;
  • the generating unit 820 is specifically configured to delete the three-layer OAM information of the third node device from the first packet.
  • the network transmission control system further includes a third node device, where the third node device is a previous hop node device of the first node device 800, where the A message is a packet sent from the source node device, the third node device is a layer 3 node device, and the first node device 800 is a layer 2 node device:
  • the first node device 800 determines that the forwarding mode of the third node device is Layer 3 forwarding, the first packet further carries OAM information of the third node device, and the OAM information of the third node device includes a Layer 3 OAM information of the third node device, where the Layer 3 OAM information includes a Layer 3 OAM command of the third node device, where the Layer 3 OAM command is the same as the IP OAM command;
  • the generating unit 820 is specifically configured to delete the Layer 3 OAM information from the first packet and increase the OAM information of the first node device 800, and the OAM information of the first node device 800 is Layer 2 OAM information. .
  • the network transmission control system further includes a third node device,
  • the third node device is a previous hop node device of the first node device 800, and the first packet is a packet sent by the source node device, and the packet is forwarded by the third node device.
  • the third node device is an Ethernet switch ETH Switch
  • the first node device 800 is a multi-protocol label switching carrier edge MPLS PE device:
  • the first packet further carries ETH OAM information, where the ETH OAM information includes an ETH OAM command, and the ETH OAM command is the same as the IP OAM command;
  • the generating unit 820 is specifically configured to:
  • the first node device 800 determines that the forwarding mode of the first node device 800 is a Layer 2 forwarding, and adds MPLS OAM information to the first packet to generate the second packet, where the MPLS OAM information includes The MPLS OAM command is the same as the IP command, and the MPLS OAM information is OAM information of the first node device 800; or
  • the first node device 800 determines that the forwarding mode of the first node device 800 is Layer 3 forwarding, deletes the ETH OAM information from the first packet, and adds the MPLS OAM information, where the first The OAM information of the node device 800 is ETH OAM information.
  • the network transmission control system further includes a third node device, where the third node device is a previous hop node device of the first node device 800, where the A message is a packet sent from the source node device, and the third node device is a multi-protocol label switching carrier edge MPLS PE device, and the first node device 800 is Ethernet switch ETH Switch:
  • the first node device 800 determines that the forwarding mode of the third node device is Layer 2 forwarding, the first packet further carries OAM information of the MPLS PE, and the OAM information of the MPLS PE includes ETH OAM information and MPLS OAM information, the ETH OAM information includes an ETH OAM command, the ETH OAM command is the same as the IP OAM command, the MPLS OAM information includes an MPLS OAM command, and the MPLS OAM command is the same as the IP OAM command;
  • the generating unit 820 is specifically configured to delete the MPLS OAM information from the first packet.
  • the network transmission control system further includes a third node device, where the third node device is a previous hop node device of the first node device 800, where the A message is a packet sent from the source node device, and the third node device is a multi-protocol label switching carrier edge MPLS PE device, and the first node device 800 is Ethernet switch ETH Switch:
  • the first node device 800 determines that the forwarding mode of the MPLS PE device is Layer 3 forwarding, and the first packet further carries OAM information of the MPLS PE device, and the OAM information of the MPLS PE device includes MPLS OAM information.
  • the MPLS OAM information includes an MPLS OAM command, and the MPLS OAM command is the same as the IP OAM command;
  • the generating unit 820 is specifically configured to delete the MPLS OAM information from the first packet and add OAM information of the ETH Switch, where the OAM information of the ETH Switch is ETH OAM information.
  • the sending unit 830 is further configured to send a response packet to the source node device, where the response packet includes the first one of the second packet.
  • the sending unit 830 is further configured to send a response packet to the OAM controller, where the response packet includes the foregoing in the second packet.
  • First node device The OAM result corresponding to the 800 OAM command.
  • the first node device 800 that passes the first packet can identify the first packet by carrying the IP OAM information in the first packet sent by the source node device.
  • the OAM command of the OAM information of the first node device 800 is determined based on the IP OAM command in the OAM information, and then the OAM information of the first node device 800 is added to generate the second packet based on the first packet. Therefore, the first node device 800 on the path through which the first packet passes can return the corresponding OAM result information to the source node device or the OAM controller based on the OAM information, so as to implement OAM information on all node devices on the E2E path. Automatic collection, improve OAM efficiency, and further improve the control of network transmission stability.
  • the first node device 800 is presented in the form of a unit.
  • a "unit” herein may refer to an application-specific integrated circuit (ASIC), a processor and memory that executes one or more software or firmware programs, integrated logic circuits, and/or other devices that provide the functionality described above. .
  • ASIC application-specific integrated circuit
  • FIG. 9 is a schematic structural diagram of another first node device according to an embodiment of the present invention.
  • the first node device 900 includes:
  • the processor 902 may also be a controller, and is represented as "controller/processor 902" in FIG.
  • the transmitter/receiver 901 is configured to support the access router 900 (specifically, the PGW or the edge node) to send and receive information between the first node device 900 and other devices in the foregoing embodiment, and support the first node.
  • the device 900 performs radio communication with other devices.
  • the processor 902 performs various functions for communicating with the first node device 900.
  • On the uplink uplink signals from other devices are received via the antenna, demodulated by the receiver 901 (eg, demodulating the high frequency signal into a baseband signal), and further processed by the processor 902 to recover the access router.
  • 900 is sent to the service data and signaling information.
  • traffic data and signaling messages are processed by processor 902 and modulated by transmitter 901 (e.g., modulating a baseband signal into a high frequency signal) to produce a downlink signal that is transmitted to the other via an antenna. device.
  • transmitter 901 e.g., modulating a baseband signal into a high frequency signal
  • the processor 902 is further configured to perform the corresponding steps in the foregoing method embodiments, and/or other processes of the technical solutions described in the embodiments of the present invention.
  • the first node device 900 may further include a memory 903 for storing program codes and data of the access router 900.
  • the access router 900 can also include a communication unit 904.
  • the communication unit 904 is configured to support the access router to communicate with the terminal.
  • the communication unit 904 may also be an S1-MME interface for supporting an access router to communicate with a Mobility Management Entity (MME).
  • MME Mobility Management Entity
  • FIG. 9 only shows a simplified design of the first node device 900.
  • the first node device 900 can include any number of transmitters, receivers, processors, controllers, memories, communication units, etc., and all access routers that can implement the embodiments of the present invention are implemented in the present invention. The scope of protection of the example.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of any network transmission control method described in the foregoing method embodiments.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例公开了一种网络传输控制方法及相关设备,所述方法应用于网络传输控制系统,所述网络传输控制系统包括源节点设备、第一节点设备以及第二节点设备,所述方法包括:所述第一节点设备接收来自所述源节点设备的第一报文,所述第一报文携带互联网协议操作、管理和维护IP OAM信息,所述IP OAM信息包括IP OAM命令;所述第一节点设备根据所述第一报文生成第二报文;所述第一节点设备向所述第二节点设备发送所述第二报文,所述第二节点设备为所述第一节点设备的下一跳节点设备。从而实现对E2E路径上所有节点设备的OAM信息的自动收集,提高OAM效率,并进一步提高对网络传输稳定性的控制。

Description

一种网络传输控制方法及相关设备
本申请要求于2016年12月16日提交中国专利局、申请号为201611170354.6、申请名称为“一种网络传输控制方法及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信领域,具体涉及一种网络传输控制方法及相关设备。
背景技术
随着网络越来越复杂,在一个网络中可能同时包括支持不同协议的设备,例如同时包括支持以太协议(Ethernet)的以太交换机(ETH Switch)、支持互联网协议(Internet Protocol,IP)的用户边缘(Customer Edge,CE)设备以及支持多协议标签交换协议的多协议标签交换运营商(Multiple Protocol Label Switch Provider,MPLS P)设备或多协议标签交换运营商边缘(Multiple Protocol Label Switch Provider Edge,MPLS PE)设备。此时经过该网络的端到端(end to end,E2E)业务需要穿越多个不同的协议网络和协议栈,为了对E2E业务进行管理与维护,需要获知该E2E业务所经过的网络节点的操作、管理和维护(Operation Administration and Maintenance,OAM)信息。
目前,由于没有统一的OAM技术,不同层网络节点之间使用不同的OAM协议与技术进行操作,然后再通过手动或自动的方式将不同网络节点的OAM信息进行关联。例如,对于IP/MPLS,先通过IP Internet控制报文协议(IP Internet Control Message Protocol,IP ICMP)获得IP转发中的OAM信息,但此时,并不能获得对应的MPLS的OAM信息,所以需要再通过ICMP tracert命令获得所经过的边缘(Provider Edge,PE)设备的IP,然后在PE设备上,通过MPLS ping命令,获得对应的MPLS信息,最后再将IP OAM以及MPLS OAM通过手动或运维支撑系统(Operations Support System,OSS)自动组合在一起。该操作过程复杂,OAM信息获取效率低,效果差。
发明内容
本发明实施例提供了一种网络传输控制方法及相关设备,以期可以自动收集包括不同协议设备的网络传输系统中的OAM信息。
第一方面,本发明实施例提供了一种网络传输控制方法,该方法应用于网络传输控制系统,该网络传输控制系统包括源节点设备、第一节点设备以及第二节点设备,该方法包括:第一节点设备接收来自源节点设备的第一报文,该第一报文携带互联网协议操作、管理和维护IP OAM信息,该IP OAM信息包括IP OAM命令;然后第一节点设备根据第一报文生成第二报文,该第二报文携带有第一报文的IP OAM信息以及第一节点设备的操作、管理和维护OAM信息,该第一节点设备的OAM信息包括OAM命令,该第一节点设备的OAM命令与IP OAM命令相同;然后第一节点设备再向第二节点设备发送第二报文,该第二节点设备为第一节点设备的下一跳节点设备。
本发明实施例提供的方案中,通过在由源节点设备发出的第一报文中携带IP OAM信息,使该第一报文经过的第一节点设备可以识别该第一报文并基于该OAM信息中 的IP OAM命令,确定第一节点设备的OAM信息的OAM命令,然后再在第一报文的基础上添加该第一节点设备的OAM信息生成第二报文。从而可以使该第一报文所经过的路径上的第一节点设备基于该OAM信息返回相应的OAM结果信息给源节点设备或OAM控制器,以实现对E2E路径上所有节点设备的OAM信息的自动收集,提高OAM效率,并进一步提高对网络传输稳定性的控制。
在一个可能的设计中,在第一节点设备向第二节点设备发送第二报文之前,该方法还包括:第一节点设备接收来自第二节点设备的通知消息,该通知消息用于指示所述第二节点设备所使用的转发类型;然后在第一节点设备确定所述第二节点设备所使用的转发类型和所述第一节点设备的转发类型不同的情况下,第一节点设备生成第二节点设备的OAM信息,该第二节点设备的OAM信息包括OAM命令;其中,该第二报文还包括第二节点设备的OAM信息,该第二节点设备的OAM信息中的OAM命令与IP OAM命令相同。当第一节点设备获取到第二节点设备的转发类型的情况下,此时可以将生成的第二报文发往第二节点设备之前,提前封装第二节点设备的OAM信息,然后再发往第二节点设备,使得第二节点设备可直接根据第二报文中的OAM信息给CE或者OAM控制器返回第二节点设备的OAM结果信息,提高OAM效率。
在一个可能的设计中,所述网络传输控制系统还包括第三节点设备,第三节点设备为第一节点设备的上一跳节点设备,该第一报文是经由第三节点设备转发的,来自源节点设备的报文,该第三节点设备为二层节点设备,该第一节点设备为三层节点设备,第一报文还携带第三节点设备的OAM信息,该第三节点设备的OAM信息包括OAM命令,该第三节点设备的OAM命令与IP OAM命令相同;
在所述第一节点设备根据所述第一报文生成第二报文中,该方法还包括:第一节点设备确定第一节点设备的转发方式为二层转发,第一节点设备在第一报文中增加第一节点设备的三层OAM信息以生成第二报文,该三层OAM信息包括三层OAM命令,该三层OAM命令与IP命令相同,第一节点设备的OAM信息包括第一节点设备的三层OAM信息;或者,
第一节点设备确定第一节点设备的转发方式为三层转发,第一节点设备从第一报文中删除第三节点设备的OAM信息,并增加第一节点设备的OAM信息,该第一节点设备的OAM信息为三层OAM信息。
通过上述方式,可以实现在第三节点设备为二层节点设备,第一节点设备为三层节点设备时,从包括第三节点设备的OAM信息的第一报文,生成包括第二节点设备的OAM信息的第二报文的过程。
在一个可能的设计中,该网络传输控制系统还包括第三节点设备,该第三节点设备为第一节点设备的上一跳节点设备,该第一报文是经由第三节点设备转发的,来自源节点设备的报文,该第三节点设备为三层节点设备,第一节点设备为二层节点设备,第一节点设备确定第三节点设备的转发方式为二层转发,第一报文还携带第三节点设备的OAM信息,该第三节点设备的OAM信息包括第三节点设备的二层OAM信息以及第三节点设备的三层OAM信息,该二层OAM信息包括二层OAM命令,该二层OAM命令与IP OAM命令相同,该三层OAM信息包括三层OAM命令,该三层OAM命令与IP OAM命令相同;
在第一节点设备根据第一报文生成第二报文中,该方法还包括:第一节点设备从第一报文中删除第三节点设备的三层OAM信息。
通过上述方式,可以实现在第三节点设备为三层节点设备且转发方式为二层转发,第一节点设备为三层节点设备时,从包括第三节点设备的OAM信息的第一报文,生成包括第二节点设备的OAM信息的第二报文的过程。
在一个可能的设计中,该网络传输控制系统还包括第三节点设备,该第三节点设备为第一节点设备的上一跳节点设备,该第一报文是经由第三节点设备转发的,来自源节点设备的报文,该第三节点设备为三层节点设备,该第一节点设备为二层节点设备,该第一节点设备确定第三节点设备的转发方式为三层转发,第一报文还携带第三节点设备的OAM信息,该第三节点设备的OAM信息包括第三节点设备的三层OAM信息,该三层OAM信息包括第三节点设备的三层OAM命令,该三层OAM命令与IPOAM命令相同;
在第一节点设备根据第一报文生成第二报文中,该方法还包括:第一节点设备从第一报文中删除三层OAM信息并增加第一节点设备的OAM信息,该第一节点设备的OAM信息二层OAM信息。
通过上述方式,可以实现在第三节点设备为三层节点设备且转发方式为三层转发,第一节点设备为三层节点设备时,从包括第三节点设备的OAM信息的第一报文,生成包括第二节点设备的OAM信息的第二报文的过程。
在一个可能的设计中,该网络传输控制系统还包括第三节点设备,该第三节点设备为第一节点设备的上一跳节点设备,该第一报文是经由第三节点设备转发的,来自源节点设备的报文,该第三节点设备为以太交换机ETH Switch,该第一节点设备为多协议标签交换运营商边缘MPLS PE设备,该第一报文还携带ETH OAM信息,该ETH OAM信息包括ETH OAM命令,该ETH OAM命令与所述IP OAM命令相同;
在第一节点设备根据第一报文生成第二报文中,该方法还包括:该第一节点设备确定第一节点设备的转发方式为二层转发,该第一节点设备在第一报文中增加MPLSOAM信息以生成第二报文,该MPLS OAM信息包括MPLS OAM命令,该MPLS OAM命令与IP命令相同,该MPLS OAM信息是第一节点设备的OAM信息;或者,第一节点设备确定第一节点设备的转发方式为三层转发,第一节点设备从第一报文中删除ETH OAM信息,并增加MPLS OAM信息,该第一节点设备的OAM信息为ETH OAM信息。从而实现在第三节点设备为ETH Switch,第一节点设备为MPLS PE设备设备时,从包括第三节点设备的OAM信息的第一报文,生成包括第二节点设备的OAM信息的第二报文的过程。
在一个可能的设计中,该网络传输控制系统还包括第三节点设备,该第三节点设备为该第一节点设备的上一跳节点设备,该第一报文是经由第三节点设备转发的,来自源节点设备的报文,该第三节点设备为多协议标签交换运营商边缘MPLS PE设备,该第一节点设备为以太交换机ETH Switch,该第一节点设备确定第三节点设备的转发方式为二层转发,该第一报文还携带MPLS PE的OAM信息,该MPLS PE的OAM信息包括ETH OAM信息以及MPLS OAM信息,该ETH OAM信息包括ETH OAM命令,该ETH OAM命令与该IP OAM命令相同,该MPLS OAM信息包括MPLS OAM命令, 该MPLS OAM命令与IP OAM命令相同;
在第一节点设备根据第一报文生成第二报文中,该方法还包括:第一节点设备从第一报文中删除该MPLS OAM信息。从而实现在第三节点设备为MPLS PE设备且转发方式为二层转发,第一节点设备为ETH Switch时,从包括第三节点设备的OAM信息的第一报文,生成包括第二节点设备的OAM信息的第二报文的过程。
在一个可能的设计中,该网络传输控制系统还包括第三节点设备,该第三节点设备为第一节点设备的上一跳节点设备,该第一报文是经由第三节点设备转发的,来自源节点设备的报文,该第三节点设备为多协议标签交换运营商边缘MPLS PE设备,该第一节点设备为以太交换机ETH Switch,第一节点设备确定MPLS PE设备的转发方式为三层转发,该第一报文还携带MPLS PE设备的OAM信息,该MPLS PE设备的OAM信息包括MPLS OAM信息,该MPLS OAM信息包括MPLS OAM命令,该MPLS OAM命令与IP OAM命令相同;
在第一节点设备根据第一报文生成第二报文中,该方法还包括:第一节点设备从第一报文中删除MPLS OAM信息并增加ETH Switch的OAM信息,该ETH Switch的OAM信息为ETH OAM信息。从而实现在第三节点设备为MPLS PE设备且转发方式为三层转发,第一节点设备为ETH Switch时,从包括第三节点设备的OAM信息的第一报文,生成包括第二节点设备的OAM信息的第二报文的过程。
在一个可能的设计中,第一节点设备根据第一报文生成第二报文之后,该法还包括:第一节点设备向源节点设备发送回应报文,该回应报文包括第二报文中的第一节点设备的OAM命令所对应的OAM结果。
在一个可能的设计中,第一节点设备根据第一报文生成第二报文之后,该法还包括:第一节点设备向OAM控制器发送回应报文,该回应报文包括第二报文中的第一节点设备的OAM命令所对应的OAM结果。
通过该方式,源节点设备或OAM控制器可以自动收集到E2E路径上的所有的节点设备OAM信息,并将各个信息关联起来,OAM信息获取效率高,网络传输管理方便。
第二方面,本发明实施例提供一种第一节点设备,该第一节点设备具有实现上述第一方面的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。
第三方面,本发明实施例提供一种第一节点设备,该第一节点设备包括处理器、接收器和发射器,所述处理器被配置为支持第一节点设备执行上述方法中相应的功能。所述接收器和发射器用于支持第一节点设备与其它设备之间的通信。进一步的,第一节点设备还可以包括存储器,所述存储器用于与处理器耦合,其保存第一节点设备必要的程序指令和数据。
第四方面,本发明实施例提供一种计算机存储介质,用于储存为上述用于第二方面所述的第一节点设备所用的计算机软件指令,其包含用于执行上述方面所设计的程序。
相较于现有技术,本发明实施例的方案中,通过在由源节点设备发出的第一报文中携带IP OAM信息,使该第一报文经过的第一节点设备可以识别该第一报文并基于 该OAM信息中的IP OAM命令,确定第一节点设备的OAM信息的OAM命令,然后再在第一报文的基础上添加该第一节点设备的OAM信息生成第二报文。从而可以使该第一报文所经过的路径上的第一节点设备基于该OAM信息返回相应的OAM结果信息给源节点设备或OAM控制器,以实现对E2E路径上所有节点设备的OAM信息的自动收集,提高OAM效率,并进一步提高对网络传输稳定性的控制。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种网络传输控制系统100的架构示意图;
图2-a是本发明实施例提供的一种网络传输控制方法的流程示意图;
图2-b是本发明实施例提供的另一种网络传输控制方法的流程示意图;
图3是本发明实施例提供的一种OAM信息示意图;
图4-a示出了本发明实施例提供的另一种OAM信息示意图;
图4-b示出了本发明实施例提供的又一种OAM信息示意图;
图5-a示出了本发明实施例提供的一种携带OAM信息的报文发送示意图;
图5-b示出了本发明实施例提供的另一种携带OAM信息的报文发送示意图;
图5-c示出了本发明实施例提供的又一种携带OAM信息的报文发送示意图;
图6-a是本发明实施例提供的一种报文生成示意图;
图6-b是本发明实施例提供的另一种报文生成示意图;
图6-c是本发明实施例提供的又一种报文生成示意图;
图6-d是本发明实施例提供的又一种报文生成示意图;
图7-a是本发明实施例提供的一种基于网络传输控制系统的IP ICMP报文示意图;
图7-b是本发明实施例提供的另一种基于网络传输控制系统的IP ICMP报文示意图;
图8是本发明实施例提供的一种第一节点设备的结构示意图;
图9为本发明实施例提供的另一种第一节点设备的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
为了更好的理解本发明技术方案,下面先对网络传输控制系统的架构进行简要描述。
首先参见图1,图1是本发明实施例提供的一种网络传输控制系统100的架构示意图,本发明实施例所提供的网络传输控制方法应用于该网络传输控制系统100上。如图1所示,该网络传输控制系统可以包括多个CE110、至少一个ETH Swithe120,至少一个MPLS PE130以及至少一个MPLS P140,基于该网络传输控制系统,一个E2E业务可以经过其中部分或者全部设备,也可以更进一步地在图1所示的网络传输控制系统上增加一个或多个ETH Swither120、一个或多个MPLS PE130,以及一个或多个 MPLS P140,均属于本发明实施例所提供的网络传输控制方法所使用的范畴。
在该网络传输控制系统中,不同类型的设备所使用的网络协议不同,例如,CE110基于IP协议进行数据传输,MPLS PE130或MPLS P140基于MPLS协议进行数据传输,ETH Swithe120基于以太协议进行数据传输,从而导致各不同类型设备所使用的OAM协议和技术也不相同。
为了对网络传输过程进行监控,可以通过OAM来获取各个设备的OAM信息以实现监控,但由于不同类型设备所使用的OAM协议和技术不同,互相之间不能直接关联,需要手动关联或者通过OSS适配关联,效率低,效果差。
例如,在手动关联的情况下,若要将一个网络中IP和MPLS的OAM信息关联起来时,可以先通过IP ICMP获得IP转发中的OAM信息,然后再通过ICMP tracert获得所经过的PE设备的IP,然后在PE设备上,通过MPLS ping,获得对应的MPLS信息,最后手动的组合在一起。
在自动关联时,可以是OSS,把上面的手动关联转换为自动关联,比如通过在OSS上运行IP ICMP,获得每个途径的每个节点上的IP地址,OSS知道每个设备的IP和网络位置,通过IP ICMP获得的IP地址,查询对应的PE节点,在PE节点上,启动MPLS PING,获得对应的网元上的MPLS信息,OSS再把这些获取到的信息依次关联起来。
由上可见,不管是手动关联还是自动关联,均需要在不同的设备上使用不同的OAM命令获取该设备的OAM信息,再分别对获取到的OAM信息进行组合,使得操作复杂,关联效率低。针对上述问题,本发明实施例提供了一种网络传输控制方法。下面进行详细说明。
在本发明实施例中,当通过OSS获取各节点设备的信息时,该网络传输控制系统还可以包括OAM控制器150,该OAM控制器150与各个网络设备连接,实现与各个网络设备的通信,从而可以用于分别从各个网络设备中获取该网络设备的OAM信息。
参见图2-a,图2-a是本发明实施例提供的一种网络传输控制方法的流程示意图,该网络传输控制方法应用于网络传输控制系统,所述网络传输控制系统包括源节点设备、第一节点设备以及第二节点设备,其中,该源节点设备可以为上述网络传输控制系统中的CE,第一节点设备可以为上述网络传输控制系统中的任一网络设备,第二节点设备为第一节点设备的下一跳节点设备,也可以为上述网络传输控制系统中的任一网络设备。如图2-a所示,该方法包括:
步骤S201、所述第一节点设备接收来自所述源节点设备的第一报文。
其中,所述第一报文携带IP OAM信息,所述IP OAM信息包括IP OAM命令。
可选地,在本发明的一个实施例中,该源节点设备可以是第一节点设备的上一跳节点设备,则第一节点设备将直接从源节点设备上接收到该第一报文。如此这样,第一节点设备可以被看作是通过链路或透传设备直接与源节点设备连接的节点设备。
可选地,在本发明的另一个实施例中,该源节点设备也可以是将第一报文通过至少一个中间节点设备传送给第一节点设备,则第一节点设备将不是直接从源节点设备上接收到该第一报文。如此这样,第一节点设备可以被看作是除与源节点设备直接连 接的设备之外的任意中间节点设备或目的节点设备。
可选地,在本发明的一个实施例中,该源节点设备可以为CE,该第一报文为IPICMP报文,具体地,此时源CE发送IP ICMP报文给目的CE时,使用IMCP协议号01,此时可以新定义一个协议类型,例如为50。
可以理解,该第一报文的所支持的传输协议为与所述源节点设备所支持的传输协议相同。
可选地,该第一报文还可以包括其它信息。具体地,参见图3、图4-a或图4-b,图3示出了本发明实施例提供的一种OAM信息示意图,图4-a示出了本发明实施例提供的另一种OAM信息示意图,图4-b示出了本发明实施例提供的又一种OAM信息示意图。如上图所示,可以看出,该第一报文中的IP OAM Paylaod用于承载IP OAM命令,该第一报文还可以包括IP OAM Header以及IP Header,其中,IP OAM Header也即IP OAM头,IP Header也即IP帧头。其中,该IP OAM Header用于当报文达到同一网络层次的目的设备时,该目的设备可以识别该IP OAM信息。例如,目的CE设备在接收到源CE设备发送的IP ICMP报文时,可以通过该IP OAM Header识别该IP OAM信息。
步骤S202、所述第一节点设备根据所述第一报文生成第二报文。
其中,所述第二报文携带有所述第一报文的IP OAM信息以及所述第一节点设备的操作、管理和维护OAM信息,所述第一节点设备的OAM信息包括OAM命令,所述第一节点设备的OAM命令与所述IP OAM命令相同。
具体地,该第一节点设备能够识别IP ICMP报文,所以能够识别第一报文中的IP OAM信息。第一节点设备再获取到IP OAM命令内容,并根据该IP OAM命令叠加与该IP OAM命令内容相同的,第一节点设备自身的OAM命令,以生成第二报文。
更进一步地,此时第一节点设备将根据该第二报文中OAM命令返回相应的OAM结果信息给源CE或者OAM控制器,以通过第一报文即可自动收集第一报文所经过的路径上节点的OAM信息。
可选地,在本发明的一个实施例中,该第一节点设备可以为二层节点设备,例如为ETH Switch,此时该第一节点设备的OAM信息为ETH OAM信息。由于该ETH Switch可以识别IP ICMP报文,所以基于IP ICMP中的IP命令,可确定ETH OAM命令内容。
具体地,参见图3,若该第一节点设备为ETH Switch,该第二报文在第一报文的基础上叠加第一节点设备的OAM信息。该第一节点设备的OAM信息中的OAM Paylaod用于承载第一节点设备的OAM命令,此时为ETH OAM命令,该ETH OAM命令的内容与IP OAM命令的内容相同。例如,若IP OAM命令为路由跟踪命令Tracert,则该ETH OAM命令的内容也为路由跟踪命令Tracert,当然命令的具体承载形式根据报文所规定的格式进行更改,本发明实施例不做限定。
可选地,该第一节点设备的OAM信息还可以包括其它信息。参见图3,例如,还可以包括ETH OAM Header和ETH Header,其中,ETH OAM Header也即以太OAM头,ETH Header也即以太帧头。
可选地,在本发明的另一个实施例中,该第一节点设备还可以为三层节点设备, 例如为MPLS PE或MPLS P,若该MPLS PE或MPLS P支持的转发方式为二层转发,根据IP协议转发方式可以确定,此时该第一节点设备的OAM信息为ETH OAM信息以及MPLS OAM信息。由于该MPLS PE或MPLS P可以识别IP ICMP报文,所以基于IP ICMP中的IP命令,可确定ETH OAM命令内容以及MPLS OAM命令内容。该ETH Switch OAM信息中将包括ETH OAM命令,该ETH OAM命令与IP OAM命令相同,该MPLS OAM信息中将包括MPLS OAM命令,该MPLS OAM命令与IP OAM命令相同。
具体地,参见图4-a,可以看出,该第二报文在第一报文的基础上叠加第一节点设备的OAM信息,该第一节点设备的OAM信息包括ETH OAM信息以及MPLS OAM信息,该ETH OAM信息中的ETH OAM Paylaod用于承载第一节点设备的OAM命令,此时为ETH OAM命令,该ETH OAM命令的内容与IP OAM命令的内容相同。例如,若IP OAM命令为路由跟踪命令Tracert,则该ETH OAM命令的内容也为路由跟踪命令Tracert。该MPLS OAM信息中的MPLS OAM Paylaod用于承载第一节点设备的OAM命令,此时为MPLS OAM命令,该MPLS OAM命令的内容与IP OAM命令的内容相同。例如,若IP OAM命令为路由跟踪命令Tracert,则该ETH OAM命令的内容也为路由跟踪命令Tracert。当然命令的具体承载形式根据报文所规定的格式进行更改,本发明实施例不做限定。
可选地,若该MPLS PE或MPLS P支持的转发方式为三层转发,根据IP协议转发可以确定,此时该第一节点设备的OAM信息为ETH Switch OAM信息。该ETH Switch OAM信息中将包括ETH OAM命令,该ETH OAM命令与IP OAM命令相同。
可选地,若该MPLS PE或MPLE P支持的转发方式为三层转发时,该第一节点设备的OAM信息也可以包括MPLS OAM信息,但此时基于该MPLS OAM信息并没有实质意义,也即此时并不会基于该MPLS OAM信息返回相应的OAM信息。
可选地,该第一节点设备的OAM信息还可以包括其它信息。例如,还可以包括ETH OAM Header和ETH Header。其中,ETH OAM Header也即以太OAM头,ETH Header也即以太帧头。以及还包括MPLS OAM Header和MPLS Header,其中,MPLS OAM Header也即MPLS OAM头,MPLS Header也即MPLS头。
具体地,参见图4-b,可以看出,该第二报文在第一报文的基础上叠加第一节点设备的OAM信息,该第一节点设备的OAM信息包括ETH OAM信息,该ETH OAM信息中的ETH OAM Paylaod用于承载第一节点设备的OAM命令,此时为ETH OAM命令,该ETH OAM命令的内容与IP OAM命令的内容相同。例如,若IP OAM命令为路由跟踪命令Tracert,则该ETH OAM命令的内容也为路由跟踪命令Tracert。当然命令的具体承载形式根据报文所规定的格式进行更改,本发明实施例不做限定。
可选地,该第一节点设备的OAM信息还可以包括其它信息。参见图4-b,例如,还可以包括ETH OAM Header和ETH Header。其中,ETH OAM Header也即以太OAM头,ETH Header也即以太帧头。
可选地,该第一节点设备也可以认为是CE设备,此时该第一节点设备的OAM信息为空,此时可以认为不在第一报文中添加任何新的OAM信息。
步骤S203、所述第一节点设备向所述第二节点设备发送所述第二报文。
可以看出,本发明实施例通过在由源节点设备发出的第一报文中携带IP OAM信息,使该第一报文经过的第一节点设备可以识别该第一报文并基于该OAM信息中的IP OAM命令,确定第一节点设备的OAM信息的OAM命令,然后再在第一报文的基础上添加该第一节点设备的OAM信息生成第二报文。从而可以使该第一报文所经过的路径上的第一节点设备基于该OAM信息返回相应的OAM结果信息给源节点设备或OAM控制器,以实现对E2E路径上所有节点设备的OAM信息的自动收集,提高OAM效率,并进一步提高对网络传输稳定性的控制。
可选地,在本发明的一个实施例中,在所述第一节点设备向所述第二节点设备发送所述第二报文之前,所述方法还包括步骤S204-步骤S206。参见图2-b,图2-b是本发明实施例提供的另一种网络传输控制方法的流程示意图。该流程示意图示出了当第一节点设备可以提前获第二节点设备的转发方式的情景下的网络传输控制方法。详述如下。
步骤S204、所述第一节点设备接收来自所述第二节点设备的通知消息。
其中,所述通知消息用于指示所述第二节点设备所使用的转发类型。
其中,转发类型用于标识该第二节点设备所使用的转发协议,以及在该转发协议下转发方式具体为二层转发或者三层转发。
可选地,在本发明的一个实施例中,若该第二节点设备为ETH Switch,该通知消息指示该第二节点设备所使用的转发类型为以太二层转发。
可选地,在本发明的另一个实施例中,若该第二节点设备为MPLS PE,或MPLS P,该通知消息可以指示该第二节点设备所使用的转发类型为MPLS标签二层转发或者MPLS标签三层转发。
可选地,在本发明的一个实施例中,若该第二节点设备为CE,则该通知消息可以指示该第二节点设备所使用的转发类型为IP路由转发。
可选地,在本发明的一个实施例中,第一节点设备通过链路层发现协议(Link Layer Discovery Protocol,LLDP)获取到第二节点设备所使用的转发类型。具体地,此时,该通知消息可以为邻居发现消息。
可选地,在本发明的其它实施例中,第一节点设备也可以通过其它方式获取第二节点设备的类型方式。
需要说明,此时,该第一节点设备也可以为源节点设备。也即源节点设备可以获得其下一跳节点设备的转发类型,并提前封装下一跳节点设备的OAM信息。
步骤S205、所述第一节点设备确定所述第二节点设备所使用的转发类型和所述第一节点设备的转发类型不同,生成所述第二节点设备的OAM信息。所述第二节点设备的OAM信息包括OAM命令。
其中,所述第二报文还包括所述第二节点设备的OAM信息,所述第二节点设备的OAM信息中的OAM命令与所述IP OAM命令相同。
在本发明实施例中,当第一节点设备获取到第二节点设备的转发类型,此时可以将生成的第二报文发往第二节点设备之前,提前封装第二节点设备的OAM信息。也即可以认为此时删除第二报文中的第一节点设备的OAM信息,并增加第二节点设备的OAM信息,然后再发往第二节点设备。使得第二节点设备可直接根据第二报文中 的OAM信息给CE或者OAM控制器返回第二节点设备的OAM结果信息。
需要说明,第二节点设备的OAM信息的确定方式与上述步骤S202中对第一节点设备的OAM信息的确定方式相同,即根据第二节点设备的设备类型与转发类型进行确定,此处不再赘述。具体可参见图5-a、图5-b以及图5-c。图5-a示出了本发明实施例提供的一种携带OAM信息的报文发送示意图,图5-b示出了本发明实施例提供的另一种携带OAM信息的报文发送示意图,图5-b中,以第一节点设备为CE设备,第二节点设备为ETH Switch设备为例进行说明;图5-c示出了本发明实施例提供的又一种携带OAM信息的报文发送示意图,在图5-c中,以第一节点设备为ETH Swtich设备,第二节点设备为二层转发的MPLS PE进行说明。
可选地,在本发明的一个实施例中,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为二层节点设备,所述第一节点设备为三层节点设备,所述第一报文还携带所述第三节点设备的OAM信息,所述第三节点设备的OAM信息包括OAM命令,所述第三节点设备的OAM命令与所述IP OAM命令相同;
在所述第一节点设备根据所述第一报文生成第二报文中,所述方法还包括:
所述第一节点设备确定所述第一节点设备的转发方式为二层转发,所述第一节点设备在所述第一报文中增加所述第一节点设备的三层OAM信息以生成所述第二报文,所述三层OAM信息包括三层OAM命令,所述三层OAM命令与所述IP命令相同,所述第一节点设备的OAM信息包括所述第一节点设备的三层OAM信息;或者,
所述第一节点设备确定所述第一节点设备的转发方式为三层转发,所述第一节点设备从所述第一报文中删除所述第三节点设备的OAM信息,并增加所述第一节点设备的OAM信息,所述第一节点设备的OAM信息为三层OAM信息。
具体地,若所述第三节点设备为以太交换机ETH Switch,所述第一节点设备为多协议标签交换运营商边缘MPLS PE设备,所述第一报文还携带ETH OAM信息,所述ETH OAM信息包括ETH OAM命令,所述ETH OAM命令与所述IP OAM命令相同;
在所述第一节点设备根据所述第一报文生成第二报文中,所述方法还包括:
所述第一节点设备确定所述第一节点设备的转发方式为二层转发,所述第一节点设备在所述第一报文中增加MPLS OAM信息以生成所述第二报文,所述MPLS OAM信息包括MPLS OAM命令,所述MPLS OAM命令与所述IP命令相同,所述MPLS OAM信息是所述第一节点设备的OAM信息,具体地,可参见图6-a,图6-a是本发明实施例提供的一种报文生成示意图。
或者,所述第一节点设备确定所述第一节点设备的转发方式为三层转发,所述第一节点设备从所述第一报文中删除所述ETH OAM信息,并增加所述MPLS OAM信息,所述第一节点设备的OAM信息为ETH OAM信息。具体地,可参见图6-b,图6-b是本发明实施例提供的另一种报文生成示意图。
可以理解,通过上述方式,可以实现在第三节点设备为二层节点设备,第一节点设备为三层节点设备时,从包括第三节点设备的OAM信息的第一报文,生成包括第二节点设备的OAM信息的第二报文的过程。
可选地,在本发明的一个实施例中,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为三层节点设备,所述第一节点设备为二层节点设备,所述第一节点设备确定所述第三节点设备的转发方式为二层转发,所述第一报文还携带所述第三节点设备的OAM信息,所述第三节点设备的OAM信息包括所述第三节点设备的二层OAM信息以及所述第三节点设备的三层OAM信息,所述二层OAM信息包括二层OAM命令,所述二层OAM命令与所述IP OAM命令相同,所述三层OAM信息包括三层OAM命令,所述三层OAM命令与所述IP OAM命令相同;
在所述第一节点设备根据所述第一报文生成第二报文中,所述方法还包括:
所述第一节点设备从所述第一报文中删除所述第三节点设备的三层OAM信息。
具体地,若所述第三节点设备为多协议标签交换运营商边缘MPLS PE设备,所述第一节点设备为以太交换机ETH Switch,所述第一节点设备确定所述第三节点设备的转发方式为二层转发,所述第一报文还携带所述MPLS PE的OAM信息,所述MPLS PE的OAM信息包括ETH OAM信息以及MPLS OAM信息,所述ETH OAM信息包括ETH OAM命令,所述ETH OAM命令与所述IP OAM命令相同,所述MPLS OAM信息包括MPLS OAM命令,所述MPLS OAM命令与所述IP OAM命令相同;
在所述第一节点设备根据所述第一报文生成第二报文中,所述方法还包括:
所述第一节点设备从所述第一报文中删除所述MPLS OAM信息。具体地,可参见图6-c,图6-c是本发明实施例提供的又一种报文生成示意图。
可以理解,通过上述方式,可以实现在第三节点设备为三层节点设备且转发方式为二层转发,第一节点设备为三层节点设备时,从包括第三节点设备的OAM信息的第一报文,生成包括第二节点设备的OAM信息的第二报文的过程。
可选地,在本发明的一个实施例中,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为三层节点设备,所述第一节点设备为二层节点设备,所述第一节点设备确定所述第三节点设备的转发方式为三层转发,所述第一报文还携带所述第三节点设备的OAM信息,所述第三节点设备的OAM信息包括第三节点设备的三层OAM信息,所述三层OAM信息包括所述第三节点设备的三层OAM命令,所述三层OAM命令与所述IP OAM命令相同;
在所述第一节点设备根据所述第一报文生成第二报文中,所述方法还包括:
所述第一节点设备从所述第一报文中删除所述三层OAM信息并增加所述第一节点设备的OAM信息,所述第一节点设备的OAM信息二层OAM信息。
具体地,若所述第三节点设备为多协议标签交换运营商边缘MPLS PE设备,所述第一节点设备为以太交换机ETH Switch,其特征在于:
所述第一节点设备确定所述MPLS PE设备的转发方式为三层转发,所述第一报文还携带所述MPLS PE设备的OAM信息,所述MPLS PE设备的OAM信息包括MPLS OAM信息,所述MPLS OAM信息包括MPLS OAM命令,所述MPLS OAM命令与所述IP OAM命令相同;
在所述第一节点设备根据所述第一报文生成第二报文中,所述方法还包括:
所述第一节点设备从所述第一报文中删除所述MPLS OAM信息并增加所述ETH Switch的OAM信息,所述ETH Switch的OAM信息为ETH OAM信息。
具体地,可参见图6-d,图6-d是本发明实施例提供的又一种报文生成示意图。
可以理解,通过上述方式,可以实现在第三节点设备为三层节点设备且转发方式为三层转发,第一节点设备为三层节点设备时,从包括第三节点设备的OAM信息的第一报文,生成包括第二节点设备的OAM信息的第二报文的过程。
可选地,在本发明的一个实施例中,所述第一节点设备根据所述第一报文生成第二报文之后,所述方法还包括:
步骤S206、所述第一节点设备向所述源节点设备发送回应报文。所述回应报文包括所述第二报文中的所述第一节点设备的OAM命令所对应的OAM结果。
可选地,在本发明的另一个实施例中,所述第一节点设备根据所述第一报文生成第二报文之后,所述方法还包括:
所述第一节点设备向OAM控制器发送回应报文,所述回应报文包括所述第二报文中的所述第一节点设备的OAM命令所对应的OAM结果。
具体地,在本发明的一个实施例中,该回应报文为IP ICMP报文。
具体地,在本发明的一个实施例中,若该OAM命令为路由跟踪命令tracert,则可以返回trace结果信息给源节点设备或OAM控制器。
可以理解,当第一节点设备根据第一报文生成第二报文之后,由于第二报文中包括第一节点设备的OAM信息,从而基于该OAM信息可以获取到相应的OAM结果,然后第一节点设备再向源节点设备或OAM控制器发送一携带该OAM结果的报文。在本发明实施例中,由于第一节点设备可以为E2E路径上的所有节点设备,所以通过该方式,源节点设备或OAM控制器可以自动收集到E2E路径上的所有的节点设备OAM信息,并将各个信息关联起来,OAM信息获取效率高,网络传输管理方便。
为了更好地理解本方案,下面举一个具体的例子进行说明。参见图7-a和图7-b,图7-a是本发明实施例提供的一种基于网络传输控制系统的IP ICMP报文示意图,图7-b是本发明实施例提供的另一种基于网络传输控制系统的IP ICMP报文示意图。其中,在图7-a中,该网络传输控制系统中的MPLS P以及MPLS PE的转发方式为二层转发,在图7-b中,该网络传输控制系统中的MPLS P以及MPLS PE的转发方式为三层转发。如图7-a和图7-b所示,为了获得该E2E路径上的所有节点设备的路由信息,执行如下流程:
1、首先由CE1发出一ICMP报文给ETH Switch2,该IP ICMP报中添加增加IP OAM TLV(Type Length Value),具体可以为一路由跟踪命令Tracert,用于指示返回该E2E路径上所有路由节点的路由信息,该IP ICMP报文按照标准的处理,封装相应的ETH Header,发送至2;
2、ETH Switch2从CE1接收到该IP ICMP报文后,需要识别IP OAM协议,并把IP ICMP中的tracert要求转变为ETH OAM的MAC Tracert,生成新的IP ICMP报文并发送给MPLS P3;同时,ETH Switch2把该报文增加对应的trace结果信息,返回 给OAM控制器或者CE;
3、对于图7-a中MPLS PE3为二层转发时,MPLS PE3在ETH Switch2发送过来的报文中删除ETH OAM信息并增加MPLS OAM信息生成新的IP ICMP报文,发送给MPLS P4,同时,MPLS PE3把该报文增加对应的trace结果信息,返回给OAM控制器或者CE1;
对于图7-b中MPLS PE3为三层转发时,MPLS PE3在ETH Switch2发送过来的报文中增加MPLS OAM信息生成新的IP ICMP报文,发送给MPLS P4。同时,MPLS PE3把该报文增加对应的trace结果信息,返回给OAM控制器或者CE1;
4、MPLS P4在接收到的MPLS PE3发送的IP ICMP报文中增加对应的trace结果信息,返回给OAM控制器或者CE1;同时发送该IP ICMP报文给MPLS PE5;
5、MPLS EP5在接收到MPLS P4发送的IP ICMP报文中增加对应的trace结果信息,返回给OAM控制器或者CE1;同时发送该IP ICMP报文给ETH Switch6;
6、ETH Switch6在接收到MPLS EP5发送的IP ICMP报文时,识别该IP OAM协议,并删除MPLS OAM信息生成新的IP ICMP报文,发送给CE1,同时,ETH Switch6把该报文增加对应的trace结果信息,返回给OAM控制器或者CE1;
7、CE1在从ETH Switch6接收到的IP ICMP报文后,增加对应的trace结果信息,返回给OAM控制器或者CE1。
需要说明,在本发明实施例中,第一节点设备可以为上述节点设备1-6中的任一一个。
通过上述流程,从而实现通过一IP ICMP自动收集E2E路径上的所有trace结果信息,操作方便,OAM信息收集效率高。
参见图8,图8是本发明实施例提供的一种第一节点设备的结构示意图,用于实现本发明实施例公开的网络传输控制方法,所述第一节点设备属于网络传输控制系统100。其中,如图8所示,本发明实施例提供的一种第一节点设备800可以包括:
接收单元810、生成单元820和发送单元830。
接收单元810,用于接收来自所述源节点设备的第一报文,所述第一报文携带互联网协议操作、管理和维护IP OAM信息,所述IP OAM信息包括IP OAM命令;
生成单元820,用于根据所述第一报文生成第二报文,所述第二报文携带有所述第一报文的IP OAM信息以及所述第一节点设备800的操作、管理和维护OAM信息,所述第一节点设备800的OAM信息包括OAM命令,所述第一节点设备800的OAM命令与所述IP OAM命令相同;
发送单元830,用于向所述第二节点设备发送所述第二报文,所述第二节点设备为所述第一节点设备800的下一跳节点设备。
可选地,在本发明的一个实施例中,所述接收单元810还用于接收来自所述第二节点设备的通知消息,所述通知消息用于指示所述第二节点设备所使用的转发协议;
所述生成单元820还用于确定所述第二节点设备所使用的转发协议和所述第一节点设备800的转发协议不同,生成所述第二节点设备的OAM信息,所述第二节点设备的OAM信息包括OAM命令;
其中,所述第二报文还包括所述第二节点设备的OAM信息,所述第二节点设备的OAM信息中的OAM命令与所述IP OAM命令相同。
可选地,在本发明的一个实施例中,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备800的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为二层节点设备,所述第一节点设备800为三层节点设备:
所述第一报文还携带所述第三节点设备的OAM信息,所述第三节点设备的OAM信息包括OAM命令,所述第三节点设备的OAM命令与所述IP OAM命令相同;
所述生成单元820,具体用于确定所述第一节点设备800的转发方式为二层转发,所述第一节点设备800在所述第一报文中增加所述第一节点设备800的三层OAM信息以生成所述第二报文,所述三层OAM信息包括三层OAM命令,所述三层OAM命令与所述IP命令相同,所述第一节点设备800的OAM信息包括所述第一节点设备800的三层OAM信息;或者,
确定所述第一节点设备800的转发方式为三层转发,所述第一节点设备800从所述第一报文中删除所述第三节点设备的OAM信息,并增加所述第一节点设备800的OAM信息,所述第一节点设备800的OAM信息为三层OAM信息。
可选地,在本发明的一个实施例中,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备800的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为三层节点设备,所述第一节点设备800为二层节点设备:
所述第一节点设备800确定所述第三节点设备的转发方式为二层转发,所述第一报文还携带所述第三节点设备的OAM信息,所述第三节点设备的OAM信息包括所述第三节点设备的二层OAM信息以及所述第三节点设备的三层OAM信息,所述二层OAM信息包括二层OAM命令,所述二层OAM命令与所述IP OAM命令相同,所述三层OAM信息包括三层OAM命令,所述三层OAM命令与所述IP OAM命令相同;
所述生成单元820具体用于从所述第一报文中删除所述第三节点设备的三层OAM信息。
可选地,在本发明的一个实施例中,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备800的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为三层节点设备,所述第一节点设备800为二层节点设备:
所述第一节点设备800确定所述第三节点设备的转发方式为三层转发,所述第一报文还携带所述第三节点设备的OAM信息,所述第三节点设备的OAM信息包括第三节点设备的三层OAM信息,所述三层OAM信息包括所述第三节点设备的三层OAM命令,所述三层OAM命令与所述IP OAM命令相同;
所述生成单元820具体用于从所述第一报文中删除所述三层OAM信息并增加所述第一节点设备800的OAM信息,所述第一节点设备800的OAM信息二层OAM信息。
可选地,在本发明的一个实施例中,所述网络传输控制系统还包括第三节点设备, 所述第三节点设备为所述第一节点设备800的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为以太交换机ETH Switch,所述第一节点设备800为多协议标签交换运营商边缘MPLS PE设备:
所述第一报文还携带ETH OAM信息,所述ETH OAM信息包括ETH OAM命令,所述ETH OAM命令与所述IP OAM命令相同;
所述生成单元820具体用于:
所述第一节点设备800确定所述第一节点设备800的转发方式为二层转发,在所述第一报文中增加MPLS OAM信息以生成所述第二报文,所述MPLS OAM信息包括MPLS OAM命令,所述MPLS OAM命令与所述IP命令相同,所述MPLS OAM信息是所述第一节点设备800的OAM信息;或者,
所述第一节点设备800确定所述第一节点设备800的转发方式为三层转发,从所述第一报文中删除所述ETH OAM信息,并增加所述MPLS OAM信息,所述第一节点设备800的OAM信息为ETH OAM信息。
可选地,在本发明的一个实施例中,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备800的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为多协议标签交换运营商边缘MPLS PE设备,所述第一节点设备800为以太交换机ETH Switch:
所述第一节点设备800确定所述第三节点设备的转发方式为二层转发,所述第一报文还携带所述MPLS PE的OAM信息,所述MPLS PE的OAM信息包括ETH OAM信息以及MPLS OAM信息,所述ETH OAM信息包括ETH OAM命令,所述ETH OAM命令与所述IP OAM命令相同,所述MPLS OAM信息包括MPLS OAM命令,所述MPLS OAM命令与所述IP OAM命令相同;
所述生成单元820具体用于从所述第一报文中删除所述MPLS OAM信息。
可选地,在本发明的一个实施例中,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备800的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为多协议标签交换运营商边缘MPLS PE设备,所述第一节点设备800为以太交换机ETH Switch:
所述第一节点设备800确定所述MPLS PE设备的转发方式为三层转发,所述第一报文还携带所述MPLS PE设备的OAM信息,所述MPLS PE设备的OAM信息包括MPLS OAM信息,所述MPLS OAM信息包括MPLS OAM命令,所述MPLS OAM命令与所述IP OAM命令相同;
所述生成单元820具体用于从所述第一报文中删除所述MPLS OAM信息并增加所述ETH Switch的OAM信息,所述ETH Switch的OAM信息为ETH OAM信息。
可选地,在本发明的一个实施例中,所述发送单元830还用于向所述源节点设备发送回应报文,所述回应报文包括所述第二报文中的所述第一节点设备800的OAM命令所对应的OAM结果。
可选地,在本发明的一个实施例中,所述发送单元830所述发送单元还用于向OAM控制器发送回应报文,所述回应报文包括所述第二报文中的所述第一节点设备 800的OAM命令所对应的OAM结果。
可以看出,本实施例的方案中,通过在由源节点设备发出的第一报文中携带IP OAM信息,使该第一报文经过的第一节点设备800可以识别该第一报文并基于该OAM信息中的IP OAM命令,确定第一节点设备800的OAM信息的OAM命令,然后再在第一报文的基础上添加该第一节点设备800的OAM信息生成第二报文。从而可以使该第一报文所经过的路径上的第一节点设备800基于该OAM信息返回相应的OAM结果信息给源节点设备或OAM控制器,以实现对E2E路径上所有节点设备的OAM信息的自动收集,提高OAM效率,并进一步提高对网络传输稳定性的控制。
在本实施例中,第一节点设备800是以单元的形式来呈现。这里的“单元”可以指特定应用集成电路(application-specific integrated circuit,ASIC),执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。
可以理解的是,本实施例的第一节点设备800的各功能单元的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。
参见图9,参见图9,图9为本发明实施例提供的另一种第一节点设备的结构示意图,如图9所示,该第一节点设备900包括:
发射器/接收器901和处理器902。其中,处理器902也可以为控制器,图9中表示为“控制器/处理器902”。所述发射器/接收器901用于支持接入路由器900(具体可以为PGW或边缘节点)与上述实施例中的第一节点设备900和其它设备之间收发信息,以及支持所述第一节点设备900与其他设备之间进行无线电通信。所述处理器902执行各种用于与第一节点设备900通信的功能。在上行链路,来自其它设备的上行链路信号经由天线接收,由接收器901进行解调(例如将高频信号解调为基带信号),并进一步由处理器902进行处理来恢复接入路由器900所发送到业务数据和信令信息。在下行链路上,业务数据和信令消息由处理器902进行处理,并由发射器901进行调制(例如将基带信号调制为高频信号)来产生下行链路信号,并经由天线发射给其它设备。需要说明的是,上述解调或调制的功能也可以由处理器902完成。例如,处理器902还用于执行上述方法实施例中的相应步骤,和/或本发明实施例所描述的技术方案的其他过程。
进一步的,第一节点设备900还可以包括存储器903,存储器903用于存储接入路由器900的程序代码和数据。此外,接入路由器900还可以包括通信单元904。通信单元904用于支持接入路由器与终端进行通信。例如,在LTE系统中,该通信单元904也可以是S1-MME接口,用于支持接入路由器与移动性管理实体(Mobility Management Entity,MME)进行通信。
可以理解的是,图9仅仅示出了第一节点设备900的简化设计。在实际应用中,第一节点设备900可以包含任意数量的发射器,接收器,处理器,控制器,存储器,通信单元等,而所有可以实现本发明实施例的接入路由器都在本发明实施例的保护范围之内。
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何网络传输控制方法的部分或全部步骤。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明的各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (20)

  1. 一种网络传输控制方法,其特征在于,所述方法应用于网络传输控制系统,所述网络传输控制系统包括源节点设备、第一节点设备以及第二节点设备,所述方法包括:
    所述第一节点设备接收来自所述源节点设备的第一报文,所述第一报文携带互联网协议操作、管理和维护IP OAM信息,所述IP OAM信息包括IP OAM命令;
    所述第一节点设备根据所述第一报文生成第二报文,所述第二报文携带有所述第一报文的IP OAM信息以及所述第一节点设备的操作、管理和维护OAM信息,所述第一节点设备的OAM信息包括OAM命令,所述第一节点设备的OAM命令与所述IP OAM命令相同;
    所述第一节点设备向所述第二节点设备发送所述第二报文,所述第二节点设备为所述第一节点设备的下一跳节点设备。
  2. 根据权利要求1所述的方法,其特征在于,在所述第一节点设备向所述第二节点设备发送所述第二报文之前,所述方法还包括:
    所述第一节点设备接收来自所述第二节点设备的通知消息,所述通知消息用于指示所述第二节点设备所使用的转发类型;
    所述第一节点设备确定所述第二节点设备所使用的转发类型和所述第一节点设备的转发类型不同,生成所述第二节点设备的OAM信息,所述第二节点设备的OAM信息包括OAM命令;
    其中,所述第二报文还包括所述第二节点设备的OAM信息,所述第二节点设备的OAM信息中的OAM命令与所述IP OAM命令相同。
  3. 根据权利要求1或2所述的方法,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为二层节点设备,所述第一节点设备为三层节点设备,其特征在于:
    所述第一报文还携带所述第三节点设备的OAM信息,所述第三节点设备的OAM信息包括OAM命令,所述第三节点设备的OAM命令与所述IP OAM命令相同;
    在所述第一节点设备根据所述第一报文生成第二报文中,所述方法还包括:
    所述第一节点设备确定所述第一节点设备的转发方式为二层转发,所述第一节点设备在所述第一报文中增加所述第一节点设备的三层OAM信息以生成所述第二报文,所述三层OAM信息包括三层OAM命令,所述三层OAM命令与所述IP命令相同,所述第一节点设备的OAM信息包括所述第一节点设备的三层OAM信息;或者,
    所述第一节点设备确定所述第一节点设备的转发方式为三层转发,所述第一节点设备从所述第一报文中删除所述第三节点设备的OAM信息,并增加所述第一节点设备的OAM信息,所述第一节点设备的OAM信息为三层OAM信息。
  4. 根据权利要求1或2所述的方法,所述网络传输控制系统还包括第三节点设备, 所述第三节点设备为所述第一节点设备的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为三层节点设备,所述第一节点设备为二层节点设备,其特征在于:
    所述第一节点设备确定所述第三节点设备的转发方式为二层转发,所述第一报文还携带所述第三节点设备的OAM信息,所述第三节点设备的OAM信息包括所述第三节点设备的二层OAM信息以及所述第三节点设备的三层OAM信息,所述二层OAM信息包括二层OAM命令,所述二层OAM命令与所述IP OAM命令相同,所述三层OAM信息包括三层OAM命令,所述三层OAM命令与所述IP OAM命令相同;
    在所述第一节点设备根据所述第一报文生成第二报文中,所述方法还包括:
    所述第一节点设备从所述第一报文中删除所述第三节点设备的三层OAM信息。
  5. 根据权利要求1或2所述的方法,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为三层节点设备,所述第一节点设备为二层节点设备,其特征在于:
    所述第一节点设备确定所述第三节点设备的转发方式为三层转发,所述第一报文还携带所述第三节点设备的OAM信息,所述第三节点设备的OAM信息包括第三节点设备的三层OAM信息,所述三层OAM信息包括所述第三节点设备的三层OAM命令,所述三层OAM命令与所述IP OAM命令相同;
    在所述第一节点设备根据所述第一报文生成第二报文中,所述方法还包括:
    所述第一节点设备从所述第一报文中删除所述三层OAM信息并增加所述第一节点设备的OAM信息,所述第一节点设备的OAM信息二层OAM信息。
  6. 根据权利要求1或2所述的方法,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为以太交换机ETH Switch,所述第一节点设备为多协议标签交换运营商边缘MPLS PE设备,其特征在于:
    所述第一报文还携带ETH OAM信息,所述ETH OAM信息包括ETH OAM命令,所述ETH OAM命令与所述IP OAM命令相同;
    在所述第一节点设备根据所述第一报文生成第二报文中,所述方法还包括:
    所述第一节点设备确定所述第一节点设备的转发方式为二层转发,所述第一节点设备在所述第一报文中增加MPLS OAM信息以生成所述第二报文,所述MPLS OAM信息包括MPLS OAM命令,所述MPLS OAM命令与所述IP命令相同,所述MPLS OAM信息是所述第一节点设备的OAM信息;或者,
    所述第一节点设备确定所述第一节点设备的转发方式为三层转发,所述第一节点设备从所述第一报文中删除所述ETH OAM信息,并增加所述MPLS OAM信息,所述第一节点设备的OAM信息为ETH OAM信息。
  7. 根据权利要求1或2所述的方法,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为多协议标签交换运营商边缘MPLS PE设备,所述第一节点设备为以太交换机ETH Switch,其特征在于:
    所述第一节点设备确定所述第三节点设备的转发方式为二层转发,所述第一报文还携带所述MPLS PE的OAM信息,所述MPLS PE的OAM信息包括ETH OAM信息以及MPLS OAM信息,所述ETH OAM信息包括ETH OAM命令,所述ETH OAM命令与所述IP OAM命令相同,所述MPLS OAM信息包括MPLS OAM命令,所述MPLS OAM命令与所述IP OAM命令相同;
    在所述第一节点设备根据所述第一报文生成第二报文中,所述方法还包括:
    所述第一节点设备从所述第一报文中删除所述MPLS OAM信息。
  8. 根据权利要求1或2所述的方法,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为多协议标签交换运营商边缘MPLS PE设备,所述第一节点设备为以太交换机ETH Switch,其特征在于:
    所述第一节点设备确定所述MPLS PE设备的转发方式为三层转发,所述第一报文还携带所述MPLS PE设备的OAM信息,所述MPLS PE设备的OAM信息包括MPLS OAM信息,所述MPLS OAM信息包括MPLS OAM命令,所述MPLS OAM命令与所述IP OAM命令相同;
    在所述第一节点设备根据所述第一报文生成第二报文中,所述方法还包括:
    所述第一节点设备从所述第一报文中删除所述MPLS OAM信息并增加所述ETH Switch的OAM信息,所述ETH Switch的OAM信息为ETH OAM信息。
  9. 根据权利要求1至8任一项所述的方法,其特征在于,所述第一节点设备根据所述第一报文生成第二报文之后,所述方法还包括:
    所述第一节点设备向所述源节点设备发送回应报文,所述回应报文包括所述第二报文中的所述第一节点设备的OAM命令所对应的OAM结果。
  10. 根据权利要求1至8任一项所述的方法,其特征在于,所述第一节点设备根据所述第一报文生成第二报文之后,所述方法还包括:
    所述第一节点设备向OAM控制器发送回应报文,所述回应报文包括所述第二报文中的所述第一节点设备的OAM命令所对应的OAM结果。
  11. 一种第一节点设备,其特征在于,所述第一节点设备属于网络传输控制系统,所述网络传输控制系统还包括源节点设备以及第二节点设备,所述第一节点设备包括:
    接收单元,用于接收来自所述源节点设备的第一报文,所述第一报文携带互联网 协议操作、管理和维护IP OAM信息,所述IP OAM信息包括IP OAM命令;
    生成单元,用于根据所述第一报文生成第二报文,所述第二报文携带有所述第一报文的IP OAM信息以及所述第一节点设备的操作、管理和维护OAM信息,所述第一节点设备的OAM信息包括OAM命令,所述第一节点设备的OAM命令与所述IP OAM命令相同;
    发送单元,用于向所述第二节点设备发送所述第二报文,所述第二节点设备为所述第一节点设备的下一跳节点设备。
  12. 根据权利要求11所述的第一节点设备,其特征在于,
    所述接收单元还用于接收来自所述第二节点设备的通知消息,所述通知消息用于指示所述第二节点设备所使用的转发类型;
    所述生成单元还用于确定所述第二节点设备所使用的转发类型和所述第一节点设备的转发类型不同,生成所述第二节点设备的OAM信息,所述第二节点设备的OAM信息包括OAM命令;
    其中,所述第二报文还包括所述第二节点设备的OAM信息,所述第二节点设备的OAM信息中的OAM命令与所述IP OAM命令相同。
  13. 根据权利要求11或12所述的第一节点设备,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为二层节点设备,所述第一节点设备为三层节点设备,其特征在于:
    所述第一报文还携带所述第三节点设备的OAM信息,所述第三节点设备的OAM信息包括OAM命令,所述第三节点设备的OAM命令与所述IP OAM命令相同;
    所述生成单元,具体用于确定所述第一节点设备的转发方式为二层转发,所述第一节点设备在所述第一报文中增加所述第一节点设备的三层OAM信息以生成所述第二报文,所述三层OAM信息包括三层OAM命令,所述三层OAM命令与所述IP命令相同,所述第一节点设备的OAM信息包括所述第一节点设备的三层OAM信息;或者,
    确定所述第一节点设备的转发方式为三层转发,所述第一节点设备从所述第一报文中删除所述第三节点设备的OAM信息,并增加所述第一节点设备的OAM信息,所述第一节点设备的OAM信息为三层OAM信息。
  14. 根据权利要求11或12所述的第一节点设备,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为三层节点设备,所述第一节点设备为二层节点设备,其特征在于:
    所述第一节点设备确定所述第三节点设备的转发方式为二层转发,所述第一报文还携带所述第三节点设备的OAM信息,所述第三节点设备的OAM信息包括所述第三节点设备的二层OAM信息以及所述第三节点设备的三层OAM信息,所述二层OAM 信息包括二层OAM命令,所述二层OAM命令与所述IP OAM命令相同,所述三层OAM信息包括三层OAM命令,所述三层OAM命令与所述IP OAM命令相同;
    所述生成单元具体用于从所述第一报文中删除所述第三节点设备的三层OAM信息。
  15. 根据权利要求11或12所述的第一节点设备,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为三层节点设备,所述第一节点设备为二层节点设备,其特征在于:
    所述第一节点设备确定所述第三节点设备的转发方式为三层转发,所述第一报文还携带所述第三节点设备的OAM信息,所述第三节点设备的OAM信息包括第三节点设备的三层OAM信息,所述三层OAM信息包括所述第三节点设备的三层OAM命令,所述三层OAM命令与所述IP OAM命令相同;
    所述生成单元具体用于从所述第一报文中删除所述三层OAM信息并增加所述第一节点设备的OAM信息,所述第一节点设备的OAM信息二层OAM信息。
  16. 根据权利要求11或12所述的第一节点设备,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为以太交换机ETH Switch,所述第一节点设备为多协议标签交换运营商边缘MPLS PE设备,其特征在于:
    所述第一报文还携带ETH OAM信息,所述ETH OAM信息包括ETH OAM命令,所述ETH OAM命令与所述IP OAM命令相同;
    所述生成单元具体用于:
    所述第一节点设备确定所述第一节点设备的转发方式为二层转发,在所述第一报文中增加MPLS OAM信息以生成所述第二报文,所述MPLS OAM信息包括MPLS OAM命令,所述MPLS OAM命令与所述IP命令相同,所述MPLS OAM信息是所述第一节点设备的OAM信息;或者,
    所述第一节点设备确定所述第一节点设备的转发方式为三层转发,从所述第一报文中删除所述ETH OAM信息,并增加所述MPLS OAM信息,所述第一节点设备的OAM信息为ETH OAM信息。
  17. 根据权利要求11或12所述的第一节点设备,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为多协议标签交换运营商边缘MPLS PE设备,所述第一节点设备为以太交换机ETH Switch,其特征在于:
    所述第一节点设备确定所述第三节点设备的转发方式为二层转发,所述第一报文还携带所述MPLS PE的OAM信息,所述MPLS PE的OAM信息包括ETH OAM信息 以及MPLS OAM信息,所述ETH OAM信息包括ETH OAM命令,所述ETH OAM命令与所述IP OAM命令相同,所述MPLS OAM信息包括MPLS OAM命令,所述MPLS OAM命令与所述IP OAM命令相同;
    所述生成单元具体用于从所述第一报文中删除所述MPLS OAM信息。
  18. 根据权利要求11或12所述的第一节点设备,所述网络传输控制系统还包括第三节点设备,所述第三节点设备为所述第一节点设备的上一跳节点设备,所述第一报文是经由所述第三节点设备转发的,来自所述源节点设备的报文,所述第三节点设备为多协议标签交换运营商边缘MPLS PE设备,所述第一节点设备为以太交换机ETH Switch,其特征在于:
    所述第一节点设备确定所述MPLS PE设备的转发方式为三层转发,所述第一报文还携带所述MPLS PE设备的OAM信息,所述MPLS PE设备的OAM信息包括MPLS OAM信息,所述MPLS OAM信息包括MPLS OAM命令,所述MPLS OAM命令与所述IP OAM命令相同;
    所述生成单元具体用于从所述第一报文中删除所述MPLS OAM信息并增加所述ETH Switch的OAM信息,所述ETH Switch的OAM信息为ETH OAM信息。
  19. 根据权利要求11至18任一项所述的第一节点设备,其特征在于,所述发送单元还用于向所述源节点设备发送回应报文,所述回应报文包括所述第二报文中的所述第一节点设备的OAM命令所对应的OAM结果。
  20. 根据权利要求11至18任一项所述的第一节点设备,其特征在于,所述发送单元还用于向OAM控制器发送回应报文,所述回应报文包括所述第二报文中的所述第一节点设备的OAM命令所对应的OAM结果。
PCT/CN2017/093886 2016-12-16 2017-07-21 一种网络传输控制方法及相关设备 WO2018107757A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP17882160.9A EP3468101B1 (en) 2016-12-16 2017-07-21 Method for controlling network transmission and related apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611170354.6A CN108206746B (zh) 2016-12-16 2016-12-16 一种网络传输控制方法及相关设备
CN201611170354.6 2016-12-16

Publications (1)

Publication Number Publication Date
WO2018107757A1 true WO2018107757A1 (zh) 2018-06-21

Family

ID=62559295

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/093886 WO2018107757A1 (zh) 2016-12-16 2017-07-21 一种网络传输控制方法及相关设备

Country Status (3)

Country Link
EP (1) EP3468101B1 (zh)
CN (1) CN108206746B (zh)
WO (1) WO2018107757A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120446B (zh) * 2018-08-22 2022-02-15 迈普通信技术股份有限公司 一种零配置启动方法及设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026504A (zh) * 2006-02-24 2007-08-29 华为技术有限公司 一种网络性能测量方法
WO2007101140A2 (en) * 2006-02-24 2007-09-07 Nortel Networks Ltd. Multi-protocol support over ethernet packet-switched networks
CN102271079A (zh) * 2010-06-04 2011-12-07 华为技术有限公司 报文转发的方法、节点和系统
CN103716172A (zh) * 2012-09-28 2014-04-09 中兴通讯股份有限公司 一种基于多协议标签交换的oam方法及装置
WO2016062165A1 (zh) * 2014-10-23 2016-04-28 华为技术有限公司 一种实现操作管理维护功能的方法及装置
CN105812198A (zh) * 2014-12-26 2016-07-27 中兴通讯股份有限公司 桥接网络端到端的监测方法和装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7898965B2 (en) * 2007-10-12 2011-03-01 Nortel Networks Limited IP network and performance monitoring using ethernet OAM
CN103078791B (zh) * 2013-01-31 2016-08-10 华为技术有限公司 Oam报文处理方法、设备及系统
CN103152205B (zh) * 2013-03-22 2016-02-10 烽火通信科技股份有限公司 基于流索引的oam处理方法及装置
WO2015149353A1 (zh) * 2014-04-04 2015-10-08 华为技术有限公司 一种oam报文处理方法、网络设备和网络系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026504A (zh) * 2006-02-24 2007-08-29 华为技术有限公司 一种网络性能测量方法
WO2007101140A2 (en) * 2006-02-24 2007-09-07 Nortel Networks Ltd. Multi-protocol support over ethernet packet-switched networks
CN102271079A (zh) * 2010-06-04 2011-12-07 华为技术有限公司 报文转发的方法、节点和系统
CN103716172A (zh) * 2012-09-28 2014-04-09 中兴通讯股份有限公司 一种基于多协议标签交换的oam方法及装置
WO2016062165A1 (zh) * 2014-10-23 2016-04-28 华为技术有限公司 一种实现操作管理维护功能的方法及装置
CN105812198A (zh) * 2014-12-26 2016-07-27 中兴通讯股份有限公司 桥接网络端到端的监测方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3468101A4 *

Also Published As

Publication number Publication date
EP3468101A1 (en) 2019-04-10
EP3468101B1 (en) 2021-06-16
CN108206746B (zh) 2020-07-21
CN108206746A (zh) 2018-06-26
EP3468101A4 (en) 2019-07-17

Similar Documents

Publication Publication Date Title
US11310079B2 (en) EVPN packet processing method, device, and system for MAC learning via MAC/IP advertisement route
US11616656B2 (en) Multicast data transmission method, related apparatus, and system
WO2021170092A1 (zh) 报文处理方法、装置、网络设备及存储介质
US10003531B2 (en) Method for establishing tunnel, method for allocating label, device and network system
US10554542B2 (en) Label distribution method and device
US20200396162A1 (en) Service function chain sfc-based communication method, and apparatus
CN110324165B (zh) 网络设备的管理方法、装置及系统
CN107968750B (zh) 报文传输方法、装置及节点
US20160006614A1 (en) Source Routing Using Path Computation Elements
WO2015131560A1 (zh) 一种分配分段路由标记的方法和分段路由节点
CN108964940B (zh) 消息发送方法及装置、存储介质
WO2013182059A1 (zh) 多协议标签交换流量工程隧道建立方法及设备
CN104243270A (zh) 一种建立隧道的方法和装置
US11489836B2 (en) Method, apparatus, and system for collecting access control list
US8964749B2 (en) Method, device and system for establishing a pseudo wire
EP3836492A1 (en) Pseudo wire load sharing method and device
EP4191966A1 (en) Method and device for processing data message, storage medium, and electronic device
KR101451642B1 (ko) 의사회선 라우트를 확산시키기 위한 방법 및 장비
WO2012142753A1 (zh) Ip承载网性能监控的方法及设备
WO2018107757A1 (zh) 一种网络传输控制方法及相关设备
US20160270133A1 (en) Access-network device, management device, communication system, information provision method, management method, and program
WO2015100610A1 (zh) 保持用户设备ip地址固定的方法和设备
CN105515999B (zh) 端系统地址分发信息协议的快速收敛方法及装置
WO2023050932A1 (zh) 路由通告方法、网络设备及计算机存储介质
US20240163208A1 (en) Packet processing method and apparatus, and storage medium and electronic apparatus

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: 17882160

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017882160

Country of ref document: EP

Effective date: 20190104

NENP Non-entry into the national phase

Ref country code: DE