WO2008148334A1 - Method, system and apparatus thereof for detecting abnormal receipt of message - Google Patents
Method, system and apparatus thereof for detecting abnormal receipt of message Download PDFInfo
- Publication number
- WO2008148334A1 WO2008148334A1 PCT/CN2008/071071 CN2008071071W WO2008148334A1 WO 2008148334 A1 WO2008148334 A1 WO 2008148334A1 CN 2008071071 W CN2008071071 W CN 2008071071W WO 2008148334 A1 WO2008148334 A1 WO 2008148334A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- receiving
- fault detection
- packet
- message
- sequence number
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/40—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
- H04L69/32—Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L69/322—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
- H04L69/324—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
Definitions
- the embodiments of the present invention relate to the field of network communication technologies, and in particular, to a method, system, and apparatus for detecting abnormality of message reception. Background technique
- OAM Operaation Administration and Maintenance
- the mechanism has achieved great success in reducing network maintenance costs.
- the ⁇ function ensures that the network operator fulfills the QoS (Quality of Service) guarantee commitment, detects and isolates and circumvents network defects before abnormal events are intensified, enabling operators to provide service level agreements as promised. Therefore, OAM functionality is critical to the ease of operation of public networks, verifying network performance, and reducing operational costs, especially for networks that require measurable network performance and availability goals.
- the fault detection type of the OAM mechanism is very limited, and the sequence of the packets cannot be detected.
- the detection of the sequence of the packets is of practical significance, because some services require that the packets arrive in order, and the packets are quickly detected. Defects in the order can also quickly find problems.
- the out-of-order information is detected in time to assist other routing protocols to diagnose some faults of the network. For example, if there is no load balancing or backup link, if the packet is out of order, the device itself has a problem. If the tunnel backup link is set on the link, the device itself guarantees the packet.
- the final destination detects out-of-order packets, and it can be determined that the primary link is frequently switched, and the link is in an unstable state.
- the disadvantage of the prior art is that there is no detection mechanism for out-of-order defects, and the real-time packet disorder and packet packet loss detection cannot be performed on the link, so that some faults in the network cannot be diagnosed in time.
- the embodiment of the invention provides a method, a system and a device for detecting a packet receiving abnormality, so as to implement real-time packet receiving abnormality detection on a link.
- the technical solution of the embodiment of the present invention provides a method for detecting a packet receiving abnormality, which includes the following steps: receiving a first receiving fault detection packet and a second receiving fault detection packet sent by a source end, where The second receiving fault detection message is a receiving fault detecting message that is received immediately after the first receiving the fault detecting message, where the first receiving fault detecting message carries a first sequence number, and the second receiving The fault detection packet carries a second sequence number; the first sequence number and the second sequence number are obtained from the received first received fault detection message and the second received fault detection message respectively And determining, according to the size of the first and second serial numbers, whether a message reception exception occurs.
- the technical solution of the embodiment of the present invention further provides a detection system for receiving an abnormality of a packet, including at least one source end and at least one sink end, where the source end is configured to sequentially send and receive a fault detection packet to the sink end.
- the sink end is configured to receive the first receiving fault sent by the source end a detection packet and a second reception failure detection message, wherein the second reception failure detection message is a reception failure detection message received immediately after the first receiving the failure detection message, and is received from the received Obtaining the first serial number and the second serial number in the first receiving fault detection message and the second receiving fault detecting message, and determining whether a report occurs according to the size of the first and second serial numbers
- the text received an exception is
- the technical solution of the embodiment of the present invention further provides a source end, which includes a message generating module, a serial number assigning module, and a packet sending module, where the packet generating module is used for Generating the received fault detection message carrying the sequence number; the sequence number assigning module is configured to allocate a sequence number according to the sending sequence of the received fault detection message; the message sending module is configured to The sink sends the receiving fault detection message carrying the serial number in sequence.
- the technical solution of the embodiment of the present invention further provides a sink, configured to cooperate with the source end to detect a packet receiving abnormality, including a packet receiving module, a serial number acquiring module, and a receiving abnormality detecting module, where the packet is received.
- a module configured to receive a first receiving fault detection message and a second receiving fault detection message sent by the source end, where the second receiving fault detection message is received immediately after the first receiving fault detection message
- Receiving a fault detection message the first receiving fault detection message carries a first sequence number, and the second receiving fault detection message carries a second sequence number
- the sequence number obtaining module is used to Acquiring the first sequence number and the second sequence number in the first receiving failure detection message and the second receiving failure detection message received by the packet receiving module
- the receiving abnormality detecting module configured to The size of the first and second serial numbers is used to determine whether a message reception exception occurs.
- the source end adds a sequence number to the received fault detection message, and the sink end determines the sequence of the sequence number in the received fault detection message to determine whether the packet is out of order and the packet is lost.
- the defect overcomes the problem that the packet disorder is not detected in the prior art, and the technical effect of the real-time out-of-order defect detection on the link is achieved.
- the sequence number added in the received fault detection packet sent by the source end in the embodiment of the present invention receives the sequence defect of the receiving fault detection message, and achieves the purpose of real-time detection of the packet out-of-order.
- FIG. 1 is a structural diagram of a detection system for receiving an abnormality of a message according to an embodiment of the present invention
- FIG. 2 is a flowchart of a method for detecting an abnormality of a packet receiving abnormality according to Embodiment 1 of the present invention
- FIG. 3 is a packet receiving method according to Embodiment 2 of the present invention
- FIG. 4 is a flowchart of a method for detecting a packet reception abnormality according to Embodiment 3 of the present invention.
- FIG. 1 it is a structural diagram of a detection system for receiving an abnormality of a message according to an embodiment of the present invention.
- the detection system of the packet receiving abnormality includes at least one source end 1 and at least one sink end 2, and the source end 1 is configured to sequentially send and receive the fault detection message to the sink end 2, and add in the receiving fault detection message.
- the sink terminal 2 is configured to receive the first receiving fault detection message and the second receiving fault detection message sent by the source end 1, and Obtaining a first sequence number and a second sequence number from the received first received fault detection message and the second received fault detection message, and determining whether a packet receiving abnormality occurs according to the size of the first and second serial numbers .
- the first receiving fault detection packet and the second receiving fault detection packet mentioned in the embodiment of the present invention are only for convenience of description.
- the embodiment of the present invention determines by comparing the serial numbers carried by two adjacent receiving fault detection messages. Whether or not a reception failure occurs, the embodiment of the present invention is not limited to performing reception failure detection by using the first reception failure detection message and the second reception failure detection message.
- the source end 1 includes a message generating module 11, a serial number assigning module 12, and a message sending module 13, wherein the message generating module 11 is configured to generate a receiving fault detection message carrying a sequence number; The sequence number is allocated in the order in which the received fault detection messages are sent.
- the message sending module 13 is configured to send the received fault detection message carrying the sequence number to the sink terminal 2 in sequence.
- the packet generation module 11 generates a reception failure detection message carrying the sequence number, and the sequence number assignment module 12 allocates a sequence number according to the transmission sequence of the reception failure detection message carrying the sequence number, and the message transmission module 13
- the serial number assignment module 12 assigns the serial number of the received failure detection message to the sink terminal 2 in sequence.
- the embodiment of the present invention can be generated by any submodule of the message generating module 11.
- the receiving fault detection packet carrying the serial number carrying the serial number.
- the following is a sub-module for generating a receiving fault detection message carrying a sequence number, which is an implementation of the OAM mechanism fault detection text according to the embodiment of the present invention.
- the present invention cannot be considered as implementing the present invention.
- a receiving fault detection packet carrying a sequence number can be generated only by using the OAM mechanism fault detection packet.
- the message generation module 11 includes an extension definition sub-module 111, which is used to re-divide the original field of the OAM mechanism fault detection message into a part of the sequence number field to carry the sequence number.
- an extension definition sub-module 111 which is used to re-divide the original field of the OAM mechanism fault detection message into a part of the sequence number field to carry the sequence number.
- CV Connective Verification Packet
- the original field padding portion of the 18octets of the OAM mechanism fault detection message is re-divided into a part of 8 octets as a sequence number field to carry the sequence number.
- the original CV packet carries the sequence number to keep the packet length unchanged, so the network does not increase the burden.
- the message generating module 11 includes a message lengthening sub-module 112 for lengthening the OAM mechanism fault detection message and adding a sequence to the extended portion of the OAM mechanism fault detection message.
- the number field to carry the serial number For example, the OAM mechanism uses the structure of the extended CV packet to carry the sequence number. On the basis of retaining the original OAM function, the OAM mechanism fault detection packet is lengthened, and the sequence number field is added to the length of the OAM mechanism fault detection packet.
- Carry the serial number for example, add a sequence number of 10 octets at the end of the original OAM mechanism fault detection message to carry the sequence number, including the sequence number of 8 octes and the check portion of the 2 octets BIP 16 sequence number.
- the serial number verification part carries the same content as the serial number part, and after receiving the message, the serial number part is verified to prevent the serial number part from being changed during the transmission process, thereby preventing the original The 4th order of the correct order is disordered because the serial number part is changed.
- the packet generation module 11 includes a message new sub-module 113 for constructing a reception fault detection report carrying a sequence number according to the structure of the OAM mechanism failure detection message. Text. For example, the function type of receiving the fault detection message is set to 02Hex.
- the sink 2 includes a message receiving module 21, a sequence number obtaining module 22 and a receiving anomaly detecting module 23, and the message receiving module 21 is configured to receive the first source 1 Receiving the fault detection message and the second receiving fault detection message, wherein the second receiving fault detection message is a receiving fault detection message received immediately after the first receiving the fault detection message, and the first receiving fault detection message carries There is a first serial number, the second receiving fault detection message carries a second serial number; the serial number obtaining module 22 is configured to receive the first receiving fault detection message and the second receiving fault detection message from the message receiving module 21 The first sequence number and the second sequence number are obtained in the text; the receiving abnormality detecting module 23 is configured to determine whether a message receiving abnormality occurs according to the sizes of the first and second serial numbers.
- the receiving abnormality detecting module 23 includes a message out-of-order judging sub-module 231, configured to determine that the packet out-of-order occurs when the first serial number is greater than the second serial number, and determine that the message is out of order, wherein the loose mode only requires phase
- the sequence number carried by the second receiving fault detection packet in the two receiving fault detection packets is greater than the sequence number carried in the first receiving fault detection packet, regardless of the sequence number carried by the second receiving fault detection packet.
- the number of the serial number carried in the received fault detection message is large, so that it can be judged whether it is out of order, and the defect detected by the loose mode is called a loose disordered defect.
- sequence of adding the sequence number in the source sending and receiving fault detection message is from large to small, and the sequence number carried by the first receiving fault detection message is greater than the second receiving when the sink end receives the receiving.
- the serial number carried in the fault detection packet is used to determine whether an out of order occurs.
- the receiving abnormality detecting module 23 includes a packet loss determining sub-module 232, configured to determine whether the absolute value of the received difference between the first and second serial numbers is greater than the maximum value.
- the small serial number interval if it is greater than the minimum serial number interval, indicates that packet loss occurs; if both packet out-of-order and packet loss occurs, it is determined that a strict out-of-order defect occurs, and the minimum sequence number interval is
- the source end is the difference between the serial numbers configured for the two adjacent received fault detection packets. Whether the first serial number is greater than the second serial number or the second serial number is greater than the first serial number, as long as the difference between the two serial numbers is greater than the minimum serial number interval, the packet loss phenomenon occurs.
- the embodiment of the present invention further provides that after the message out-of-order judging sub-module 231 determines whether the packet is out of order, the packet loss judging sub-module 232 determines whether packet loss occurs, and if both packets are out of order, If a packet loss occurs, it is determined that a strict out-of-order defect has occurred. Therefore, it can be seen from the above description that the packet loss judging sub-module 232 can not only determine whether the packet loss phenomenon occurs independently of the packet out-of-order judging sub-module 231, but also can function simultaneously with the packet scribble judging sub-module 231. First, the message out-of-order judging sub-module 231 determines whether the message is out of order, and then the packet loss judging sub-module 232 determines whether packet loss occurs.
- the sink 2 further includes an alarm information transmission module 24, configured to report the abnormality of the packet reception through the alarm information transmission protocol packet after the abnormality detection module 23 detects the abnormality of the packet reception. For example, when the abnormality detecting module 23 detects that the packet is out of order or the packet is lost, the unspoken or strict out-of-order is detected, and the loosely-disordered or strict out-of-order defect is reported through the alarm information transmission protocol packet.
- the priority determination sub-module 241 needs to pass the priority according to the set looseness disorder and the strict disordered priority.
- the higher-level defect is reported by the alarm information transmission protocol packet. For example, the priority of loosely out-of-order defects is set to the lowest, and the priority of strict out-of-order defects is set to the second lowest. At the same time, loose and disordered defects and strict out-of-order defects are detected, and the priority should be strictly out of order according to the judgment of priority. The defect is reported by the alarm information transmission protocol packet.
- the priority of strict out-of-order defects can be set to the lowest, and the priority of loose and disordered defects can be set to the lowest.
- the embodiment of the present invention further proposes a priority setting mode based on the OAM mechanism. Based on the original six defects of the OAM mechanism, the priority of the strict out-of-order defect can be set to a minimum, which will be loose. The priority of the sequence defect is set to the second lowest, so that the fault reporting mechanism of the OAM mechanism only reports the defect with the highest priority, so the newly set loose and disordered defects and strict out-of-order defects will not affect the defects of the original OAM mechanism.
- the detection of the abnormality of the packet is detected by the detection system of the packet receiving abnormality in the embodiment of the present invention, and the detection of the abnormality of the packet receiving abnormality is realized, and the detection of the strict out-of-order mode can also determine whether the packet is out of order at the same time. And the phenomenon of packet loss. In particular, by setting priorities for loose and disordered defects and strict out-of-order defects, the new out-of-order and packet loss detection will not affect the defects of the original OAM mechanism.
- FIG. 2 it is a flowchart of a method for detecting an abnormality of a packet receiving abnormality according to the first embodiment of the present invention.
- only the packet skipping phenomenon is detected in the packet receiving, including:
- the sink receiving the first receiving fault detection packet and the second receiving fault detection packet sent by the source end, where the second receiving fault detection packet is the receiving fault detection report received immediately after the first receiving the fault detection packet
- the first receiving fault detection message carries a first sequence number
- the second receiving fault detection message carries a second sequence number.
- the first receiving fault detection packet and the second receiving fault detection packet mentioned in the embodiment of the present invention are only for convenience of description.
- the embodiment of the present invention compares the serial numbers carried by two adjacent receiving fault detection packets.
- the receiving fault detection packet can be defined or modified by the original OAM mechanism fault detection packet extension or a new fault detection packet carrying only the sequence number can be created according to the structure of the original OAM mechanism fault detection message.
- the first sequence number and the second sequence number are obtained from the received first received fault detection message and the second received fault detection message, respectively.
- the method of obtaining the sequence number from receiving the fault detection message corresponds to the manner in which the source end adds the sequence number in the received fault detection message.
- the source end arranges the sequence of the sequence numbers in the received failure detection packet from small to large. If the first sequence number is smaller than the second sequence number, it indicates that the obtained sequence numbers are sorted normally, and are received according to the order sent by the source end, so it should be determined that the message is out of order. If the first sequence number is greater than the second sequence number, it indicates that the message is out of order, and it should be determined that a loose disordered defect occurs, because the second received failure detection message set by the source end is smaller than the first received failure detection message.
- the sequence number is small, indicating that the second receiving fault detection message is sent first, and the second receiving fault detection message is received at the sink end after the first receiving the fault detection message, so that the message bursting may be indicated.
- Order should be determined to appear loose and disordered defects.
- the loose mode only requires that the sequence number carried by the second receiving fault detection message in the two adjacent fault detection messages is greater than the sequence number carried in the first receiving fault detection message, regardless of the second receiving fault detection message.
- the serial number carried is larger than the serial number carried in the first receiving fault detection message, so that it can be judged whether it is out of order, and thus the defect detected by the loose mode is called loose disordered defect.
- sequence of adding the sequence number in the source sending and receiving fault detection message is from large to small, and the sequence number carried by the first receiving fault detection message is greater than the second receiving when the sink end receives the receiving.
- the serial number carried in the fault detection packet is used to determine whether an out of order occurs.
- the sequence of the serial number in the received failure detection packet sent by the source end is a preferred embodiment.
- the embodiment of the present invention should not be limited to the sequence from large to small.
- the arrangement of the numbers and the arrangement of other serial numbers can achieve the object of the present invention, and therefore the arrangement methods of the various serial numbers should be covered by the embodiments of the present invention.
- the sinking end reports the detected out-of-order defect through the alarm information transmission protocol packet.
- the defect report is reported by using the original OAM mechanism alarm information transmission protocol packet, and the detected out-of-order defect is reported.
- the packet detection abnormality detection method in the foregoing embodiment implements real-time detection and monitoring of packet disorder, and can timely detect packet disorder defects on the link.
- the method for detecting abnormality of packet receiving according to the second embodiment of the present invention is In the embodiment of the present invention, only the packet loss detection phenomenon is detected in the packet receiving, including:
- the sink receives the first receiving fault detection packet and the second receiving fault detection packet sent by the source end, where the second receiving fault detection packet is the receiving fault detection report received immediately after the first receiving the fault detection packet.
- the first receiving fault detection message carries a first sequence number
- the second receiving fault detection message carries a second sequence number.
- the first receiving fault detection packet and the second receiving fault detection packet mentioned in the embodiment of the present invention are only for convenience of description.
- the embodiment of the present invention compares the serial numbers carried by two adjacent receiving fault detection packets. In addition, it is not considered that the embodiment of the present invention is limited to receiving fault detection by using the first receiving fault detection message and the second receiving fault detection message.
- the receiving fault detection packet can be defined or modified by the original OAM mechanism fault detection packet extension or a new fault detection packet carrying only the sequence number can be created according to the structure of the original OAM mechanism fault detection message.
- S302 Obtain a first sequence number and a second sequence number from the received first received fault detection message and the second received fault detection message, respectively.
- the method of obtaining the sequence number from receiving the fault detection message corresponds to the manner in which the source end adds the sequence number in the received fault detection message.
- the embodiment of the present invention further provides a method for determining whether a packet is lost, and determining that packet loss occurs when the difference between the first and second serial numbers is greater than the minimum sequence number interval, where the minimum sequence number interval is
- the source is the difference between the sequence numbers configured for the two adjacent received fault detection packets. Whether the first sequence number is greater than the second sequence number or the second sequence number is greater than the first sequence number, as long as the difference between the two sequence numbers is greater than the minimum sequence number interval, packet loss occurs. For example, if the source end inserts the sequence number into the receiving fault detection message in the order of increasing integers, the minimum sequence number interval is 1. If the difference between the first and second sequence numbers is greater than 1, it indicates that packet loss occurs. .
- the source end sends a received fault detection message in the sequence
- the arrangement of the column numbers from small to large is a preferred embodiment.
- the embodiments of the present invention are not limited thereto, and the arrangement of the serial numbers from the largest to the smallest and the arrangement of other serial numbers can achieve the object of the present invention.
- the arrangement of various serial numbers should be covered by the embodiments of the present invention.
- S304 The sink detects the lost packet defect through the alarm information transmission protocol.
- the defect report is reported by using the original OAM mechanism alarm information transmission protocol packet, and the detected packet loss defect is reported.
- the packet detection abnormality detection method in the foregoing embodiment implements real-time detection and monitoring of packet loss, and can timely detect packet loss defects on the link.
- the method for detecting the abnormality of the packet receiving abnormality includes the following steps:
- the sink receiving the first receiving fault detection packet and the second receiving fault detection packet sent by the source end, where the second receiving fault detection packet is the receiving fault detection report received immediately after the first receiving the fault detection packet
- the first receiving fault detection message carries a first sequence number
- the second receiving fault detection message carries a second sequence number.
- the first receiving fault detection packet and the second receiving fault detection packet mentioned in the embodiment of the present invention are only for convenience of description.
- the embodiment of the present invention compares the serial numbers carried by two adjacent receiving fault detection packets.
- the receiving fault detection packet can be defined or modified by the original OAM mechanism fault detection packet extension or a new fault detection packet carrying only the sequence number can be created according to the structure of the original OAM mechanism fault detection message.
- the first sequence number and the second sequence number are obtained from the received first received fault detection message and the second received fault detection message, respectively.
- the method of obtaining the sequence number from receiving the fault detection message and the source end adding the sequence number in the receiving fault detection message The way corresponds.
- first and second serial numbers Determine, according to the size of the first and second serial numbers, whether message disorder occurs. If the first sequence number is smaller than the second sequence number, it indicates that the obtained sequence numbers are sorted normally, and are received according to the order sent by the source end, so it should be determined that the message is out of order. If the first sequence number is greater than the second sequence number, it indicates that the message is out of order, and it should be determined that there is a loose disordered defect, because the second receiving failure detection message at the source end is smaller than the sequence of the first receiving failure detection message. If the number is small, the second receiving fault detection message is sent first, and the second receiving fault detection message is received after the first receiving fault detection message, so that the message is out of order. It should be determined that there is a loose disorder.
- the loose mode only requires that the sequence number carried by the second receiving fault detection message in the two adjacent fault detection messages is greater than the sequence number carried in the first receiving fault detection message, regardless of the second receiving fault detection message.
- the serial number carried is larger than the serial number carried in the first receiving fault detection message, so that it can be judged whether it is out of order, and thus the defect detected by the loose mode is called loose disordered defect.
- the sequence of adding the sequence number in the source sending and receiving fault detection message is from large to small, and the sequence number carried by the first receiving fault detection message is greater than the second receiving when the sink end receives the receiving.
- the serial number carried in the fault detection packet is used to determine whether an out of order occurs.
- Strictly out-of-order defects are not only to detect whether the message is out of order but also to detect whether the out-of-order disorder is out of order.
- the embodiment of the present invention further provides a method for determining whether a packet is lost, and determining that packet loss occurs when the difference between the first and second serial numbers is greater than the minimum sequence number interval, where the minimum sequence number interval is
- the source is the difference between the sequence numbers configured for the two adjacent received fault detection packets. Whether the first sequence number is greater than the second sequence number or the second sequence number is greater than the first sequence number, as long as the difference between the two sequence numbers is greater than the minimum sequence number interval, packet loss occurs. For example, the source is pressed If the sequence number is inserted into the receiving fault detection message, the minimum sequence number interval is 1. If the difference between the first sequence number and the second sequence number is greater than 1, it indicates that packet loss occurs.
- the packet is not found in the S403 detection, and no packet loss is found in S404, it indicates that the link has neither the out-of-order problem nor the packet loss problem; if it is not detected in S403 If the packet is found to be out of order, and the packet is found in S404, the link is not out of order but there is a problem of packet loss. If the packet is found out in S403, it is not in S404. If the packet loss is found, the link is out of order but the packet is not lost. If the packet is out of order in S403 and the packet is lost in S404, the link exists. In disorder, there is a problem of packet loss, that is, strict disordered defects occur.
- the sequence of the serial number in the received failure detection packet sent by the source end is a preferred embodiment.
- the embodiment of the present invention should not be limited to the sequence from large to small.
- the arrangement of the numbers and the arrangement of other serial numbers can achieve the object of the present invention, and therefore the arrangement methods of the various serial numbers should be covered by the embodiments of the present invention.
- the defects with higher priority are reported by the alarm information transmission protocol according to the set priority of the disordered and the out-of-order defects. Because the OAM mechanism only reports the highest priority defect at a time, in order to avoid the conflict detection of the defect, the priority is set for the two newly created defect types, for example, the priority of the loose and disordered defect is set to the lowest, which will be strictly chaotic. The priority of the OAM mechanism is set to the lowest.
- the original defect of the OAM mechanism will be reported because the priority of the loose and disordered defect is the lowest; Strict out-of-order defects and loose disordered defects are detected, and strict out-of-order defects are reported. Such newly added out-of-order defects will not affect the defects of the original 0 AM mechanism. It is also possible to set the strict out-of-order defect priority to the lowest and the loosely-ordered defect priority to the next lowest, which is freely set according to the user's needs. Of course, it is also possible to set a strict out-of-order defect with a higher priority than a loosely-ordered defect, such as loosening out of order. The priority of the defect is set to the lowest, and the strict out-of-order defect is set to the lowest.
- the packet detection abnormality detection method in the foregoing embodiment implements real-time detection and monitoring of packet disorder and packet loss, and can timely detect packet disorder defects on the link.
- the defect with the higher priority among the detected out-of-order defects is reported by the method of setting the defect priority, thereby avoiding the conflict of the defect detection.
- the following three methods are proposed by adding the serial number to the received fault detection message sent by the source.
- the embodiment of the present invention utilizes the original OAM mechanism fault detection packet carrying sequence.
- Each CV packet or FFD packet carries a TTSI (Terminal Termination Source Identifier), which is a source LSR (Label Switch Router) identifier and an LSP (Layered Service Provider). Layered service provider) The identifier consists of.
- TTSI Terminal Termination Source Identifier
- LSR Label Switch Router
- LSP Layered Service Provider
- the embodiment of the present invention provides a method for carrying a sequence number by using a CV packet or an FFD packet on the basis of retaining the original OAM function. On the basis of retaining the original OAM function, the original field of the OAM mechanism fault detection packet is re-divided into a part of the sequence number field to carry the sequence number.
- the structure of the CV message and the FFD message has the same length and similar structure, except that the frequency part is added to the FFD message. Therefore, only the CV message is taken as an example to describe the method for carrying the serial number of the present invention.
- the following three methods for generating a receiving fault detection message carrying a sequence number are proposed in the following embodiments.
- the sequence number can be added to the received fault detection message by using any of the following three methods.
- the following three methods are preferred implementations of the OAM-based fault detection packet in the embodiment of the present invention.
- the embodiment of the present invention cannot be used to generate the receiving fault detection report carrying the sequence number only by using the OAM mechanism fault detection packet. Text.
- a method for generating a fault detection packet carrying a sequence number is as follows: 1.
- the original field of the OAM mechanism fault detection packet is re-divided into a part of the sequence number field to carry the sequence number.
- the original field padding part of the 18 octets of the OAM mechanism fault detection is re-divided into a part of the 8 octets to carry the sequence number, so as to carry the original CV packet.
- the serial number can keep the length of the message unchanged, so it does not increase the burden on the network.
- the original OAM mechanism fault detection message carries the sequence number, which keeps the message length unchanged, so it does not increase the network load.
- the method for generating a fault detection packet carrying a sequence number is as follows:
- the original OAM mechanism fault detection packet is lengthened, and the sequence number field is added to the length of the OAM mechanism fault detection packet to carry the sequence number.
- the OAM mechanism uses the structure of the extended CV packet to carry the sequence number.
- the OAM mechanism fault detection packet is lengthened, and the sequence number field is added to the length of the OAM mechanism fault detection packet.
- Carry the serial number for example, add a sequence number of 10 octets at the end of the original OAM mechanism fault detection message to carry the sequence number, including the sequence number of 8 octes and the check portion of the 2 octets BIP 16 sequence number.
- the serial number verification part carries the same content as the serial number part, and after receiving the message, the serial number part The check is performed to prevent the serial number portion from being changed during the transmission of the file, thereby preventing the original sequence from being corrupted due to the sequence number portion being changed.
- the length of the original OAM mechanism fault detection message can be changed without obtaining the sequence number of the original OAM mechanism.
- the sequence number of the extended OAM mechanism fault detection packet may be partially cut off, and the method for generating the fault detection packet carrying the sequence number is generated. 3.
- the structure of the fault detection packet carrying the sequence number of the OAM mechanism is newly created. Text. For example, the function type of the received fault detection message is set to 02Hex.
- the received fault detection packet generated by method 3 is only used for packet out-of-order and packet loss detection. It cannot implement other defect detection of the original OAM mechanism, so it does not. It affects the original text and protocol, and does not increase the length of the message relative to the serial number adding method shown in the second method. Therefore, the bandwidth is not increased relative to the embodiment of the second method.
- modules in the device in the embodiment can follow The description of the embodiments is distributed in the apparatus of the embodiment, and the corresponding changes may also be made in one or more apparatuses different from the embodiment.
- the modules of the above embodiments may be combined into one module, or may be further split into multiple sub-modules.
- Non-volatile storage medium which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.
- a computer device may It is a personal computer, a server, or a network device, etc.
- Any changes that can be considered by those skilled in the art are not intended to fall within the scope of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
一种报文接收异常的检测方法、 系统及其装置 本申请要求于 2007年 6月 5日提交中国专利局的名称为:《一种 报文接收异常的检测方法、 系统及其装置》, 申请号为: 200710105994.3的专利申请的优先权,其全部内容通过引用结合在本 申请中。 技术领域 Method, system and device for detecting abnormality of message reception This application claims to be submitted to the Chinese Patent Office on June 5, 2007 as: "A method, system and device for detecting abnormality of message reception", application The priority of the patent application is hereby incorporated by reference. Technical field
本发明实施例涉及网络通信技术领域,特别是涉及一种报文接收 异常的检测方法、 系统及其装置。 背景技术 The embodiments of the present invention relate to the field of network communication technologies, and in particular, to a method, system, and apparatus for detecting abnormality of message reception. Background technique
OAM( Operations Administration Maintenance ,操作管理与维护 ) 最初是由网络运营商开发的, 旨在提高网络的可靠性和维护性, ΟΑΜ 机制在降低网络维护成本上取得了巨大成功。 ΟΑΜ功能可确保网络 运营商履行 QoS ( Qulity of Service, 服务质量)保证承诺, 在异常事 件激化前将它们检测出来、 隔离并绕过网络缺陷, 从而使运营商能够 按承诺提供服务水平协议。 因此 OAM功能对于公众网络易于运营、 检验网络性能和降低运营成本非常重要,特别是对于要求提供可测量 网络性能和可用性目标的网络就显得更为关键。 OAM (Operation Administration and Maintenance) was originally developed by network operators to improve the reliability and maintainability of the network. The mechanism has achieved great success in reducing network maintenance costs. The ΟΑΜ function ensures that the network operator fulfills the QoS (Quality of Service) guarantee commitment, detects and isolates and circumvents network defects before abnormal events are intensified, enabling operators to provide service level agreements as promised. Therefore, OAM functionality is critical to the ease of operation of public networks, verifying network performance, and reducing operational costs, especially for networks that require measurable network performance and availability goals.
但是上述 OAM机制的故障检测类型都很有限的, 无法对报文顺 序进行检测, 然而对于报文顺序的检测是有实际意义的, 因为对于有 些业务要求报文按顺序到达,并且快速检测出报文乱序的缺陷也可以 快速的发现问题。 同时, 及时检测到乱序信息还以协助其他路由协议 诊断出网络的一些故障。 例如, 在一条没有负载分担或者备份链路的 情况下, 一旦检测出了报文乱序, 则说明设备本身出了问题; 再者如 果链路上设有隧道备份链路,设备本身保证报文顺序, 然而最终目的 地检测出报文乱序, 就可以判断出主链路在频繁的倒换, 链路处于不 稳定状态。 现有技术的缺点是没有针对乱序缺陷的检测机制,不能对链路进 行实时的报文乱序及报文丟包的缺陷检测,因此无法及时诊断出网络 中的一些故障。 However, the fault detection type of the OAM mechanism is very limited, and the sequence of the packets cannot be detected. However, the detection of the sequence of the packets is of practical significance, because some services require that the packets arrive in order, and the packets are quickly detected. Defects in the order can also quickly find problems. At the same time, the out-of-order information is detected in time to assist other routing protocols to diagnose some faults of the network. For example, if there is no load balancing or backup link, if the packet is out of order, the device itself has a problem. If the tunnel backup link is set on the link, the device itself guarantees the packet. In order, however, the final destination detects out-of-order packets, and it can be determined that the primary link is frequently switched, and the link is in an unstable state. The disadvantage of the prior art is that there is no detection mechanism for out-of-order defects, and the real-time packet disorder and packet packet loss detection cannot be performed on the link, so that some faults in the network cannot be diagnosed in time.
发明内容 Summary of the invention
本发明实施例提供一种报文接收异常的检测方法、 系统及其 装置, 以实现能够对链路进行实时的报文接收异常检测。 The embodiment of the invention provides a method, a system and a device for detecting a packet receiving abnormality, so as to implement real-time packet receiving abnormality detection on a link.
为达到上述目的, 本发明实施例的技术方案提出一种报文接 收异常的检测方法, 包括以下步骤: 接收源端发送的第一接收故 障检测报文和第二接收故障检测报文, 其中所述第二接收故障检 测报文为紧邻所述第一接收故障检测报文之后接收到的接收故障 检测报文, 所述第一接收故障检测报文携带有第一序列号, 所述 第二接收故障检测报文携带有第二序列号; 分别从接收到的所述 第一接收故障检测报文和所述第二接收故障检测报文中获取所述 第一序列号和所述第二序列号; 根据所述第一和第二序列号的大 小来判断是否出现报文接收异常。 To achieve the above objective, the technical solution of the embodiment of the present invention provides a method for detecting a packet receiving abnormality, which includes the following steps: receiving a first receiving fault detection packet and a second receiving fault detection packet sent by a source end, where The second receiving fault detection message is a receiving fault detecting message that is received immediately after the first receiving the fault detecting message, where the first receiving fault detecting message carries a first sequence number, and the second receiving The fault detection packet carries a second sequence number; the first sequence number and the second sequence number are obtained from the received first received fault detection message and the second received fault detection message respectively And determining, according to the size of the first and second serial numbers, whether a message reception exception occurs.
本发明实施例的技术方案还提出一种报文接收异常的检测系 统, 包括至少一个源端和至少一个宿端, 所述源端, 用于向所述 宿端顺序地发送接收故障检测报文, 并在所述接收故障检测报文 中添加序列号, 所述序列号的顺序与所述接收故障检测报文的发 送顺序相同; 所述宿端, 用于接收源端发送的第一接收故障检测 报文和第二接收故障检测报文, 其中所述第二接收故障检测报文 为紧邻所述第一接收故障检测报文之后接收到的接收故障检测报 文, 并从接收到的所述第一接收故障检测报文和所述第二接收故 障检测报文中获取所述第一序列号和所述第二序列号, 根据所述 第一和第二序列号的大小来判断是否出现报文接收异常。 The technical solution of the embodiment of the present invention further provides a detection system for receiving an abnormality of a packet, including at least one source end and at least one sink end, where the source end is configured to sequentially send and receive a fault detection packet to the sink end. Adding a sequence number to the received fault detection message, the order of the sequence number is the same as the sending sequence of the received fault detection message; the sink end is configured to receive the first receiving fault sent by the source end a detection packet and a second reception failure detection message, wherein the second reception failure detection message is a reception failure detection message received immediately after the first receiving the failure detection message, and is received from the received Obtaining the first serial number and the second serial number in the first receiving fault detection message and the second receiving fault detecting message, and determining whether a report occurs according to the size of the first and second serial numbers The text received an exception.
本发明实施例的技术方案还提出一种源端, 包括报文生成模 块、 序列号分配模块和报文发送模块, 所述报文生成模块, 用于 生成携带序列号的所述接收故障检测报文; 所述序列号分配模块, 用于按照所述接收故障检测报文的发送顺序分配序列号; 所述报 文发送模块, 用于将向所述宿端顺序发送携带序列号的接收故障 检测 艮文。 The technical solution of the embodiment of the present invention further provides a source end, which includes a message generating module, a serial number assigning module, and a packet sending module, where the packet generating module is used for Generating the received fault detection message carrying the sequence number; the sequence number assigning module is configured to allocate a sequence number according to the sending sequence of the received fault detection message; the message sending module is configured to The sink sends the receiving fault detection message carrying the serial number in sequence.
本发明实施例的技术方案还提出一种宿端, 用于与上述源端 配合进行报文接收异常的检测, 包括报文接收模块、 序列号获取 模块和接收异常检测模块, 所述报文接收模块, 用于接收所述源 端发送的第一接收故障检测报文和第二接收故障检测报文, 其中 所述第二接收故障检测报文为紧邻所述第一接收故障检测报文之 后接收到的接收故障检测报文, 所述第一接收故障检测报文携带 有第一序列号, 所述第二接收故障检测报文携带有第二序列号; 所述序列号获取模块, 用于从所述报文接收模块接收到的第一接 收故障检测报文和第二接收故障检测报文中获取所述第一序列号 和所述第二序列号; 所述接收异常检测模块, 用于根据所述第一 和第二序列号的大小来判断是否出现报文接收异常。 The technical solution of the embodiment of the present invention further provides a sink, configured to cooperate with the source end to detect a packet receiving abnormality, including a packet receiving module, a serial number acquiring module, and a receiving abnormality detecting module, where the packet is received. a module, configured to receive a first receiving fault detection message and a second receiving fault detection message sent by the source end, where the second receiving fault detection message is received immediately after the first receiving fault detection message Receiving a fault detection message, the first receiving fault detection message carries a first sequence number, and the second receiving fault detection message carries a second sequence number; the sequence number obtaining module is used to Acquiring the first sequence number and the second sequence number in the first receiving failure detection message and the second receiving failure detection message received by the packet receiving module; the receiving abnormality detecting module, configured to The size of the first and second serial numbers is used to determine whether a message reception exception occurs.
通过本发明实施例釆用源端在接收故障检测报文中添加序列 号, 并且宿端通过检测该接收故障检测报文中序列号的顺序以判 断是否出现报文乱序及报文丟包的缺陷, 克服了现有技术中无法 检测报文乱序缺陷的问题, 进而达到了对链路进行实时的乱序缺 陷检测的技术效果。 通过本发明实施例源端在发送的接收故障检 测报文中添加的序列号, 接收到该接收故障检测报文的宿端就可 序缺陷, 达到对报文乱序实时检测的目的。 附图说明 In the embodiment of the present invention, the source end adds a sequence number to the received fault detection message, and the sink end determines the sequence of the sequence number in the received fault detection message to determine whether the packet is out of order and the packet is lost. The defect overcomes the problem that the packet disorder is not detected in the prior art, and the technical effect of the real-time out-of-order defect detection on the link is achieved. The sequence number added in the received fault detection packet sent by the source end in the embodiment of the present invention receives the sequence defect of the receiving fault detection message, and achieves the purpose of real-time detection of the packet out-of-order. DRAWINGS
图 1为本发明实施例报文接收异常的检测系统的结构图; 图 2为本发明实施例一的报文接收异常的检测方法的流程图; 图 3为本发明实施例二的报文接收异常的检测方法的流程图; 图 4为本发明实施例三的报文接收异常的检测方法的流程图。 具体实施方式 1 is a structural diagram of a detection system for receiving an abnormality of a message according to an embodiment of the present invention; FIG. 2 is a flowchart of a method for detecting an abnormality of a packet receiving abnormality according to Embodiment 1 of the present invention; FIG. 3 is a packet receiving method according to Embodiment 2 of the present invention; A flowchart of an abnormal detection method; FIG. 4 is a flowchart of a method for detecting a packet reception abnormality according to Embodiment 3 of the present invention. detailed description
下面结合附图和实施例, 对本发明的具体实施方式作进一步 详细描述: The specific embodiments of the present invention are further described in detail below with reference to the accompanying drawings and embodiments.
如图 1 所示, 为本发明实施例报文接收异常的检测系统的结 构图。 该报文接收异常的检测系统包括至少一个源端 1 和至少一 个宿端 2 , 源端 1用于向宿端 2顺序地发送接收故障检测报文, 并 在所述接收故障检测报文中添加序列号, 所述序列号的顺序与所 述接收故障检测报文的发送顺序相同; 宿端 2用于接收源端 1发 送的第一接收故障检测报文和第二接收故障检测报文, 并从接收 到的第一接收故障检测报文和第二接收故障检测报文中获取第一 序列号和第二序列号, 并根据第一和第二序列号的大小来判断是 否出现报文接收异常。 As shown in FIG. 1, it is a structural diagram of a detection system for receiving an abnormality of a message according to an embodiment of the present invention. The detection system of the packet receiving abnormality includes at least one source end 1 and at least one sink end 2, and the source end 1 is configured to sequentially send and receive the fault detection message to the sink end 2, and add in the receiving fault detection message. a serial number, the order of the serial number is the same as the sending sequence of the received fault detection message; the sink terminal 2 is configured to receive the first receiving fault detection message and the second receiving fault detection message sent by the source end 1, and Obtaining a first sequence number and a second sequence number from the received first received fault detection message and the second received fault detection message, and determining whether a packet receiving abnormality occurs according to the size of the first and second serial numbers .
本发明实施例所提到的第一接收故障检测报文和第二接收故 障检测报文只是为了便于说明本发明实施例通过比较相邻的两个 接收故障检测报文所携带的序列号而判断是否出现接收故障, 因 此不能认为本发明实施例仅仅限于通过第一接收故障检测报文和 第二接收故障检测报文进行接收故障检测。 The first receiving fault detection packet and the second receiving fault detection packet mentioned in the embodiment of the present invention are only for convenience of description. The embodiment of the present invention determines by comparing the serial numbers carried by two adjacent receiving fault detection messages. Whether or not a reception failure occurs, the embodiment of the present invention is not limited to performing reception failure detection by using the first reception failure detection message and the second reception failure detection message.
其中, 源端 1包括报文生成模块 11、 序列号分配模块 12和报 文发送模块 13 , 其中, 报文生成模块 11用于生成携带序列号的接 收故障检测报文; 序列号分配模块 12用于按照接收故障检测报文 的发送顺序分配序列号; 报文发送模块 13用于将向宿端 2顺序发 送携带序列号的接收故障检测报文。 通过报文生成模块 11生成携 带序列号的接收故障检测报文, 序列号分配模块 12将按照报文生 成模块 11生成携带序列号的接收故障检测报文的发送顺序分配序 列号, 报文发送模块 13将序列号分配模块 12分配序列号的接收 故障检测 ^艮文将宿端 2顺序发送。 The source end 1 includes a message generating module 11, a serial number assigning module 12, and a message sending module 13, wherein the message generating module 11 is configured to generate a receiving fault detection message carrying a sequence number; The sequence number is allocated in the order in which the received fault detection messages are sent. The message sending module 13 is configured to send the received fault detection message carrying the sequence number to the sink terminal 2 in sequence. The packet generation module 11 generates a reception failure detection message carrying the sequence number, and the sequence number assignment module 12 allocates a sequence number according to the transmission sequence of the reception failure detection message carrying the sequence number, and the message transmission module 13 The serial number assignment module 12 assigns the serial number of the received failure detection message to the sink terminal 2 in sequence.
本发明实施例通过报文生成模块 11的任意一个子模块均可生 成携带序列号的接收故障检测报文。 本发明实施例以下提供的三 个用于生成携带序列号的接收故障检测报文的子模块, 是本发明 实施例基于 OAM机制故障检测 文较优的实施方式,然而并不能 因此认为本发明实施例只能通过基于 OAM 机制故障检测报文生 成携带序列号的接收故障检测报文。 The embodiment of the present invention can be generated by any submodule of the message generating module 11. The receiving fault detection packet carrying the serial number. The following is a sub-module for generating a receiving fault detection message carrying a sequence number, which is an implementation of the OAM mechanism fault detection text according to the embodiment of the present invention. However, the present invention cannot be considered as implementing the present invention. A receiving fault detection packet carrying a sequence number can be generated only by using the OAM mechanism fault detection packet.
其中,报文生成模块 11包括扩展定义子模块 111 ,用于将 OAM 机制故障检测报文的原有字段重新划分出一部分作为序列号域来 携带序列号。 例如利用 CV ( Connectivity Verification, 连接验证报 文)报文承载序列号的结构,将 OAM机制故障检测报文的 18octets 的原有字段填充部分重新划分出一部分 8 octets作为序列号域来携 带序列号,这样通过原有 CV报文承载序列号可以保持报文长度不 变, 因此不增加网络的负担。 The message generation module 11 includes an extension definition sub-module 111, which is used to re-divide the original field of the OAM mechanism fault detection message into a part of the sequence number field to carry the sequence number. For example, by using the CV (Connective Verification Packet) message carrying sequence number structure, the original field padding portion of the 18octets of the OAM mechanism fault detection message is re-divided into a part of 8 octets as a sequence number field to carry the sequence number. In this way, the original CV packet carries the sequence number to keep the packet length unchanged, so the network does not increase the burden.
功能类型 保留 路径源端 填充部分 BIP16校验部 序列号 Function Type Reserved Path Source Filled Part BIP16 Checker Serial Number
(01 Hex) (all OOHex) 标识符 (all OOHex) 分 (01 Hex) (all OOHex) identifier (all OOHex) points
1 octet 3 octets 20 octets 10 octets 8 octets 2 octets 其中,报文生成模块 11包括报文加长子模块 112,用于将 OAM 机制故障检测报文加长,在 OAM机制故障检测报文的加长部分增 加序列号域来携带序列号。 例如对于 OAM机制利用加长的 CV报 文承载序列号的结构, 在保留原有 OAM功能的基础上, 将 OAM 机制故障检测报文加长,在 OAM机制故障检测报文的加长部分增 加序列号域来携带序列号,例如在原有 OAM机制故障检测报文的 才艮文尾部增加 10 octets的序列号域来携带序列号, 包括 8 octes的 序列号和 2 octets BIP 16序列号校验部分。 其中, 序列号校验部分 携带有与序列号部分相同的内容, 在接收到该报文后对序列号部 分进行校验, 以防止在 4艮文传输过程中序列号部分被改变, 从而 防止本来顺序正确的 4艮文却因为序列号部分被改变而上 乱序故 障。 1 octet 3 octets 20 octets 10 octets 8 octets 2 octets The message generating module 11 includes a message lengthening sub-module 112 for lengthening the OAM mechanism fault detection message and adding a sequence to the extended portion of the OAM mechanism fault detection message. The number field to carry the serial number. For example, the OAM mechanism uses the structure of the extended CV packet to carry the sequence number. On the basis of retaining the original OAM function, the OAM mechanism fault detection packet is lengthened, and the sequence number field is added to the length of the OAM mechanism fault detection packet. Carry the serial number, for example, add a sequence number of 10 octets at the end of the original OAM mechanism fault detection message to carry the sequence number, including the sequence number of 8 octes and the check portion of the 2 octets BIP 16 sequence number. Wherein, the serial number verification part carries the same content as the serial number part, and after receiving the message, the serial number part is verified to prevent the serial number part from being changed during the transmission process, thereby preventing the original The 4th order of the correct order is disordered because the serial number part is changed.
功能类型 保留 路径源端 填充部分 BIP 16校 BIP16序列号 序列号 Function Type Reserved Path Source Filled Part BIP 16 School BIP16 Serial Number Serial Number
(01 Hex) (all OOHex) 标识符 (all OOHex) 验部分 校验部分 1 octet 3 octets 20 octets 18 octets 2 octets 8 octes 2 octets 其中, 报文生成模块 11 包括报文新建子模块 113 , 用于根据 OAM机制故障检测报文的结构新建携带有序列号的接收故障检测 报文。 例如将接收故障检测报文的功能类型设为 02Hex。 (01 Hex) (all OOHex) identifier (all OOHex) 1 octet 3 octets 20 octets 18 octets 2 octets 8 octes 2 octets The packet generation module 11 includes a message new sub-module 113 for constructing a reception fault detection report carrying a sequence number according to the structure of the OAM mechanism failure detection message. Text. For example, the function type of receiving the fault detection message is set to 02Hex.
功能类型 保留 填充部分 BIP16校验部 路径源端标识符 序列号 Function Type Reserved Filled Part BIP16 Verification Part Path Source Identifier Serial Number
(02Hex) (all OOHex) (all OOHex) 分 (02Hex) (all OOHex) (all OOHex) points
1 octet 3 octets 20 octets 10 octets 8 octets 2 octets 其中, 宿端 2包括报文接收模块 21、 序列号获取模块 22和接 收异常检测模块 23 ,报文接收模块 21用于接收源端 1发送的第一 接收故障检测报文和第二接收故障检测报文, 其中第二接收故障 检测报文为紧邻第一接收故障检测报文之后接收到的接收故障检 测报文, 第一接收故障检测报文携带有第一序列号, 第二接收故 障检测报文携带有第二序列号; 序列号获取模块 22用于从报文接 收模块 21接收到的第一接收故障检测报文和第二接收故障检测报 文中获取第一序列号和第二序列号; 接收异常检测模块 23用于根 据第一和第二序列号的大小来判断是否出现报文接收异常。 1 octet 3 octets 20 octets 10 octets 8 octets 2 octets where the sink 2 includes a message receiving module 21, a sequence number obtaining module 22 and a receiving anomaly detecting module 23, and the message receiving module 21 is configured to receive the first source 1 Receiving the fault detection message and the second receiving fault detection message, wherein the second receiving fault detection message is a receiving fault detection message received immediately after the first receiving the fault detection message, and the first receiving fault detection message carries There is a first serial number, the second receiving fault detection message carries a second serial number; the serial number obtaining module 22 is configured to receive the first receiving fault detection message and the second receiving fault detection message from the message receiving module 21 The first sequence number and the second sequence number are obtained in the text; the receiving abnormality detecting module 23 is configured to determine whether a message receiving abnormality occurs according to the sizes of the first and second serial numbers.
其中, 接收异常检测模块 23 包括报文乱序判断子模块 231 , 用于在第一序列号大于第二序列号时判断出现报文乱序, 确定为 疏松乱序缺陷, 其中疏松模式只要求相邻两个接收故障检测报文 中第二接收故障检测报文所携带的序列号大于第一接收故障检测 报文所携带的序列号, 无论第二接收故障检测报文所携带的序列 号比第一接收故障检测报文所携带的序列号大多少, 这样就可以 判断其是否乱序, 这样经过该疏松模式检测到的缺陷就称为疏松 乱序缺陷。 当然也可以规定源端发送接收故障检测报文中添加序 列号的顺序为从大到小, 则宿端在接收时就可通过第一接收故障 检测报文所携带的序列号是否大于第二接收故障检测报文所携带 的序列号来判断是否出现乱序。 The receiving abnormality detecting module 23 includes a message out-of-order judging sub-module 231, configured to determine that the packet out-of-order occurs when the first serial number is greater than the second serial number, and determine that the message is out of order, wherein the loose mode only requires phase The sequence number carried by the second receiving fault detection packet in the two receiving fault detection packets is greater than the sequence number carried in the first receiving fault detection packet, regardless of the sequence number carried by the second receiving fault detection packet. The number of the serial number carried in the received fault detection message is large, so that it can be judged whether it is out of order, and the defect detected by the loose mode is called a loose disordered defect. Of course, it may be stipulated that the sequence of adding the sequence number in the source sending and receiving fault detection message is from large to small, and the sequence number carried by the first receiving fault detection message is greater than the second receiving when the sink end receives the receiving. The serial number carried in the fault detection packet is used to determine whether an out of order occurs.
其中, 接收异常检测模块 23 包括报文丟包判断子模块 232 , 用于判断接收到的第一和第二序列号的差值的绝对值是否大于最 小序列号间隔, 如果大于最小序列号间隔则说明出现报文丟包; 如果既出现报文乱序又出现报文丟包, 则确定为出现严格乱序缺 陷, 所述最小序列号间隔为所述源端为发送的相邻两个接收故障 检测报文配置的序列号之间的差值。 无论第一序列号大于第二序 列号或是第二序列号大于第一序列号, 只要两个序列号的差值大 于最小序列号间隔, 就说明出现了丟包现象。 本发明实施例还提 出一种在报文乱序判断子模块 231 判断是否出现报文乱序后由报 文丟包判断子模块 232 判断是否出现报文丟包, 如果既出现报文 乱序又出现报文丟包, 则确定为出现严格乱序缺陷。 因此从上述 描述可知, 报文丟包判断子模块 232 不仅可以独立于报文乱序判 断子模块 231 来判断是否出现报文丟包现象, 也可以与报文乱序 判断子模块 231 同时作用, 先由报文乱序判断子模块 231 判断是 否出现报文乱序, 再由报文丟包判断子模块 232 判断是否出现报 文丟包。 The receiving abnormality detecting module 23 includes a packet loss determining sub-module 232, configured to determine whether the absolute value of the received difference between the first and second serial numbers is greater than the maximum value. The small serial number interval, if it is greater than the minimum serial number interval, indicates that packet loss occurs; if both packet out-of-order and packet loss occurs, it is determined that a strict out-of-order defect occurs, and the minimum sequence number interval is The source end is the difference between the serial numbers configured for the two adjacent received fault detection packets. Whether the first serial number is greater than the second serial number or the second serial number is greater than the first serial number, as long as the difference between the two serial numbers is greater than the minimum serial number interval, the packet loss phenomenon occurs. The embodiment of the present invention further provides that after the message out-of-order judging sub-module 231 determines whether the packet is out of order, the packet loss judging sub-module 232 determines whether packet loss occurs, and if both packets are out of order, If a packet loss occurs, it is determined that a strict out-of-order defect has occurred. Therefore, it can be seen from the above description that the packet loss judging sub-module 232 can not only determine whether the packet loss phenomenon occurs independently of the packet out-of-order judging sub-module 231, but also can function simultaneously with the packet scribble judging sub-module 231. First, the message out-of-order judging sub-module 231 determines whether the message is out of order, and then the packet loss judging sub-module 232 determines whether packet loss occurs.
其中, 宿端 2还包括告警信息传送模块 24 , 用于在接收异常 检测模块 23检测到报文接收异常之后, 将报文接收异常通过告警 信息传送协议报文上报。 例如通过接收异常检测模块 23检测到报 文乱序或报文丟包时, 即检测到疏松乱序或严格乱序, 将疏松乱 序或严格乱序缺陷通过告警信息传送协议报文上报。 The sink 2 further includes an alarm information transmission module 24, configured to report the abnormality of the packet reception through the alarm information transmission protocol packet after the abnormality detection module 23 detects the abnormality of the packet reception. For example, when the abnormality detecting module 23 detects that the packet is out of order or the packet is lost, the unspoken or strict out-of-order is detected, and the loosely-disordered or strict out-of-order defect is reported through the alarm information transmission protocol packet.
其中, 如果告警信息传送模块 24同时即检测到疏松乱序或严 格乱序缺陷, 则需要通过优先级判断子模块 241 , 根据设定的疏松 乱序缺陷和严格乱序缺陷的优先级, 将优先级较高的缺陷通过告 警信息传送协议报文上报。 例如将疏松乱序缺陷的优先级设为最 低, 将严格乱序缺陷的优先级设为次最低, 则同时检测到疏松乱 序缺陷和严格乱序缺陷, 根据优先级的判断应将严格乱序缺陷通 过告警信息传送协议报文上报。 当然也可将严格乱序缺陷的优先 级设为最低, 将疏松乱序缺陷的优先级设为次最低。 本发明实施 例还提出一种基于 OAM机制的优先级设置方式, 基于 OAM机制 原有的六种缺陷可将严格乱序缺陷的优先级设为最低, 将疏松乱 序缺陷的优先级设为次最低,这样由于 OAM机制故障上报机制只 将优先级最高的缺陷上报, 因此新设定的疏松乱序缺陷和严格乱 序缺陷不会影响原有 OAM 机制的缺陷, 从而避免缺陷检测的冲 通过本发明实施例的报文接收异常的检测系统实现了对报文 接收异常的实时检测和监控, 并且通过严格乱序模式的检测还可 以判断是否同时存在报文乱序和报文丟包的现象。 特别是通过对 疏松乱序缺陷和严格乱序缺陷设置优先级, 使得新增的乱序及丟 包缺陷检测不会对原有 OAM机制的缺陷产生影响。 If the alarm information transmission module 24 detects the loose or disordered or strict out-of-order defect at the same time, the priority determination sub-module 241 needs to pass the priority according to the set looseness disorder and the strict disordered priority. The higher-level defect is reported by the alarm information transmission protocol packet. For example, the priority of loosely out-of-order defects is set to the lowest, and the priority of strict out-of-order defects is set to the second lowest. At the same time, loose and disordered defects and strict out-of-order defects are detected, and the priority should be strictly out of order according to the judgment of priority. The defect is reported by the alarm information transmission protocol packet. Of course, the priority of strict out-of-order defects can be set to the lowest, and the priority of loose and disordered defects can be set to the lowest. The embodiment of the present invention further proposes a priority setting mode based on the OAM mechanism. Based on the original six defects of the OAM mechanism, the priority of the strict out-of-order defect can be set to a minimum, which will be loose. The priority of the sequence defect is set to the second lowest, so that the fault reporting mechanism of the OAM mechanism only reports the defect with the highest priority, so the newly set loose and disordered defects and strict out-of-order defects will not affect the defects of the original OAM mechanism. Therefore, the detection of the abnormality of the packet is detected by the detection system of the packet receiving abnormality in the embodiment of the present invention, and the detection of the abnormality of the packet receiving abnormality is realized, and the detection of the strict out-of-order mode can also determine whether the packet is out of order at the same time. And the phenomenon of packet loss. In particular, by setting priorities for loose and disordered defects and strict out-of-order defects, the new out-of-order and packet loss detection will not affect the defects of the original OAM mechanism.
如图 2 所示, 为本发明实施例一的报文接收异常的检测方法 的流程图, 在本发明实施例中只检测报文接收是否出现报文乱序 现象, 包括: As shown in FIG. 2, it is a flowchart of a method for detecting an abnormality of a packet receiving abnormality according to the first embodiment of the present invention. In the embodiment of the present invention, only the packet skipping phenomenon is detected in the packet receiving, including:
5201 , 宿端接收源端发送的第一接收故障检测报文和第二接 收故障检测报文, 其中第二接收故障检测报文为紧邻第一接收故 障检测报文之后接收到的接收故障检测报文, 第一接收故障检测 报文携带有第一序列号, 第二接收故障检测报文携带有第二序列 号。 其中, 本发明实施例所提到的第一接收故障检测报文和第二 接收故障检测报文只是为了便于说明本发明实施例通过比较相邻 的两个接收故障检测报文所携带的序列号而判断是否出现接收故 障, 因此不能认为本发明实施例仅仅限于通过第一接收故障检测 报文和第二接收故障检测报文进行接收故障检测。 接收故障检测 报文可由原 OAM 机制故障检测报文扩展定义、 修改或者按照原 OAM机制故障检测报文的结构新建一个只携带序列号的接收故障 检测 艮文。 S201, the sink receiving the first receiving fault detection packet and the second receiving fault detection packet sent by the source end, where the second receiving fault detection packet is the receiving fault detection report received immediately after the first receiving the fault detection packet The first receiving fault detection message carries a first sequence number, and the second receiving fault detection message carries a second sequence number. The first receiving fault detection packet and the second receiving fault detection packet mentioned in the embodiment of the present invention are only for convenience of description. The embodiment of the present invention compares the serial numbers carried by two adjacent receiving fault detection packets. In addition, it is not considered that the embodiment of the present invention is limited to receiving fault detection by using the first receiving fault detection message and the second receiving fault detection message. The receiving fault detection packet can be defined or modified by the original OAM mechanism fault detection packet extension or a new fault detection packet carrying only the sequence number can be created according to the structure of the original OAM mechanism fault detection message.
5202 , 分别从接收到的第一接收故障检测报文和第二接收故 障检测报文中获取第一序列号和第二序列号。 从接收故障检测报 文获取序列号的方式与源端在接收故障检测报文中添加序列号的 方式相对应。 S202: The first sequence number and the second sequence number are obtained from the received first received fault detection message and the second received fault detection message, respectively. The method of obtaining the sequence number from receiving the fault detection message corresponds to the manner in which the source end adds the sequence number in the received fault detection message.
5203 , 根据第一和第二序列号的大小来判断是否出现报文乱 序。 在本发明实施例中, 源端对发送的接收故障检测报文中序列 号的顺序从小到大排列。 如果第一序列号小于第二序列号时, 则 说明获取到的序列号排序正常, 是按照源端发送的顺序接收的, 因此应判断为未出现报文乱序。 如果第一序列号大于第二序列号 时, 则说明出现报文乱序, 应确定为出现疏松乱序缺陷, 因为源 端设定的第二接收故障检测报文比第一接收故障检测报文的序列 号小, 说明第二接收故障检测报文发送在前, 而在宿端却是第二 接收故障检测报文在第一接收故障检测报文之后被接收到, 因此 可以说明出现报文乱序, 应确定为出现疏松乱序缺陷。 其中疏松 模式只要求相邻两个接收故障检测报文中第二接收故障检测报文 所携带的序列号大于第一接收故障检测报文所携带的序列号, 无 论第二接收故障检测报文所携带的序列号比第一接收故障检测报 文所携带的序列号大多少, 这样就可以判断其是否乱序, 这样经 过该疏松模式检测到的缺陷就称为疏松乱序缺陷。 当然也可以规 定源端发送接收故障检测报文中添加序列号的顺序为从大到小, 则宿端在接收时就可通过第一接收故障检测报文所携带的序列号 是否大于第二接收故障检测报文所携带的序列号来判断是否出现 乱序。 5203. Determine, according to the sizes of the first and second serial numbers, whether packet confusion occurs. Preface. In the embodiment of the present invention, the source end arranges the sequence of the sequence numbers in the received failure detection packet from small to large. If the first sequence number is smaller than the second sequence number, it indicates that the obtained sequence numbers are sorted normally, and are received according to the order sent by the source end, so it should be determined that the message is out of order. If the first sequence number is greater than the second sequence number, it indicates that the message is out of order, and it should be determined that a loose disordered defect occurs, because the second received failure detection message set by the source end is smaller than the first received failure detection message. The sequence number is small, indicating that the second receiving fault detection message is sent first, and the second receiving fault detection message is received at the sink end after the first receiving the fault detection message, so that the message bursting may be indicated. Order, should be determined to appear loose and disordered defects. The loose mode only requires that the sequence number carried by the second receiving fault detection message in the two adjacent fault detection messages is greater than the sequence number carried in the first receiving fault detection message, regardless of the second receiving fault detection message. The serial number carried is larger than the serial number carried in the first receiving fault detection message, so that it can be judged whether it is out of order, and thus the defect detected by the loose mode is called loose disordered defect. Of course, it may be stipulated that the sequence of adding the sequence number in the source sending and receiving fault detection message is from large to small, and the sequence number carried by the first receiving fault detection message is greater than the second receiving when the sink end receives the receiving. The serial number carried in the fault detection packet is used to determine whether an out of order occurs.
本发明实施例以上所述源端对发送的接收故障检测报文中序 列号的顺序从小到大排列是较优的实施方式, 然而本发明实施例 不应局限于此, 从大到小的序列号排列以及其它序列号的排列方 式均能够实现本发明的目的, 因此各种序列号的排列方法均应为 本发明实施例所涵盖。 In the embodiment of the present invention, the sequence of the serial number in the received failure detection packet sent by the source end is a preferred embodiment. However, the embodiment of the present invention should not be limited to the sequence from large to small. The arrangement of the numbers and the arrangement of other serial numbers can achieve the object of the present invention, and therefore the arrangement methods of the various serial numbers should be covered by the embodiments of the present invention.
S204 , 宿端将检测到的乱序缺陷通过告警信息传送协议报文 上报。 缺陷上报利用原有的 OAM机制告警信息传送协议报文, 将 检测到的乱序缺陷上报。 S204: The sinking end reports the detected out-of-order defect through the alarm information transmission protocol packet. The defect report is reported by using the original OAM mechanism alarm information transmission protocol packet, and the detected out-of-order defect is reported.
通过上述实施例的报文接收异常的检测方法实现了对报文乱 序的实时检测和监控, 能够及时发现在链路出现报文乱序缺陷。 The packet detection abnormality detection method in the foregoing embodiment implements real-time detection and monitoring of packet disorder, and can timely detect packet disorder defects on the link.
如图 3 所示, 为本发明实施例二的报文接收异常的检测方法 的流程图, 在本发明实施例中只检测报文接收是否出现报文丟包 现象, 包括: As shown in FIG. 3, the method for detecting abnormality of packet receiving according to the second embodiment of the present invention is In the embodiment of the present invention, only the packet loss detection phenomenon is detected in the packet receiving, including:
5301 , 宿端接收源端发送的第一接收故障检测报文和第二接 收故障检测报文, 其中第二接收故障检测报文为紧邻第一接收故 障检测报文之后接收到的接收故障检测报文, 第一接收故障检测 报文携带有第一序列号, 第二接收故障检测报文携带有第二序列 号。 其中, 本发明实施例所提到的第一接收故障检测报文和第二 接收故障检测报文只是为了便于说明本发明实施例通过比较相邻 的两个接收故障检测报文所携带的序列号而判断是否出现接收故 障, 因此不能认为本发明实施例仅仅限于通过第一接收故障检测 报文和第二接收故障检测报文进行接收故障检测。 接收故障检测 报文可由原 OAM 机制故障检测报文扩展定义、 修改或者按照原 OAM机制故障检测报文的结构新建一个只携带序列号的接收故障 检测 艮文。 S301: The sink receives the first receiving fault detection packet and the second receiving fault detection packet sent by the source end, where the second receiving fault detection packet is the receiving fault detection report received immediately after the first receiving the fault detection packet. The first receiving fault detection message carries a first sequence number, and the second receiving fault detection message carries a second sequence number. The first receiving fault detection packet and the second receiving fault detection packet mentioned in the embodiment of the present invention are only for convenience of description. The embodiment of the present invention compares the serial numbers carried by two adjacent receiving fault detection packets. In addition, it is not considered that the embodiment of the present invention is limited to receiving fault detection by using the first receiving fault detection message and the second receiving fault detection message. The receiving fault detection packet can be defined or modified by the original OAM mechanism fault detection packet extension or a new fault detection packet carrying only the sequence number can be created according to the structure of the original OAM mechanism fault detection message.
5302 , 分别从接收到的第一接收故障检测报文和第二接收故 障检测报文中获取第一序列号和第二序列号。 从接收故障检测报 文获取序列号的方式与源端在接收故障检测报文中添加序列号的 方式相对应。 S302: Obtain a first sequence number and a second sequence number from the received first received fault detection message and the second received fault detection message, respectively. The method of obtaining the sequence number from receiving the fault detection message corresponds to the manner in which the source end adds the sequence number in the received fault detection message.
5303 , 根据第一和第二序列号的大小来判断是否出现报文丟 包。 本发明实施例还提出了一种判断报文是否丟包的方法, 在第 一和第二序列号的差值大于最小序列号间隔时判断出现报文丟 包, 其中最小序列号间隔为所述源端为发送的相邻两个接收故障 检测报文配置的序列号之间的差值。 无论第一序列号大于第二序 列号或是第二序列号大于第一序列号, 只要两个序列号的差值大 于最小序列号间隔, 就说明出现了报文丟包现象。 例如源端按整 数递增的顺序将序列号插入接收故障检测报文, 则该最小序列号 间隔就为 1 , 如果第一和第二序列号的差值大于 1 , 就说明出现报 文丟包现象。 5303. Determine, according to the size of the first and second serial numbers, whether a packet loss occurs. The embodiment of the present invention further provides a method for determining whether a packet is lost, and determining that packet loss occurs when the difference between the first and second serial numbers is greater than the minimum sequence number interval, where the minimum sequence number interval is The source is the difference between the sequence numbers configured for the two adjacent received fault detection packets. Whether the first sequence number is greater than the second sequence number or the second sequence number is greater than the first sequence number, as long as the difference between the two sequence numbers is greater than the minimum sequence number interval, packet loss occurs. For example, if the source end inserts the sequence number into the receiving fault detection message in the order of increasing integers, the minimum sequence number interval is 1. If the difference between the first and second sequence numbers is greater than 1, it indicates that packet loss occurs. .
本发明实施例以上所述源端对发送的接收故障检测报文中序 列号的顺序从小到大排列是较优的实施方式, 然而本发明实施例 不应局限于此, 从大到小的序列号排列以及其它序列号的排列方 式均能够实现本发明的目的, 因此各种序列号的排列方法均应为 本发明实施例所涵盖。 In the embodiment of the present invention, the source end sends a received fault detection message in the sequence The arrangement of the column numbers from small to large is a preferred embodiment. However, the embodiments of the present invention are not limited thereto, and the arrangement of the serial numbers from the largest to the smallest and the arrangement of other serial numbers can achieve the object of the present invention. The arrangement of various serial numbers should be covered by the embodiments of the present invention.
S304 , 宿端将检测到的丟包缺陷通过告警信息传送协议 ^艮文 上报。 S304: The sink detects the lost packet defect through the alarm information transmission protocol.
缺陷上报利用原有的 OAM机制告警信息传送协议报文,将检 测到的丟包缺陷上报。 The defect report is reported by using the original OAM mechanism alarm information transmission protocol packet, and the detected packet loss defect is reported.
通过上述实施例的报文接收异常的检测方法实现了对报文丟 包的实时检测和监控, 能够及时发现在链路出现报文丟包缺陷。 The packet detection abnormality detection method in the foregoing embodiment implements real-time detection and monitoring of packet loss, and can timely detect packet loss defects on the link.
如图 4 所示, 为本发明实施例三的报文接收异常的检测方法 如果既出现报文乱序又出现报文丟包, 则说明出现严格乱序缺陷, 该实施例包括以下步骤: As shown in FIG. 4, the method for detecting the abnormality of the packet receiving abnormality according to the third embodiment of the present invention, if both the packet is out of order and the packet is lost, the strict out-of-order defect is generated. The embodiment includes the following steps:
5401 , 宿端接收源端发送的第一接收故障检测报文和第二接 收故障检测报文, 其中第二接收故障检测报文为紧邻第一接收故 障检测报文之后接收到的接收故障检测报文, 第一接收故障检测 报文携带有第一序列号, 第二接收故障检测报文携带有第二序列 号。 其中, 本发明实施例所提到的第一接收故障检测报文和第二 接收故障检测报文只是为了便于说明本发明实施例通过比较相邻 的两个接收故障检测报文所携带的序列号而判断是否出现接收故 障, 因此不能认为本发明实施例仅仅限于通过第一接收故障检测 报文和第二接收故障检测报文进行接收故障检测。 接收故障检测 报文可由原 OAM 机制故障检测报文扩展定义、 修改或者按照原 OAM机制故障检测报文的结构新建一个只携带序列号的接收故障 检测 艮文。 S401, the sink receiving the first receiving fault detection packet and the second receiving fault detection packet sent by the source end, where the second receiving fault detection packet is the receiving fault detection report received immediately after the first receiving the fault detection packet The first receiving fault detection message carries a first sequence number, and the second receiving fault detection message carries a second sequence number. The first receiving fault detection packet and the second receiving fault detection packet mentioned in the embodiment of the present invention are only for convenience of description. The embodiment of the present invention compares the serial numbers carried by two adjacent receiving fault detection packets. In addition, it is not considered that the embodiment of the present invention is limited to receiving fault detection by using the first receiving fault detection message and the second receiving fault detection message. The receiving fault detection packet can be defined or modified by the original OAM mechanism fault detection packet extension or a new fault detection packet carrying only the sequence number can be created according to the structure of the original OAM mechanism fault detection message.
5402 , 分别从接收到的第一接收故障检测报文和第二接收故 障检测报文中获取第一序列号和第二序列号。 从接收故障检测报 文获取序列号的方式与源端在接收故障检测报文中添加序列号的 方式相对应。 S402: The first sequence number and the second sequence number are obtained from the received first received fault detection message and the second received fault detection message, respectively. The method of obtaining the sequence number from receiving the fault detection message and the source end adding the sequence number in the receiving fault detection message The way corresponds.
5403 , 根据第一和第二序列号的大小来判断是否出现报文乱 序。 如果第一序列号小于第二序列号时, 则说明获取到的序列号 排序正常, 是按照源端发送的顺序接收的, 因此应判断为未出现 报文乱序。 如果第一序列号大于第二序列号时, 则说明出现报文 乱序, 应确定为出现疏松乱序缺陷, 因为在源端第二接收故障检 测报文比第一接收故障检测报文的序列号小, 则说明第二接收故 障检测报文发送在前, 而在宿端却是第二接收故障检测报文在第 一接收故障检测报文之后被接收到, 因此说明出现报文乱序, 应 确定为出现疏松乱序缺陷。 其中疏松模式只要求相邻两个接收故 障检测报文中第二接收故障检测报文所携带的序列号大于第一接 收故障检测报文所携带的序列号, 无论第二接收故障检测报文所 携带的序列号比第一接收故障检测报文所携带的序列号大多少, 这样就可以判断其是否乱序, 这样经过该疏松模式检测到的缺陷 就称为疏松乱序缺陷。 当然也可以规定源端发送接收故障检测报 文中添加序列号的顺序为从大到小, 则宿端在接收时就可通过第 一接收故障检测报文所携带的序列号是否大于第二接收故障检测 报文所携带的序列号来判断是否出现乱序。 5403. Determine, according to the size of the first and second serial numbers, whether message disorder occurs. If the first sequence number is smaller than the second sequence number, it indicates that the obtained sequence numbers are sorted normally, and are received according to the order sent by the source end, so it should be determined that the message is out of order. If the first sequence number is greater than the second sequence number, it indicates that the message is out of order, and it should be determined that there is a loose disordered defect, because the second receiving failure detection message at the source end is smaller than the sequence of the first receiving failure detection message. If the number is small, the second receiving fault detection message is sent first, and the second receiving fault detection message is received after the first receiving fault detection message, so that the message is out of order. It should be determined that there is a loose disorder. The loose mode only requires that the sequence number carried by the second receiving fault detection message in the two adjacent fault detection messages is greater than the sequence number carried in the first receiving fault detection message, regardless of the second receiving fault detection message. The serial number carried is larger than the serial number carried in the first receiving fault detection message, so that it can be judged whether it is out of order, and thus the defect detected by the loose mode is called loose disordered defect. Of course, it may be stipulated that the sequence of adding the sequence number in the source sending and receiving fault detection message is from large to small, and the sequence number carried by the first receiving fault detection message is greater than the second receiving when the sink end receives the receiving. The serial number carried in the fault detection packet is used to determine whether an out of order occurs.
5404 , 在检测是否出现报文乱序之后, 检测是否有报文丟包 现象。 5404. After detecting whether the packet is out of order, check whether there is packet loss.
严格乱序缺陷不仅要检测是否出现报文乱序还要检测是否出 格乱序缺陷。 根据第一和第二序列号的大小来判断是否出现报文 丟包。 本发明实施例还提出了一种判断报文是否丟包的方法, 在 第一和第二序列号的差值大于最小序列号间隔时判断出现报文丟 包, 其中最小序列号间隔为所述源端为发送的相邻两个接收故障 检测报文配置的序列号之间的差值。 无论第一序列号大于第二序 列号或是第二序列号大于第一序列号, 只要两个序列号的差值大 于最小序列号间隔, 就说明出现了报文丟包现象。 例如源端按整 数递增的顺序将序列号插入接收故障检测报文, 则该最小序列号 间隔就为 1 , 如果第一序列号和第二序列号的差值大于 1 , 就说明 出现报文丟包现象。 Strictly out-of-order defects are not only to detect whether the message is out of order but also to detect whether the out-of-order disorder is out of order. According to the size of the first and second serial numbers, it is determined whether packet loss occurs. The embodiment of the present invention further provides a method for determining whether a packet is lost, and determining that packet loss occurs when the difference between the first and second serial numbers is greater than the minimum sequence number interval, where the minimum sequence number interval is The source is the difference between the sequence numbers configured for the two adjacent received fault detection packets. Whether the first sequence number is greater than the second sequence number or the second sequence number is greater than the first sequence number, as long as the difference between the two sequence numbers is greater than the minimum sequence number interval, packet loss occurs. For example, the source is pressed If the sequence number is inserted into the receiving fault detection message, the minimum sequence number interval is 1. If the difference between the first sequence number and the second sequence number is greater than 1, it indicates that packet loss occurs.
如果在 S403 的检测中未发现 ^艮文乱序, 在 S404 中也未发现 报文丟包, 则说明该链路既不存在乱序问题也不存在丟包问题; 如果在 S403 的检测中未发现 ^艮文乱序, 而在 S404 中发现 ^艮文丟 包, 则说明链路不存在乱序但存在丟包的问题; 如果在 S403的检 测中发现报文乱序, 而在 S404中未发现报文丟包, 则说明链路存 在乱序但不丟包的问题; 如果在 S403的检测中发现报文乱序, 在 S404 中又发现报文丟包, 则说明链路既存在报文乱序又存在报文 丟包的问题, 即出现严格乱序缺陷。 If the packet is not found in the S403 detection, and no packet loss is found in S404, it indicates that the link has neither the out-of-order problem nor the packet loss problem; if it is not detected in S403 If the packet is found to be out of order, and the packet is found in S404, the link is not out of order but there is a problem of packet loss. If the packet is found out in S403, it is not in S404. If the packet loss is found, the link is out of order but the packet is not lost. If the packet is out of order in S403 and the packet is lost in S404, the link exists. In disorder, there is a problem of packet loss, that is, strict disordered defects occur.
本发明实施例以上所述源端对发送的接收故障检测报文中序 列号的顺序从小到大排列是较优的实施方式, 然而本发明实施例 不应局限于此, 从大到小的序列号排列以及其它序列号的排列方 式均能够实现本发明的目的, 因此各种序列号的排列方法均应为 本发明实施例所涵盖。 In the embodiment of the present invention, the sequence of the serial number in the received failure detection packet sent by the source end is a preferred embodiment. However, the embodiment of the present invention should not be limited to the sequence from large to small. The arrangement of the numbers and the arrangement of other serial numbers can achieve the object of the present invention, and therefore the arrangement methods of the various serial numbers should be covered by the embodiments of the present invention.
S405 , 如果既出现疏松乱序缺陷又出现严格乱序缺陷, 则根 据设定的疏松乱序缺陷和严格乱序缺陷的优先级, 将优先级较高 的缺陷通过告警信息传送协议报文上报。因为基于 OAM机制每次 只将优先级最高的缺陷上报, 所以为了避免缺陷检测的冲突, 为 上述两种新建的缺陷类型设置优先级, 例如将疏松乱序缺陷优先 级设为最低, 将严格乱序缺陷优先级设为次最低, 如果同时检测 到一个 OAM机制原有缺陷和疏松乱序缺陷,则因为疏松乱序缺陷 的优先级最低, 就会将该 OAM机制的原有缺陷上报; 如果同时检 测到严格乱序缺陷和疏松乱序缺陷, 则会将严格乱序缺陷上报。 这样新增加的乱序缺陷就不会对原有 0 AM机制的缺陷产生影响。 也可将严格乱序缺陷优先级设为最低, 将疏松乱序缺陷优先级设 为次最低, 该优先级根据用户需要自由设定。 当然也可设置严格 乱序缺陷的优先级高于疏松乱序缺陷的优先级, 例如将疏松乱序 缺陷的优先级设置为最低, 严格乱序缺陷设置为次最低。 S405. If there are both loose and disordered defects and strict out-of-order defects, the defects with higher priority are reported by the alarm information transmission protocol according to the set priority of the disordered and the out-of-order defects. Because the OAM mechanism only reports the highest priority defect at a time, in order to avoid the conflict detection of the defect, the priority is set for the two newly created defect types, for example, the priority of the loose and disordered defect is set to the lowest, which will be strictly chaotic. The priority of the OAM mechanism is set to the lowest. If the original defect and the loose and disordered defect of the OAM mechanism are detected at the same time, the original defect of the OAM mechanism will be reported because the priority of the loose and disordered defect is the lowest; Strict out-of-order defects and loose disordered defects are detected, and strict out-of-order defects are reported. Such newly added out-of-order defects will not affect the defects of the original 0 AM mechanism. It is also possible to set the strict out-of-order defect priority to the lowest and the loosely-ordered defect priority to the next lowest, which is freely set according to the user's needs. Of course, it is also possible to set a strict out-of-order defect with a higher priority than a loosely-ordered defect, such as loosening out of order. The priority of the defect is set to the lowest, and the strict out-of-order defect is set to the lowest.
通过上述实施例的报文接收异常的检测方法实现了对报文乱 序以及报文丟包的实时检测和监控, 能够及时发现在链路出现报 文乱序缺陷。 本发明实施例还通过设置缺陷优先级的方法, 将检 测出的乱序缺陷中优先级较高的缺陷上报, 从而避免了缺陷检测 的冲突。 The packet detection abnormality detection method in the foregoing embodiment implements real-time detection and monitoring of packet disorder and packet loss, and can timely detect packet disorder defects on the link. In the embodiment of the present invention, the defect with the higher priority among the detected out-of-order defects is reported by the method of setting the defect priority, thereby avoiding the conflict of the defect detection.
本发明实施例针对上述实施例一、 实施例二和实施例三的才艮 文接收异常的检测方法中, 在源端发送的接收故障检测报文中添 加序列号提出了以下三种方法。 In the embodiment of the present invention, in the method for detecting the abnormality of the receiving error in the first embodiment, the second embodiment, and the third embodiment, the following three methods are proposed by adding the serial number to the received fault detection message sent by the source.
本发明实施例利用原有的 OAM 机制故障检测报文携带序列 The embodiment of the present invention utilizes the original OAM mechanism fault detection packet carrying sequence.
( Fast Failure Detection, 快速故障探测)报文, 其中两个报文内 容相同, CV报文每一秒钟发送一个, FFD报文 50毫秒发送一个。 每个 CV报文或 FFD报文携带一个 TTSI ( Trail Termination Source Identifier,路径源端标识符),该 TTSI标识符由源 LSR( Label Switch Router,标签转换路由器)标识符和 LSP( Layered Service Provider, 分层服务提供程序) 标识符组成。 本发明实施例提供了一种在保 留原有 OAM功能的基础上利用 CV报文或 FFD报文承载序列号 的方法。 在保留原有 OAM功能的基础上, 将 OAM机制故障检测 报文的原有字段重新划分出一部分作为序列号域来携带序列号。 (Fast Failure Detection) packets, where the contents of the two packets are the same, the CV packets are sent one second per second, and the FFD packets are sent one millisecond. Each CV packet or FFD packet carries a TTSI (Terminal Termination Source Identifier), which is a source LSR (Label Switch Router) identifier and an LSP (Layered Service Provider). Layered service provider) The identifier consists of. The embodiment of the present invention provides a method for carrying a sequence number by using a CV packet or an FFD packet on the basis of retaining the original OAM function. On the basis of retaining the original OAM function, the original field of the OAM mechanism fault detection packet is re-divided into a part of the sequence number field to carry the sequence number.
其中原有 CV 4艮文或 FFD ^艮文的结构分别如下: The structure of the original CV 4 or FFD is as follows:
CV报文的结构: The structure of the CV message:
功能类型 保留 BIP16校 Function Type Reserved BIP16 School
路径源端标识符 填充部分 (all OOHex) Path source identifier padding section (all OOHex)
(01 Hex) (all OOHex) 验部分 (01 Hex) (all OOHex)
1 octet 3 octets 20 octets 18 octets 2 octets 1 octet 3 octets 20 octets 18 octets 2 octets
FFD报文的结构: Structure of FFD packets:
功能类型 保留 填充部分 BIP16校 Function Type Reserved Filled Part BIP16 School
路径源端标识符 频率 Path source identifier frequency
(07Hex) (all OOHex) (all OOHex) 验部分 (07Hex) (all OOHex) (all OOHex)
1 octet 3 octets 20 octets 1 octet 17 octets 2 octets 从上报文的结构看出, CV报文和 FFD报文的结构报文长度相 同, 结构类似, 所不同的是在 FFD报文中增加了频率部分。 因此 以下仅均以 CV报文为例来说明本发明实施承载序列号的方法。本 发明实施例以下提出了以下三种生成携带序列号的接收故障检测 报文的方法, 通过以下三种方法中的任一种均可实现在接收故障 检测报文中添加序列号。 以下三种方法是本发明实施例基于 OAM 机制故障检测报文较优的实施方式, 然而并不能因此认为本发明 实施例只能通过基于 OAM 机制故障检测报文生成携带序列号的 接收故障检测报文。 1 octet 3 octets 20 octets 1 octet 17 octets 2 octets It can be seen from the structure of the upper message that the structure of the CV message and the FFD message has the same length and similar structure, except that the frequency part is added to the FFD message. Therefore, only the CV message is taken as an example to describe the method for carrying the serial number of the present invention. The following three methods for generating a receiving fault detection message carrying a sequence number are proposed in the following embodiments. The sequence number can be added to the received fault detection message by using any of the following three methods. The following three methods are preferred implementations of the OAM-based fault detection packet in the embodiment of the present invention. However, the embodiment of the present invention cannot be used to generate the receiving fault detection report carrying the sequence number only by using the OAM mechanism fault detection packet. Text.
生成携带序列号的接收故障检测报文的方法一、将 OAM机制 故障检测报文的原有字段重新划分出一部分作为序列号域来携带 序列号。例如利用 CV 报文承载序列号的结构,将 OAM机制故障 检测 4艮文的 18octets 的原有字段填充部分重新划分出一部分 8 octets作为序列号域来携带序列号, 这样通过原有 CV报文承载序 列号可以保持报文长度不变, 因此不增加网络的负担。 A method for generating a fault detection packet carrying a sequence number is as follows: 1. The original field of the OAM mechanism fault detection packet is re-divided into a part of the sequence number field to carry the sequence number. For example, by using the structure of the sequence number of the CV packet, the original field padding part of the 18 octets of the OAM mechanism fault detection is re-divided into a part of the 8 octets to carry the sequence number, so as to carry the original CV packet. The serial number can keep the length of the message unchanged, so it does not increase the burden on the network.
功能类型 保留 填充部分 BIP16校 路径源端标识符 序列号 Function Type Reserved Filled Part BIP16 School Path Source Identifier Serial Number
(01 Hex) (all OOHex) (all OOHex) 验部分 (01 Hex) (all OOHex) (all OOHex)
1 octet 3 octets 20 octets 10 octets 8 octets 2 octets 通过该方法一在原有的 OAM机制故障检测报文承载序列号, 可以保持报文长度不变, 因此不会增加网络的负担。 1 octet 3 octets 20 octets 10 octets 8 octets 2 octets By means of this method, the original OAM mechanism fault detection message carries the sequence number, which keeps the message length unchanged, so it does not increase the network load.
生成携带序列号的接收故障检测报文的方法二、 将原有 OAM 机制故障检测报文加长,在 OAM机制故障检测报文的加长部分增 加序列号域来携带序列号。 例如对于 OAM机制利用加长的 CV报 文承载序列号的结构, 在保留原有 OAM功能的基础上, 将 OAM 机制故障检测报文加长,在 OAM机制故障检测报文的加长部分增 加序列号域来携带序列号,例如在原有 OAM机制故障检测报文的 才艮文尾部增加 10 octets的序列号域来携带序列号, 包括 8 octes的 序列号和 2 octets BIP 16序列号校验部分。 其中, 序列号校验部分 携带有与序列号部分相同的内容, 在接收到该报文后对序列号部 分进行校验, 以防止在 ^艮文传输过程中序列号部分被改变, 从而 防止本来顺序正确的 ^艮文却因为序列号部分被改变而上 乱序故 障。 The method for generating a fault detection packet carrying a sequence number is as follows: The original OAM mechanism fault detection packet is lengthened, and the sequence number field is added to the length of the OAM mechanism fault detection packet to carry the sequence number. For example, the OAM mechanism uses the structure of the extended CV packet to carry the sequence number. On the basis of retaining the original OAM function, the OAM mechanism fault detection packet is lengthened, and the sequence number field is added to the length of the OAM mechanism fault detection packet. Carry the serial number, for example, add a sequence number of 10 octets at the end of the original OAM mechanism fault detection message to carry the sequence number, including the sequence number of 8 octes and the check portion of the 2 octets BIP 16 sequence number. Wherein, the serial number verification part carries the same content as the serial number part, and after receiving the message, the serial number part The check is performed to prevent the serial number portion from being changed during the transmission of the file, thereby preventing the original sequence from being corrupted due to the sequence number portion being changed.
功能类型 保留 路径源端 填充部分 BIP16校 BIP16序列号 序列号 Function Type Reserved Path Source Filled Part BIP16 School BIP16 Serial Number Serial Number
(01 Hex) (all OOHex) 标识符 (all OOHex) 验部分 校验部分 (01 Hex) (all OOHex) identifier (all OOHex) verification part verification part
1 octet 3 octets 20 octets 18 octets 2 octets 8 octes 2 octets 通过该方法二利用加长的 OAM 机制故障检测报文承载序列 号可以不更改原 OAM机制故障检测报文的长度,在宿端获取序列 号之后可将该 OAM机制故障检测报文加长的序列号部分切除, 因 生成携带序列号的接收故障检测报文的方法三、根据 OAM机 制故障检测报文的结构新建携带有序列号的接收故障检测报文。 例如将的接收故障检测报文的功能类型设为 02Hex。 1 octet 3 octets 20 octets 18 octets 2 octets 8 octes 2 octets By using the extended OAM mechanism fault detection packet carrying sequence number, the length of the original OAM mechanism fault detection message can be changed without obtaining the sequence number of the original OAM mechanism. The sequence number of the extended OAM mechanism fault detection packet may be partially cut off, and the method for generating the fault detection packet carrying the sequence number is generated. 3. The structure of the fault detection packet carrying the sequence number of the OAM mechanism is newly created. Text. For example, the function type of the received fault detection message is set to 02Hex.
功能类型 保留 路径源端 填充部分 Function type Reserved Path source Filled part
序列号 BIP16校验部分 Serial number BIP16 checksum
(02Hex) (all OOHex) 标识符 (all OOHex) (02Hex) (all OOHex) Identifier (all OOHex)
1 octet 3 octets 20 octets 10 octets 8 octets 2 octets 通过方法三生成的接收故障检测报文只用于报文乱序及报文 丟包的检测, 不能实现原有 OAM机制的其它缺陷检测, 因此不影 响原有的^艮文和协议, 而且相对于方法二所示序列号添加方法来 说没有增加报文的长度, 因此相对于方法二的实施例来说也不会 增加带宽。 1 octet 3 octets 20 octets 10 octets 8 octets 2 octets The received fault detection packet generated by method 3 is only used for packet out-of-order and packet loss detection. It cannot implement other defect detection of the original OAM mechanism, so it does not. It affects the original text and protocol, and does not increase the length of the message relative to the serial number adding method shown in the second method. Therefore, the bandwidth is not increased relative to the embodiment of the second method.
上述三个在接收故障检测报文中添加序列号的方法只是在 0 AM机制下较优的方法,当然本发明的重点不在于利用原有 0 AM 机制的故障检测报文, 因此任何通过携带序列号达到检测报文乱 序及报文丟包缺陷的方法均应包含在本发明实施例的保护范围 内。 The above three methods for adding a sequence number in receiving a fault detection message are only preferred methods under the 0 AM mechanism. Of course, the focus of the present invention is not on the fault detection message using the original 0 AM mechanism, so any by carrying the sequence The method for achieving the detection packet out-of-order and the packet loss defect should be included in the protection scope of the embodiment of the present invention.
本领域技术人员可以理解附图只是一个优选实施例的示意 图, 附图中的模块或流程并不一定是实施本发明所必须的。 A person skilled in the art can understand that the drawings are only schematic diagrams of a preferred embodiment, and the modules or processes in the drawings are not necessarily required to implement the invention.
本领域技术人员可以理解实施例中的装置中的模块可以按照 实施例描述分布于实施例的装置中, 也可以进行相应变化位于不 同于本实施例的一个或多个装置中。 上述实施例的模块可以合并 为一个模块, 也可以进一步拆分成多个子模块。 Those skilled in the art can understand that the modules in the device in the embodiment can follow The description of the embodiments is distributed in the apparatus of the embodiment, and the corresponding changes may also be made in one or more apparatuses different from the embodiment. The modules of the above embodiments may be combined into one module, or may be further split into multiple sub-modules.
上述本发明实施例序号仅仅为了描述, 不代表实施例的优劣。 权利要求的内容记载的方案也是本发明实施例的保护范围。 通过以上的实施方式的描述, 本领域的技术人员可以清楚地 了解到本发明可以通过硬件实现, 也可以可借助软件加必要的通 用硬件平台的方式来实现基于这样的理解, 本发明的技术方案可 以以软件产品的形式体现出来, 该软件产品可以存储在一个非易 失性存储介质 (可以是 CD-ROM, U盘, 移动硬盘等) 中, 包括 若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述的方法。 非局限于此, 任何本领域的技术人员能思之的变化都应落入本发 明的保护范围。 The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments. The solution described in the claims is also the scope of protection of the embodiments of the present invention. Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by hardware, or can be implemented by means of software plus necessary general hardware platform, and the technical solution of the present invention. It can be embodied in the form of a software product that can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for making a computer device (may It is a personal computer, a server, or a network device, etc.) that performs the methods described in various embodiments of the present invention. Any changes that can be considered by those skilled in the art are not intended to fall within the scope of the present invention.
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200710105994.3 | 2007-06-05 | ||
| CN 200710105994 CN101068170A (en) | 2007-06-05 | 2007-06-05 | Message abnormal receiving detecting method, system and device thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2008148334A1 true WO2008148334A1 (en) | 2008-12-11 |
Family
ID=38880614
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2008/071071 Ceased WO2008148334A1 (en) | 2007-06-05 | 2008-05-23 | Method, system and apparatus thereof for detecting abnormal receipt of message |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN101068170A (en) |
| WO (1) | WO2008148334A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112448898A (en) * | 2019-08-28 | 2021-03-05 | 无锡江南计算技术研究所 | Message order-preserving method based on sequence number mechanism |
| CN112787984A (en) * | 2019-11-11 | 2021-05-11 | 厦门雅迅网络股份有限公司 | Vehicle-mounted network anomaly detection method and system based on correlation analysis |
Families Citing this family (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101068170A (en) * | 2007-06-05 | 2007-11-07 | 华为技术有限公司 | Message abnormal receiving detecting method, system and device thereof |
| US8824477B2 (en) * | 2011-11-03 | 2014-09-02 | Qualcomm Incorporated | Multiple delivery route packet ordering |
| CN104702530B (en) * | 2013-12-06 | 2018-02-13 | 北京东土科技股份有限公司 | The sending method and device of Goose messages in a kind of looped network |
| CN104601411A (en) * | 2015-02-02 | 2015-05-06 | 华为技术有限公司 | Link failure detection method and device |
| CN106411556A (en) * | 2015-08-03 | 2017-02-15 | 深圳市中兴微电子技术有限公司 | OAM message detection defect oscillation processing method, apparatus and system thereof |
| CN105591843B (en) * | 2016-02-06 | 2018-12-04 | 中国科学院计算技术研究所 | Network performance detection method and system in TCP transmission stream based on receiving end |
| CN107508732A (en) * | 2017-10-18 | 2017-12-22 | 盛科网络(苏州)有限公司 | The method that flexibly all kinds of OAM messages are carried out with sequence number detection and timestamp detection |
| CN108204653B (en) * | 2017-12-28 | 2021-02-23 | Tcl空调器(中山)有限公司 | WIFI module fault detection method and device, terminal and storage medium |
| CN111026324B (en) | 2018-10-09 | 2021-11-19 | 华为技术有限公司 | Updating method and device of forwarding table entry |
| CN112787881A (en) * | 2019-11-11 | 2021-05-11 | 中兴通讯股份有限公司 | Communication link detection method, communication device, and storage medium |
| CN110932934B (en) * | 2019-11-21 | 2021-07-13 | 中国联合网络通信集团有限公司 | A kind of network packet loss detection method and device |
| CN112637015B (en) * | 2020-12-23 | 2022-08-26 | 苏州盛科通信股份有限公司 | Packet loss detection method and device for realizing RDMA (remote direct memory Access) network based on PSN (packet switched network) |
| CN113300818B (en) * | 2021-02-08 | 2023-04-28 | 阿里巴巴集团控股有限公司 | Data transmission system and method |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0779722A1 (en) * | 1995-12-11 | 1997-06-18 | Hewlett-Packard Company | Failure detection method in a communication channel with several routes |
| US6182139B1 (en) * | 1996-08-05 | 2001-01-30 | Resonate Inc. | Client-side resource-based load-balancing with delayed-resource-binding using TCP state migration to WWW server farm |
| CN1842033A (en) * | 2005-03-30 | 2006-10-04 | 华为技术有限公司 | Method for monitoring frame loss rate in multi protocol label exchange network |
| CN101068170A (en) * | 2007-06-05 | 2007-11-07 | 华为技术有限公司 | Message abnormal receiving detecting method, system and device thereof |
-
2007
- 2007-06-05 CN CN 200710105994 patent/CN101068170A/en active Pending
-
2008
- 2008-05-23 WO PCT/CN2008/071071 patent/WO2008148334A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0779722A1 (en) * | 1995-12-11 | 1997-06-18 | Hewlett-Packard Company | Failure detection method in a communication channel with several routes |
| US6182139B1 (en) * | 1996-08-05 | 2001-01-30 | Resonate Inc. | Client-side resource-based load-balancing with delayed-resource-binding using TCP state migration to WWW server farm |
| CN1842033A (en) * | 2005-03-30 | 2006-10-04 | 华为技术有限公司 | Method for monitoring frame loss rate in multi protocol label exchange network |
| CN101068170A (en) * | 2007-06-05 | 2007-11-07 | 华为技术有限公司 | Message abnormal receiving detecting method, system and device thereof |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112448898A (en) * | 2019-08-28 | 2021-03-05 | 无锡江南计算技术研究所 | Message order-preserving method based on sequence number mechanism |
| CN112787984A (en) * | 2019-11-11 | 2021-05-11 | 厦门雅迅网络股份有限公司 | Vehicle-mounted network anomaly detection method and system based on correlation analysis |
| CN112787984B (en) * | 2019-11-11 | 2023-11-14 | 厦门雅迅网络股份有限公司 | Vehicle-mounted network anomaly detection method and system based on correlation analysis |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101068170A (en) | 2007-11-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2008148334A1 (en) | Method, system and apparatus thereof for detecting abnormal receipt of message | |
| JP4840236B2 (en) | Network system and node device | |
| CN102833109B (en) | Positional information processing method and equipment of fault point | |
| US9344325B2 (en) | System, method and apparatus providing MVPN fast failover | |
| US8948001B2 (en) | Service plane triggered fast reroute protection | |
| US8374095B2 (en) | Connection verification for MPLS label switched paths and pseudowires | |
| US7336615B1 (en) | Detecting data plane livelines in connections such as label-switched paths | |
| CN102132525B (en) | Methods for establishing traffic connection and associated monitoring connection | |
| WO2021185208A1 (en) | Packet processing method and apparatus, device, and storage medium | |
| WO2011110118A2 (en) | Fault detection method and system | |
| WO2016058245A1 (en) | Processing method and apparatus for operation, administration and maintenance (oam) message | |
| US8107388B2 (en) | Route tracing program configured to detect particular network element making type of service modification | |
| CN104506482A (en) | Network attack detection method and device | |
| CN1653833A (en) | A Service-Oriented Protection Scheme for Wireless Access Networks | |
| EP3001615B1 (en) | Bit error rate detecting method and network device | |
| CN101771604B (en) | Routing detection method, system and intermediate routing device | |
| US8477655B2 (en) | Method, device, and system for establishing label switching path in fast rerouting switching | |
| US7079491B2 (en) | Method and node apparatus for filtering ICMP data frame | |
| US8254271B1 (en) | Point-to-multipoint connectivity verification | |
| Varga et al. | Robustness and reliability provided by deterministic packet networks (TSN and DetNet) | |
| CN104283711A (en) | Fault detection method, node and system based on bidirectional forwarding detection BFD | |
| CN109120449B (en) | Method and device for detecting link failure | |
| CN100563140C (en) | A multicast network system and method for detecting multicast network link defects | |
| CN101252528B (en) | Method and apparatus for detecting malfunction | |
| CN101640672A (en) | Internet protocol network fault location test method, system and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 08748673 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 08748673 Country of ref document: EP Kind code of ref document: A1 |