Unlock instant, AI-driven research and patent intelligence for your innovation.

A message processing method and device

A message processing and message technology, applied in the field of communication, to prevent repeated forwarding and copying and improve reliability

Active Publication Date: 2019-03-26
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The test packets are reflected into a loop between node B and node C, causing a network storm

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A message processing method and device
  • A message processing method and device
  • A message processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0081] figure 2 A schematic diagram of an application scenario involved in a packet processing method provided by an embodiment of the present application, as shown in figure 2 As shown, device A is the sending end device of the TWAMP test message, and device C is the reflecting end device of the TWAMP test message. There are one or more intermediate devices between the device A and the device C, for example, an intermediate device B. Among them, the destination IP address configured in device A is 1.1.1.1, the source IP address is 2.2.2.2, the destination port number is 1111, and the source port number is 2222. The destination IP address configured on device C is 2.2.2.2, the source IP address is 1.1.1.1, the destination port number is 2222, and the source port number is 1111. Therefore, the destination IP address carried in the TWAMP test packet sent from device A to device C is 1.1.1.1, the source IP address is 2.2.2.2, the destination port number is 1111, and the source...

Embodiment 2

[0099] Figure 5 It is a schematic flowchart of a message processing method provided by another embodiment of this application, and this application applies this method to figure 2 The scenario shown is given as an example. The methods include:

[0100] 501: The sending end device generates and sends a TWAMP test packet.

[0101] Device A, as the sending end device, generates and sends a TWAMP test message, and the TWAMP test message is forwarded to the reflection end device C through the intermediate device B. The format of the TWAMP test packet is as follows: Figure 6 shown. and image 3 The message formats shown are basically the same, the only difference is that in the 43rd byte belonging to the padding byte in the TWAMP test message, a sending end device / reflecting end device S / R bit is set. The S / R bit is set to 1 bit, and the other 7 bits are set to the reserved field Resv. The Resv field can be set to all 0s, or can be set to other values, which are used to id...

Embodiment 3

[0113] Figure 7A and Figure 7B A schematic diagram of a possible hardware structure of a transmitting end device and a reflecting end device for implementing the methods provided in Embodiment 1 and Embodiment 2 is shown. The sending device can be as Figure 7A As shown in the transmitting end device 600, the reflective end device may be as Figure 7B Reflective end device 700 is shown.

[0114] The sending end device 600 includes a processor 601 and a network interface 602 , and the processor 601 communicates with the reflecting end device 700 through the network interface 602 .

[0115] Processor 601, configured to generate a TWAMP test message;

[0116] The network interface 602 is used to send the TWAMP test message, and is also used to receive the TWAMP test message sent back by the reflective end device. The returned TWAMP test message includes an identifier indicating that the returned TWAMP message is a reflective message.

[0117] The processor 601 is also conf...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present application discloses a message processing method and device. The method includes: the reflective end device receives the bidirectional active measurement protocol TWAMP test message sent by the sending end device, and modifies the value of the Z bit in the TWAMP test message in the returned TWAMP test message or modifies the new TWAMP test message in the TWAMP test message. The value of the S / R bit of the sending end / reflecting end is used to distinguish whether the TWAMP test message sent back is a reflected message. Therefore, the risk of loop formation between the wrongly configured reflection end device and the normally configured reflection end device of the TWAMP test message sent back is effectively reduced, and network storms are avoided.

Description

technical field [0001] The embodiments of the present application relate to the field of communication technologies, and in particular, to a message processing method and device. Background technique [0002] Two-way Active Measurement Protocol (English: Two-way Active Measurement Protocol, TWAMP) provides a method to measure the round-trip Internet Protocol (English: InternetProtocol, IP) performance between any two devices supporting this standard in the network. The user datagram protocol (English: User Datagram Protocol, UDP) data packet is used as the measurement detection frame, and the two-way packet loss, delay and jitter of the network are counted. TWAMP follows the IETF RFC5357 standard. When a user starts a statistics session, the TWAMP test message constructed and sent from the session sender passes through the service forwarding channel and arrives at the session reflection end. The session reflection end is based on the source IP address, destination IP address...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/705H04L12/26H04L45/18
CPCH04L43/08H04L45/28
Inventor 刘炽彬周明张成龙
Owner HUAWEI TECH CO LTD