WO2011144068A2 - Method and apparatus for reporting network packet-loss information - Google Patents
Method and apparatus for reporting network packet-loss information Download PDFInfo
- Publication number
- WO2011144068A2 WO2011144068A2 PCT/CN2011/074555 CN2011074555W WO2011144068A2 WO 2011144068 A2 WO2011144068 A2 WO 2011144068A2 CN 2011074555 W CN2011074555 W CN 2011074555W WO 2011144068 A2 WO2011144068 A2 WO 2011144068A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- packet loss
- packet
- information
- node
- network
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0829—Packet loss
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/06—Generation of reports
- H04L43/062—Generation of reports related to network traffic
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a network packet loss information reporting method and apparatus.
- Network packet loss is a common network fault, including node congestion and packet loss, link delay jitter packet loss, etc., which will seriously affect the user experience.
- the node that has lost the packet knows that the packet loss has occurred, but the service type and user of the discarded packet are often not recognized, and there is no way to transmit the packet loss information.
- the Multi-Protocol Label Switching (MPLS) network shown in Figure 1 includes: Carrier Edge (PE) nodes PE1 and PE2, and Carrier Core (Provider, P) nodes.
- PE Carrier Edge
- P Carrier Core
- network maintenance personnel perform analysis and processing after a serious packet loss behavior on the network affects the user experience, and the user complains and complains to the network operator. Because the network maintenance personnel can hardly obtain the packet loss information, you need to log in to the network device to check and solve the device one by one. The network devices are checked one by one, which is time-consuming and easy to miss.
- the embodiment of the invention provides a network packet loss information reporting method and device.
- a network packet loss information reporting method includes: a processing node acquiring packet loss information, where the packet loss information includes: an address of a packet loss node, and a packet loss interface information of a packet loss node And the service type and user information of the discarded packet; and sending the packet loss information to the information center.
- a network packet loss information reporting method includes: a packet loss node acquires a discarded packet, and generates a packet loss report packet according to the obtained discarded packet, where the packet loss occurs.
- the report message carries the address of the packet loss node and the packet loss interface information; the packet loss report message is sent to the processing node, so that the processing node obtains the packet loss information from the packet loss report message, and
- the packet loss information is sent to the information center, where the packet loss information includes: an address of the packet loss node, a packet loss interface information of the packet loss node, and a service type and user information of the discarded packet.
- a network node includes:
- the obtaining module is configured to obtain the packet loss information, where the packet loss information includes: an address of the packet loss node, a packet loss interface information of the packet loss node, and a service type and user information of the discarded packet;
- the reporting module is configured to send the packet loss information to the information center.
- a network node includes:
- a packet generating module configured to obtain a packet to be discarded, and generate a packet loss report message according to the obtained discarded packet, where the packet loss report packet carries the address of the packet loss node and the packet loss interface information;
- the packet loss information includes: an address of the packet loss node, a packet loss interface information of the packet loss node, and a service type and user information of the discarded packet.
- the processing network node obtains the packet loss information, and sends the packet loss information to the information center.
- the processing node can transmit the packet loss information to the information center for analysis and processing by the network maintenance personnel.
- FIG. 1 is a schematic diagram of a cylindrical structure of an existing MPLS network
- FIG. 2 is a flowchart of a method for reporting network packet loss information according to an embodiment of the present invention
- FIG. 3 is a flowchart of a method for reporting network packet loss information according to another embodiment of the present invention
- FIG. 4 is still another embodiment of the present invention
- FIG. 5 is a flowchart of a network packet loss information reporting method according to another embodiment of the present invention
- FIG. 6 is a schematic diagram of a networkized structure of a network according to another embodiment of the present invention.
- FIG. 7 is a schematic diagram of a cylindrical structure of a network to which an embodiment of the present invention is applied;
- FIG. 8 is a schematic structural diagram of a network node according to an embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of a network node according to another embodiment of the present invention.
- the embodiment of the present invention provides a network packet loss information reporting method, which is configured to timely obtain packet loss information and report the packet loss information to the information center when the network node's interface is congested and lost.
- Queue congestion packet loss can be divided into two cases: one is the queue congestion caused by device failure; the second is the network node. There are many packets queued at an interface. The interface cannot send packets out in a timely manner and the queue is congested and lost.
- the method provided by the embodiment of the present invention is applicable to the latter case, that is, when there are many packets queued at an interface of the network node, and the queue is congested and lost, the packet loss information is timely acquired, and the packet loss information is reported to information Center.
- Embodiments of the present invention also provide corresponding devices. The method and apparatus provided by the embodiments of the present invention are separately described in detail below with reference to the accompanying drawings.
- this embodiment provides a network packet loss information reporting method, including:
- the processing node obtains the packet loss information, where the packet loss information includes: an address of the packet loss node, a packet loss interface information of the packet loss node, and a service type and user information of the discarded packet.
- the processing node refers to a node device that acquires and processes packet loss information, and may be a node in the network that has an identified service type and user capability, such as a PE node in an MPLS network, or a voice over Internet Protocol (VoIP). Network media gateway (MGW) devices, etc.
- a PE node in an MPLS network or a voice over Internet Protocol (VoIP).
- VoIP Voice over Internet Protocol
- MGW Network media gateway
- the packet loss node refers to a node device in which packet loss occurs, which may be any node in the network, and may be a node having an identification service type and user capability, such as the above-mentioned PE node or media gateway; There are no nodes that identify the type of service and user capabilities, such as P nodes in an MPLS network.
- a packet loss interface is an interface on which packet loss occurs on a packet loss node.
- the processing node and the packet loss node may be the same node, which is called a packet loss and processing node, and the packet loss and processing node may directly obtain the packet loss information of itself.
- the processing node and the packet loss node are different nodes.
- the step of the processing node acquiring the packet loss information may be: 101a, the processing node receives The packet loss report packet sent by the packet loss node is generated by the packet loss node according to the discarded packet, and carries the address of the packet loss node and the packet loss interface information.
- the packet loss node generates a packet loss report packet.
- the packet loss node obtains the discarded packet and obtains its own address and packet loss interface information.
- the packet loss node writes the address and interface information.
- the discarded packet in which the address and interface information is written becomes the packet loss report packet mentioned in this document.
- the packet loss node sends the packet loss report packet to the processing node.
- the packet loss report packet is sent to the processing node.
- the packet loss node obtains the discarded packet, including: the number of lost packets in the unit time of the packet loss node, and the packet loss behavior is normalized occasional packet loss behavior or suddenness according to the number of the packet loss. Packet loss behavior; if it is a normalized occasional packet loss behavior, it acquires each discarded packet; if it is a sudden packet loss behavior, it obtains the discarded packet according to a preset ratio, for example A discarded packet is obtained for every 100 packets discarded.
- the processing node extracts the address of the packet loss node and the packet loss interface information carried in the packet loss report message, and identifies the service type and user information of the packet loss report message.
- the packet loss report packet is generated based on the discarded packet. Therefore, the service type and user information of the packet loss report packet are the service type and user information of the discarded packet.
- the interface information includes at least an interface index, and may also include information such as an interface description.
- the type of service may be a personal high-speed Internet (HSI), an interactive network television (IPTV) service, a VoIP service, or a virtual private network (VPN) service.
- HAI high-speed Internet
- IPTV interactive network television
- VoIP VoIP
- VPN virtual private network
- Different types of packets carry different labels. You can identify the service type by identifying the label.
- the PE node in the MPLS network creates different virtual private networks (VPNs) for different services. VPN tags to differentiate business types.
- the user information may be address information or a telephone number or the like.
- the message carries the network (IP) address of the sender and the receiver, and the user can be represented by the IP address.
- IP network
- messages also carry information such as the user's phone number. In this case, the user can also be represented by a phone number.
- the processing node has obtained sufficient packet loss information.
- the packet loss information includes at least: the address of the packet loss node, the packet loss interface information in the packet loss node, and the service type and user information of the discarded packet.
- the processing node can also obtain more packet loss information, for example, the queue depth at the packet loss interface.
- a PE node In an MPLS network, since a PE node (generally a gateway device) has an identification service type and a user capability, a PE node can be used as a processing node. If the packet loss node is a PE node, the PE node can directly obtain the packet loss information. If the packet loss node is a P node, the P node can obtain the discarded packet and generate a packet loss packet according to the obtained discarded packet. Packet loss of node address and packet loss interface information Reporting the packet, and sending the packet loss report message to the PE node, the PE node can extract the packet loss information from the received packet loss report message sent by the P node.
- the processing node sends the packet loss information to the information center.
- the information center is used to receive packet loss information sent by each processing node. That is to say, all packet loss information in the network is centralized in the information center for network maintenance personnel to analyze and use.
- the information center can be different devices.
- a network traffic (Netstream) server connected to a PE node as a processing node can serve as an information center; in a VoIP network, a softswitch device (Softswitch) connected to a media gateway can serve as an information center.
- Network network traffic
- Softswitch Softswitch
- the processing node can send the packet loss information to the information center directly.
- the packet loss information can be sent to the downstream device.
- the downstream device sends the packet loss information to the information center.
- the processing node may send the packet loss information to the information center, and Send to downstream devices.
- the processing node when the processing node is a PE node in the MPLS domain, the processing node sends the packet loss information to the information center, which may include:
- the PE node sends the packet loss information to the NetStream server; or
- the PE node sends the packet loss information to the downstream device outside the MPLS domain, and then the downstream device sends the packet loss information to the information center connected to the downstream device.
- the downstream device is the media gateway
- the media gateway device receives the packet loss information. After that, the packet loss information can be sent to the softswitch device.
- the PE node sends the packet loss information to the NetStream server.
- the PE node will:
- the packet loss information is encapsulated in the Internet Protocol (IP) Data Flow Information Export (IPFIX) text and sent to the NetStream server.
- IP Internet Protocol
- IPFIX IP Data Flow Information Export
- the PE node sends the packet loss information to the downstream device that is located outside the MPLS domain.
- the packet loss information is encapsulated in the Internet Control Message Protocol (ICMP) packet and sent to the media network device as the downstream device.
- the packet loss information is encapsulated in the Session Initiation Protocol (SIP) signaling message sent by the media gateway device to the softswitch device.
- ICMP Internet Control Message Protocol
- SIP Session Initiation Protocol
- IPFIX is a stream-based technology with a wide range of applications, including Huawei's NetStream technology and Cisco's NetFlow technology.
- Version 9 (Version9) NetStream is based on Template.
- the template provides a flexible and extensible message output format, which makes it easy to add new stream statistics services without changing the basic record format.
- the format of NetStream Version 9 is not fixed.
- One of the format tables 1 includes: a packet header, a template flowset, and a data flow set corresponding to the template traffic set.
- a template traffic set that describes the packet loss information may be defined, and the packet loss information is written into the data traffic set corresponding to the template, so that the packet loss information is encapsulated in the IPFIX packet.
- ICMP is a connection-oriented protocol for transmitting error reporting control information.
- the format of the ICMP message is shown in Table 2. It includes: IP header, type, code, checksum, identifier, serial number, payload, and so on.
- the type field that is not used in the existing network may be used, or the packet type of the packet loss report may be increased by using the extended type field, and the ICMP packet is identified as a packet loss report packet, and then the packet loss information is effectively written.
- Load PaymentLoad
- SIP is a session layer signaling control protocol.
- the format of the SIP signaling packet is shown in Table 3. It includes: The SIP version ( version ), status code (Status code), and the reason field corresponding to the status code ( Reason phrase ).
- the packet loss report type is increased by the extended status code
- the SIP signaling packet is identified as a packet loss report message
- the packet loss information is written in the reason field corresponding to the added status code.
- the packet loss information received by the information center includes at least the address of the packet loss node, the packet loss interface information of the packet loss node, and the service type and user information of the discarded packet.
- the information center can use the address information of the packet loss node to locate the location of the abnormal device (that is, the packet loss node) in the network, and use the interface information to locate the abnormal port (that is, the lost node).
- the location of the packet interface on the abnormal device using the service type and user information to adjust the Quality of Service (QoS) parameters of the service and the user, or adjusting the bandwidth by adding a physical link, and improving the network service. quality.
- QoS Quality of Service
- the information center can be considered to have packet loss on all types of packets of the packet loss interface that have the same priority as the discarded packet.
- the packet loss node when a network node loses packet loss, the packet loss node can centrally transmit the packet loss information to the information center through the processing node.
- the network maintenance personnel can know the packet loss information of each node from the information center, and conveniently analyze and solve the problem without having to log in to the network device to check and solve each device by command line. Therefore, the positioning and processing speed of the network service packet loss problem can be improved, and the network operation and maintenance cost can be effectively reduced.
- the packet loss node may select the discarded report in the process of generating the packet loss report message.
- a predefined detection label (Diagnostic Label) is written in the text to indicate that the packet containing the detection label is a packet loss report message.
- the foregoing step 101a may specifically include:
- the processing node receives the packet sent by the packet loss node.
- the detection packet is used to identify the packet loss report packet, so that the processing node can quickly and easily identify the packet loss report packet from the received large number of packets, thereby speeding up the processing.
- this embodiment provides a network packet loss information reporting method, including:
- the packet loss node obtains the discarded packet, and generates a packet loss report packet according to the obtained discarded packet, where the packet loss report packet carries the address of the packet loss node and the packet loss interface information.
- the packet loss node obtains the discarded packet, and obtains its own address and the packet loss interface information of the specific congestion packet loss; the packet loss node writes the address and interface information and the obtained packet is discarded. In the message, the discarded packet with the address and interface information written becomes the packet loss report message.
- the packet loss node obtains the discarded packet, including: the number of lost packets in the unit time of the packet loss node, and the packet loss behavior is normalized occasional packet loss behavior or suddenness according to the number of the packet loss. Packet loss behavior; if it is a normalized occasional packet loss behavior, it acquires each discarded packet; if it is a sudden packet loss behavior, it obtains the discarded packet according to a preset ratio, for example A discarded packet is obtained for every 100 packets discarded.
- a packet on the P-node is congested and packet loss occurs.
- a packet of a user is continuously discarded when the queue is full.
- the P node monitors its own packet loss behavior in real time, the P node knows that the interface has lost packets, but does not know the type of discarded packets and user information.
- the P node can select the discarded packet according to a predetermined ratio. For example, each time 100 packets are discarded, one packet is selected. Then, the P node writes its own address and the packet loss interface information together into the data area of the selected message. Therefore, the selected discarded packet is converted into a packet loss report message.
- the packet loss node sends the packet loss report message to the processing node, so that the processing node obtains the packet loss information from the packet loss report message, and sends the packet loss information to the information center, where the packet loss information includes: Address, packet loss interface information of the packet loss node, and service type and user information of the discarded packet.
- the packet loss node that does not have the service type and the user capability is configured to relay the generated packet loss report message to a processing node (such as a PE node) that has the identified service type and user capability, and the packet is lost through the processing node.
- a processing node such as a PE node
- Information is sent to the information center.
- the step of sending a packet loss report packet by the packet loss node may be: improving the packet loss report packet.
- the priority of the packet is sent to the processing node by the maximum transmission capability of the packet loss interface.
- the processing node when a node in the network loses a packet, the processing node can centrally transmit the packet loss information to the information center.
- the network maintenance personnel can know the packet loss information of each node from the information center, and conveniently analyze and solve the problem without having to log in to the network device to check and solve each device by command line. Therefore, the positioning and processing speed of the network service packet loss problem can be improved, and the network operation and maintenance cost can be effectively reduced.
- the packet loss node may write in the selected message in the process of generating the packet loss report message. Enter a predefined detection label to indicate that the packet containing the detection label is a packet loss report message.
- the foregoing step 201 may specifically include:
- the packet loss node obtains the discarded packet and obtains its own address and the packet loss interface information.
- the packet loss node writes the address and interface information and the predefined detection label into the obtained discarded packet. To produce a packet loss report message.
- the discarded packet that has been written with the above information becomes the packet loss report packet.
- the detection label is used to indicate that the packet containing the detection label is a packet loss report packet. .
- the detection packet is used to identify the packet loss report packet, so that the processing node can quickly and easily identify the packet loss report packet from the received large number of packets, thereby speeding up the processing.
- the MPLS network includes nodes PE1, P, and PE2, and both PE1 and PE2 are connected to the Netstream server.
- the processing node can be node PE1 or PE2.
- a certain packet enters the MPLS network from the node PE1, and the packet includes two layers of labels.
- the first layer label is a tunnel label
- the second layer label is a user label. It is a service label or a virtual channel label (VC Label) or a virtual private network label (VPN Label).
- VC Label virtual channel label
- VPN Label virtual private network label
- the user tag is 2 and the transport tag is 18.
- the packet has a queue congestion packet on an interface of the node, and the PM' JP node selects the discarded packet according to a predetermined ratio and pushes the detection label (for example, 15).
- the transport label has been exchanged, assuming that the transport label at this time is 4.
- the three-layer label is specifically: the first layer transmission label 4, the second layer detection label 15, the third layer user Label 2. That is, the detection tag is pressed into the second layer instead of the user tag, and the user tag is pressed into the third layer instead.
- the P node obtains its own address and interface information of the packet loss interface, and writes the address and interface information into the data area of the discarded packet.
- the discarded message is converted into a packet loss report message.
- the packet loss report message is then sent to the processing node PE2 for processing.
- FIG. 5 shows a process after the processing node PE2 receives the packet loss report message, including:
- the PE2 receives the packet and detects whether the received packet includes the detection label.
- the second layer label is displayed. If the packet is a packet loss report packet, the second layer label is a detection label. Therefore, the PE2 confirms that the packet is a packet according to a preset setting. Report the packet, and then perform subsequent processing on the packet loss report packet. If the second layer label is a user label, the description is only a normal packet, and PE2 performs the forwarding operation as usual.
- the PE2 obtains the packet loss information carried in the packet loss report packet.
- the PE2 extracts the address of the packet loss node and the interface information of the packet loss interface, and identifies the service type and user information of the packet loss report message.
- the PE2 sends the packet loss information to the information center, where the packet loss information includes: an address of the packet loss node, an interface information of the packet loss interface of the packet loss node, and a service type and user information of the discarded packet.
- the PE2 encapsulates the packet loss information in the IPFIX packet and sends the packet to the NetStream server.
- the PE2 encapsulates the packet loss information in the ICMP packet, and sends the ICMP packet according to the receiver address in the user information.
- the downstream device sends the packet loss information to the information center connected to the downstream device.
- the media gateway can send the packet loss information to the softswitch device after receiving the packet loss information.
- It can be configured in the Access Control List (ACL) of PE2 to specify whether to send packet loss information to downstream devices.
- ACL Access Control List
- the processing node can quickly identify the packet loss report message from the received large number of packets, so as to timely extract And send the packet loss information to the information center.
- the network includes an MPLS network as an operator core network, and a Voice over Internet Protocol (VoIP) network connected to the UE.
- the MPLS network includes nodes PE1, P, and PE2.
- the VoIP network includes a media gateway (MGW) connected to the PE2, and a SoftSitch connected to the media gateway.
- the client is connected to the media gateway.
- the network packet loss information reporting method provided in this embodiment is applied to a node in the MPLS network domain, and when a node sends a queue congestion packet loss, the downstream device in the VoIP network outside the MPLS network domain will be lost.
- the package information is reported to the information center.
- the SIP signaling of the VoIP is extended to implement linkage with the VoIP service.
- PE2 has encapsulated the packet loss information in an ICMP message and sends it to the media gateway (NGW) as a downstream device.
- NGW media gateway
- the media gateway After receiving the ICMP packet, the media gateway obtains the packet loss information carried in the ICMP packet. Then, the media gateway writes the packet loss information to the extended SIP signaling packet, and sends the SIP signaling packet with the packet loss information to the Softswitch.
- the packet loss information of each node in the MPLS network may be transmitted to the information center (specifically, Softswitch) through the PE node and the downstream device (for example, the media gateway in the VoIP network).
- the information center specifically, Softswitch
- the downstream device for example, the media gateway in the VoIP network.
- the network includes an MPLS network as an operator core network, and a first access network and a second access network outside the MPLS network domain and connected to the MPLS network, the first access network and the first Both access networks are VoIP networks.
- the first access network is connected to the first user end by using the first media gateway
- the second access network is connected to the second user end by using the second media gateway
- the first media gateway and the second media gateway are both connected to the SoftS witch. connection.
- the MPLS network includes nodes PE1, P, and PE2, and both PE1 and PE2 are connected to the NetStream server.
- the network packet loss information reporting method provided in this embodiment is applied to the information center when the node of the VoIP network outside the MPLS network domain experiences congestion and packet loss.
- the first media gateway encapsulates the voice signal from the first user end into a packet, and the message sequentially passes through the first access network, in the MPLS network.
- the nodes PE1, P, and PE2, and the second access network arrives at the second media gateway, and then restores the voice signal to the second user.
- the packet loss information is reported as follows: Node PE1 of the node.
- the PE1 After receiving the packet loss report packet, the PE1 obtains the packet loss information carried in the packet loss report packet.
- the PE1 sends the packet loss information to the information center.
- the packet loss information of the packet can be sent to the NetStream server in the ICMP packet, or the packet loss report packet carrying the packet loss information can be sent to the first media gateway through the first access network by the first media gateway.
- the packet loss information is extracted, and the packet loss information is sent to the extended SIP signaling packet and sent to the Softswitch. It should be noted that the two sending modes can be performed together, that is, the packet loss information is sent to the NetStream server and sent to the Softswitch.
- the packet loss information is reported as follows:
- the node that generates the congestion packet sends a packet loss report packet encapsulated in the ICMP packet format to the second media gateway as the processing node.
- the second media gateway may also directly extract the packet loss information from the packet loss report packet, and send the packet loss information to the extended SIP signaling packet, and send the packet to the Softswitch.
- the packet is sent to the processing node PE2 through the second access network, and the processing node PE2 encapsulates the packet loss information and encapsulates the packet loss information in an ICMP packet and sends the packet to the NetStream server.
- the two transmission modes can be performed together, that is, the packet loss information is sent to the NetStream server and sent to the Softswitch.
- the packet loss node uses the ICMP packet to transmit the packet loss information to the processing node.
- An ICMP packet is a packet that is used to transmit error reporting control information. It can be directly regarded as a packet loss report. The method in this embodiment is used. When a node in a VoIP network outside the MPLS network domain experiences congestion and packet loss, the processing node can The packet loss information is promptly reported to the information center.
- the method of the embodiment of the present invention is not limited to use in an MPLS network or a VoIP network, and may also be used in other types of data communication networks, such as an IP network or a QinQ network, and the type of the applied network is not Make restrictions.
- the packet loss node can send a packet loss report packet in the ICMP packet format to the processing node for processing.
- the IP protocol field in the packet loss report packet is ICMP.
- the address of the packet loss node and the interface information of the packet loss interface are written in the payload of the packet loss report packet.
- the packet loss information may include queue depth information and the like, in addition to the service type and user information, and the address of the packet loss node and the interface information of the packet loss interface.
- QinQ is also known as dual virtual local area network (Double Virtual Local Area Network, Double VLAN ⁇
- the node that has lost the packet can send a packet loss report in the format of a VLAN packet to the processing node for processing.
- a VLAN packet is identified as a packet loss report packet by using a VLAN identification (VLAN ID).
- the packet loss information may include queue depth information and the like, in addition to the service type and user information, and the address of the packet loss node and the interface information of the packet loss interface.
- the packet loss information reporting method in the embodiment of the present invention can timely obtain the packet loss information of each node and collect the packet loss information into the information center.
- Network operation and maintenance provides a reliable and effective network health detection method, which can improve the positioning speed of network service packet loss problems and effectively reduce network operation and maintenance costs.
- an embodiment of the present invention further provides a network node, including:
- the obtaining module 810 is configured to obtain the packet loss information, where the packet loss information includes: an address of the packet loss node, a packet loss interface information of the packet loss node, and a service type and user information of the discarded packet;
- the reporting module 820 is configured to send the packet loss information to the information center.
- the obtaining module 810 may further include:
- the receiving unit 811 is configured to receive a packet loss report message sent by the packet loss node, where the packet loss report message is generated by the packet loss node according to the discarded packet, and carries the address of the packet loss node and the packet loss interface information. ;
- the extracting unit 812 is configured to extract the address of the packet loss node and the packet loss interface information carried in the packet loss report message, and identify the service type and user information of the packet loss report message.
- the obtaining module 810 may further include:
- the detecting unit 813 is configured to detect whether the packet received by the receiving unit 811 includes a detection label, and the confirming unit 814 is configured to confirm that the packet including the detection label is a packet loss report message.
- the reporting module 820 may further include:
- the first reporting unit 821 is configured to send the packet loss information directly to the information center;
- the second reporting unit 822 is configured to send the packet loss information to the downstream device, where the downstream device sends the packet loss information to the information center.
- processing node is a multi-protocol label switching carrier edge PE node in the MPLS network domain
- the first reporting unit 821 may be specifically configured to encapsulate the packet loss information in a network protocol data stream.
- the information output IPFIX message is sent to the network traffic analysis server;
- the second reporting unit 822 may be specifically configured to encapsulate the packet loss information in an Internet Control Message Protocol (ICMP) packet and send the packet to a downstream media gateway device, where the media gateway device encapsulates the ICMP packet in a session.
- ICMP Internet Control Message Protocol
- the initial protocol SIP signaling packet is sent to the softswitch device.
- the network node is a processing node, and specifically may be a gateway device.
- the network node provided by the embodiment of the present invention can receive a packet loss report message generated and sent by each node in the network when a packet loss occurs, and extract packet loss information from the received packet loss report message. The packet loss information is then sent centrally to the information center. In this way, the network maintenance personnel can know the packet loss information of each node from the information center, and conveniently analyze and solve the problem without having to log in to the network device to check and solve each device by command line. Therefore, the positioning and processing speed of the network service packet loss problem can be improved, and the network operation and maintenance cost can be effectively reduced.
- an embodiment of the present invention provides a network node, including:
- the packet generating module 910 is configured to obtain the discarded packet, and generate a packet loss report packet according to the obtained discarded packet, where the packet loss report packet carries the address of the packet loss node and the packet loss interface information.
- the sending module 920 is configured to send the packet loss report message to the processing node, so that the processing node obtains the packet loss information from the packet loss report message, and sends the packet loss information to the information center.
- the packet loss information includes: an address of the packet loss node, a packet loss interface information of the packet loss node, and a service type and user information of the discarded packet.
- the network node may further include: a priority module 930;
- the priority module 930 is configured to increase the priority of the packet loss report packet.
- the sending module 920 is specifically configured to send the increased packet loss report message with the highest priority of the packet loss interface to the processing node.
- the text generation module 910 can include:
- the obtaining unit 911 is configured to obtain the discarded packet and obtain the address of the network node and the packet loss interface information.
- the writing unit 912 is configured to write the address and interface information and the predefined detection label into the obtained discarded packet to generate a packet loss report message.
- the network node provided by the embodiment of the present invention may generate and send a packet loss report message to the processing node when the congestion packet is lost, so that the processing node extracts the packet loss information from the received packet loss report message and
- the packet loss information is sent to the information center in a centralized manner.
- the network maintenance personnel can know the packet loss information of each node from the information center, and conveniently analyze and solve the problem, without having to log in to the network device to check and solve each device by command line. Therefore, the positioning and processing speed of the network service packet loss problem can be improved, and the network operation and maintenance cost can be effectively reduced.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A method and an apparatus for reporting network packet-loss information are provided. The method includes: a processing node obtains packet-loss information including addresses of packet-loss nodes, packet-loss interface information of packet-loss nodes and the service type and the user information of discarded messages (101); and the packet-loss information is sent to an information center (102). By using the technical solutions of the present invention, when packet-loss occurs due to the queue congestion at the interfaces of nodes, the packet-loss information can be transferred to the information center together via the processing node for the network maintenance personnel to perform analyse and processing.
Description
网^ "包信息报告方法及装置 Network ^ "Package information reporting method and device
技术领域 Technical field
本发明涉及通信技术领域, 具体涉及一种网络丟包信息报告方法及装置。 The present invention relates to the field of communications technologies, and in particular, to a network packet loss information reporting method and apparatus.
背景技术 Background technique
网络丟包是常见的网络故障, 包括节点拥塞丟包、 链路时延抖动丟包等, 会严重影响用户体验。 其中, 对于节点拥塞丟包, 发生丟包的节点虽然知道发 生了丟包,但往往不能识别被丟弃报文的业务类型和用户,也没有办法将丟包 信息传递出去。 例如图 1 所示的多协议标签交换 ( Multi-protocol Label Switching, MPLS ) 网络, 包括: 运营商边缘 ( Provider Edge, PE ) 节点 PE1 和 PE2 , 以及运营商核心 ( Provider, P )节点。 虽然网络中的 PE节点能够识 别业务类型和用户, 但是网络中的 P 节点却不具有识别业务类型和用户的能 力, 因而 P节点在发生节点拥塞丟包时,也就不能有效获取丟包信息并 告至 信息中心供网络维护人员处理。 Network packet loss is a common network fault, including node congestion and packet loss, link delay jitter packet loss, etc., which will seriously affect the user experience. In the case of a node congestion packet loss, the node that has lost the packet knows that the packet loss has occurred, but the service type and user of the discarded packet are often not recognized, and there is no way to transmit the packet loss information. For example, the Multi-Protocol Label Switching (MPLS) network shown in Figure 1 includes: Carrier Edge (PE) nodes PE1 and PE2, and Carrier Core (Provider, P) nodes. Although the PE node in the network can identify the service type and the user, the P node in the network does not have the ability to identify the service type and the user. Therefore, when the node is congested and lost, the P node cannot effectively obtain the packet loss information. Report to the information center for network maintenance personnel to handle.
现有技术中, 在网络出现严重丟包行为而影响到用户体验, 以至用户产生 抱怨并投诉至网络运营商后, 网络维护人员进行分析处理。 由于网络维护人员 难以获取丟包信息,需要通过登录网络设备用命令行对逐个设备进行排查和解 决; 而对各个网络设备逐个进行排查, 既耗时又容易遗漏。 In the prior art, network maintenance personnel perform analysis and processing after a serious packet loss behavior on the network affects the user experience, and the user complains and complains to the network operator. Because the network maintenance personnel can hardly obtain the packet loss information, you need to log in to the network device to check and solve the device one by one. The network devices are checked one by one, which is time-consuming and easy to miss.
发明内容 Summary of the invention
本发明实施例提供一种网络丟包信息报告方法及装置。 The embodiment of the invention provides a network packet loss information reporting method and device.
根据本发明实施例的一个方面, 一种网络丟包信息 4艮告方法, 包括: 处理 节点获取丟包信息, 所述丟包信息包括: 丟包节点的地址、丟包节点的丟包接 口信息、 以及被丟弃报文的业务类型和用户信息; 将所述丟包信息发送给信息 中心。 According to an aspect of the embodiments of the present invention, a network packet loss information reporting method includes: a processing node acquiring packet loss information, where the packet loss information includes: an address of a packet loss node, and a packet loss interface information of a packet loss node And the service type and user information of the discarded packet; and sending the packet loss information to the information center.
根据本发明实施例的另一个方面, 一种网络丟包信息报告方法, 包括: 丟 包节点获取被丟弃报文,根据获取的被丟弃报文生成丟包报告报文, 所述丟包 报告报文携带丟包节点的地址和丟包接口信息;将所述丟包报告报文发送给处 理节点, 以便所述处理节点从所述丟包报告报文中获取丟包信息, 并将所述丟 包信息发送给信息中心, 所述丟包信息包括: 丟包节点的地址、 丟包节点的丟 包接口信息、 以及被丟弃报文的业务类型和用户信息。
根据本发明实施例的又一个方面, 一种网络节点, 包括: According to another aspect of the embodiments of the present invention, a network packet loss information reporting method includes: a packet loss node acquires a discarded packet, and generates a packet loss report packet according to the obtained discarded packet, where the packet loss occurs. The report message carries the address of the packet loss node and the packet loss interface information; the packet loss report message is sent to the processing node, so that the processing node obtains the packet loss information from the packet loss report message, and The packet loss information is sent to the information center, where the packet loss information includes: an address of the packet loss node, a packet loss interface information of the packet loss node, and a service type and user information of the discarded packet. According to still another aspect of the embodiments of the present invention, a network node includes:
获取模块, 用于获取丟包信息, 所述丟包信息包括: 丟包节点的地址、 丟 包节点的丟包接口信息、 以及被丟弃报文的业务类型和用户信息; The obtaining module is configured to obtain the packet loss information, where the packet loss information includes: an address of the packet loss node, a packet loss interface information of the packet loss node, and a service type and user information of the discarded packet;
报告模块, 用于将所述丟包信息发送给信息中心。 The reporting module is configured to send the packet loss information to the information center.
根据本发明实施例的又一个方面, 一种网络节点, 包括: According to still another aspect of the embodiments of the present invention, a network node includes:
报文生成模块, 用于获取被丟弃报文,根据获取的被丟弃报文生成丟包报 告报文, 所述丟包报告报文携带丟包节点的地址和丟包接口信息; a packet generating module, configured to obtain a packet to be discarded, and generate a packet loss report message according to the obtained discarded packet, where the packet loss report packet carries the address of the packet loss node and the packet loss interface information;
发送模块, 用于将所述丟包报告报文发送给处理节点, 以便所述处理节点 从所述丟包报告报文中获取丟包信息, 并将所述丟包信息发送给信息中心, 所 述丟包信息包括: 丟包节点的地址、 丟包节点的丟包接口信息、 以及被丟弃报 文的业务类型和用户信息。 a sending module, configured to send the packet loss report message to the processing node, so that the processing node obtains the packet loss information from the packet loss report message, and sends the packet loss information to the information center. The packet loss information includes: an address of the packet loss node, a packet loss interface information of the packet loss node, and a service type and user information of the discarded packet.
本发明实施例提供的技术方案中, 处理网络节点获取丟包信息, 并将丟包 信息发送给信息中心。 采用该方案, 在网络节点接口处发生队列拥塞丟包时, 可以通过处理节点将丟包信息集中传递到信息中心,供网络维护人员分析处理 使用。 In the technical solution provided by the embodiment of the present invention, the processing network node obtains the packet loss information, and sends the packet loss information to the information center. With this solution, when a queue congestion packet is lost at the network node interface, the processing node can transmit the packet loss information to the information center for analysis and processing by the network maintenance personnel.
附图说明 DRAWINGS
图 1是现有的 MPLS网络的筒化结构示意图; 1 is a schematic diagram of a cylindrical structure of an existing MPLS network;
图 2是本发明一个实施例提供的网络丟包信息报告方法的流程图; 图 3是本发明另一实施例提供的网络丟包信息报告方法的流程图; 图 4是本发明又一实施例应用的 MPLS网络的筒化结构示意图; 2 is a flowchart of a method for reporting network packet loss information according to an embodiment of the present invention; FIG. 3 is a flowchart of a method for reporting network packet loss information according to another embodiment of the present invention; FIG. 4 is still another embodiment of the present invention; Schematic diagram of the cylindrical structure of the applied MPLS network;
图 5是本发明又一实施例提供的网络丟包信息报告方法的流程图; 图 6是本发明再一实施例应用的网络的筒化结构示意图; 5 is a flowchart of a network packet loss information reporting method according to another embodiment of the present invention; FIG. 6 is a schematic diagram of a networkized structure of a network according to another embodiment of the present invention;
图 7是本发明一个实施例应用的网络的筒化结构示意图; 7 is a schematic diagram of a cylindrical structure of a network to which an embodiment of the present invention is applied;
图 8是本发明一个实施例提供的网络节点的结构示意图; FIG. 8 is a schematic structural diagram of a network node according to an embodiment of the present invention;
图 9是本发明另一实施例提供的网络节点的结构示意图。 FIG. 9 is a schematic structural diagram of a network node according to another embodiment of the present invention.
具体实施方式 detailed description
本发明实施例提供一种网络丟包信息报告方法,用于在网络节点的接口发 生队列拥塞丟包时, 及时获取丟包信息, 将丟包信息 4艮告到信息中心。 队列拥 塞丟包可以分为两种情况: 一是设备故障导致的队列拥塞丟包; 二是网络节点
的某个接口处排队的报文较多,该接口不能及时将报文发送出去而导致的队列 拥塞丟包。 本发明实施例提供的方法适用于后一种情况, 即, 在网络节点的某 个接口处排队的报文较多而导致队列拥塞丟包时,及时获取丟包信息,将丟包 信息报告到信息中心。本发明实施例还提供相应的装置。 以下结合附图对本发 明实施例提供的方法和装置分别进行详细说明。 The embodiment of the present invention provides a network packet loss information reporting method, which is configured to timely obtain packet loss information and report the packet loss information to the information center when the network node's interface is congested and lost. Queue congestion packet loss can be divided into two cases: one is the queue congestion caused by device failure; the second is the network node. There are many packets queued at an interface. The interface cannot send packets out in a timely manner and the queue is congested and lost. The method provided by the embodiment of the present invention is applicable to the latter case, that is, when there are many packets queued at an interface of the network node, and the queue is congested and lost, the packet loss information is timely acquired, and the packet loss information is reported to information Center. Embodiments of the present invention also provide corresponding devices. The method and apparatus provided by the embodiments of the present invention are separately described in detail below with reference to the accompanying drawings.
请参考图 2, 本实施例提供一种网络丟包信息报告方法, 包括: Referring to FIG. 2, this embodiment provides a network packet loss information reporting method, including:
101、 处理节点获取丟包信息, 所述丟包信息包括: 丟包节点的地址、 丟 包节点的丟包接口信息、 以及被丟弃报文的业务类型和用户信息。 The processing node obtains the packet loss information, where the packet loss information includes: an address of the packet loss node, a packet loss interface information of the packet loss node, and a service type and user information of the discarded packet.
所述的处理节点是指获取并处理丟包信息的节点设备,它可以是网络中具 有识别业务类型和用户能力的节点, 例如 MPLS网络中的 PE节点, 或者网络电 话 ( Voice over Internet Protocol , VoIP ) 网给中的媒体网关 ( media gateway, MGW )设备, 等。 The processing node refers to a node device that acquires and processes packet loss information, and may be a node in the network that has an identified service type and user capability, such as a PE node in an MPLS network, or a voice over Internet Protocol (VoIP). Network media gateway (MGW) devices, etc.
所说的丟包节点是指发生丟包行为的节点设备,它可以是网络中的任意节 点, 既可以是具有识别业务类型和用户能力的节点, 例如上述的 PE节点或媒 体网关; 也可以是不具有识别业务类型和用户能力的节点, 例如 MPLS网络中 的 P节点。 丟包接口是指丟包节点上发生丟包行为的接口。 The packet loss node refers to a node device in which packet loss occurs, which may be any node in the network, and may be a node having an identification service type and user capability, such as the above-mentioned PE node or media gateway; There are no nodes that identify the type of service and user capabilities, such as P nodes in an MPLS network. A packet loss interface is an interface on which packet loss occurs on a packet loss node.
在丟包节点为具有识别业务类型和用户能力的节点时,处理节点和丟包节 点可以是同一节点, 称为丟包及处理节点, 该丟包及处理节点可以直接获取自 身的丟包信息。 When the packet loss node is a node with the identification of the service type and the user capability, the processing node and the packet loss node may be the same node, which is called a packet loss and processing node, and the packet loss and processing node may directly obtain the packet loss information of itself.
在丟包节点为不具有识别业务类型和用户能力的节点时,处理节点和丟包 节点是不同的节点, 此种情况下, 处理节点获取丟包信息的步骤具体可以是: 101a, 处理节点接收丟包节点发送的丟包报告报文, 所述丟包报告报文是 丟包节点根据被丟弃报文生成的, 携带有丟包节点的地址和丟包接口信息。 When the packet loss node is a node that does not have the service type and the user capability, the processing node and the packet loss node are different nodes. In this case, the step of the processing node acquiring the packet loss information may be: 101a, the processing node receives The packet loss report packet sent by the packet loss node is generated by the packet loss node according to the discarded packet, and carries the address of the packet loss node and the packet loss interface information.
丟包节点生成丟包报告报文的步骤具体可以是: 丟包节点获取被丟弃报 文, 并获取自身的地址和丟包接口信息; 丟包节点将所说的地址和接口信息写 入所获取的被丟弃报文中,则写入了所述的地址和接口信息的被丟弃报文就成 为了本文所说的丟包报告报文。 The packet loss node generates a packet loss report packet. The packet loss node obtains the discarded packet and obtains its own address and packet loss interface information. The packet loss node writes the address and interface information. In the obtained discarded packet, the discarded packet in which the address and interface information is written becomes the packet loss report packet mentioned in this document.
丟包节点发送丟包报告报文的步骤具体可以是:提高丟包报告报文的优先 级, 以丟包接口的最大发送能力将丟包报文发送给处理节点。
其中, 所说的丟包节点获取被丟弃报文包括: 丟包节点统计单位时间内的 丟包数量,根据该丟包数量判断丟包行为是常态化的偶尔丟包行为或者是突发 性的丟包行为; 如果是常态化的偶尔丟包行为, 则获取每一个被丟弃的报文; 如果是突发性的丟包行为,则按照预设比例获取被丟弃的报文,例如每丟弃 100 份报文获取一份被丟弃报文。 The packet loss node sends the packet loss report packet to the processing node. The packet loss report packet is sent to the processing node. The packet loss node obtains the discarded packet, including: the number of lost packets in the unit time of the packet loss node, and the packet loss behavior is normalized occasional packet loss behavior or suddenness according to the number of the packet loss. Packet loss behavior; if it is a normalized occasional packet loss behavior, it acquires each discarded packet; if it is a sudden packet loss behavior, it obtains the discarded packet according to a preset ratio, for example A discarded packet is obtained for every 100 packets discarded.
101b,处理节点提取丟包报告报文中携带的丟包节点的地址和丟包接口信 息, 并识别丟包报告报文的业务类型和用户信息。 101b. The processing node extracts the address of the packet loss node and the packet loss interface information carried in the packet loss report message, and identifies the service type and user information of the packet loss report message.
由于丟包报告报文是根据被丟弃报文生成的, 因此,丟包报告报文的业务 类型和用户信息也就是被丟弃 文的业务类型和用户信息。 The packet loss report packet is generated based on the discarded packet. Therefore, the service type and user information of the packet loss report packet are the service type and user information of the discarded packet.
所说的接口信息至少包括接口索引, 还可以包括接口描述等信息。 The interface information includes at least an interface index, and may also include information such as an interface description.
所说的业务类型可以是个人上网业务(High Speed lnternet , HSI ), 交互 式网络电视(IPTV )业务,网络电话(VoIP )业务,或企业虚拟专用网络(Virtual Private Network, VPN ) 业务等。 不同类型的报文携带的标签是不同的, 可以 通过识别标签来区分业务类型, 例如 MPLS网络中 PE节点为不同的业务创建不 同的虚拟专用网络( Virtual Private Network, VPN ) , 可以通过识别报文的 VPN 标签来区分业务类型。 The type of service may be a personal high-speed Internet (HSI), an interactive network television (IPTV) service, a VoIP service, or a virtual private network (VPN) service. Different types of packets carry different labels. You can identify the service type by identifying the label. For example, the PE node in the MPLS network creates different virtual private networks (VPNs) for different services. VPN tags to differentiate business types.
所说的用户信息可以是地址信息或者电话号码等。报文中携带有发送方和 接收方的网络( IP )地址,可以用 IP地址表示用户。在某些类型的网络例如 VoIP 网络中,报文中也会携带用户的电话号码等信息, 此时也可以用电话号码表示 用户。 The user information may be address information or a telephone number or the like. The message carries the network (IP) address of the sender and the receiver, and the user can be represented by the IP address. In some types of networks, such as VoIP networks, messages also carry information such as the user's phone number. In this case, the user can also be represented by a phone number.
至此, 处理节点已经获取了足够的丟包信息, 丟包信息至少包括: 丟包节 点的地址、丟包节点中丟包接口信息、以及被丟弃报文的业务类型和用户信息。 当然, 在具体的应用中, 处理节点也可以获取更多的丟包信息,例如, 丟包接 口处的队列深度等信息。 At this point, the processing node has obtained sufficient packet loss information. The packet loss information includes at least: the address of the packet loss node, the packet loss interface information in the packet loss node, and the service type and user information of the discarded packet. Of course, in a specific application, the processing node can also obtain more packet loss information, for example, the queue depth at the packet loss interface.
下面以 MPLS网络为例进行说明: The following takes the MPLS network as an example:
在 MPLS网络中, 由于 PE节点(一般为网关设备)具有识别业务类型和用 户能力, 因此可以以 PE节点作为处理节点。 如果丟包节点是 PE节点, 则 PE节 点可以直接获取丟包信息;如果丟包节点是 P节点,则 P节点可以获取被丟弃报 文,根据获取的被丟弃报文生成携带有丟包节点的地址和丟包接口信息的丟包
报告报文, 并将丟包报告报文发送给 PE节点, PE节点可以从接收到的 P节点发 送的丟包报告报文中提取丟包信息。 In an MPLS network, since a PE node (generally a gateway device) has an identification service type and a user capability, a PE node can be used as a processing node. If the packet loss node is a PE node, the PE node can directly obtain the packet loss information. If the packet loss node is a P node, the P node can obtain the discarded packet and generate a packet loss packet according to the obtained discarded packet. Packet loss of node address and packet loss interface information Reporting the packet, and sending the packet loss report message to the PE node, the PE node can extract the packet loss information from the received packet loss report message sent by the P node.
下面, 以 P节点为例, 对丟包节点生成丟包报告报文的过程进行描述: 假设 P节点的一个接口发生了队列拥塞丟包, 某用户的报文在队列已满的 情况下不断被丟弃。 由于 P节点在实时监测自身的丟包行为, 因而 P节点知道该 接口发生了丟包, 但是不知道被丟弃报文的业务类型和用户信息。 此时, P节 点可以按预定比例选取被丟弃的报文, 例如, 每丟弃 100份报文, 选取一份报 文。 然后, P节点将自身的地址以及丟包接口信息一并写入所选取报文的数据 区。 从而, 所选取的被丟弃报文转换成为丟包报告报文。 最后, P节点将该丟 包报告报文发送给 PE节点。 通过定义选取报文的比例, 可以决定发送丟包报 告才艮文的频次。 The following takes the P node as an example to describe the process of generating a packet loss report packet on the packet loss node: Assume that a packet on the P node has a queue congestion packet loss, and a packet of a user is continuously received when the queue is full. throw away. Because the P node monitors its own packet loss behavior in real time, the P node knows that the interface has lost packets, but does not know the service type and user information of the discarded packets. At this time, the P node can select the discarded packet according to a predetermined ratio. For example, for every 100 packets discarded, a packet is selected. Then, the P node writes its own address and the packet loss interface information together into the data area of the selected packet. Therefore, the selected discarded packet is converted into a packet loss report message. Finally, the P node sends the packet loss report message to the PE node. By defining the proportion of the selected message, you can decide how often the packet loss report will be sent.
102、 处理节点将所述丟包信息发送给信息中心。 102. The processing node sends the packet loss information to the information center.
信息中心用于接收各个处理节点发送的丟包信息。也就是说, 网络中的所 有丟包信息均在信息中心集中,供网络维护人员分析处理使用。在不同的网络 中, 所说的信息中心可以是不同的设备。 在 MPLS网络中, 与作为处理节点的 PE节点连接的网络流量(Netstream )服务器可以作为信息中心; 在 VoIP网络 中, 与媒体网关连接的软交换设备 ( Softswitch )可以作为信息中心。 The information center is used to receive packet loss information sent by each processing node. That is to say, all packet loss information in the network is centralized in the information center for network maintenance personnel to analyze and use. In different networks, the information center can be different devices. In an MPLS network, a network traffic (Netstream) server connected to a PE node as a processing node can serve as an information center; in a VoIP network, a softswitch device (Softswitch) connected to a media gateway can serve as an information center.
处理节点可以将丟包信息直接发送给信息中心;也可以将丟包信息发送给 下游设备, 由该下游设备将丟包信息发送给信息中心。 当然, 由于处理节点连 接的信息中心和下游设备连接的信息中心可能是不同的设备,为了使各个信息 中心设备均能收集到丟包信息, 处理节点可以将丟包信息既发送给信息中心, 又发送给下游设备。 The processing node can send the packet loss information to the information center directly. The packet loss information can be sent to the downstream device. The downstream device sends the packet loss information to the information center. Of course, since the information center connected to the processing node and the information center connected to the downstream device may be different devices, in order to enable the information center device to collect the packet loss information, the processing node may send the packet loss information to the information center, and Send to downstream devices.
例如, 在处理节点是 MPLS域内的 PE节点时, 处理节点将丟包信息发送给 信息中心可以包括: For example, when the processing node is a PE node in the MPLS domain, the processing node sends the packet loss information to the information center, which may include:
PE节点将丟包信息发送给 Netstream服务器; 或者, The PE node sends the packet loss information to the NetStream server; or
PE节点将丟包信息发送位于 MPLS域外的下游设备, 再由下游设备将丟包 信息发送给该下游设备连接的信息中心; 例如, 下游设备是媒体网关时, 媒体 网关设备在收到丟包信息后, 可以将丟包信息发送软交换设备。 The PE node sends the packet loss information to the downstream device outside the MPLS domain, and then the downstream device sends the packet loss information to the information center connected to the downstream device. For example, when the downstream device is the media gateway, the media gateway device receives the packet loss information. After that, the packet loss information can be sent to the softswitch device.
其中, PE节点将丟包信息发送给 Netstream服务器具体可以是: PE节点将
丟包信息封装在网络协议(Internet Protocol, IP )数据流信息输出 (IP Flow Information Export, IPFIX ) 文中发送给 Netstream服务器。 The PE node sends the packet loss information to the NetStream server. The PE node will: The packet loss information is encapsulated in the Internet Protocol (IP) Data Flow Information Export (IPFIX) text and sent to the NetStream server.
PE节点将丟包信息发送位于 MPLS域外的下游设备具体可以是: 将丟包信 息封装在因特网控制报文协议(Internet Control Message Protocol, ICMP )报 文中发送给作为下游设备的媒体网设备关,由媒体网关设备将丟包信息封装在 会话初始协议( Session Initiation Protocol, SIP )信令才艮文中发送给软交换设备。 The PE node sends the packet loss information to the downstream device that is located outside the MPLS domain. The packet loss information is encapsulated in the Internet Control Message Protocol (ICMP) packet and sent to the media network device as the downstream device. The packet loss information is encapsulated in the Session Initiation Protocol (SIP) signaling message sent by the media gateway device to the softswitch device.
IPFIX是基于流的技术, 具有广泛的应用, 具体包括华为的 NetStream技 术、 思科(Cisco ) 的 NetFlow技术等。 版本九( Version9 ) 的 NetStream是基 于模板( Template ) 的, 模板提供了灵活可扩展的报文输出格式, 这使得在不 改变基本记录格式的情况下, 方便的增加了新的流统计服务。 NetStream Version9的格式不固定,其中一种格式表 1所示, 包括: 包头( Packet Header )、 模板流量集 (Template flowset ) 以及与模板流量集对应的数据流量集(Date flowset )等域。 本实施例中, 可以定义一个描述丟包信息的模板流量集, 将丟 包信息写入模板对应的数据流量集中, 实现将丟包信息封装在 IPFIX报文中。 IPFIX is a stream-based technology with a wide range of applications, including Huawei's NetStream technology and Cisco's NetFlow technology. Version 9 (Version9) NetStream is based on Template. The template provides a flexible and extensible message output format, which makes it easy to add new stream statistics services without changing the basic record format. The format of NetStream Version 9 is not fixed. One of the format tables 1 includes: a packet header, a template flowset, and a data flow set corresponding to the template traffic set. In this embodiment, a template traffic set that describes the packet loss information may be defined, and the packet loss information is written into the data traffic set corresponding to the template, so that the packet loss information is encapsulated in the IPFIX packet.
ICMP是一种面向连接的协议, 用于传输出错报告控制信息。 ICMP报文的 格式如表 2所示, 包括: IP头部、 类型、 代码、 校验和、 标识符、 序列号、 有 效载荷等域。 本实施例中, 可以利用现有网络中不采用的类型字段, 或者通过 扩充类型字段增加丟包报告报文类型, 将 ICMP报文标识为丟包报告报文, 然 后将丟包信息写入有效载荷(PayLoad ) 。 ICMP is a connection-oriented protocol for transmitting error reporting control information. The format of the ICMP message is shown in Table 2. It includes: IP header, type, code, checksum, identifier, serial number, payload, and so on. In this embodiment, the type field that is not used in the existing network may be used, or the packet type of the packet loss report may be increased by using the extended type field, and the ICMP packet is identified as a packet loss report packet, and then the packet loss information is effectively written. Load (PayLoad).
SIP是一个会话层的信令控制协议。 SIP信令报文的格式如表 3所示, 包括:
SIP版本( version )、状态代码( Status code )、与状态代码对应的原因字段( Reason phrase )等域。 本实施例中, 可以通过扩展状态代码增加丟包报告报文类型, 将 SIP信令报文标识为丟包报告报文, 然后将丟包信息写入增加的状态代码对 应的原因字段中。 SIP is a session layer signaling control protocol. The format of the SIP signaling packet is shown in Table 3. It includes: The SIP version ( version ), status code (Status code), and the reason field corresponding to the status code ( Reason phrase ). In this embodiment, the packet loss report type is increased by the extended status code, the SIP signaling packet is identified as a packet loss report message, and the packet loss information is written in the reason field corresponding to the added status code.
表 3 table 3
SIP version Status code Reason phrase 信息中心收到的丟包信息至少包括: 丟包节点的地址、丟包节点的丟包接 口信息、 以及被丟弃报文的业务类型和用户信息。 信息中心收到丟包信息后, 就可以利用所述丟包节点的地址信息定位异常设备(即丟包节点)在网络中的 位置, 利用所述接口信息定位异常端口 (即丟包节点的丟包接口)在异常设备 上的位置, 利用所述业务类型和用户信息对该业务和用户的月良务质量( Quality of Service, QoS )参数进行调整或通过增加物理链路调整带宽, 改善网络服务 质量。 The packet loss information received by the information center includes at least the address of the packet loss node, the packet loss interface information of the packet loss node, and the service type and user information of the discarded packet. After receiving the packet loss information, the information center can use the address information of the packet loss node to locate the location of the abnormal device (that is, the packet loss node) in the network, and use the interface information to locate the abnormal port (that is, the lost node). The location of the packet interface on the abnormal device, using the service type and user information to adjust the Quality of Service (QoS) parameters of the service and the user, or adjusting the bandwidth by adding a physical link, and improving the network service. quality.
需要说明的是,丟包节点按照预设比例获取被丟弃的报文时,有些类型的 被丟弃报文会被漏选, 则有可能发生丟包信息丟失的情况, 针对这种情况, 信 息中心收到丟包信息后,可以认为该丟包节点的该丟包接口的与所述被丟弃报 文的优先级相同的所有种类的报文都存在丟包现象。 It should be noted that when a packet loss node obtains a discarded packet according to a preset ratio, some types of discarded packets are missed, and packet loss information may be lost. After receiving the packet loss information, the information center can be considered to have packet loss on all types of packets of the packet loss interface that have the same priority as the discarded packet.
采用本发明实施例方法, 网络节点在发生队列拥塞丟包时,丟包节点可以 通过处理节点将丟包信息集中传递到信息中心。这样, 网络维护人员就可以从 信息中心知悉各个节点的丟包信息, 方便的进行分析解决, 而不必通过登录网 络设备用命令行对逐个设备进行排查和解决。从而, 可以提升网络业务丟包问 题定位及处理速度, 能够有效降低网络运行维护费用。 According to the method of the embodiment of the present invention, when a network node loses packet loss, the packet loss node can centrally transmit the packet loss information to the information center through the processing node. In this way, the network maintenance personnel can know the packet loss information of each node from the information center, and conveniently analyze and solve the problem without having to log in to the network device to check and solve each device by command line. Therefore, the positioning and processing speed of the network service packet loss problem can be improved, and the network operation and maintenance cost can be effectively reduced.
一种实施方式中,为了使处理节点易于将接收的丟包报告报文与普通的报 文区分开来,丟包节点在生成丟包报告报文的过程中, 可以在选取的被丟弃报 文中写入预先定义好的检测标签(Diagnostic Label ), 以表示包含该检测标签 的报文为丟包报告报文。 本实施例中, 上述步骤 101a具体可以包括: In an implementation manner, in order to make the processing node easy to distinguish the received packet loss report message from the ordinary message, the packet loss node may select the discarded report in the process of generating the packet loss report message. A predefined detection label (Diagnostic Label) is written in the text to indicate that the packet containing the detection label is a packet loss report message. In this embodiment, the foregoing step 101a may specifically include:
101al、 处理节点接收发生丟包节点发送的报文; The processing node receives the packet sent by the packet loss node.
101a2、 检测接收的报文是否包含检测标签; 101a2, detecting whether the received packet includes a detection label;
101a3、 确认包含检测标签的报文为丟包报告报文。
本实施例中, 以检测标签来标识丟包报告报文,使处理节点能够方便快捷 的从接收到的大量报文中识别出丟包报告报文, 加快处理速度。 101a3. Confirm that the packet containing the detection label is a packet loss report message. In this embodiment, the detection packet is used to identify the packet loss report packet, so that the processing node can quickly and easily identify the packet loss report packet from the received large number of packets, thereby speeding up the processing.
请参考图 3, 本实施例提供一种网络丟包信息报告方法, 包括: Referring to FIG. 3, this embodiment provides a network packet loss information reporting method, including:
201、 丟包节点获取被丟弃报文, 根据获取的被丟弃报文生成丟包报告报 文, 所述丟包报告报文携带丟包节点的地址和丟包接口信息。 201. The packet loss node obtains the discarded packet, and generates a packet loss report packet according to the obtained discarded packet, where the packet loss report packet carries the address of the packet loss node and the packet loss interface information.
具体的,丟包节点获取被丟弃报文, 并获取自身的地址以及具体发生队列 拥塞丟包的丟包接口信息;丟包节点将所说的地址和接口信息写入所获取的被 丟弃报文中,则写入了所述地址和接口信息的被丟弃报文就成为了本文所说的 丟包报告报文。 Specifically, the packet loss node obtains the discarded packet, and obtains its own address and the packet loss interface information of the specific congestion packet loss; the packet loss node writes the address and interface information and the obtained packet is discarded. In the message, the discarded packet with the address and interface information written becomes the packet loss report message.
其中, 所说的丟包节点获取被丟弃报文包括: 丟包节点统计单位时间内的 丟包数量,根据该丟包数量判断丟包行为是常态化的偶尔丟包行为或者是突发 性的丟包行为; 如果是常态化的偶尔丟包行为, 则获取每一个被丟弃的报文; 如果是突发性的丟包行为,则按照预设比例获取被丟弃的报文,例如每丟弃 100 份报文获取一份被丟弃报文。 The packet loss node obtains the discarded packet, including: the number of lost packets in the unit time of the packet loss node, and the packet loss behavior is normalized occasional packet loss behavior or suddenness according to the number of the packet loss. Packet loss behavior; if it is a normalized occasional packet loss behavior, it acquires each discarded packet; if it is a sudden packet loss behavior, it obtains the discarded packet according to a preset ratio, for example A discarded packet is obtained for every 100 packets discarded.
下面以丟包节点为 MPLS网络中的 P节点为例进行说明: The following takes the packet loss node as the P node in the MPLS network as an example:
假设 P节点的一个接口发生了队列拥塞丟包, 某用户的报文在队列已满的 情况下不断被丟弃。 由于 P节点在实时监测自身的丟包行为, 因而 P节点知道该 接口发生了丟包, 但是不知道被丟弃报文的类型和用户信息。 此时, P节点可 以按预定比例选取被丟弃的报文, 例如, 每丟弃 100份报文, 选取一份报文。 然后, P节点将自身的地址以及丟包接口信息一并写入所选取报文的数据区。 从而, 所选取的被丟弃报文转换成为丟包报告报文。 Assume that a packet on the P-node is congested and packet loss occurs. A packet of a user is continuously discarded when the queue is full. Because the P node monitors its own packet loss behavior in real time, the P node knows that the interface has lost packets, but does not know the type of discarded packets and user information. At this time, the P node can select the discarded packet according to a predetermined ratio. For example, each time 100 packets are discarded, one packet is selected. Then, the P node writes its own address and the packet loss interface information together into the data area of the selected message. Therefore, the selected discarded packet is converted into a packet loss report message.
202、 丟包节点将丟包报告报文发送给处理节点, 以便处理节点从丟包报 告报文获取丟包信息, 并将丟包信息发送给信息中心, 该丟包信息包括: 丟包 节点的地址、丟包节点的丟包接口信息、 以及被丟弃报文的业务类型和用户信 息。 202. The packet loss node sends the packet loss report message to the processing node, so that the processing node obtains the packet loss information from the packet loss report message, and sends the packet loss information to the information center, where the packet loss information includes: Address, packet loss interface information of the packet loss node, and service type and user information of the discarded packet.
本步骤中, 不具有识别业务类型和用户能力的丟包节点,将生成的丟包报 告报文中继到具有识别业务类型和用户能力的处理节点 (例如 PE节点), 通过 处理节点将丟包信息发送到信息中心。 In this step, the packet loss node that does not have the service type and the user capability is configured to relay the generated packet loss report message to a processing node (such as a PE node) that has the identified service type and user capability, and the packet is lost through the processing node. Information is sent to the information center.
其中,丟包节点发送丟包报告报文的步骤具体可以是: 提高丟包报告报文
的优先级, 以丟包接口的最大发送能力将丟包报告报文发送给处理节点。 The step of sending a packet loss report packet by the packet loss node may be: improving the packet loss report packet. The priority of the packet is sent to the processing node by the maximum transmission capability of the packet loss interface.
采用本发明实施例方法, 网络中节点在发生队列拥塞丟包时, 可以通过处 理节点将丟包信息集中传递到信息中心。这样, 网络维护人员就可以从信息中 心知悉各个节点的丟包信息, 方便的进行分析解决, 而不必通过登录网络设备 用命令行对逐个设备进行排查和解决。从而, 可以提升网络业务丟包问题定位 及处理速度, 能够有效降低网络运行维护费用。 According to the method of the embodiment of the present invention, when a node in the network loses a packet, the processing node can centrally transmit the packet loss information to the information center. In this way, the network maintenance personnel can know the packet loss information of each node from the information center, and conveniently analyze and solve the problem without having to log in to the network device to check and solve each device by command line. Therefore, the positioning and processing speed of the network service packet loss problem can be improved, and the network operation and maintenance cost can be effectively reduced.
一种实施方式中,为了使处理节点易于将接收的丟包报告报文与普通的报 文区分开来,丟包节点在生成丟包报告报文的过程中, 可以在选取的报文中写 入预先定义好的检测标签, 以表示包含该检测标签的报文为丟包报告报文。 本 实施例中, 上述步骤 201具体可以包括: In an implementation manner, in order to make the processing node easy to distinguish the received packet loss report message from the ordinary message, the packet loss node may write in the selected message in the process of generating the packet loss report message. Enter a predefined detection label to indicate that the packet containing the detection label is a packet loss report message. In this embodiment, the foregoing step 201 may specifically include:
丟包节点获取被丟弃报文, 并获取自身的地址以及丟包接口信息; 丟包节点将所说的地址和接口信息以及预定义的检测标签写入所获取的 被丟弃报文中, 以生产丟包报告报文。 The packet loss node obtains the discarded packet and obtains its own address and the packet loss interface information. The packet loss node writes the address and interface information and the predefined detection label into the obtained discarded packet. To produce a packet loss report message.
经过本步骤,写入了上述各项信息的被丟弃报文就成为了本文所说的丟包 报告报文; 其中, 检测标签用于表示包含该检测标签的报文为丟包报告报文。 After this step, the discarded packet that has been written with the above information becomes the packet loss report packet. The detection label is used to indicate that the packet containing the detection label is a packet loss report packet. .
本实施例中, 以检测标签来标识丟包报告报文,使处理节点能够方便快捷 的从接收到的大量报文中识别出丟包报告报文, 加快处理速度。 In this embodiment, the detection packet is used to identify the packet loss report packet, so that the processing node can quickly and easily identify the packet loss report packet from the received large number of packets, thereby speeding up the processing.
请参考图 4所示的 MPLS网络, 在图 2和图 3提供的上述实施例的基础上, 本实施例提供的网络丟包信息报告方法应用于 MPLS网络域内。 该 MPLS网络 包括节点 PE1、 P和 PE2, PE1和 PE2均与 Netstream服务器连接。 其中, 处理节 点可以是节点 PE1或 PE2。 Referring to the MPLS network shown in FIG. 4, based on the foregoing embodiment provided in FIG. 2 and FIG. 3, the network packet loss information reporting method provided in this embodiment is applied to the MPLS network domain. The MPLS network includes nodes PE1, P, and PE2, and both PE1 and PE2 are connected to the Netstream server. The processing node can be node PE1 or PE2.
本实施例中, 某种报文从节点 PE1进入 MPLS网络, 该报文包含两层标签, 其第一层标签为传输标签(Tunnel Label ), 第二层标签为用户标签; 其中用户 标签具体可以是业务标签或者虚拟信道标签( Virtual Channel Label, VC Label ) 或者虚拟专用网标签( Virtual Private Network Label, VPN Label )。 假定用户 标签为 2 ,传输标签为 18。假设该种报文在 Ρ节点的某个接口发生队列拥塞丟包, 贝' JP节点按预定比例选取被丟弃报文, 压入检测标签(例如 15 )。 此时, 由于该 报文已到达 Ρ节点, 传输标签已经交换, 假设此时的传输标签为 4。 压入检测标 签后, 三层标签具体为: 第一层传输标签 4, 第二层检测标签 15, 第三层用户
标签 2。 即, 检测标签代替用户标签被压入第二层, 而用户标签改为压入第三 层。 同时, P节点获取自身的地址和丟包接口的接口信息, 将该地址和接口信 息写入被丟弃报文的数据区。 至此, 被丟弃报文转换成为丟包报告报文。 然后 将该丟包报告报文发送给处理节点 PE2进行处理。 图 5示出了处理节点 PE2对收 到丟包报告报文后的处理过程, 包括: In this embodiment, a certain packet enters the MPLS network from the node PE1, and the packet includes two layers of labels. The first layer label is a tunnel label, and the second layer label is a user label. It is a service label or a virtual channel label (VC Label) or a virtual private network label (VPN Label). Assume that the user tag is 2 and the transport tag is 18. Assume that the packet has a queue congestion packet on an interface of the node, and the PM' JP node selects the discarded packet according to a predetermined ratio and pushes the detection label (for example, 15). At this time, since the message has arrived at the node, the transport label has been exchanged, assuming that the transport label at this time is 4. After the detection label is pressed, the three-layer label is specifically: the first layer transmission label 4, the second layer detection label 15, the third layer user Label 2. That is, the detection tag is pressed into the second layer instead of the user tag, and the user tag is pressed into the third layer instead. At the same time, the P node obtains its own address and interface information of the packet loss interface, and writes the address and interface information into the data area of the discarded packet. At this point, the discarded message is converted into a packet loss report message. The packet loss report message is then sent to the processing node PE2 for processing. FIG. 5 shows a process after the processing node PE2 receives the packet loss report message, including:
401、 PE2接收报文并检测收到的报文是否包含检测标签。 401. The PE2 receives the packet and detects whether the received packet includes the detection label.
具体的, PE2收到报文后, 弹出第二层标签, 如果该报文为丟包报告报文, 则弹出的第二层标签是检测标签, 从而 PE2根据预先设置确认该报文为丟包报 告报文, 然后对该丟包报告报文进行后续处理。如果弹出的第二层标签是用户 标签, 说明仅仅是普通的报文, 则 PE2照常执行转发操作。 Specifically, after the packet is received by the PE2, the second layer label is displayed. If the packet is a packet loss report packet, the second layer label is a detection label. Therefore, the PE2 confirms that the packet is a packet according to a preset setting. Report the packet, and then perform subsequent processing on the packet loss report packet. If the second layer label is a user label, the description is only a normal packet, and PE2 performs the forwarding operation as usual.
402、 PE2获取丟包报告报文携带的丟包信息。 402. The PE2 obtains the packet loss information carried in the packet loss report packet.
具体包括: PE2提取丟包报告报文携带的丟包节点的地址和丟包接口的接 口信息, 识别丟包报告报文的业务类型和用户信息。 Specifically, the PE2 extracts the address of the packet loss node and the interface information of the packet loss interface, and identifies the service type and user information of the packet loss report message.
403、 PE2将丟包信息发送给信息中心, 所述丟包信息包括: 丟包节点的 地址、丟包节点的丟包接口的接口信息、 以及被丟弃报文的业务类型和用户信 息。 403. The PE2 sends the packet loss information to the information center, where the packet loss information includes: an address of the packet loss node, an interface information of the packet loss interface of the packet loss node, and a service type and user information of the discarded packet.
具体可以是: PE2将丟包信息封装在 IPFIX报文中, 发送给 Netstream服务 器; 或者, PE2将丟包信息封装在 ICMP报文中,根据用户信息中的的接收方地 址将该 ICMP报文发送给下游设备, 再由下游设备将丟包信息发送给该下游设 备连接的信息中心; 例如, 下游设备是媒体网关时, 媒体网关在收到丟包信息 后,可以将丟包信息发送软交换设备。其中,可以在 PE2的访问控制列表( Access Control List, ACL ) 中进行配置, 指定是否要将丟包信息发送给下游设备。 Specifically, the PE2 encapsulates the packet loss information in the IPFIX packet and sends the packet to the NetStream server. Alternatively, the PE2 encapsulates the packet loss information in the ICMP packet, and sends the ICMP packet according to the receiver address in the user information. The downstream device sends the packet loss information to the information center connected to the downstream device. For example, when the downstream device is the media gateway, the media gateway can send the packet loss information to the softswitch device after receiving the packet loss information. . It can be configured in the Access Control List (ACL) of PE2 to specify whether to send packet loss information to downstream devices.
本实施例中, 对于如何使用检测标签来标识丟包报告报文进行了详细说 明,通过该种方式, 处理节点可以快速从接收到的大量报文中识别出丟包报告 报文, 从而及时提取并发送丟包信息到信息中心。 In this embodiment, how to use the detection label to identify the packet loss report message is described in detail. In this manner, the processing node can quickly identify the packet loss report message from the received large number of packets, so as to timely extract And send the packet loss information to the information center.
请参考图 6所示的网络, 该网络包括作为运营商核心网络的 MPLS网络, 和与用户端连接的网络电话( Voice over Internet Protocol , VoIP )网络。 其中, MPLS网络包括节点 PE1、 P和 PE2; VoIP网络包括与 PE2连接的媒体网关( media gateway, MGW ), 与媒体网关连接的 SoftS witch; 用户端与媒体网关连接。 在
图 5提供的实施例的基础上, 本实施例提供的网络丟包信息报告方法, 应用于 在 MPLS网络域内的节点发送队列拥塞丟包时, 通过 MPLS网络域外的 VoIP网 络中的下游设备将丟包信息报告至信息中心。 本实施例中通过对 VoIP的 SIP信 令进行扩展, 实现与 VoIP业务的联动。 Please refer to the network shown in FIG. 6. The network includes an MPLS network as an operator core network, and a Voice over Internet Protocol (VoIP) network connected to the UE. The MPLS network includes nodes PE1, P, and PE2. The VoIP network includes a media gateway (MGW) connected to the PE2, and a SoftSitch connected to the media gateway. The client is connected to the media gateway. In On the basis of the embodiment provided in FIG. 5, the network packet loss information reporting method provided in this embodiment is applied to a node in the MPLS network domain, and when a node sends a queue congestion packet loss, the downstream device in the VoIP network outside the MPLS network domain will be lost. The package information is reported to the information center. In this embodiment, the SIP signaling of the VoIP is extended to implement linkage with the VoIP service.
接上一实施例,假定 PE2已将丟包信息封装在 ICMP报文中发送给作为下游 设备的媒体网关 (media gateway, NGW )。 媒体网关收到 ICMP报文后, 获取 ICMP报文携带的丟包信息。 然后, 媒体网关将丟包信息写入扩展的 SIP信令报 文中, 将写有丟包信息的 SIP信令报文发送给 Softswitch。 In the previous embodiment, it is assumed that PE2 has encapsulated the packet loss information in an ICMP message and sends it to the media gateway (NGW) as a downstream device. After receiving the ICMP packet, the media gateway obtains the packet loss information carried in the ICMP packet. Then, the media gateway writes the packet loss information to the extended SIP signaling packet, and sends the SIP signaling packet with the packet loss information to the Softswitch.
本实施例中, MPLS网络中各个节点的丟包信息可以依次通过 PE节点和下 游设备(例如 VoIP网络中的媒体网关)传递到到信息中心(具体为 Softswitch )。 其它类型网络中的其它设备。 In this embodiment, the packet loss information of each node in the MPLS network may be transmitted to the information center (specifically, Softswitch) through the PE node and the downstream device (for example, the media gateway in the VoIP network). Other devices in other types of networks.
请参考图 7所示的网络, 该网络包括作为运营商核心网络的 MPLS网络, 和 MPLS网络域外且与 MPLS网络连接的第一接入网和第二接入网, 第一接入 网和第二接入网均为 VoIP网络。其中, 第一接入网通过第一媒体网关与第一用 户端连接, 第二接入网通过第二媒体网关与第二用户端连接,且第一媒体网关 和第二媒体网关均与 SoftS witch连接。 MPLS网络包括节点 PE1、 P和 PE2, PE1 和 PE2均与 Netstream服务器连接。 在图 7提供的实施例的基础上, 本实施例提 供的网络丟包信息报告方法, 应用于 MPLS网络域外的 VoIP网络的节点发生拥 塞丟包时, 将丟包信息 告至信息中心。 Please refer to the network shown in FIG. 7, the network includes an MPLS network as an operator core network, and a first access network and a second access network outside the MPLS network domain and connected to the MPLS network, the first access network and the first Both access networks are VoIP networks. The first access network is connected to the first user end by using the first media gateway, the second access network is connected to the second user end by using the second media gateway, and the first media gateway and the second media gateway are both connected to the SoftS witch. connection. The MPLS network includes nodes PE1, P, and PE2, and both PE1 and PE2 are connected to the NetStream server. Based on the embodiment provided in FIG. 7, the network packet loss information reporting method provided in this embodiment is applied to the information center when the node of the VoIP network outside the MPLS network domain experiences congestion and packet loss.
假定第一用户端向第二用户端传递语音信号, 具体为: 第一媒体网关将来 自于第一用户端的语音信号封装为报文, 该报文依次经过第一接入网, MPLS 网络中的节点 PE1、 P和 PE2, 第二接入网到达第二媒体网关, 再还原为语音信 号传递给第二用户端。 该过程中: Assume that the first user end delivers a voice signal to the second user end, specifically: the first media gateway encapsulates the voice signal from the first user end into a packet, and the message sequentially passes through the first access network, in the MPLS network. The nodes PE1, P, and PE2, and the second access network arrives at the second media gateway, and then restores the voice signal to the second user. In the process:
若第一接入网的某个节点发生拥塞丟包, 则丟包信息 告方法如下: 节点的节点 PE1。 If congestion occurs on a node of the first access network, the packet loss information is reported as follows: Node PE1 of the node.
502、 PE1收到丟包报告报文后, 获取丟包报告报文携带的丟包信息; 502. After receiving the packet loss report packet, the PE1 obtains the packet loss information carried in the packet loss report packet.
503、 PE1将丟包信息发送给信息中心。
其中, PE1可以丟包信息封装在 ICMP报文中发送给 Netstream服务器, 或 者, 可以将携带丟包信息的丟包报告报文通过第一接入网发送给第一媒体网 关, 由第一媒体网关提取丟包信息, 然后将丟包信息写入扩展的 SIP信令报文 发送给 Softswitch。 需要说明的是, 这两种发送方式可以一起执行, 即, 将丟 包信息既发给 Netstream服务器, 又发给 Softswitch。 503. The PE1 sends the packet loss information to the information center. The packet loss information of the packet can be sent to the NetStream server in the ICMP packet, or the packet loss report packet carrying the packet loss information can be sent to the first media gateway through the first access network by the first media gateway. The packet loss information is extracted, and the packet loss information is sent to the extended SIP signaling packet and sent to the Softswitch. It should be noted that the two sending modes can be performed together, that is, the packet loss information is sent to the NetStream server and sent to the Softswitch.
若第二接入网的某个节点发生拥塞丟包, 则丟包信息 告方法如下: If congestion occurs on a node of the second access network, the packet loss information is reported as follows:
601、发生拥塞丟包的节点生成封装为 ICMP报文格式的丟包报告报文发送 给作为处理节点的第二媒体网关。 601. The node that generates the congestion packet sends a packet loss report packet encapsulated in the ICMP packet format to the second media gateway as the processing node.
602、 第二媒体网关也可以直接从丟包报告报文中提取丟包信息, 将丟包 信息写入扩展的 SIP信令报文发送给 Softswitch; 或者, 第二媒体网关将丟包报 告报文通过第二接入网发送给处理节点 PE2 , 由处理节点 PE2将提取丟包信息 并丟包信息封装在 ICMP报文中发送给 Netstream服务器。 需要说明的是, 这两 种发送方式可以一起执行, 即, 将丟包信息既发给 Netstream服务器, 又发给 Softswitch。 602. The second media gateway may also directly extract the packet loss information from the packet loss report packet, and send the packet loss information to the extended SIP signaling packet, and send the packet to the Softswitch. The packet is sent to the processing node PE2 through the second access network, and the processing node PE2 encapsulates the packet loss information and encapsulates the packet loss information in an ICMP packet and sends the packet to the NetStream server. It should be noted that the two transmission modes can be performed together, that is, the packet loss information is sent to the NetStream server and sent to the Softswitch.
本实施例中, 丟包节点采用 ICMP报文将丟包信息传递给处理节点。 而 In this embodiment, the packet loss node uses the ICMP packet to transmit the packet loss information to the processing node. and
ICMP报文是专门用于传输出错报告控制信息的报文, 可以直接视为丟包报告 采用本实施例方法, 在 MPLS网络域外的 VoIP网络的节点发生队列拥塞丟 包时, 可以通过处理节点将丟包信息及时 告给信息中心。 An ICMP packet is a packet that is used to transmit error reporting control information. It can be directly regarded as a packet loss report. The method in this embodiment is used. When a node in a VoIP network outside the MPLS network domain experiences congestion and packet loss, the processing node can The packet loss information is promptly reported to the information center.
以上实施例中, 对于 MPLS网络或 VoIP网络的节点发生拥塞丟包时, 如何 进行丟包信息报告的方法进行说明。 然而, 需要说明的是, 本发明实施例方法 并不限于用在 MPLS网络或 VoIP网络,也可以用在其他类型的数据通信网络中, 例如 IP网络或 QinQ网络中, 对所应用网络的类型不进行限制。 In the above embodiment, how to report the packet loss information when the node of the MPLS network or the VoIP network experiences congestion and packet loss is described. However, it should be noted that the method of the embodiment of the present invention is not limited to use in an MPLS network or a VoIP network, and may also be used in other types of data communication networks, such as an IP network or a QinQ network, and the type of the applied network is not Make restrictions.
在 IP网络中的节点发生丟包时, 丟包节点可以发送 ICMP报文格式的丟包 报告报文给处理节点进行处理。 此时, 丟包报告报文中的 IP协议域为 ICMP, 丟包节点的地址和丟包接口的接口信息写在丟包报告报文的有效载荷中。 其 中,丟包信息除业务类型和用户信息以及丟包节点的地址与丟包接口的接口信 息外, 还可以包括队列深度信息等。 When a packet is lost on a node in the IP network, the packet loss node can send a packet loss report packet in the ICMP packet format to the processing node for processing. At this time, the IP protocol field in the packet loss report packet is ICMP. The address of the packet loss node and the interface information of the packet loss interface are written in the payload of the packet loss report packet. The packet loss information may include queue depth information and the like, in addition to the service type and user information, and the address of the packet loss node and the interface information of the packet loss interface.
QinQ又称为复式虚拟局域网 ( Double Virtual Local Area Network, Double
VLAN )o QinQ网络中的节点发生丟包时, 发生丟包的节点可以发送 VLAN报 文格式的丟包报告报文给处理节点进行处理。 其中, 可以在 VLAN报文中利用 特殊标识号 (VLAN Identification, VLAN ID )将 VLAN报文标识为丟包报告 报文。其中,丟包信息除业务类型和用户信息以及丟包节点的地址与丟包接口 的接口信息外, 还可以包括队列深度信息等。 QinQ is also known as dual virtual local area network (Double Virtual Local Area Network, Double VLAN ● When a packet is lost on a node in the QinQ network, the node that has lost the packet can send a packet loss report in the format of a VLAN packet to the processing node for processing. A VLAN packet is identified as a packet loss report packet by using a VLAN identification (VLAN ID). The packet loss information may include queue depth information and the like, in addition to the service type and user information, and the address of the packet loss node and the interface information of the packet loss interface.
总之, 网络运营商越来越关注网络用户体验 (Quality of Experience, QoE), 本发明实施例的丟包信息报告方法能够及时获取各个节点的丟包信息并将丟 包信息集中到信息中心,为网络运行维护提供了一个可靠有效的网络健康检测 手段,能够提升网络业务丟包问题定位速度,能够有效降低网络运行维护费用。 In summary, the network operator pays more and more attention to the quality of experience (QoE). The packet loss information reporting method in the embodiment of the present invention can timely obtain the packet loss information of each node and collect the packet loss information into the information center. Network operation and maintenance provides a reliable and effective network health detection method, which can improve the positioning speed of network service packet loss problems and effectively reduce network operation and maintenance costs.
请参考图 8, 本发明实施例还提供一种网络节点, 包括: Referring to FIG. 8, an embodiment of the present invention further provides a network node, including:
获取模块 810, 用于获取丟包信息, 丟包信息包括: 丟包节点的地址、 丟 包节点的丟包接口信息、 以及被丟弃报文的业务类型和用户信息; The obtaining module 810 is configured to obtain the packet loss information, where the packet loss information includes: an address of the packet loss node, a packet loss interface information of the packet loss node, and a service type and user information of the discarded packet;
报告模块 820, 用于将丟包信息发送给信息中心。 The reporting module 820 is configured to send the packet loss information to the information center.
一个实施例中, 所述获取模块 810可以进一步包括: In an embodiment, the obtaining module 810 may further include:
接收单元 811 , 用于接收丟包节点发送的丟包报告报文, 所述丟包报告报 文是丟包节点根据被丟弃报文生成的, 携带有丟包节点的地址和丟包接口信 息; The receiving unit 811 is configured to receive a packet loss report message sent by the packet loss node, where the packet loss report message is generated by the packet loss node according to the discarded packet, and carries the address of the packet loss node and the packet loss interface information. ;
提取单元 812, 用于提取所述丟包报告报文中携带的丟包节点的地址和丟 包接口信息, 并识别所述丟包报告报文的业务类型和用户信息。 The extracting unit 812 is configured to extract the address of the packet loss node and the packet loss interface information carried in the packet loss report message, and identify the service type and user information of the packet loss report message.
进一步的, 所述获取模块 810还可以包括: Further, the obtaining module 810 may further include:
检测单元 813, 用于检测接收单元 811接收的报文是否包含检测标签; 确认单元 814, 用于确认包含检测标签的报文为丟包报告报文。 The detecting unit 813 is configured to detect whether the packet received by the receiving unit 811 includes a detection label, and the confirming unit 814 is configured to confirm that the packet including the detection label is a packet loss report message.
一个实施例中, 所述报告模块 820可以进一步包括: In an embodiment, the reporting module 820 may further include:
第一报告单元 821 , 用于将所述丟包信息直接发送给信息中心; The first reporting unit 821 is configured to send the packet loss information directly to the information center;
第二报告单元 822, 用于将所述丟包信息发送给下游设备, 由所述下游设 备将所述丟包信息发送给信息中心。 The second reporting unit 822 is configured to send the packet loss information to the downstream device, where the downstream device sends the packet loss information to the information center.
进一步的, 在处理节点为多协议标签交换 MPLS网络域内的运营商边缘 PE 节点时, Further, when the processing node is a multi-protocol label switching carrier edge PE node in the MPLS network domain,
第一报告单元 821 , 可以具体用于将所述丟包信息封装在网络协议数据流
信息输出 IPFIX报文中发送给网络流量分析服务器; The first reporting unit 821 may be specifically configured to encapsulate the packet loss information in a network protocol data stream. The information output IPFIX message is sent to the network traffic analysis server;
第二报告单元 822, 可以具体用于将所述丟包信息封装在因特网控制报文 协议 ICMP报文中发送给下游的媒体网关设备, 由所述媒体网关设备将所述 ICMP报文封装在会话初始协议 SIP信令报文中发送给软交换设备。 The second reporting unit 822 may be specifically configured to encapsulate the packet loss information in an Internet Control Message Protocol (ICMP) packet and send the packet to a downstream media gateway device, where the media gateway device encapsulates the ICMP packet in a session. The initial protocol SIP signaling packet is sent to the softswitch device.
所述网络节点作为处理节点, 具体可以是网关设备。 The network node is a processing node, and specifically may be a gateway device.
本发明实施例提供的网络节点,作为处理节点, 可以接收网络中的各个节 点在发生丟包时生成并发送的丟包报告报文,从收到的丟包报告报文中提取丟 包信息, 然后将丟包信息集中发送到信息中心。 这样, 网络维护人员就可以从 信息中心知悉各个节点的丟包信息, 方便的进行分析解决, 而不必通过登录网 络设备用命令行对逐个设备进行排查和解决。从而, 可以提升网络业务丟包问 题定位及处理速度, 能够有效降低网络运行维护费用。 The network node provided by the embodiment of the present invention, as a processing node, can receive a packet loss report message generated and sent by each node in the network when a packet loss occurs, and extract packet loss information from the received packet loss report message. The packet loss information is then sent centrally to the information center. In this way, the network maintenance personnel can know the packet loss information of each node from the information center, and conveniently analyze and solve the problem without having to log in to the network device to check and solve each device by command line. Therefore, the positioning and processing speed of the network service packet loss problem can be improved, and the network operation and maintenance cost can be effectively reduced.
请参考图 9, 本发明实施例提供一种网络节点, 包括:。 Referring to FIG. 9, an embodiment of the present invention provides a network node, including:
报文生成模块 910, 用于获取被丟弃报文, 根据获取的被丟弃报文生成丟 包报告报文, 所述丟包报告报文携带丟包节点的地址和丟包接口信息; The packet generating module 910 is configured to obtain the discarded packet, and generate a packet loss report packet according to the obtained discarded packet, where the packet loss report packet carries the address of the packet loss node and the packet loss interface information.
发送模块 920, 用于将所述丟包报告报文发送给处理节点, 以便所述处理 节点从所述丟包报告报文中获取丟包信息, 并将所述丟包信息发送给信息中 心, 所述丟包信息包括: 丟包节点的地址、 丟包节点的丟包接口信息、 以及被 丟弃报文的业务类型和用户信息。 The sending module 920 is configured to send the packet loss report message to the processing node, so that the processing node obtains the packet loss information from the packet loss report message, and sends the packet loss information to the information center. The packet loss information includes: an address of the packet loss node, a packet loss interface information of the packet loss node, and a service type and user information of the discarded packet.
一个实施例中, 网络节点还可以包括: 优先级模块 930; In an embodiment, the network node may further include: a priority module 930;
优先级模块 930, 用于提高所述丟包报告报文的优先级; The priority module 930 is configured to increase the priority of the packet loss report packet.
发送模块 920, 具体用于以丟包接口的最大发送能力将提高了优先级的所 述丟包报告报文发送给处理节点。 The sending module 920 is specifically configured to send the increased packet loss report message with the highest priority of the packet loss interface to the processing node.
一个实施例中, 文生成模块 910可以包括: In one embodiment, the text generation module 910 can include:
获取单元 911 , 用于获取被丟弃报文并获取网络节点的地址和丟包接口信 息; The obtaining unit 911 is configured to obtain the discarded packet and obtain the address of the network node and the packet loss interface information.
写入单元 912, 用于将所述地址和接口信息以及预定义的检测标签写入所 获取的被丟弃报文中, 以生成丟包报告报文。 The writing unit 912 is configured to write the address and interface information and the predefined detection label into the obtained discarded packet to generate a packet loss report message.
本发明实施例提供的网络节点,在发生拥塞丟包时可以生成并发送丟包报 告报文给处理节点,以便处理节点从收到的丟包报告报文中提取丟包信息并将
丟包信息集中发送到信息中心。这样, 网络维护人员就可以从信息中心知悉各 个节点的丟包信息, 方便的进行分析解决, 而不必通过登录网络设备用命令行 对逐个设备进行排查和解决。从而, 可以提升网络业务丟包问题定位及处理速 度, 能够有效降低网络运行维护费用。 The network node provided by the embodiment of the present invention may generate and send a packet loss report message to the processing node when the congestion packet is lost, so that the processing node extracts the packet loss information from the received packet loss report message and The packet loss information is sent to the information center in a centralized manner. In this way, the network maintenance personnel can know the packet loss information of each node from the information center, and conveniently analyze and solve the problem, without having to log in to the network device to check and solve each device by command line. Therefore, the positioning and processing speed of the network service packet loss problem can be improved, and the network operation and maintenance cost can be effectively reduced.
以上对本发明实施例所提供的网络丟包信息报告方法以及装置进行了详 上实施例的说明只是用于帮助理解本发明的方法及其核心思想,不应理解为对 本发明的限制。
The foregoing description of the method and the device for reporting the network packet loss information provided by the embodiments of the present invention are only for the purpose of helping to understand the method and the core idea of the present invention, and should not be construed as limiting the present invention.
Claims
1、 一种网络丟包信息 告方法, 其特征在于, 包括: A network packet loss information reporting method, characterized in that:
处理节点获取丟包信息, 所述丟包信息包括: 丟包节点的地址、 丟包节点 的丟包接口信息、 以及被丟弃报文的业务类型和用户信息; The processing node obtains the packet loss information, where the packet loss information includes: an address of the packet loss node, a packet loss interface information of the packet loss node, and a service type and user information of the discarded packet;
将所述丟包信息发送给信息中心。 Sending the packet loss information to the information center.
2、根据权利要求 1所述的方法, 其特征在于, 所述处理节点获取丟包信息 包括: The method according to claim 1, wherein the processing node acquiring the packet loss information comprises:
处理节点接收丟包节点发送的丟包报告报文,所述丟包报告报文是丟包节 点根据被丟弃报文生成的, 携带有丟包节点的地址和丟包接口信息; The processing node receives the packet loss report packet sent by the packet loss node, and the packet loss report packet is generated by the packet loss node according to the discarded packet, and carries the address of the packet loss node and the packet loss interface information;
处理节点提取所述丟包报告报文中携带的丟包节点的地址和丟包接口信 息, 并识别所述丟包报告报文的业务类型和用户信息。 The processing node extracts the address of the packet loss node and the packet loss interface information carried in the packet loss report message, and identifies the service type and user information of the packet loss report message.
3、 根据权利要求 2所述的方法, 其特征在于, 所述处理节点接收丟包节点 发送的丟包报告报文包括: The method according to claim 2, wherein the processing node receives the packet loss report message sent by the packet loss node, including:
处理节点接收丟包节点发送的报文; The processing node receives the packet sent by the packet loss node;
检测接收的报文是否包含检测标签; Detect whether the received packet contains a detection tag;
确认包含检测标签的报文为丟包报告报文。 Confirm that the packet containing the detection label is a packet loss report packet.
4、 根据权利要求 1至 3中任一所述的方法, 其特征在于, 所述将丟包信息 发送给信息中心包括: The method according to any one of claims 1 to 3, wherein the sending the packet loss information to the information center comprises:
将所述丟包信息直接发送给信息中心; 和 /或, Sending the packet loss information directly to the information center; and/or,
将所述丟包信息发送给下游设备,由所述下游设备将所述丟包信息发送给 信息中心。 And sending the packet loss information to the downstream device, where the downstream device sends the packet loss information to the information center.
5、 根据权利要求 4所述的方法, 其特征在于: 5. The method of claim 4, wherein:
所述处理节点为多协议标签交换 MPLS网络域内的运营商边缘 PE节点; 所述将丟包信息发送给信息中心包括: The processing node is a carrier edge PE node in the MPLS network domain; the sending the packet loss information to the information center includes:
将所述丟包信息封装在网络协议数据流信息输出 IPFIX报文中发送给网络 流量分析服务器; 和 /或, The packet loss information is encapsulated in a network protocol data flow information output IPFIX message and sent to the network traffic analysis server; and/or,
将所述丟包信息封装在因特网控制报文协议 ICMP报文中发送给下游的媒 体网关设备, 由所述媒体网关设备将所述丟包信息封装在会话初始协议 SIP信 令报文中发送给软交换设备。 The packet loss information is encapsulated in an Internet Control Message Protocol ICMP packet and sent to a downstream media gateway device, where the media gateway device encapsulates the packet loss information in a Session Initial Protocol SIP signaling packet and sends the packet Softswitch device.
6、 一种网络丟包信息 告方法, 其特征在于, 包括: 6. A network packet loss information reporting method, characterized in that:
丟包节点获取被丟弃报文,根据获取的被丟弃报文生成丟包报告报文, 所 述丟包报告报文携带丟包节点的地址和丟包接口信息; The packet loss node obtains the discarded packet, and generates a packet loss report packet according to the obtained discarded packet, where the packet loss report packet carries the address of the packet loss node and the packet loss interface information.
将所述丟包报告报文发送给处理节点 ,以便所述处理节点从所述丟包报告 报文中获取丟包信息,并将所述丟包信息发送给信息中心,所述丟包信息包括: 丟包节点的地址、丟包节点的丟包接口信息、 以及被丟弃报文的业务类型和用 户信息。 Sending the packet loss report message to the processing node, so that the processing node obtains the packet loss information from the packet loss report message, and sends the packet loss information to the information center, where the packet loss information includes : The address of the packet loss node, the packet loss interface information of the packet loss node, and the service type and user information of the discarded packet.
7、根据权利要求 6所述的方法, 其特征在于, 所述将丟包报告报文发送给 处理节点包括: The method according to claim 6, wherein the sending the packet loss report message to the processing node comprises:
提高所述丟包报告报文的优先级,以丟包接口的最大发送能力将所述丟包 报告报文发送给处理节点。 The priority of the packet loss report message is increased, and the packet loss report message is sent to the processing node by using the maximum sending capability of the packet loss interface.
8、 根据权利要求 6或 7所述的方法, 其特征在于, 所述丟包节点获取被丟 弃报文, 根据被丟弃报文生成丟包报告报文包括: The method according to claim 6 or 7, wherein the packet loss node obtains the discarded packet, and the packet loss report packet generated according to the discarded packet includes:
丟包节点获取被丟弃报文并获取自身的地址和丟包接口信息; 中, 以生成丟包报告报文。 The packet loss node obtains the discarded packet and obtains its own address and packet loss interface information.
9、 一种网络节点, 其特征在于, 包括:。 9. A network node, comprising:
获取模块, 用于获取丟包信息, 所述丟包信息包括: 丟包节点的地址、 丟 包节点的丟包接口信息、 以及被丟弃报文的业务类型和用户信息; The obtaining module is configured to obtain the packet loss information, where the packet loss information includes: an address of the packet loss node, a packet loss interface information of the packet loss node, and a service type and user information of the discarded packet;
报告模块, 用于将所述丟包信息发送给信息中心。 The reporting module is configured to send the packet loss information to the information center.
10、 根据权利要求 9所述的网络节点, 其特征在于, 所述获取模块包括: 接收单元, 用于接收丟包节点发送的丟包报告报文, 所述丟包报告报文是 丟包节点根据被丟弃报文生成的, 携带有丟包节点的地址和丟包接口信息; 提取单元,用于提取所述丟包报告报文中携带的丟包节点的地址和丟包接 口信息, 并识别所述丟包报告报文的业务类型和用户信息。 The network node according to claim 9, wherein the acquiring module comprises: a receiving unit, configured to receive a packet loss report message sent by the packet loss node, where the packet loss report message is a packet loss node The address of the packet loss node and the packet loss interface information are generated according to the discarded packet, and the extracting unit is configured to extract the address of the packet loss node and the packet loss interface information carried in the packet loss report message, and Identifying the service type and user information of the packet loss report message.
11、根据权利要求 10所述的网络节点,其特征在于,所述获取模块还包括: 检测单元, 用于检测所述接收单元接收的报文是否包含检测标签; 确认单元, 用于确认包含检测标签的报文为丟包报告报文。 The network node according to claim 10, wherein the obtaining module further comprises: a detecting unit, configured to detect whether the packet received by the receiving unit includes a detection tag; and an acknowledgment unit, configured to confirm the detection The packet of the label is a packet loss report.
12、 根据权利要求 9至 11中任一所述的网络节点, 其特征在于, 所述报告 模块包括: The network node according to any one of claims 9 to 11, wherein the report Modules include:
第一报告单元, 用于将所述丟包信息直接发送给信息中心; a first reporting unit, configured to send the packet loss information directly to an information center;
第二报告单元, 用于将所述丟包信息发送给下游设备, 由所述下游设备将 所述丟包信息发送给信息中心。 The second reporting unit is configured to send the packet loss information to the downstream device, where the downstream device sends the packet loss information to the information center.
13、 根据权利要求 12所述的网络节点, 其特征在于: 13. The network node of claim 12, wherein:
所述处理节点为多协议标签交换 MPLS网络域内的运营商边缘 PE节点; 所述第一报告单元,具体用于将所述丟包信息封装在网络协议数据流信息 输出 IPFIX报文中发送给网络流量分析服务器; The processing node is a carrier edge PE node in a multi-protocol label switching MPLS network domain; the first reporting unit is specifically configured to encapsulate the packet loss information in a network protocol data stream information output IPFIX message and send the packet to the network Traffic analysis server;
所述第二报告单元,具体用于将所述丟包信息封装在因特网控制报文协议 ICMP报文中发送给下游的媒体网关设备, 由所述媒体网关设备将所述 ICMP报 文封装在会话初始协议 SIP信令报文中发送给软交换设备。 The second reporting unit is configured to encapsulate the packet loss information in an Internet Control Message Protocol (ICMP) packet and send the packet to the downstream media gateway device, where the media gateway device encapsulates the ICMP packet in the session. The initial protocol SIP signaling packet is sent to the softswitch device.
14、 一种网络节点, 其特征在于, 包括:。 14. A network node, comprising:
报文生成模块, 用于获取被丟弃报文,根据获取的被丟弃报文生成丟包报 告报文, 所述丟包报告报文携带丟包节点的地址和丟包接口信息; a packet generating module, configured to obtain a packet to be discarded, and generate a packet loss report message according to the obtained discarded packet, where the packet loss report packet carries the address of the packet loss node and the packet loss interface information;
发送模块, 用于将所述丟包报告报文发送给处理节点, 以便所述处理节点 从所述丟包报告报文中获取丟包信息, 并将所述丟包信息发送给信息中心, 所 述丟包信息包括: 丟包节点的地址、 丟包节点的丟包接口信息、 以及被丟弃报 文的业务类型和用户信息。 a sending module, configured to send the packet loss report message to the processing node, so that the processing node obtains the packet loss information from the packet loss report message, and sends the packet loss information to the information center. The packet loss information includes: an address of the packet loss node, a packet loss interface information of the packet loss node, and a service type and user information of the discarded packet.
15、 根据权利要求 14所述的网络节点, 其特征在于, 还包括: The network node according to claim 14, further comprising:
优先级模块, 用于提高所述丟包报告报文的优先级; a priority module, configured to improve a priority of the packet loss report packet;
所述发送模块,具体用于以丟包接口的最大发送能力将提高了优先级的所 述丟包报告报文发送给处理节点。 The sending module is specifically configured to send, by using a maximum sending capability of the packet loss interface, the packet loss report message with the increased priority to the processing node.
16、 根据权利要求 14或 15所述的网络节点, 其特征在于, 所述报文生成模 块包括: The network node according to claim 14 or 15, wherein the message generating module comprises:
获取单元, 用于获取被丟弃报文并获取网络节点的地址和丟包接口信息; 写入单元,用于将所述地址和接口信息以及预定义的检测标签写入所获取 的被丟弃报文中, 以生成丟包报告报文。 An obtaining unit, configured to acquire the discarded packet and obtain the address of the network node and the packet loss interface information; the writing unit is configured to write the address and the interface information and the predefined detection label into the obtained discarded In the packet, a packet loss report packet is generated.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201180000568.8A CN102204164B (en) | 2011-05-24 | 2011-05-24 | Method and apparatus for reporting network packet-losing message |
PCT/CN2011/074555 WO2011144068A2 (en) | 2011-05-24 | 2011-05-24 | Method and apparatus for reporting network packet-loss information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/074555 WO2011144068A2 (en) | 2011-05-24 | 2011-05-24 | Method and apparatus for reporting network packet-loss information |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2011144068A2 true WO2011144068A2 (en) | 2011-11-24 |
WO2011144068A3 WO2011144068A3 (en) | 2012-04-26 |
Family
ID=44662800
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/074555 WO2011144068A2 (en) | 2011-05-24 | 2011-05-24 | Method and apparatus for reporting network packet-loss information |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102204164B (en) |
WO (1) | WO2011144068A2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106411774A (en) * | 2016-09-06 | 2017-02-15 | 联动优势科技有限公司 | Method and device for controlling transaction data volume |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014101047A1 (en) * | 2012-12-27 | 2014-07-03 | 华为技术有限公司 | Method, device, and system for identifying network packet loss type |
CN103200124B (en) * | 2013-03-07 | 2016-12-28 | 北京华为数字技术有限公司 | The method of adjustment of a kind of business game and device |
WO2014205776A1 (en) * | 2013-06-28 | 2014-12-31 | 华为技术有限公司 | Congestion information feedback method and apparatus, and gateway |
CN103532779B (en) * | 2013-10-10 | 2017-07-18 | 北京锐安科技有限公司 | A kind of method and system of quick positioning shunting device packet loss |
CN104717150B (en) * | 2013-12-13 | 2019-06-11 | 中兴通讯股份有限公司 | Switch and packet discarding method |
CN105611226B (en) * | 2015-10-30 | 2018-07-13 | 浙江宇视科技有限公司 | Packet loss position method and device in a kind of video surveillance network |
CN105704057B (en) * | 2016-03-24 | 2019-01-08 | 华为技术有限公司 | The method and apparatus for determining the type of service of burst port congestion packet loss |
CN106529226B (en) * | 2016-10-27 | 2019-04-12 | 东软集团股份有限公司 | Data tracking method and device |
CN107888457B (en) * | 2017-12-08 | 2020-08-14 | 新华三技术有限公司 | Port packet loss detection method and device and communication equipment |
CN112291076A (en) * | 2019-07-25 | 2021-01-29 | 华为技术有限公司 | Packet loss positioning method, device and system and computer storage medium |
US11323381B2 (en) * | 2020-04-16 | 2022-05-03 | Juniper Networks, Inc. | Dropped packet detection and classification for networked devices |
CN115208781A (en) * | 2021-03-24 | 2022-10-18 | 华为技术有限公司 | Transmission method, device and system for detection message |
CN115550224A (en) * | 2021-06-29 | 2022-12-30 | 中国电信股份有限公司 | Packet loss analysis system, method, and storage medium |
CN116830543A (en) * | 2022-01-11 | 2023-09-29 | 华为技术有限公司 | Packet loss processing method, device, switch, sending equipment and data transmission system |
CN118202627A (en) * | 2022-09-29 | 2024-06-14 | 北京小米移动软件有限公司 | Packet loss processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101030895A (en) * | 2006-03-01 | 2007-09-05 | 华为技术有限公司 | Mobile proxy system and method for constraining network chromatography image |
US20100157788A1 (en) * | 2008-12-19 | 2010-06-24 | Cisco Technology, Inc. | Determination of packet loss locations |
CN101800632A (en) * | 2009-02-09 | 2010-08-11 | 中兴通讯股份有限公司 | Lost packet compensation method and device under user datagram protocol transmission mode |
CN101877659A (en) * | 2010-06-30 | 2010-11-03 | 中兴通讯股份有限公司 | Method, device and system for monitoring packet loss |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100417080C (en) * | 2005-02-01 | 2008-09-03 | 华为技术有限公司 | Method for detecting network chain fault and positioning said fault |
-
2011
- 2011-05-24 CN CN201180000568.8A patent/CN102204164B/en not_active Expired - Fee Related
- 2011-05-24 WO PCT/CN2011/074555 patent/WO2011144068A2/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101030895A (en) * | 2006-03-01 | 2007-09-05 | 华为技术有限公司 | Mobile proxy system and method for constraining network chromatography image |
US20100157788A1 (en) * | 2008-12-19 | 2010-06-24 | Cisco Technology, Inc. | Determination of packet loss locations |
CN101800632A (en) * | 2009-02-09 | 2010-08-11 | 中兴通讯股份有限公司 | Lost packet compensation method and device under user datagram protocol transmission mode |
CN101877659A (en) * | 2010-06-30 | 2010-11-03 | 中兴通讯股份有限公司 | Method, device and system for monitoring packet loss |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106411774A (en) * | 2016-09-06 | 2017-02-15 | 联动优势科技有限公司 | Method and device for controlling transaction data volume |
Also Published As
Publication number | Publication date |
---|---|
CN102204164B (en) | 2014-05-21 |
CN102204164A (en) | 2011-09-28 |
WO2011144068A3 (en) | 2012-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2011144068A2 (en) | Method and apparatus for reporting network packet-loss information | |
WO2020233192A1 (en) | Method and apparatus for providing service for service flow | |
CN100474819C (en) | A deep message detection method, network device and system | |
Busi et al. | Operations, administration, and maintenance framework for MPLS-based transport networks | |
KR100454502B1 (en) | Apparatus for providing QoS on IP router and method for forwarding VoIP traffic | |
US8868998B2 (en) | Packet communication apparatus and packet communication method | |
WO2012106869A1 (en) | Message processing method and related device thereof | |
WO2021185208A1 (en) | Packet processing method and apparatus, device, and storage medium | |
US8284675B2 (en) | Method and system for automated call troubleshooting and resolution | |
WO2011150701A1 (en) | Method, network device and network system for data service processing | |
WO2017190579A1 (en) | Method for realizing protection switching in sdn architecture and forwarding device | |
US7843826B2 (en) | Automatic detection and re-configuration of priority status in telecommunications networks | |
WO2013097459A1 (en) | Service path detection method and device | |
EP3941005A1 (en) | Dynamic prediction and management of application service level agreements | |
US8081637B2 (en) | Network apparatus and method for forwarding packet | |
WO2015070608A1 (en) | Oam performance monitoring method and apparatus | |
WO2010069175A1 (en) | Method, system and equipment for establishing bidirectional forwarding detection | |
WO2011079702A1 (en) | Method, device and router for packet loss detection | |
WO2006089470A1 (en) | A method for implementing information stream transmission in ngn | |
US8964766B2 (en) | Session relay equipment and session relay method | |
WO2011144158A1 (en) | Method and system for independently implementing fault location by intermediate node | |
WO2014019348A1 (en) | Method, device and system for operation, management and maintenance of oam configuration | |
WO2012155817A1 (en) | Loopback testing method, device and system | |
WO2009067917A1 (en) | A method, system and device for sampling message | |
WO2009092257A1 (en) | Fault detection method and device for provider backbone transport network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 201180000568.8 Country of ref document: CN |
|
NENP | Non-entry into the national phase in: |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 11782985 Country of ref document: EP Kind code of ref document: A2 |