Method and equipment for identifying response messages
A technology for response packets and devices, which is applied in the field of identifying response packets and can solve problems such as inability to identify response packets.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] Please refer to figure 1 , an embodiment of the present invention provides a method for identifying a response message, including:
[0038] 101. The first device sends a sending message, where a reserved field or an extended field of the sending message carries a first message identifier.
[0039] In order to be able to identify the corresponding relationship between the sent message and the subsequently received response message, when the first device at the source end sends a sent message, it can carry a message identifier in the sent message, and the sent message carrying the message identifier sent to the second device on the receiving end. There may be no intermediate device between the first device and the second device, and there may be one or more than two intermediate devices.
[0040] In scenarios such as priority-based statistics and delay measurement, the original priority of the sent message generated by the first device can be used as the message identif...
Embodiment 2
[0050] In this embodiment, the Ethernet OAM recommended by the ITU-T Y.1731 standard is taken as an example for description.
[0051] The packet loss statistics method suggested by the ITU-T Y.1731 standard is that the source MEP sends a Loss Measurement Message (LMM) to the peer MEP, and receives the Loss Measurement Reply (Loss Measurement Reply) returned by the peer MEP. , LMR) packets are counted according to the priority of the packets. In the prior art, since the priority of the packet changes after being forwarded by the intermediate device, the MEP cannot correctly identify the response packet, and therefore, the packet loss statistics result is inaccurate.
[0052] The encapsulation formats of the Protocol Data Unit (PDU) of the LMM and LMR messages are as follows: Figure 2a with 2b shown. Among them, the "flag" field, which usually takes a value of 0, is not currently used and is a reserved field. The length of this field is one byte.
[0053] In an implementat...
Embodiment 3
[0057] In this embodiment, the Ethernet OAM recommended by the ITU-T Y.1731 standard is still used as an example for illustration.
[0058] Optionally, in an embodiment, when generating a sending message, a serial number is generated for the sending message, and the serial number is used as a message identifier; optionally, in an embodiment, the The serial number identified by the message is written into the reserved field of the message, such as the "flag" field; however, since the length of the "flag" field is only one byte, the value represented can only be up to 256, and the sequence number is likely to be More than 256, therefore, optionally, in another embodiment, the standard can be improved, the message format defined in the ITU-T Y.1731 standard is extended, and the serial number used as the message identifier is written into the message in the extension field of the . The method of extending the message can refer to the above method, for example Figure 2c As shown...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 