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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


