WO2011107051A2 - 传输质量检测方法、装置及传输系统 - Google Patents
传输质量检测方法、装置及传输系统 Download PDFInfo
- Publication number
- WO2011107051A2 WO2011107051A2 PCT/CN2011/073047 CN2011073047W WO2011107051A2 WO 2011107051 A2 WO2011107051 A2 WO 2011107051A2 CN 2011073047 W CN2011073047 W CN 2011073047W WO 2011107051 A2 WO2011107051 A2 WO 2011107051A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- transmission
- backhaul
- transmission link
- packet
- time
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/43—Assembling or disassembling of packets, e.g. segmentation and reassembly [SAR]
Definitions
- the embodiments of the present invention relate to the field of communications technologies, and in particular, to a transmission quality detecting method, apparatus, and transmission system. Background technique
- IP over E1/T1 technology provides IP bearer technology based on traditional Time Division Multiplexing (TDM). It is usually bundled by multi-link point-to-point protocol (MLPPP). To improve bandwidth and reliability in transmission.
- TDM Time Division Multiplexing
- MLPPP multi-link point-to-point protocol
- an MLPPP group is usually used to transmit the message from one end (which can be called a sender) to the other end (which can be called a receiver).
- the MLPPP Grou includes multiple transmissions. Links, each transmission link can also be called an MPlink transmission link.
- the basic process of MLPPP transmission is as follows: The packet is fragmented at the transmitting end, and then each fragment is sent to the receiving end through each MPlink transmission link in the MLPPP Grou, and then the fragments are reassembled at the receiving end. Generate a message. Due to the fragmentation and reassembly in the MLPPP transmission process, the transmission quality of each MPlink transmission link bundled in the MLPPP Grou has a great influence on the transmission performance. For example, the transmission delay and/or the packet loss rate of individual MPlink transmission links will lead to a significant increase in the failure rate of message reassembly.
- Embodiments of the present invention provide a transmission quality detecting method, device, and system, which are used to solve the present
- the MLPPP transmission process has poor maintainability and low transmission efficiency, and provides a technical solution for detecting the transmission quality of the MPlink transmission link.
- An aspect of the present invention provides a transmission quality detecting method, including:
- a first backhaul message that is sent by the peer end and carries the first group of transmission quality parameters, where the first backhaul message is a backhaul response or a backhaul request;
- Another aspect of the present invention provides a transmission quality detecting apparatus, including:
- a receiving module configured to receive, by using a transmission link, a first backhaul message that is sent by the peer end and carries a first group of transmission quality parameters, where the first backhaul message is a backhaul response or a backhaul request; Obtaining the first set of transmission quality parameters and the second set of transmission quality parameters on the transmission link;
- a processing module configured to calculate, according to the first group of transmission quality parameters and the second group of transmission quality parameters, the transmission quality detection information corresponding to the transmission link.
- Another aspect of the invention provides a transmission system comprising two opposite ends;
- One end is configured to receive, by the other end, a first backhaul message that is sent by the other end and carries a first group of transmission quality parameters, where the first backhaul message is a backhaul response or a backhaul request; The first group of transmission quality parameters and the second group of transmission quality parameters on the link; calculating, according to the first group of transmission quality parameters and the second group of transmission quality parameters, the transmission corresponding to the transmission link Quality inspection information.
- the transmission quality detection information of the MLPPP MPlink transmission link can be obtained, thereby improving the maintainability of the MLPPP transmission process and improving the transmission efficiency.
- Figure 1 shows the structure of the Echo 4 text.
- FIG. 2 is a flowchart of a method for detecting a transmission quality according to an embodiment of the present invention.
- FIG. 3 is a flowchart of a method for detecting a transmission quality according to another embodiment of the present invention.
- FIG. 4 is a flowchart of a method for detecting a transmission quality according to still another embodiment of the present invention.
- FIG. 5 is a flowchart of a method for detecting a transmission quality according to another embodiment of the present invention.
- FIG. 6 is a flowchart of a transmission quality detecting method according to still another embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of a transmission quality detecting apparatus according to an embodiment of the present invention.
- FIG. 8 is a schematic structural diagram of a transmission quality detecting apparatus according to another embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of a transmission quality detecting apparatus according to still another embodiment of the present invention.
- FIG. 10 is a schematic structural diagram of a transmission system according to an embodiment of the present invention. detailed description
- LCP Link Control Protocol
- the MPLink transmission link can be added to the corresponding MLPPP Group only after the LCP negotiation is successful.
- LCP is a PPP (Point to Point; PPP) protocol that provides a link control protocol to configure and test MPLink transmission links for data communication. It can be used to negotiate some configuration parameter options of the PPP protocol. Data frame; detects MPLink transmission link loop, some MPLink transmission link errors; terminates an MPLink transmission link. After the LCP negotiation succeeds, the Echo-request/Echo-Reply message periodically sent by both ends of the PPP is used to detect the connectivity of the MPLink transmission link.
- PPP Point to Point
- the Echo-request message and the Echo-Reply message can be collectively referred to as Echo.
- Figure 1 shows the structure of an Echo message.
- the Echo message includes: the message type, the identifier, the length of the message, the magic number, and the content of the message.
- the Code field the number 9 is usually used to indicate Echo-Request; the number 10 is Echo-Rep ly.
- the Identifier field is used for matching between Echo-request and Echo-Reply. For each Echo-request, the Identifier field is incremented by 1.
- the Length field is the length of the entire Echo, including Code, Identifier, Length, Magic-Number, and Data.
- the Magic-Number field is used to avoid loopback.
- the Data field can be defined by itself, and the length is uniformly indicated by Length (except for the Data field, the length of other fields is fixed).
- the embodiment of the present invention can use the Data field to carry some transmission quality parameter information, thereby implementing detection of the transmission quality of the MPLink transmission link.
- the embodiment of the present invention can use the Data field to carry some transmission quality parameter information, thereby implementing detection of the transmission quality of the MPLink transmission link.
- FIG. 2 is a flowchart of a method for detecting a transmission quality according to an embodiment of the present invention.
- the execution body of the transmission quality detection method in this embodiment is one end of the MLPPP, which may be referred to as a current end, and the current end may be a transmitting end or a receiving end of the MLPPP.
- the transmission quality detecting method of this embodiment can be as follows.
- the opposite end in this embodiment is the receiving end.
- the opposite end in this embodiment is the transmitting end.
- the transmitting end and the receiving end of the embodiment may be a base station and a base station controller, respectively.
- the transmitting end and the receiving end of this embodiment may also be a base station and a router, respectively.
- the first Echo message in this embodiment is an Echo reply or an Echo request.
- the transmission quality detection method of this embodiment is configured to receive, by using the foregoing technical solution, a first backhaul message that is sent by a peer end and carries a first group of transmission quality parameters, where the first backhaul message is a backhaul. Responding or returning a request; acquiring the first set of transmission quality parameters and the second set of transmission quality parameters on the transmission link; and according to the first group of transmission quality parameters and the second group of transmission quality parameters, Calculating and acquiring transmission quality detection information corresponding to the transmission link.
- the transmission quality detection information of the MLPPP MPlink transmission link can be obtained, which makes up for the lack of transmission quality detection means for the MPlink transmission link in the prior art.
- FIG. 3 is a flowchart of a method for detecting a transmission quality according to another embodiment of the present invention.
- the transmission quality detecting method of the present embodiment is specifically refined to 100, 101, and 102 by using 200, 201, and 202, respectively, based on the above-described embodiment shown in Fig. 2.
- the transmission quality detecting method of this embodiment can be as follows.
- the Echo Reply sent by the peer end is sent according to the Echo Request that is sent by the current end and carries the first egress time.
- the first egress time is the time when the Echo Request is sent on the transmission link.
- the first entry time is the pair.
- the second egress time is the time when the peer sends an Echo Reply. 201. Obtain a first egress time and a second egress time. Obtain a first entry time and a second egress time from the Echo Reply.
- the second entry time is the time when the current end receives the Echo Reply.
- the first egress time and the second egress time may be specifically obtained from the current end.
- the current end records the time when the Echo Request is sent, that is, the first egress time.
- the second entry time which is the time when the Echo Reply is received, is also recorded.
- the transmission link in this embodiment refers to an MPLink transmission link.
- the current end can obtain the first entry time and the second exit time carried in the received Echo Reply, and then the current end.
- the first egress time and the second egress time are obtained, and then the transmission delay corresponding to the MPLink transmission link is obtained according to the first egress time, the first egress time, the second egress time, and the second egress time.
- the current end of the execution quality of the transmission quality detection method in this embodiment may be the transmitting end of the MLPPP, and the opposite end is the receiving end of the MLPPP.
- the transmission quality detection method of this embodiment can obtain the transmission delay of the MLPPP MPlink transmission link by using the above technical solution, and compensates for the lack of transmission quality detection means for the MPlink transmission link in the prior art.
- the packet loss rate of the MLPPP MPlink transmission link can be obtained, thereby improving the maintainability of the MLPPP transmission process and improving the transmission efficiency.
- the current end sends an Echo Request to the peer end, and carries the first exit time in the Echo Request.
- the first exit time can be carried in the Data field of the Echo Request.
- the peer end can backfill the first exit time in the Echo Reply returned to the current end.
- the current egress is obtained from the Echo Reply sent by the peer end, and may be obtained from the Echo Reply sent by the peer end.
- the first egress time, the first egress time, and the second egress time may all be carried in the Data field of the Echo Reply.
- the 202 obtains the transmission delay corresponding to the transmission link according to the first egress time, the first egress time, the second egress time, and the second egress time, and may specifically include the following manners. :
- the one-way transmission delay corresponding to the MPLink transmission link can be expressed as:
- the bidirectional transmission delay corresponding to the MPLink transmission link can be expressed as: ( T3 -TO ) -
- T1 is the first entry time
- T2 is the second exit time
- T3 is the second entry time
- the current end of the MLPPP can calculate the transmission delay of each MPLink transmission link according to the above formula.
- the method of calculating the transmission delay should be consistent, that is, when the calculation of the one-way transmission is selected.
- all MPLink transmission links calculate their corresponding one-way transmission delays.
- all MPLink transmission links calculate their corresponding two-way transmission delay.
- the method may further include:
- the second Echo message is sent to the opposite end, where the second Echo message carries the prohibition of the opposite end on the transmission link to be culled. Continue to send the identifier of the fragmentation fragment; to remove the MPLink transmission link from the transmission link group.
- the second Echo message may also be sent to the current end to remove the MPLink transmission link from the transmission link group.
- MPLink Grou refers to the MPLink Group where the MPLink transmission link is located.
- the second Echo message is an Echo request.
- multiple MPLink transmission links can be included in the MPLink Grou between the current end and the opposite end of the MLPPP.
- the transmission delay of each MPLink transmission link can be calculated, so that a reference transmission delay can be obtained, and the transmission delay corresponding to all MPLink transmission links in the MPLink Grou can be averaged.
- the peer After the peer receives the fragments of the packets sent by the MPLink transmission links, the peer needs to reassemble the packets. In order to ensure the transmission efficiency, it is necessary to consider the balance of the transmission delay of each MPLink transmission link in MPLink Grou. If the transmission delay of each MPLink transmission link is high, it is convenient for the peer to reassemble the packet fragments received on each MPLink transmission link.
- the transmission delay corresponding to the MPLink transmission link can be compared with the reference transmission delay, and the transmission delay and the reference transmission delay corresponding to the MPLink transmission link.
- the difference exceeds the first preset threshold it can be considered that the MPLink transmission link has a long transmission delay, which affects the reassembly of subsequent packets.
- the current end can issue an alarm for maintenance by the staff.
- the MPLink Grou group includes at least two transmission links
- the current end can remove the MPLink transmission link whose transmission delay and the reference transmission delay exceed the first preset threshold from the MPLink Group.
- the specific implementation process may be: the current end sends a second Echo message to the peer end, where the second Echo message carries an identifier that prohibits the peer end from continuing to send the report fragment on the transmission link to be culled; the second Echo The message is Echo request.
- the LCP renegotiation of the MPLink transmission link can still be in the OPEN state after the culling.
- the current end and the opposite end are in accordance with each other. Send a test sample that does not include any meaningful data at a certain rate.
- the difference between the sample packet and the normal packet fragment is as follows:
- the header bit B and the tail indication bit E have bit positions of 1 and a fixed length of 256 bytes, and the payload is filled with a random number. Therefore, the transmission delay of the MPLink transmission link can still be detected by using Echo Request and Echo Reply.
- the MPLink transmission link can be re-added to the MPLink Group.
- the specific implementation may be as follows:
- the Echo request sent by the current end to the peer end carries the identifier of the packet fragment that allows the peer to send normal packets on the MPLink transmission link.
- the first preset threshold may be set according to actual needs.
- the MPLink transmission link can be used N times, and when (1) occurs in M times, an alarm is issued, and then (2) is executed.
- M, N are positive integers, and M is less than N.
- the specific values of M and N can be selected according to the actual situation.
- the reorganization failure rate of the peer end exceeds a preset third threshold value as a necessary condition for performing the culling operation.
- the reorganization failure rate of the peer end exceeds the preset third threshold, the current end performs the culling operation; otherwise, the culling operation is not implemented.
- FIG. 4 is a flowchart of a method for detecting a transmission quality according to still another embodiment of the present invention.
- the transmission quality detecting method of this embodiment is specifically refined on the basis of the embodiment shown in Fig. 2 by using 300, 301, and 302, respectively, 100, 101, and 102.
- the transmission quality detecting method of this embodiment can be as follows.
- the number of the first packet fragment is the number of fragment fragments received by the peer end on the transmission link in the previous backhaul period.
- the number of the second packet fragment is the number of fragment fragments sent on the transmission link in the previous back transmission period.
- the packet loss rate detection in the embodiment of the present invention is performed at the current end of the MLPPP (which may be a transmitting end).
- an Echo Request and an Echo Reply in a backhaul period of the MLPPP transmission process are taken as an example.
- the current end After the current end sends the nth Echo Request on the MPLink transmission link, the current end starts counting the packet fragments sent on the MPLink transmission link in the nth back transmission period until the n+1th Echo is sent.
- the Request the number of the number of fragmented fragments in the nth backhaul period is stopped, and the number of fragments of the second packet is obtained. Ready to count the number of message fragments starting the n+1th backhaul cycle.
- the current end can carry the number of fragment fragments sent by the current end of the nth backhaul period record in the n+1th Echo Request and send it to the peer end.
- the peer when the peer receives the nth Echo Request, it also starts counting the packet fragments received on the MPLink transmission link in the nth backhaul period until the peer receives the nth.
- +1 Echo Requests are received, the number of the number of fragmented fragments in the nth backhaul period is stopped, and the number of fragments of the first packet is obtained.
- the number of fragments received in the nth backhaul period of the record is carried in the n+1th Echo Reply and sent to the current end.
- the number of the second fragment of the recorded nth backhaul period and the number of the first packet fragments carried in the received Echo Reply are obtained, and the corresponding loss of the MPLink transmission link is obtained.
- Package rate the number of the second fragment of the recorded nth backhaul period and the number of the first packet fragments carried in the received Echo Reply.
- the current end of the execution quality of the transmission quality detection method in this embodiment may be the transmitting end of the MLPPP, and the opposite end is the receiving end of the MLPPP.
- the transmission quality detection method of this embodiment can obtain the packet loss rate of the MLPPP MPlink transmission link by using the above technical solution, and compensates for the lack of transmission quality detection means for the MPlink transmission link in the prior art.
- the packet loss rate of the MLPPP MPlink transmission link can be obtained, thereby improving the MLPPP transmission process. Maintainability and improve transmission efficiency.
- the number of the second shards carried in the Echo Request may be carried in the Data field in the Echo Request.
- the number of the first shards carried in the Echo Reply sent by the peer can be carried in the Data field in the Echo Reply.
- the 202 peer end obtains the packet loss rate corresponding to the transmission link according to the number of the first packet fragment and the number of the second packet fragment, which may be specifically as follows:
- the packet loss rate corresponding to the MPLink transmission link can be expressed as: (X 1 -X2 ) / X 1 .
- the method may further include:
- the third Echo message is sent to the peer end, where the third Echo message carries the prohibition of the peer to continue to send the message on the transmission link to be culled.
- the third Echo message may also be sent to the current end to remove the MPLink transmission link from the transmission link group.
- MPLink Grou refers to the MPLink Group where the MPLink transmission link is located.
- the third Echo message is an Echo request.
- multiple MPLink transmission links can be included in the MPLink Grou between the current end and the opposite end of the MLPPP.
- the packet loss rate of each MPLink transmission link can be calculated. Because the peer receives the various MPLink transmission links. After the packet is sent, the packet needs to be reorganized. In order to ensure the efficiency of reorganization, the packet loss rate of each MPLink transmission link in MPLink Grou needs to be considered here. The packet loss rate of any MPLink transmission link in MPLink Grou directly affects the reorganization of the packet at the peer end.
- the packet loss rate corresponding to the MPLink transmission link can be compared with a second preset threshold, and the packet loss rate corresponding to the MPLink transmission link exceeds the second pre-
- the threshold is set, the packet loss rate of the MPLink transmission link is too high to affect the subsequent packet reassembly.
- the current end can send an alarm for maintenance by the staff. For example, when the MPLink Grou group includes at least two transmission links, the current end can remove the MPLink transmission link whose packet loss rate exceeds the second preset threshold from the MPLink Grou.
- the LCP re-negotiation of the MPLink transmission link can still be in the OPEN state after the culling, so the Echo Request and the Echo Reply can still be used to detect the packet loss rate of the MPLink transmission link.
- the MPLink transmission link can be re-added to the MPLink Group.
- the second preset threshold may be set according to actual needs.
- the MPLink transmission link can be used N times, and when (a) occurs in M times, an alarm is issued, and then (b) is executed.
- M, N are positive integers, and M is less than N. The specific values of M and N can be selected according to the actual situation.
- FIG. 5 is a flowchart of a method for detecting a transmission quality according to another embodiment of the present invention.
- the transmission quality detecting method of this embodiment is specifically refined on the basis of the above-described embodiment shown in Fig. 2 by using 400, 401, and 402, respectively, for 100, 101, and 102.
- the transmission quality detecting method of this embodiment can be as follows.
- the number of the first packet fragment is the number of fragment fragments sent on the transmission link in the previous back transmission period. 401. Obtain a number of second packet fragments of the record; and obtain the number of fragmentation of the first packet from the Echo Request.
- the number of second packet fragments is the number of fragment fragments received on the transmission link in the previous backhaul period.
- the current end of the execution body of the transmission quality detection method in this embodiment may be the receiving end of the MLPPP, and the opposite end is the transmitting end of the MLPPP.
- the technical solution of this embodiment differs from the embodiment shown in FIG. 4 in that: the embodiment of the present invention describes the technical solution of the embodiment of the present invention on the receiving end side, and the remaining detailed description may refer to the foregoing embodiment of FIG. Detailed description.
- the transmission quality detection method of this embodiment can obtain the packet loss rate of the MLPPP MPlink transmission link by using the above technical solution, and compensates for the lack of transmission quality detection means for the MPlink transmission link in the prior art.
- the packet loss rate of the MLPPP MPlink transmission link can be obtained, thereby improving the maintainability of the MLPPP transmission process and improving the transmission efficiency.
- the number of the first fragment that is sent by the peer in the Echo Request may be carried in the Data field in the Echo Request.
- the method may further include:
- the current end sends a fourth Echo message to the opposite end, where the fourth Echo message carries a transmission that prohibits the opposite end from being culled.
- the identifier of the fragmentation fragment is continuously sent on the link; to remove the MPLink transmission link from the transmission link group.
- the fourth Echo message may also be sent to the current end to remove the MPLink transmission link from the transmission link group.
- FIG. 6 is a flowchart of a transmission quality detecting method according to still another embodiment of the present invention.
- the application scenario of this embodiment includes multiple MPLink transmission links in MPLink Grou.
- the technical solution of this embodiment is to detect multiple MPLink transmission links in MPLink Grou.
- the transmission quality detecting method of this embodiment can be as follows.
- the application scenario of this embodiment is that the receiving end or the transmitting end respectively detect each MPLink transmission link in the MPLink Grou. If the receiving end performs the measurement and the transmitting end performs the following operations, the transmitting end can transmit the measurement result to the receiving end; and vice versa.
- the technical solution of this embodiment will be described in detail below by taking the receiving end as an example.
- the receiving end measures the transmission delay and the packet loss rate of the Nth MPLink transmission link in the MPLink Grou;
- the detection method can refer to the description of the embodiment shown in FIG. 2 to FIG. 5 described above, and details are not described herein again.
- this step can also receive the measurement, and then inform the sender of the measurement.
- the receiving end determines whether the packet loss rate of the Nth MPLink transmission link exceeds a second preset threshold, when yes, execute 504, otherwise execute 502;
- the receiving end determines whether a difference between a transmission delay of the Nth MPLink transmission link and a reference transmission delay exceeds a first preset threshold; when yes, perform 504, otherwise execute 503; for example, the step may be sent.
- the terminal measures and then informs the receiving end of the measurement result.
- the receiving end determines whether the reassembly failure rate of the received packet fragment exceeds a third preset value, and when yes, executes 504, otherwise executes 505;
- the receiving end determines whether the MPLink Group includes more than two MPLink transmission links, and if so, executes 506, otherwise executes 505;
- the receiving end works normally and ends. 506, the receiving end sends to the sending end an Echo request carrying an identifier that requires the transmitting end to stop transmitting the 4th message fragment on the Nth MPLink transmission link;
- the sending end stops sending packet fragments on the Nth MPLink transmission link
- the receiving end continues to measure the Nth MPLink transmission link until the transmission delay and the packet loss rate return to normal.
- the sending to the transmitting end carries the required transmitting end to continue to send the message on the Nth MPLink transmission link. Echo request for the identification of the piece
- the 508 is used to re-bundle the Nth MPLink transmission link into the MPLink Group.
- the sending end sends a sample packet to the receiving end to implement the measurement of the Nth MPLink transmission link.
- the transmission quality detecting method of this embodiment can be obtained by adopting the above technical solution.
- the packet loss rate and transmission delay of the MLPPP MPlink transmission link make up for the lack of transmission quality detection means for the MPlink transmission link in the prior art.
- the packet loss rate of the MLPPP MPlink transmission link can be obtained, thereby improving the maintainability of the MLPPP transmission process and improving the transmission efficiency.
- FIG. 7 is a schematic structural diagram of a transmission quality detecting apparatus according to an embodiment of the present invention.
- the transmission quality detecting apparatus of this embodiment may specifically be one end of the MLPPP, and may be referred to as a current end.
- the current end may be the transmitting end or the receiving end of the MLPPP.
- the transmitting end and the receiving end of this embodiment may be a base station and a base station controller, respectively.
- the transmitting end and the receiving end of this embodiment may also be respectively configured For base stations and routers.
- the transmission quality detecting apparatus of this embodiment may specifically include: a receiving module 10, an obtaining module 11 and a processing module 12.
- the receiving module 10 is configured to receive, by the peer end, a first Echo message that is sent by the peer end and carries the first group of transmission quality parameters, where the first Echo message is an Echo reply or an Echo request.
- the obtaining module 11 is connected to the receiving module 10, and the obtaining module 11 is configured to obtain a second set of transmission quality parameters, and obtain the first group of transmission quality parameters on the transmission link according to the receiving module 10.
- the processing module 12 is connected to the acquisition module 11.
- the processing module 12 is configured to calculate the transmission quality detection information corresponding to the transmission link according to the first group of transmission quality parameters and the second group of transmission quality parameters acquired by the obtaining module 11.
- the transmission quality detecting apparatus of this embodiment implements the description of the related embodiments of the transmission quality detection by using the above modules, and details are not described herein again.
- the transmission quality detecting apparatus of this embodiment can achieve acquisition by using the above module.
- the transmission quality detection information of the MLPPP MPlink transmission link compensates for the lack of transmission quality detection means for the MPlink transmission link in the prior art.
- the transmission quality detection information of the MLPPP MPlink transmission link can be obtained, thereby improving the maintainability of the MLPPP transmission process and improving the transmission efficiency.
- FIG. 8 is a schematic structural diagram of a transmission quality detecting apparatus according to another embodiment of the present invention.
- the receiving module 10 in the embodiment receives a module, and is specifically configured to receive, on the transmission link, the first entry time and the second time that are sent by the opposite end. Echo reply of the egress time; the Echo reply sent by the peer end is sent according to the received Echo request carrying the first egress time, and the first egress time is the time of sending the Echo request on the transmission link; the first entry time is The time when the peer receives the Echo request, and the second exit time is the time when the peer sends an Echo reply.
- the obtaining module 11 is specifically configured to acquire the first egress time and the second egress time; the second egress time is the time of receiving the Echo reply; and the first entry time and the second egress time are obtained from the Echo reply received by the receiving module 10.
- At The processing module 13 is specifically configured to obtain a transmission delay corresponding to the transmission link according to the first egress time, the first egress time, the second egress time, and the second ingress time acquired by the obtaining module 11.
- the obtaining module 11 of the embodiment is specifically configured to: when the Echo reply received by the receiving module 10 further carries the first egress, obtain the first egress from the Echo reply received by the receiving module 10; The second entry time recorded.
- T1 is the first entry time
- T2 is the second exit time
- T3 is the second entry time.
- the transmission quality detecting apparatus of this embodiment may further include: a first alarm module 13.
- the first alarm module 13 is connected to the processing module 12, and the first alarm module 13 is configured to send when the difference between the transmission delay corresponding to the transmission link processed by the processing module 12 and the reference transmission delay exceeds a first preset threshold. Alarm.
- the transmission quality detecting apparatus of this embodiment may further include: a first sending module 14.
- the first sending module 14 is connected to the first alarm module 13 and is triggered by the first alarm module 13.
- the first sending module 14 is configured to be triggered by the first alarm module 13, and when the transmission link group includes at least two transmission links, send a second Echo message to the opposite end, where the second Echo message carries a prohibition.
- the peer end continues to send the identifier of the fragmentation fragment on the transmission link of the first alarm module 13; the second Echo message is an Echo request.
- the transmission quality detecting apparatus of this embodiment implements the description of the related embodiments of the transmission quality detection by using the above modules, and details are not described herein again.
- the transmission quality detecting apparatus of this embodiment can achieve acquisition by using the above module.
- the transmission delay of the MLPPP MPlink transmission link compensates for the lack of transmission quality detection means for the MPlink transmission link in the prior art.
- the packet loss rate of the MLPPP MPlink transmission link can be obtained, thereby improving the maintainability of the MLPPP transmission process and improving the transmission efficiency.
- FIG. 9 is a schematic structural diagram of a transmission quality detecting apparatus according to still another embodiment of the present invention.
- the receiving module 10 in this embodiment receives a module, and is specifically configured to receive the first packet fragment sent by the opposite end on the transmission link.
- the number of Echo reply packets is the number of packet fragments received by the peer end on the transmission link in the previous Echo period.
- the obtaining module 11 is specifically configured to obtain the number of fragments of the second packet, where the number of fragments of the second packet is the number of fragments of the packet sent on the transmission link in the previous Echo period; and is received from the Echo reply received by the receiving module 10. Get the number of fragments of the first packet.
- the processing module 12 is specifically configured to obtain the packet loss rate corresponding to the transmission link according to the number of the first packet fragment obtained by the obtaining module 11 and the number of the second packet fragment.
- the processing module 12 in this embodiment is specifically configured to obtain a packet loss rate corresponding to the transmission link by using the following formula;
- the packet loss rate corresponding to the transmission link is (X1-X2) / XI; where XI is the number of fragments of the second packet; X2 is the number of fragments of the first packet.
- the transmission quality detecting apparatus of this embodiment further includes a second alarm module 15.
- the second alarm module 15 is connected to the processing module 12, and the second alarm module 15 is configured to issue an alarm when the packet loss rate corresponding to the transmission link processed by the processing module 12 exceeds a second preset threshold.
- the transmission quality detecting apparatus of this embodiment further includes a second sending module 16.
- the second sending module 16 is connected to the second alarm module 15 and is triggered by the second alarm module 15.
- the second sending module 16 is configured to be triggered by the second alarm module 15 and send a third Echo message to the opposite end when the transmission link group includes at least two transmission links, where the third Echo message carries a prohibition.
- the peer end continues to send the identifier of the fragmentation fragment on the transmission link that is alerted by the second alarm module 15; the third Echo message is an Echo request.
- the transmission quality detecting apparatus of this embodiment implements the description of the related embodiments of the transmission quality detection by using the above modules, and details are not described herein again.
- the transmission quality detecting apparatus of this embodiment can implement the packet loss rate of the MPlink transmission link of the MLPPP by using the above module, and compensates for the lack of transmission quality detection means for the MPlink transmission link in the prior art.
- the packet loss rate of the MLPPP MPlink transmission link can be obtained, thereby improving the maintainability of the MLPPP transmission process and improving the transmission efficiency.
- the receiving module 10 in the foregoing embodiment is specifically configured to receive, on the transmission link, an Echo request that is sent by the opposite end and carries the number of fragments of the first packet.
- the number of fragments of a message is the number of fragments of packets sent on the transmission link in the previous Echo period.
- the obtaining module 11 is specifically configured to obtain the number of the second packet fragments that are recorded, and the number of the second packet fragments is the number of packet fragments received on the transmission link in the previous Echo period; and received from the receiving module 10
- the number of fragments of the first packet is obtained in the Echo request.
- the processing module 12 is specifically configured to obtain the packet loss rate corresponding to the transmission link according to the number of the first packet fragment obtained by the obtaining module 11 and the number of the second packet fragment.
- the transmission quality detecting apparatus of this embodiment further includes an alarm module and a sending module.
- the alarm module reference may be made to the first alarm module 13 and the second alarm module 15 of the embodiment shown in FIG. 8 or FIG. 9 above.
- the sending module may refer to the first sending module 14 and the second sending module 16 of the embodiment shown in FIG. 8 or FIG. 9 above.
- the implementation mechanism of the alarm module and the sending module is the same as that of the embodiment shown in FIG. 8 or FIG. 9 .
- the transmission quality detecting apparatus of this embodiment implements the description of the related embodiments of the transmission quality detection by using the above modules, and details are not described herein again.
- the transmission quality detecting apparatus of this embodiment can achieve acquisition by adopting the above technical solution.
- the packet loss rate of the MPlink transmission link to the MLPPP compensates for the lack of transmission quality detection means for the MPlink transmission link in the prior art.
- the packet loss rate of the MLPPP MPlink transmission link can be obtained, thereby improving the maintainability of the MLPPP transmission process and improving the transmission efficiency.
- FIG. 10 is a schematic structural diagram of a transmission system according to an embodiment of the present invention. As shown in FIG. 10, the transmission system of this embodiment includes two opposite ends; an end 20 and an other end 30.
- One end 20 is configured to receive, on the transmission link, a first Echo reply or a first Echo request that is sent by the other end 30 and carries a first set of transmission quality parameters. Obtain a first set of transmission quality parameters and a second on the transmission link. The group transmission quality parameter is calculated according to the first group of transmission quality parameters and the second group of transmission quality parameters, and the transmission quality detection information corresponding to the transmission link is obtained.
- One end 20 of this embodiment may be a transmitting end or a receiving end of the MLPPP.
- the other end 30 can be the receiving end or the transmitting end of the MLPPP.
- the transmitting end and the receiving end in this embodiment may be a base station and a base station controller, respectively.
- the transmitting end and the receiving end of this embodiment may also be a base station and a router, respectively.
- the one end 20 of the embodiment may be the transmission quality detecting device according to any of the above embodiments shown in FIG. 7 to FIG. 9.
- the one end 20 of the embodiment may be the transmission quality detecting device according to any of the above embodiments shown in FIG. 7 to FIG. 9.
- the transmission system of this embodiment can obtain the transmission quality detection information of the MLPPP MPlink transmission link by using the above technical solution, and compensates for the lack of transmission quality detection means for the MPlink transmission link in the prior art.
- the transmission quality detection information of the MLPPP MPlink transmission link can be obtained, thereby improving the maintainability of the MLPPP transmission process and improving the transmission efficiency.
- the device embodiments described above are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located in one place. , or it can be distributed to at least two network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. A person of ordinary skill in the art does not pay for creative labor. Underneath, it can be understood and implemented.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Description
传输质量检测方法、 装置及传输系统
技术领域
本发明实施例涉及通信技术领域, 尤其涉及一种传输质量检测方法、 装置及传输系统。 背景技术
IP over E1/T1 技术提供了基于传统时分复用 ( Time Division Multiplexing; 以下简称 TDM )的 IP承载技术, 通常采用多链路点到点协 议( MultiLink Point to Point; 以下简称 MLPPP )通过多路捆绑来提高传输 中的带宽和可靠性。
MLPPP的传输过程中通常采用一个 MLPPP组 (Group ) 来实现将才艮 文从一端 (可以称之为发送端)传输到另一端 (可以称之为接收端) , 该 MLPPP Grou 中包括多条传输链路,各条传输链路也可以被称之为 MPlink 传输链路。 MLPPP 传输的基本流程为: 在发送端对端对报文进行分片, 然后通过 MLPPP Grou 中的各 MPlink传输链路将各个分片发送到接收 端, 然后在接收端对各个分片进行重组, 生成报文。 由于 MLPPP传输过 程中的分片和重组的存在, MLPPP Grou 内捆绑的各条 MPlink传输链路 的传输质量对传输性能有很大的影响。 例如个别的 MPlink传输链路的传 输时延和 /或丟包率的恶化, 都将会导致报文重组的失败率大幅度提升。
在实现本发明过程中, 发明人发现现有技术中至少存在如下问题: 现 有技术中缺少对 MPlink传输链路的传输质量检测手段,造成 MLPPP传输 过程中的可维护性较差, 传输效率较低。 发明内容
本发明实施例提供一种传输质量检测方法、 设备及系统, 用以解决现
有技术中 MLPPP传输过程中的可维护性较差, 传输效率较低的缺陷, 提 供对 MPlink传输链路的传输质量进行检测的技术方案。
本发明一方面提供一种传输质量检测方法, 包括:
在传输链路上接收对端发送的携带有第一组传输质量参数的第一回 传消息, 所述第一回传消息为回传响应或者回传请求;
获取所述传输链路上的所述第一组传输质量参数和第二组传输质量 参数;
根据所述第一组传输质量参数和所述第二组传输质量参数, 计算获取 所述传输链路对应的传输质量检测信息。
本发明另一方面提供一种传输质量检测装置, 包括:
接收模块, 用于在传输链路上接收对端发送的携带有第一组传输质量 参数的第一回传消息, 所述第一回传消息为回传响应或者回传请求; 获取模块, 用于获取所述传输链路上的所述第一组传输质量参数和第 二组传输质量参数;
处理模块, 用于根据所述第一组传输质量参数和所述第二组传输质量 参数, 计算获取到所述传输链路对应的传输质量检测信息。
本发明另一方面提供一种传输系统, 包括两个相对的端;
其中一端, 用于在传输链路上接收另一端发送的携带有第一组传输质 量参数的第一回传消息, 所述第一回传消息为回传响应或者回传请求; 获 取所述传输链路上的所述第一组传输质量参数和第二组传输质量参数; 根 据所述第一组传输质量参数和所述第二组传输质量参数, 计算获取到所述 传输链路对应的传输质量检测信息。
采用本发明实施例的技术方案,能够获取到 MLPPP的 MPlink传输链 路的传输质量检测信息, 从而提高 MLPPP传输过程中的可维护性, 并提 高传输效率。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1所示为中 Echo 4艮文的结构示意图。
图 2为本发明一实施例提供的种传输质量检测方法的流程图。
图 3为本发明另一实施例提供的种传输质量检测方法的流程图。
图 4为本发明再一实施例提供的传输质量检测方法的流程图。
图 5为本发明又一实施例提供的传输质量检测方法的流程图。
图 6为本发明再另一实施例提供的传输质量检测方法的流程图。
图 7为本发明一实施例提供的传输质量检测装置的结构示意图。
图 8为本发明另一实施例提供的传输质量检测装置的结构示意图。 图 9为本发明再一实施例提供的传输质量检测装置的结构示意图。 图 10为本发明一实施例提供的传输系统的结构示意图。 具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。
MLPPP Grou 中的每个 MPLink传输链路在建立时都必须经过链路控 制协议 (Link Control Protocol; 以下简称 LCP)协商过程, 只有 LCP协商成 功后, 该 MPLink传输链路才能加入相应的 MLPPP Group。
LCP是 PPP ( Point to Point; 以下简称 PPP ) 协议提供了一种链路控 制协议来配置和测试数据通信的 MPLink传输链路, 它能用来协商 PPP协 议的一些配置参数选项; 处理不同大小的数据帧; 检测 MPLink传输链路 环路、一些 MPLink传输链路的错误;终止一条 MPLink传输链路。在 LCP 协商成功后, PPP 两端周期性发送的回传请求 (Echo-request ) /回传响应 ( Echo-Reply )报文就是用来进行 MPLink传输链路连通性检测的。 可以 将 Echo-request报文和 Echo-Reply报文统称为 Echo 艮文。图 1所示为 Echo 报文的结构示意图。 如图 1所示, Echo报文中包括: 报文类型 (Code ) 、 序号 (Identifier ) 、 报文的长度 ( Length ) 、 魔数字 (Magic-Number ) 和 报文的内容(Data ) 。 Code字段中, 通常采用数字 9表示 Echo-Request; 数字 10表示 Echo-Rep ly。 Identifier字段用于 Echo-request与 Echo-Reply 之间的匹配, 每发一个 Echo-request, Identifier字段累加 1。 Length字段 是整个 Echo才艮文的长度, 包含 Code、 Identifier, Length, Magic-Number 和 Data。 Magic-Number字段用于避免环回。 Data字段可以自行定义, 长 短由 Length统一指示 (除了 Data字段, 其他字段的长度是固定的 ) 。
通过以上所述, 可以知道, Data字段可以进行自定义。 因此本发明实 施例可以利用 Data字段携带一些传输质量参数信息, 从而实现对 MPLink 传输链路的传输质量进行检测。 详细可以参考下述实施例的记载。
图 2为本发明一实施例提供的种传输质量检测方法的流程图。 本实施 例的传输质量检测方法的执行主体为 MLPPP的一端, 可以称为当前端, 该当前端可以为 MLPPP的发送端或者接收端。 如图 2所示, 本实施例的 传输质量检测方法, 可以如下所述。
当本实施例的执行主体为发送端的时候, 本实施例中的对端为接收 端。 当本实施例的执行主体为接收端的时候,本实施例中的对端为发送端。 其中本实施例的发送端和接收端可以分别为基站和基站控制器。 本实施例 的发送端和接收端还可以分别为基站和路由器。
100、 在传输链路上接收对端发送的携带有第一组传输质量参数的第 一 Echo消息;
例如, 本实施例中的第一 Echo消息为 Echo reply或者 Echo request。
101、 获取传输链路上的第一组传输质量参数和第二组传输质量参数; 例如, 其中第一组传输质量参数从第一 Echo 消息中获取。 第二组传 输质量参数从本实施例的执行主体 MLPPP的一端获取,
102、 根据第一组传输质量参数和第二组传输质量参数, 计算获取传 输链路对应的传输质量检测信息。
本实施例的传输质量检测方法, 通过采用上述技术方案, 在传输链路 上接收对端发送的携带有第一组传输质量参数的第一回传消息, 所述第一 回传消息为回传响应或者回传请求; 获取所述传输链路上的所述第一组传 输质量参数和第二组传输质量参数; 并根据所述第一组传输质量参数和所 述第二组传输质量参数, 计算获取所述传输链路对应的传输质量检测信 息。 通过采用上述技术方案, 能够获取到 MLPPP的 MPlink传输链路的传 输质量检测信息, 弥补了现有技术中缺少对 MPlink传输链路的传输质量 检测手段 。
图 3为本发明另一实施例提供的种传输质量检测方法的流程图。 本实 施例的传输质量检测方法在上述图 2所示实施例的基础上, 采用 200、 201 和 202分别对 100、 101和 102具体细化。 如图 3所示, 本实施例的传输 质量检测方法, 可以如下所述。
200、 在传输链路上接收对端发送的携带第一入口时间和第二出口时 间的 Echo Reply。
其中对端发送的 Echo Reply是根据接收到的当前端发送的携带有第 一出口时间的 Echo Request发送的, 第一出口时间为在传输链路上发送 Echo Request的时间; 第一入口时间为对端接收 Echo Request的时间, 第 二出口时间为对端发送 Echo Reply的时间。
201、 获取第一出口时间和第二入口时间; 并从 Echo Reply中获取第 一入口时间和第二出口时间。
其中第二入口时间为当前端接收 Echo Reply的时间。本实施例中具体 可以从当前端中获取第一出口时间和第二入口时间。
例如, 当前端在发送 Echo Request的时候会记录发送 Echo Request的 时间即第一出口时间。在接收到返回的 Echo Reply的时候也会记录接收到 该 Echo Reply的时间即第二入口时间。
202、 根据第一出口时间、 第一入口时间、 第二出口时间和第二入口 时间获取传输链路对应的传输时延。
例如, 本实施例中的传输链路指的是 MPLink传输链路, 在本实施例 中,当前端可以在接收到的 Echo Reply中获取携带的第一入口时间和第二 出口时间, 然后当前端获取自己记录的第一出口时间和第二入口时间, 然 后根据第一出口时间、 第一入口时间、 第二出口时间和第二入口时间获取 该 MPLink传输链路对应的传输时延。
本实施例的传输质量检测方法执行主体的当前端可以为 MLPPP的发 送端, 对端为 MLPPP的接收端。
本实施例的传输质量检测方法, 通过采用上述技术方案, 能够获取到 MLPPP的 MPlink传输链路的传输时延,弥补了现有技术中缺少对 MPlink 传输链路的传输质量检测手段。 采用本实施例的技术方案, 能够获取到 MLPPP的 MPlink传输链路的丟包率 , 从而提高 MLPPP传输过程中的可 维护性, 并提高传输效率。
需要说明的是, 在上述实施例的技术方案的基础上, 在 200之前, 当 前端会向对端发送 Echo Request, 同时在该 Echo Request中携带第一出口 时间。 例如, 可以在 Echo Request的 Data字段中携带该第一出口时间。 当对端接收到该 Echo Request的时候, 能够获取到该第一出口时间。 同时 该对端可以在向当前端返回的 Echo Reply 中回填该第一出口时间。 此时
201 当前端获取该第一出口时间, 可以不是从自身记录的信息中获取, 而 可以直接从对端发送的 Echo Reply中获取该第一出口时间。 例如, 该第一 出口时间、第一入口时间和第二出口时间都可以携带在 Echo Reply的 Data 字段中。
需要说明的是,在上述实施例的基础上,其中 202根据第一出口时间、 第一入口时间、 第二出口时间和第二入口时间获取传输链路对应的传输时 延, 具体可以包括如下方式:
该 MPLink 传输链路对应的单向传输时延可以表示为 :
(T3 -T0) - (T2- T1 ) .
2 ,
该 MPLink传输链路对应的双向传输时延可以表示为: ( T3 -TO ) -
( T2-T1 ) 。
其中 TO为第一出口时间, T1为第一入口时间, T2为第二出口时间, T3为第二入口时间。
实际应用中, MLPPP的当前端可以根据上述公式计算每一个 MPLink 传输链路的传输时延, 对于各条 MPLink传输链路, 选择计算传输时延的 方式应当一致, 即当选择计算单向传输时延的时候, 所有 MPLink传输链 路都计算其对应的单向传输时延。 当选择计算双向传输时延的时候, 所有 MPLink传输链路都计算其对应的双向传输时延。
需要说明的是, 在上述实施例的技术方案的基础上, 在 102之后, 还 可以包括:
( 1 )当 MPLink传输链路对应的传输时延与基准传输时延的差值超出 第一预设阈值时, 发出告警;
在上述( 1 )之后, 还可以进一步包括如下 (2 ) 。
( 2 ) 当 MPLink Group中包括至少两条传输链路时, 向对端发送第二 Echo消息, 该第二 Echo消息中携带有禁止对端在该要剔除的传输链路上
继续发送报分分片的标识; 以实现将 MPLink传输链路从传输链路组中剔 除。
例如, 也可以对端向当前端发送第二 Echo 消息, 以实现将 MPLink 传输链路从传输链路组中剔除。
这里的 MPLink Grou 指的是 MPLink传输链路所在的 MPLink Group。 该第二 Echo消息为 Echo request。
例如,在 MLPPP的当前端与对端之间的 MPLink Grou 中可以包括多 条 MPLink 传输链路。 通过上述实施例的方法, 可以计算得到每一条 MPLink传输链路的传输时延, 这样, 可以得到一个基准传输时延, 具体 可以将 MPLink Grou 中所有 MPLink传输链路对应的传输时延取平均值 得到基准传输时延。 因为对端在接收到各条 MPLink传输链路发送的报文 分片之后, 需要进行报文的重组。 为了确保传输效率, 这里需要考虑 MPLink Grou 中各条 MPLink传输链路的传输时延的均衡性。 如果各条 MPLink传输链路的传输时延的均衡性较高, 便于对端对各条 MPLink传 输链路上接收到的报文分片进行重组。 因此, 对于某一条 MPLink传输链 路而言, 可以将该条 MPLink传输链路对应的传输时延与基准传输时延相 比较, 当该条 MPLink传输链路对应的传输时延与基准传输时延的差值超 出第一预设阈值时, 可以认为该条 MPLink传输链路传输时延较长, 影响 后续报文的重组, 此时当前端可以发出告警, 以供工作人员作以维护。 例 如当该 MPLink Grou 组中包括至少两条传输链路时, 此时当前端可以将 传输时延与基准传输时延的差值超出第一预设阈值的 MPLink传输链路从 MPLink Group剔除。 具体实现过程可以为: 当前端向对端发送第二 Echo 消息, 该第二 Echo 消息中携带有禁止对端在该要剔除的传输链路上继续 发送报分分片的标识; 该第二 Echo 消息为 Echo request但是, 剔除后 MPLink传输链路的 LCP重协商仍然可处于 OPEN状态, 此时为了对当前 端和对端之间的 MPLink传输链路进行有效检测, 当前端和对端之间按照
一定的速率发送一种不包括任何实际意义的数据的测试样本 ^艮文。 该样本 报文与正常的报文分片的不同点在于: 头片指示位 B和尾片指示位 E的 bit位均为 1 , 长度固定为 256Byte, 净荷填充随机数。 因此仍然可以通过 Echo Request与 Echo Reply交互检测该 MPLink传输链路的传输时延。 当 该 MPLink传输链路的传输时延恢复正常, 即传输时延与 MPLink Group 的基准传输时延的差值小于第一预设阈值时, 可以将该 MPLink传输链路 重新加入 MPLink Group。 具体实现可以为: 当前端向对端发送的 Echo request 中携带允许对端在该 MPLink传输链路发送正常的报文分片的标 识。 实际应用中, 第一预设阈值可以根据实际需求设置。
需要说明的是, 实际应用中, ( 1 )发生之后, 可以不直接进行(2 )。 例如可以对该条 MPLink传输链路采用 N次, 当其中 M次都出现( 1 ) 的 情况, 发出告警, 此时再执行(2 ) 。 M, N均为正整数, 且 M小于 N。 M和 N具体数值可以根据实际情况选取。
实际应用中, 还可以选取对端的重组失败率是否超过预设的第三门限 值作为是否实施剔除操作的必要条件。 当对端的重组失败率超过预设的第 三门限值时, 当前端实施剔除操作; 否则不实施剔除操作。
图 4为本发明再一实施例提供的传输质量检测方法的流程图。 本实施 例的传输质量检测方法在上述图 2 所示实施例的基础上, 采用 300、 301 和 302分别对 100、 101和 102具体细化。 如图 4所示, 本实施例的传输 质量检测方法, 可以如下所述。
300、在 MPLink传输链路上接收对端发送的携带第一报文分片数目的 Echo Reply。
其中第一报文分片数目为上一回传周期内对端在传输链路上接收到 的报文分片数目。
301、 获取第二报文分片数目; 并从 Echo Reply中获取第一报文分片 数目。
其中第二报文分片数目为上一回传周期内在传输链路上发送的报文 分片数目。
302、 根据第一报文分片数目和第二报文分片数目, 获取传输链路对 应的丟包率。
例如, 本发明实施例的丟包率检测是在 MLPPP的当前端 (可以为发 送端) 进行的。 本实施例中, 是以 MLPPP传输过程中的一个回传周期中 的 Echo Request和 Echo Reply为例。例如当前端在 MPLink传输链路上发 送第 n个 Echo Request后, 当前端开始对第 n个回传周期该 MPLink传输 链路上发送的报文分片进行计数, 直到发送第 n+1个 Echo Request时, 停 止第 n个回传周期的报分分片数目的计数, 得到第二报文分片数目。 准备 开始第 n+1个回传周期的报文分片数目的计数。 此时当前端可以将第 n个 回传周期记录的当前端发出的才艮文分片数目携带在第 n+1个 Echo Request 中发送给对端。 对应地, 在对端, 当对端接收到第 n个 Echo Request后, 也开始对第 n个回传周期该 MPLink传输链路上接收的报文分片进行计数, 直到对端接收到第 n+1个 Echo Request时,停止第 n个回传周期的报分分 片数目的计数, 得到第一报文分片数目。 并将记录的第 n个回传周期中接 收到的报文分片数目携带在第 n+1个 Echo Reply 中发送给当前端。
在当前端一侧, 可以根据记录的第 n个回传周期的第二报分分片数目 和接收到的 Echo Reply中携带的第一报文分片数目, 获取该 MPLink传输 链路对应的丟包率。
本实施例的传输质量检测方法执行主体的当前端可以为 MLPPP的发 送端, 对端为 MLPPP的接收端。
本实施例的传输质量检测方法, 通过采用上述技术方案, 能够获取到 MLPPP 的 MPlink传输链路的丟包率, 弥补了现有技术中缺少对 MPlink 传输链路的传输质量检测手段。 采用本实施例的技术方案, 能够获取到 MLPPP的 MPlink传输链路的丟包率, 从而提高 MLPPP传输过程中的可
维护性, 并提高传输效率。
需要说明的是, 上述实施例中当前端发送 Echo Request中携带的第二 才艮分片数目具体可以携带在 Echo Request中的 Data字段中。 对端发送的 Echo Reply中携带的第一 4艮文分片数目具体可以携带在 Echo Reply中的 Data字段中。
需要说明的是, 在上述实施例的基础上, 其中 202对端根据第一报文 分片数目和第二报文分片数目, 获取传输链路对应的丟包率, 具体可以通 过如下方式:
该 MPLink传输链路对应的丟包率可以表示为: ( X 1 -X2 ) / X 1。
其中 XI表示的是第二报文分片数目,X2表示的是第一报文分片数目。 需要说明的是, 在上述实施例的技术方案的基础上, 在 202之后, 还 可以包括:
( a )当 MPLink传输链路对应的丟包率超出第二预设阈值时,对端发
P 口 ¾ 。
在上述(a )之后, 还可以进一步包括如下 (b ) 。
( b ) 当 MPLink Group中包括至少两条传输链路时, 向对端发送第三 Echo消息, 该第三 Echo消息中携带有禁止对端在该要剔除的传输链路上 继续发送报分分片的标识; 以实现将 MPLink传输链路从传输链路组中剔 除。
例如, 也可以对端向当前端发送第三 Echo 消息, 以实现将 MPLink 传输链路从传输链路组中剔除。
这里的 MPLink Grou 指的是 MPLink传输链路所在的 MPLink Group。 该第三 Echo消息为 Echo request。
例如,在 MLPPP的当前端与对端之间的 MPLink Grou 中可以包括多 条 MPLink 传输链路。 通过上述实施例的方法, 可以计算得到每一条 MPLink传输链路的丟包率。 因为对端在接收到各条 MPLink传输链路发
送的报文分片之后, 需要进行报文的重组。 为了确保重组效率, 这里需要 考虑 MPLink Grou 中各条 MPLink传输链路的丟包率。 MPLink Grou 中 任一条 MPLink传输链路的丟包率都直接影响对端对报文的重组。 因此, 对于某一条 MPLink传输链路而言, 可以将该条 MPLink传输链路对应的 丟包率与第二预设阈值相比较, 当该条 MPLink传输链路对应的丟包率超 出第二预设阈值时, 可以认为该条 MPLink传输链路的丟包率太高影响后 续报文重组, 此时当前端可以发出告警, 以供工作人员作以维护。 例如当 该 MPLink Grou 组中包括至少两条传输链路时, 此时当前端可以将丟包 率超出第二预设阈值的 MPLink传输链路从 MPLink Grou 剔除。 但是, 剔除后 MPLink传输链路的 LCP重协商仍然可处于 OPEN状态,因此仍然 可以通过 Echo Request与 Echo Reply交互检测该 MPLink传输链路的丟包 率。 当该 MPLink传输链路的丟包率恢复正常, 即丟包率小于第二预设阈 值时 , 可以将该 MPLink传输链路重新加入 MPLink Group。 实际应用中 , 第二预设阈值可以根据实际需求设置。
需要说明的是, 实际应用中, (a )发生之后, 可以不直接进行(b )。 例如可以对该条 MPLink传输链路采用 N次, 当其中 M次都出现 ( a ) 的 情况, 发出告警, 此时再执行(b ) 。 M, N均为正整数, 且 M小于 N。 M和 N具体数值可以根据实际情况选取。
图 5为本发明又一实施例提供的传输质量检测方法的流程图。 本实施 例的传输质量检测方法在上述图 2 所示实施例的基础上, 采用 400、 401 和 402分别对 100、 101和 102具体细化。 如图 5所示, 本实施例的传输 质量检测方法, 可以如下所述。
400、在 MPLink传输链路上接收对端发送的携带第一报文分片数目的 Echo Request;
其中第一报文分片数目为上一回传周期内在传输链路上发送的报文 分片数目。
401、 获取记录的第二报文分片数目; 并从 Echo Request中获取第一 报文分片数目;
其中第二报文分片数目为上一回传周期内在传输链路上接收到的报 文分片数目。
402、 根据第一报文分片数目和第二报文分片数目, 获取传输链路对 应的丟包率。
本实施例的传输质量检测方法执行主体的当前端可以为 MLPPP的接 收端, 对端为 MLPPP的发送端。 例如, 本实施例的技术方案与上述图 4 所示实施例的区别在于: 本实施例在接收端一侧描述本发明实施例的技术 方案, 其余详细描述可以参考上述图 4所示实施例的详细记载。
本实施例的传输质量检测方法, 通过采用上述技术方案, 能够获取到 MLPPP 的 MPlink传输链路的丟包率, 弥补了现有技术中缺少对 MPlink 传输链路的传输质量检测手段。 采用本实施例的技术方案, 能够获取到 MLPPP的 MPlink传输链路的丟包率, 从而提高 MLPPP传输过程中的可 维护性, 并提高传输效率。
需要说明的是, 上述实施例中对端发送 Echo Request中携带的第一报 分片数目具体可以携带在 Echo Request中的 Data字段中。
在上述实施例的基础上中 302当前端根据第一报文分片数目和第二报 文分片数目, 获取传输链路对应的丟包率的方式与上述图 2所示实施例后 续的技术方案相同, 详细可以参考上述相关描述的记载, 在此不再赘述。
且在上述实施例的中的 302之后, 还可以包括:
( a )当 MPLink传输链路对应的丟包率超出第二预设阈值时, 当前端 发出告警。
在上述(a )之后, 还可以进一步包括如下 (b ) 。
( b ) 当 MPLink Grou 中包括至少两条传输链路时, 当前端向对端发 送第四 Echo消息,该第四 Echo消息中携带有禁止对端在该要剔除的传输
链路上继续发送报分分片的标识; 以实现将 MPLink传输链路从传输链路 组中剔除。 例如, 也可以对端向当前端发送第四 Echo 消息, 以实现将 MPLink传输链路从传输链路组中剔除。
相关详细解释可以参考上述实施例的相关记载, 在此不再赘述。
图 6为本发明再另一实施例提供的传输质量检测方法的流程图。 本实 施例的应用场景在 MPLink Grou 中包括有多条 MPLink传输链路, 本实 施例的技术方案即是对 MPLink Grou 中的多条 MPLink传输链路进行检 测。 如图 6所示, 本实施例的传输质量检测方法, 可以如下所述。
本实施例的应用场景为接收端或者发送端分别对 MPLink Grou 中各 条 MPLink传输链路进行检测。 若是接收端进行测量, 而由发送端执行以 下操作, 可以由发送端将测量结果发送给接收端; 反之亦然。 下面以接收 端为例详细描述本实施例的技术方案。
500、接收端测量 MPLink Grou 中第 N条 MPLink传输链路的传输时 延和丟包率; 执行 501 ;
例如检测方法可以参考上述相关的图 2-图 5所示实施例的记载,在此 不再赘述。 例如该步骤也可以接收端测量, 然后将测量结果告知发送端。
501、 接收端判断第 N条 MPLink传输链路的丟包率是否超出第二预 设阈值, 当是的时候, 执行 504, 否则执行 502;
502、 接收端判断第 N条 MPLink传输链路的传输时延与基准传输时 延的差值是否超出第一预设阈值; 当是的时候, 执行 504, 否则执行 503; 例如该步骤可以在发送端测量, 然后将测量结果告知接收端。
503、 接收端判断接收到的报文分片的重组失败率是否超过第三预设 值, 当是的时候, 执行 504, 否则执行 505;
504、 接收端判断该 MPLink Group中是否包括两条以上的 MPLink传 输链路, 若是的时候, 执行 506, 否则执行 505;
505、 接收端正常工作, 结束。
506、接收端向发送端发送携带有要求发送端停止在该第 N条 MPLink 传输链路发送 4艮文分片的标识的 Echo request; 执行 507;
507、 发送端停止在该第 N条 MPLink传输链路发送报文分片; 执行
508;
508、 接收端继续对第 N条 MPLink传输链路进行测量, 直到传输时 延和丟包率恢复正常, 向发送端发送携带有要求发送端继续在该第 N 条 MPLink传输链路发送报文分片的标识的 Echo request„
该 508 用以实现将第 N 条 MPLink传输链路重新捆绑入 MPLink Group。 继续测量过程中, 发送端向接收端发送样本报文以实现对第 N条 MPLink传输链路的测量, 详细可以参考上述相关记载, 在此不再赘述, 在此不再赘述。
本实施例的传输质量检测方法, 通过采用上述技术方案, 能够获取到
MLPPP的 MPlink传输链路的丟包率和传输时延, 弥补了现有技术中缺少 对 MPlink传输链路的传输质量检测手段。 采用本实施例的技术方案, 能 够获取到 MLPPP的 MPlink传输链路的丟包率, 从而提高 MLPPP传输过 程中的可维护性, 并提高传输效率。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机 可读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程 序代码的介质。
图 7为本发明一实施例提供的传输质量检测装置的结构示意图。 本实 施例的传输质量检测装置具体可以为 MLPPP的一端, 可以称为当前端。 该当前端可以为 MLPPP的发送端或者接收端。 本实施例的发送端和接收 端可以分别为基站和基站控制器。 本实施例的发送端和接收端还可以分别
为基站和路由器。 如图 7所示, 本实施例的传输质量检测装置, 具体可以 包括: 接收模块 10、 获取模块 1 1和处理模块 12。
其中接收模块 10用于在传输链路上接收对端发送的携带有第一组传 输质量参数的第一 Echo消息, 该第一 Echo消息为 Echo reply或者 Echo request。 获取模块 11与接收模块 10连接, 获取模块 11用于获取第二组 传输质量参数, 并根据接收模块 10获取传输链路上的第一组传输质量参 数。 处理模块 12与获取模块 11连接, 处理模块 12用于根据获取模块 11 获取的第一组传输质量参数和第二组传输质量参数, 计算获取到传输链路 对应的传输质量检测信息。
本实施例的传输质量检测装置, 通过采用上述模块实现传输质量检测 述相关实施例的记载, 在此不再赘述。
本实施例的传输质量检测装置, 通过采用上述模块能够实现获取到
MLPPP的 MPlink传输链路的传输质量检测信息, 弥补了现有技术中缺少 对 MPlink传输链路的传输质量检测手段。 采用本发明实施例的技术方案, 能够获取到 MLPPP 的 MPlink传输链路的传输质量检测信息, 从而提高 MLPPP传输过程中的可维护性, 并提高传输效率。
图 8为本发明另一实施例提供的传输质量检测装置的结构示意图。 如 图 8所示, 在上述图 7所示实施例的基础上, 本实施例中的接收模块 10 接收模块, 具体用于在传输链路上接收对端发送的携带第一入口时间和第 二出口时间的 Echo reply; 对端发送的 Echo reply是根据接收到的携带有 第一出口时间的 Echo request发送的, 第一出口时间为在传输链路上发送 Echo request的时间; 第一入口时间为对端接收 Echo request的时间, 第二 出口时间为对端发送 Echo reply的时间。 获取模块 11具体用于获取第一 出口时间和第二入口时间; 第二入口时间为接收 Echo reply的时间; 并从 接收模块 10接收的 Echo reply中获取第一入口时间和第二出口时间。 处
理模块 13具体用于根据获取模块 11获取的第一出口时间、第一入口时间、 第二出口时间和第二入口时间获取传输链路对应的传输时延。
可选地,本实施例的获取模块 1 1具体用于当接收模块 10接收的 Echo reply中还携带有第一出口时间时, 从接收模块 10接收的 Echo reply中获 取第一出口时间; 并获取记录的第二入口时间。
可选地, 本实施例的处理模块 12具体用于于通过如下公式获取传输 链路对应的传输时延; 传输链路对应的传输时延 = (T3_TQ)_(T2_T1 ) ;
2
或者传输链路对应的传输时延= ( T3-T0 ) - ( T2-T1 ) ;
其中 TO为第一出口时间, T1为第一入口时间, T2为第二出口时间,
T3为第二入口时间。 。
可选地,本实施例的传输质量检测装置还可以包括:第一告警模块 13。 第一告警模块 13与处理模块 12连接, 第一告警模块 13用于当处理模块 12 处理得到的传输链路对应的传输时延与基准传输时延的差值超出第一 预设阈值时, 发出告警。
可选地,本实施例的传输质量检测装置还可以包括:第一发送模块 14。 第一发送模块 14与第一告警模块 13连接, 受到第一告警模块 13的触发。 第一发送模块 14用于在受到第一告警模块 13的触发, 并当传输链路组中 包括至少两条传输链路时, 向对端发送第二 Echo消息, 第二 Echo消息中 携带有禁止对端在第一告警模块 13 告警的传输链路上继续发送报分分片 的标识; 第二 Echo消息为 Echo request。
本实施例的传输质量检测装置, 通过采用上述模块实现传输质量检测 述相关实施例的记载, 在此不再赘述。
本实施例的传输质量检测装置, 通过采用上述模块能够实现获取到
MLPPP的 MPlink传输链路的传输时延,弥补了现有技术中缺少对 MPlink 传输链路的传输质量检测手段。 采用本实施例的技术方案, 能够获取到 MLPPP的 MPlink传输链路的丟包率, 从而提高 MLPPP传输过程中的可 维护性, 并提高传输效率。
图 9为本发明再一实施例提供的传输质量检测装置的结构示意图。 如 图 9所示, 在上述图 7所示实施例的基础上, 本实施例中的接收模块 10 接收模块, 具体用于在传输链路上接收对端发送的携带有第一报文分片数 目的 Echo reply;第一报文分片数目为上一 Echo周期内对端在传输链路上 接收到的报文分片数目。 获取模块 11 具体用于获取第二报文分片数目, 第二报文分片数目为上一 Echo周期内在传输链路上发送的报文分片数目; 并从接收模块 10接收的 Echo reply中获取第一报文分片数目。 处理模块 12具体用于根据获取模块 11获取的第一报文分片数目和第二报文分片数 目, 获取传输链路对应的丟包率。
可选地, 本实施例中处理模块 12具体用于通过如下公式获取传输链 路对应的丟包率;
传输链路对应的丟包率= ( X1-X2 ) / XI ; 其中 XI为所述第二报文分 片数目; X2为所述第一报文分片数目。
可选地, 本实施例的传输质量检测装置中还包括第二告警模块 15。 第 二告警模块 15与处理模块 12连接, 第二告警模块 15用于当处理模块 12 处理得到的传输链路对应的丟包率超出第二预设阈值时, 发出告警。
可选地, 本实施例的传输质量检测装置中还包括第二发送模块 16。 第 二发送模块 16与第二告警模块 15连接, 受到第二告警模块 15的触发。 第二发送模块 16用于在受到第二告警模块 15的触发, 并当传输链路组中 包括至少两条传输链路时, 向对端发送第三 Echo消息, 第三 Echo消息中 携带有禁止对端在第二告警模块 15告警的传输链路上继续发送报分分片 的标识; 第三 Echo消息为 Echo request。
本实施例的传输质量检测装置, 通过采用上述模块实现传输质量检测 述相关实施例的记载, 在此不再赘述。
本实施例的传输质量检测装置, 通过采用上述模块能够实现获取到 MLPPP 的 MPlink传输链路的丟包率, 弥补了现有技术中缺少对 MPlink 传输链路的传输质量检测手段。 采用本实施例的技术方案, 能够获取到 MLPPP的 MPlink传输链路的丟包率, 从而提高 MLPPP传输过程中的可 维护性, 并提高传输效率。
可选地, 在上述图 7所示实施例的基础上, 上述实施例中的接收模块 10具体用于在传输链路上接收对端发送的携带第一报文分片数目的 Echo request, 第一报文分片数目为上一 Echo周期内在传输链路上发送的报文 分片数目。 获取模块 11 具体用于获取记录的第二报文分片数目, 第二报 文分片数目为上一 Echo周期内在传输链路上接收到的报文分片数目; 并 从接收模块 10接收的 Echo request中获取第一报文分片数目。 处理模块 12具体用于根据获取模块 11获取的第一报文分片数目和第二报文分片数 目, 获取传输链路对应的丟包率。
可选地, 本实施例的传输质量检测装置中还包括告警模块和发送模 块。 告警模块可以参考上述图 8或者图 9所示实施例的第一告警模块 13 和第二告警模块 15。发送模块可以参考上述图 8或者图 9所示实施例的第 一发送模块 14和第二发送模块 16。 告警模块和发送模块的实现机制与上 述图 8或者图 9所示实施例的实现机制相同, 详细可以参考上述实施例的 记载, 在此不再赘述。
本实施例的传输质量检测装置, 通过采用上述模块实现传输质量检测 述相关实施例的记载, 在此不再赘述。
本实施例的传输质量检测装置, 通过采用上述技术方案能够实现获取
到 MLPPP的 MPlink传输链路的丟包率,弥补了现有技术中缺少对 MPlink 传输链路的传输质量检测手段。 采用本实施例的技术方案, 能够获取到 MLPPP的 MPlink传输链路的丟包率, 从而提高 MLPPP传输过程中的可 维护性, 并提高传输效率。
图 10为本发明一实施例提供的传输系统的结构示意图。如图 10所示, 本实施例的传输系统 , 包括两个对端; 例一端 20和另一端 30。
其中一端 20用于在传输链路上接收另一端 30发送的携带有第一组传 输质量参数的第一 Echo reply或者第一 Echo request; 获取传输链路上的 第一组传输质量参数和第二组传输质量参数; 根据第一组传输质量参数和 第二组传输质量参数, 计算获取到传输链路对应的传输质量检测信息。
本实施例的一端 20可以为 MLPPP的发送端或者接收端。 对应地, 另 一端 30可以为 MLPPP的接收端或者发送端。本实施例中的发送端和接收 端可以分别为基站和基站控制器。 本实施例的发送端和接收端还可以分别 为基站和路由器。
本实施例的一端 20可以为上述图 7-图 9所示实施例中任一所述的传 输质量检测装置, 详细可以参考上述实施例的记载, 在此不再赘述。
本实施例的传输系统, 通过采用上述技术方案, 能够获取到 MLPPP 的 MPlink 传输链路的传输质量检测信息, 弥补了现有技术中缺少对 MPlink传输链路的传输质量检测手段。 采用本发明实施例的技术方案, 能 够获取到 MLPPP 的 MPlink传输链路的传输质量检测信息, 从而提高 MLPPP传输过程中的可维护性, 并提高传输效率。
以上所描述的装置实施例仅仅是示意性的, 其中作为分离部件说明的 单元可以是或者也可以不是物理上分开的, 作为单元显示的部件可以是或 者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到至少两 个网络单元上。 可以根据实际的需要选择其中的部分或者全部模块来实现 本实施例方案的目的。 本领域普通技术人员在不付出创造性的劳动的情况
下, 即可以理解并实施。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。
Claims
1、 一种传输质量检测方法, 其特征在于, 包括:
在传输链路上接收对端发送的携带有第一组传输质量参数的第一回 传消息, 所述第一回传消息为回传响应或者回传请求;
获取所述传输链路上的所述第一组传输质量参数和第二组传输质量 参数;
根据所述第一组传输质量参数和所述第二组传输质量参数, 计算获取 所述传输链路对应的传输质量检测信息。
2、 根据权利要求 1 所述的传输质量检测方法, 其特征在于, 所述在 传输链路上接收对端发送的携带有第一组传输质量参数的第一回传消息, 具体包括: 在传输链路上接收对端发送的携带第一入口时间和第二出口时 间的回传响应; 所述对端发送的所述回传响应是根据接收到的携带有第一 出口时间的回传请求发送的, 所述第一出口时间为在所述传输链路上发送 所述回传请求的时间; 所述第一入口时间为所述对端接收所述回传请求的 时间, 所述第二出口时间为所述对端发送所述回传响应的时间;
获取所述传输链路上的所述第一组传输质量参数和第二组传输质量 参数, 具体包括: 获取所述第一出口时间和第二入口时间; 所述第二入口 时间为接收所述回传响应的时间; 并从所述回传响应中获取所述第一入口 时间和所述第二出口时间;
根据所述第一组传输质量参数和所述第二组传输质量参数, 计算获取 所述传输链路对应的传输质量检测信息, 具体包括: 根据所述第一出口时 间、 所述第一入口时间、 所述第二出口时间和所述第二入口时间获取所述 传输链路对应的传输时延。
3、 根据权利要求 2所述的方法, 其特征在于, 当所述回传响应中还 携带有所述第一出口时间时, 获取所述第一出口时间, 具体包括: 从所述 回传响应中获取所述第一出口时间。
4、 根据权利要求 3 所述的方法, 其特征在于, 所述第一出口时间、 所述第一入口时间和所述第二出口时间具体携带在所述回传响应的数据 字段中。
5、 根据权利要求 2所述的方法, 其特征在于, 根据所述第一出口时 间、 所述第一入口时间、 所述第二出口时间和所述第二入口时间获取所述 传输链路对应的所述传输时延, 具体包括: 根据如下公式计算所述传输链 路对应的所述传输时延: 所述传输链路对应的所述传输时延 = (T3_TQ)_(T2_T1 );
2
或者所述传输链路对应的所述传输时延 = ( T3-T0 ) - ( T2-T1 ) ; 其中 TO为所述第一出口时间, T1为所述第一入口时间, T2为所述第 二出口时间, T3为所述第二入口时间。
6、 根据权利要求 2-5任一所述的方法, 其特征在于, 还包括: 当所述传输链路对应的所述传输时延与基准传输时延的差值超出第 一预设阈值时, 发出告警。
7、 根据权利要求 6所述的方法, 其特征在于, 所述基准传输时延为 所述传输链路所在的传输链路组中所有传输链路对应的传输时延的平均 值。
8、 根据权利要求 7所述的方法, 其特征在于, 当所述传输链路组中 包括至少两条传输链路时, 还包括:
向所述对端发送第二回传消息, 所述第二回传消息中携带有禁止所述 对端在所述传输链路上继续发送报分分片的标识; 所述第二回传消息为回 传请求。
9、 根据权利要求 1所述的方法, 其特征在于, 包括:
所述在传输链路上接收对端发送的携带有第一组传输质量参数的第 一回传消息, 具体包括: 在所述传输链路上接收所述对端发送的携带有第 一报文分片数目的回传响应; 所述第一报文分片数目为上一回传周期内所 述对端在所述传输链路上接收到的报文分片数目;
获取所述传输链路上的所述第一组传输质量参数和第二组传输质量 参数, 具体包括: 获取第二报文分片数目, 所述第二报文分片数目为上一 回传周期内在传输链路上发送的报文分片数目; 并从所述回传响应中获取 所述第一报文分片数目;
根据所述第一组传输质量参数和所述第二组传输质量参数, 计算获取 所述传输链路对应的传输质量检测信息, 具体包括: 根据所述第一报文分 片数目和所述第二报文分片数目, 获取所述传输链路对应的丟包率。
10、 根据权利要求 9所述的方法, 其特征在于, 所述第二报文分片数 目具体携带在所述回传响应的数据字段中。
11、 根据权利要求 9所述的方法, 其特征在于, 根据所述第一报文分 片数目和所述第二报文分片数目, 获取所述传输链路对应的丟包率, 具体 包括: 所述传输链路对应的丟包率 = ( X1-X2 ) / XI ; 其中 XI为所述第二 报文分片数目; X2为所述第一报文分片数目。
12、 根据权利要求 9-11任一所述的方法, 其特征在于, 还包括: 当所述传输链路对应的丟包率超出第二预设阈值时, 发出告警。
13、 根据权利要求 12所述的方法, 其特征在于, 当所述传输链路组 中包括至少两条传输链路时, 还包括: 向所述对端发送第三回传消息, 所 述第三回传消息中携带有禁止所述对端在所述传输链路上继续发送报分 分片的标识; 所述第三回传消息为回传请求。
14、 根据权利要求 1所述的方法, 特征在于, 所述在传输链路上接收 对端发送的携带有第一组传输质量参数的第一回传消息, 具体包括: 在所 述传输链路上接收所述对端发送的携带第一报文分片数目的回传请求, 所 述第一报文分片数目为上一回传周期内在传输链路上发送的报文分片数 目; 获取所述传输链路上的所述第一组传输质量参数和第二组传输质量 参数, 具体包括: 获取记录的第二报文分片数目, 所述第二报文分片数目 为所述上一回传周期内在所述传输链路上接收到的报文分片数目; 并从所 述回传请求中获取所述第一报文分片数目;
根据所述第一组传输质量参数和所述第二组传输质量参数, 计算获取 所述传输链路对应的传输质量检测信息, 具体包括: 根据所述第一报文分 片数目和所述第二报文分片数目, 获取所述传输链路对应的丟包率。
15、 根据权利要求 14所述的方法, 其特征在于, 所述第一报文分片 数目具体携带在所述回传请求的数据字段中。
16、 一种传输质量检测装置, 其特征在于, 包括:
接收模块, 用于在传输链路上接收对端发送的携带有第一组传输质量 参数的第一回传消息, 所述第一回传消息为回传响应或者回传请求;
获取模块, 用于获取所述传输链路上的所述第一组传输质量参数和第 二组传输质量参数;
处理模块, 用于根据所述第一组传输质量参数和所述第二组传输质量 参数, 计算获取到所述传输链路对应的传输质量检测信息。
17、 根据权利要求 16所述的装置, 其特征在于:
所述接收模块, 具体用于在传输链路上接收对端发送的携带第一入口 时间和第二出口时间的回传响应; 所述对端发送的所述回传响应是根据接 收到的携带有第一出口时间的回传请求发送的, 所述第一出口时间为在所 述传输链路上发送所述回传请求的时间; 所述第一入口时间为所述对端接 收所述回传请求的时间, 所述第二出口时间为所述对端发送所述回传响应 的时间;
所述获取模块, 具体用于获取所述第一出口时间和第二入口时间; 所 述第二入口时间为接收所述回传响应的时间; 并从所述回传响应中获取所 述第一入口时间和所述第二出口时间; 所述处理模块 ,具体用于根据所述第一出口时间、所述第一入口时间、 所述第二出口时间和所述第二入口时间获取所述传输链路对应的传输时 延。
18、 根据权利要求 17所述的装置, 其特征在于, 所述获取模块, 具 体用于当所述回传响应中还携带有所述第一出口时间时, 从所述回传响应 中获取所述第一出口时间; 并获取记录的所述第二入口时间。
19、 根据权利要求 17所述的装置, 其特征在于, 所述处理模块, 具 体用于通过如下公式获取所述传输链路对应的所述传输时延;
所述传输链路对应的所述传输时延 = (T3_TQ)_(T2_T1 );
2
或者所述传输链路对应的所述传输时延 = ( T3-T0 ) - ( T2-T1 ) ; 其中 TO为所述第一出口时间, T1为所述第一入口时间, T2为所述第 二出口时间, T3为所述第二入口时间。
20、 根据权利要求 17-19任一所述的装置, 其特征在于, 还包括: 第一告警模块, 用于当所述传输链路对应的所述传输时延与基准传输 时延的差值超出第一预设阈值时, 发出告警。
21、 根据权利要求 20所述的装置, 其特征在于, 还包括:
第一发送模块, 用于当所述传输链路组中包括至少两条传输链路时, 向所述对端发送第二回传消息, 所述第二回传消息中携带有禁止所述对端 在所述传输链路上继续发送报分分片的标识; 所述第二回传消息为回传请 求。
22、 根据权利要求 16所述的装置, 其特征在于:
所述接收模块, 具体用于在所述传输链路上接收所述对端发送的携带 有第一报文分片数目的回传响应; 所述第一报文分片数目为上一回传周期 内所述对端在所述传输链路上接收到的报文分片数目;
所述获取模块, 具体用于获取第二报文分片数目, 所述第二报文分片 数目为上一回传周期内在传输链路上发送的报文分片数目; 并从所述回传 响应中获取所述第一报文分片数目;
所述处理模块, 具体用于根据所述第一报文分片数目和所述第二报文 分片数目, 获取所述传输链路对应的丟包率。
23、 根据权利要求 22所述的装置, 其特征在于, 所述处理模块, 具 体用于通过如下公式获取所述传输链路对应的丟包率;
所述传输链路对应的丟包率 = ( X1-X2 ) / XI ; 其中 XI为所述第二报 文分片数目; X2为所述第一报文分片数目。
24、 根据权利要求 22或 23所述的装置, 其特征在于, 还包括: 第二告警模块, 用于当所述传输链路对应的丟包率超出第二预设阈值 时, 发出告警。
25、 根据权利要求 24所述的装置, 其特征在于, 还包括:
第二发送模块, 用于当所述传输链路组中包括至少两条传输链路时, 向所述对端发送第三回传消息, 所述第三回传消息中携带有禁止所述对端 在所述传输链路上继续发送报分分片的标识; 所述第三回传消息为回传请 求。
26、 根据权利要求 16所述的装置, 其特征在于:
所述接收模块, 具体用于在所述传输链路上接收所述对端发送的携带 第一报文分片数目的回传请求, 所述第一报文分片数目为上一回传周期内 在传输链路上发送的报文分片数目;
所述获取模块, 具体用于获取记录的第二报文分片数目, 所述第二报 文分片数目为所述上一回传周期内在所述传输链路上接收到的报文分片 数目; 并从所述回传请求中获取所述第一报文分片数目;
所述处理模块, 具体用于根据所述第一报文分片数目和所述第二报文 分片数目, 获取所述传输链路对应的丟包率。
27、 一种传输系统, 其特征在于, 包括两个相对的端; 其中一端, 用于在传输链路上接收另一端发送的携带有第一组传输质 量参数的第一回传消息, 所述第一回传消息为回传响应或者回传请求; 获 取所述传输链路上的所述第一组传输质量参数和第二组传输质量参数; 根 据所述第一组传输质量参数和所述第二组传输质量参数, 计算获取到所述 传输链路对应的传输质量检测信息。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/073047 WO2011107051A2 (zh) | 2011-04-20 | 2011-04-20 | 传输质量检测方法、装置及传输系统 |
CN201180000284.9A CN102845022B (zh) | 2011-04-20 | 2011-04-20 | 传输质量检测方法、装置及传输系统 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/073047 WO2011107051A2 (zh) | 2011-04-20 | 2011-04-20 | 传输质量检测方法、装置及传输系统 |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2011107051A2 true WO2011107051A2 (zh) | 2011-09-09 |
WO2011107051A3 WO2011107051A3 (zh) | 2012-03-22 |
Family
ID=44542637
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/073047 WO2011107051A2 (zh) | 2011-04-20 | 2011-04-20 | 传输质量检测方法、装置及传输系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102845022B (zh) |
WO (1) | WO2011107051A2 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112866042A (zh) * | 2019-11-12 | 2021-05-28 | 中兴通讯股份有限公司 | 网络质量检测方法、装置、计算机设备和计算机可读介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101001257A (zh) * | 2006-12-25 | 2007-07-18 | 华为技术有限公司 | 基于地址解析协议的链路质量方法及相关装置及系统 |
CN101247288A (zh) * | 2008-03-14 | 2008-08-20 | 华为技术有限公司 | 链路质量检测方法和链路质量检测设备 |
CN101534249A (zh) * | 2009-04-15 | 2009-09-16 | 杭州华三通信技术有限公司 | 一种在捆绑链路上发送数据的方法及网络设备 |
CN101695168A (zh) * | 2009-10-16 | 2010-04-14 | 苏州汉明科技有限公司 | 无线接入控制器和无线接入点之间传输性能的测量方法 |
CN101841480A (zh) * | 2010-04-26 | 2010-09-22 | 华为技术有限公司 | 多链路报文发送方法、设备及系统 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100459529C (zh) * | 2005-09-12 | 2009-02-04 | 华为技术有限公司 | 数据通信网络中时延特性的测量方法 |
CN100433729C (zh) * | 2006-07-25 | 2008-11-12 | 华为技术有限公司 | 一种实现多链路传输的负荷分担的装置和方法 |
CN101051957B (zh) * | 2007-03-23 | 2010-11-10 | 华为技术有限公司 | 捆绑链路状态动态调整方法和装置 |
EP2288086B1 (en) * | 2008-06-12 | 2018-03-21 | Panasonic Intellectual Property Management Co., Ltd. | Network monitoring device, bus system monitoring device, method and program |
CN101667941A (zh) * | 2009-09-27 | 2010-03-10 | 中兴通讯股份有限公司 | 链路性能的检测方法及装置 |
-
2011
- 2011-04-20 CN CN201180000284.9A patent/CN102845022B/zh active Active
- 2011-04-20 WO PCT/CN2011/073047 patent/WO2011107051A2/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101001257A (zh) * | 2006-12-25 | 2007-07-18 | 华为技术有限公司 | 基于地址解析协议的链路质量方法及相关装置及系统 |
CN101247288A (zh) * | 2008-03-14 | 2008-08-20 | 华为技术有限公司 | 链路质量检测方法和链路质量检测设备 |
CN101534249A (zh) * | 2009-04-15 | 2009-09-16 | 杭州华三通信技术有限公司 | 一种在捆绑链路上发送数据的方法及网络设备 |
CN101695168A (zh) * | 2009-10-16 | 2010-04-14 | 苏州汉明科技有限公司 | 无线接入控制器和无线接入点之间传输性能的测量方法 |
CN101841480A (zh) * | 2010-04-26 | 2010-09-22 | 华为技术有限公司 | 多链路报文发送方法、设备及系统 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112866042A (zh) * | 2019-11-12 | 2021-05-28 | 中兴通讯股份有限公司 | 网络质量检测方法、装置、计算机设备和计算机可读介质 |
Also Published As
Publication number | Publication date |
---|---|
WO2011107051A3 (zh) | 2012-03-22 |
CN102845022B (zh) | 2016-08-10 |
CN102845022A (zh) | 2012-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9577791B2 (en) | Notification by network element of packet drops | |
EP2234333B1 (en) | System and method for estimation of round trip times within a tcp based data network | |
EP2220818B1 (en) | Methods, systems, and computer program products for performing ip link proving using heartbeat messages | |
US7684407B2 (en) | Status report method in a wireless communication system | |
WO2011144141A1 (zh) | 拥塞控制方法和系统以及网络设备 | |
WO2014092779A1 (en) | Notification by network element of packet drops | |
US20120201136A1 (en) | Mechanisms to improve the transmission control protocol performance in wireless networks | |
EP1770897A1 (en) | Mobile communications method, apparatus and system for packet retransmission | |
WO2012167685A1 (zh) | 基于fpga的丢包率监测方法及装置 | |
US9876727B2 (en) | Physical-layer signaling of flow control updates | |
WO2012051963A1 (zh) | 数据传输的方法和装置 | |
JPWO2008023656A1 (ja) | 通信装置 | |
CN102790913B (zh) | 一种基于3g网络音视频传输方法 | |
US9066264B2 (en) | Status report triggering in wireless communication system | |
CN112436924B (zh) | 一种数据传输方法及电子设备 | |
US20150237104A1 (en) | Communication system, communication apparatus, and communication method | |
WO2020147453A1 (zh) | 数据传输方法及相关装置 | |
US11533656B2 (en) | Method of traffic and congestion control for a network with quality of service | |
CN110391953B (zh) | 提高tcp kpi计算准确度的方法 | |
CN102035692A (zh) | 一种链路质量检测方法及装置 | |
CN109067796A (zh) | 一种数据传输方法及装置 | |
WO2019144802A1 (zh) | 一种数据的传输方法及其相关设备 | |
WO2011124184A2 (zh) | 丢包处理方法、目的网络节点设备及移动传输网络系统 | |
WO2011107051A2 (zh) | 传输质量检测方法、装置及传输系统 | |
JP3953343B2 (ja) | 無線パケット通信装置および無線パケット通信方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 201180000284.9 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11750204 Country of ref document: EP Kind code of ref document: A2 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 11750204 Country of ref document: EP Kind code of ref document: A2 |