CN101378337A - Method for measuring service quality, network appliance and network system - Google Patents

Method for measuring service quality, network appliance and network system Download PDF

Info

Publication number
CN101378337A
CN101378337A CNA2007101484079A CN200710148407A CN101378337A CN 101378337 A CN101378337 A CN 101378337A CN A2007101484079 A CNA2007101484079 A CN A2007101484079A CN 200710148407 A CN200710148407 A CN 200710148407A CN 101378337 A CN101378337 A CN 101378337A
Authority
CN
China
Prior art keywords
message
rtcp
measurement point
transmit leg
extra
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.)
Granted
Application number
CNA2007101484079A
Other languages
Chinese (zh)
Other versions
CN101378337B (en
Inventor
刘颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2007101484079A priority Critical patent/CN101378337B/en
Priority to AT08800679T priority patent/ATE554559T1/en
Priority to EP08800679A priority patent/EP2187563B1/en
Priority to PCT/CN2008/072166 priority patent/WO2009026855A1/en
Priority to ES08800679T priority patent/ES2383109T3/en
Publication of CN101378337A publication Critical patent/CN101378337A/en
Application granted granted Critical
Publication of CN101378337B publication Critical patent/CN101378337B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a method for measuring service quality, and network equipment and a network system thereof, wherein, the method comprises the steps that: received sender reporting RTCP SR messages in a real-time control protocol is transmitted to a second measuring point by a first measuring point; receiver reporting extra RTCP RR messages in an extra real-time control protocol transmitted by the second measuring point is received; and the QoS parameters between the local site and the second measuring point are calculated by the first measuring point according to the extra RTCP RR messages. The network equipment comprises a message generating unit and a second message transmitting unit; the network system comprises the first network equipment comprising a first message transmitting unit, a message receiving unit and a network segment service quality calculating unit; and the second network equipment comprises a message generating unit and the second message transmitting unit. The invention can realize the service quality measurement based on the network segments under the situation that the network burden is not increased.

Description

Measure method, the network equipment and the network system of service quality
Technical field
The present invention relates to network technology, relate in particular to method, the network equipment and the network system of measuring service quality.
Background technology
Along with the increase and Internet protocol (IP, the Internet Protocol) development of internet technology of business demand, increasing real time business transmits on IP network.The adding of real time business such as voice, video, multimedia, videoconference has proposed new challenge to IP network, and the quality that how to guarantee real time business is a present hot issue.Real-time protocol (RTP) (RTP, Real Time Protocol) is a kind of host-host protocol end to end, is used for the data of transmitting real-time service, and information such as the sequence number that it provides, timestamp provide foundation for the place end reconstructed file of message.But RTP itself does not provide the service quality (QoS of the data flow of real time business, Quality of Service) guarantee and real-time Transmission guarantee, also need to follow real time control protocol (RTCP, Real Time Control Protocol) finish qos parameter and calculate, controlling for the source end transmission of data flow provides foundation.RTCP has realized the feedback of network layer qos parameter end to end, as network delay, delay jitter, packet loss etc.
For quality of service, wish usually to guarantee from two aspects.At quality of service just often, the routine inspection quality of service is taken precautions against in possible trouble; When quality of service went wrong, orientation problem was grasped the reason that causes that quality of service changes as early as possible, implements corresponding improvement measures.Localization method commonly used is, measures QoS performance change in the professional transmission course, and by set performance index, as network delay, delay jitter, packet loss, and the threshold value of each index is come orientation problem.The self attributes of RTP/RTCP has determined it can be used for measuring the qos parameter of real time business at network.Measurement result is except that the professional QoS situation of reflection, and the entity that can also offer other uses, such as the resource and admission management control entity etc.
At present, the method for measurement QoS based on RTP/RTCP commonly used mainly comprises: initiatively measure and passive measurement.
Initiatively measuring among the QoS, suppose source end user device (CPE, Customer PremisesEquipment)-A is the transmit leg of message, place end CPE-B is the recipient of message, be provided with 3 measurement points (Monitor) between source end CPE-A and the place end CPE-B, be respectively Monitor1, Monitor2 and Monitor3, source end CPE-A sends RTP/RTCP SR data and flows to place end CPE-B, on the path that described RTP/RTCP SR data flow is flowed through 3 measurement points is set.Be followed successively by Monitor1, Monitor2 and Monitor3.In initiatively measuring, measurement point is when monitoring end to end the RTP data flow, also need additionally to produce Sender Report (the RTCP SR in the rtcp protocol of corresponding RTP data, RTCPSender Report) Receiver Report message (the RTCP RR in message/rtcp protocol, RTCP ReceiverReport) message, and carry out alternately with extra RTCP SR/RTCP RR message and other measurement points, obtain and other measurement points between qos parameter.
In initiatively measuring, though the measurement result based on the network segment can be provided, but, the measurement point that is provided with between the measurement result and the network segment has direct relation, and the measurement point of setting is many more, and measurement result is valuable more, but, except that needs were transmitted RTP/RTCP SR message, the Receiver Report Extra RTCP SR/RR message that also needs to generate in the extra real time control protocol carried out alternately between each measurement point, thereby increased the burden of network.
See also Fig. 1, in the prior art based on the schematic diagram of the method for the passive measurement QoS of RTP/RTCP.In passive measurement, measurement point monitoring is through local RTP/RTCP data flow, calculates the RTP/RTCP data flow respectively between the transmit leg of message and this locality and the qos parameter between the recipient of local and message.Specifically as shown in Figure 1, being provided with 2 measurement points between source end CPE-A and the place end CPE-B, is respectively Monitor1 and Monitor2, and source end CPE-A sends to the RTP/RTCP data flow of place end CPE-B and passes through Monitor1 and Monitor2 successively, specifically comprises:
Step 101: source end CPE-A sends RTP/RTCP SR message.
Step 102 and step 102 ': Monitor1 and Monitor2 recorder successively is to the information of RTP message, and described information comprises the number, propagation delay time of RTP message etc.
Step 103: when RTCP SR message arrives Monitor1, Monitor1 record RTCP SR message time of advent, the information of extraction source end CPE-A, described information comprise the maximum message segment number of transmit leg Synchronization Source SSRC, transmission.Then, calculate the RTP data at source end CPE-A in the transmission course of local (being Monitor1), RTP data packet loss in former and later two RTCP SR message time periods, delay jitter and QoS performance parameters such as number of dropped packets totally.
Step 104:Monitor1 continues to transmit RTCP SR message to next measurement point (being Monitor2).
Step 105: the processing procedure with step 103 is similar, after Monitor2 receives RTCP SR message, calculate the RTP data flow in the transmission course of source end CPE-A and local (being Monitor2), QoS performance parameters such as RTP data packet loss, delay jitter and accumulative total number of dropped packets in former and later two RTCP SR message time periods.Between qos parameter;
Step 106: continue to transmit RTCP SR message to place end CPE-B;
Step 107: place end CPE-B is according to the information calculations of RTP/RTCP SR message qos parameter end to end, comprises packet loss, delay jitter, accumulative total number of dropped packets, generates time of this RTCP RR message cost, generates RTCP RR message then;
Step 108: the RTCP RR message of described generation is returned to source end CPE-A.
Step 109: when Monitor2 detects place end CPE-B and returns the RTCP RR message of generation, extract qos parameter end to end, and local (being Monitor2) calculated QoS parameters relatively, can obtain the QoS performance parameter of rtp streaming between this locality and the place end CPE-B.
Step 110: continue to transmit generation RTCP RR message.
Step 111: when Monitor1 also monitors the RTCP RR message of generation, calculate the QoS performance parameter of rtp streaming between this locality (Monitor1) and the place end CPE-B according to the computational methods identical with Monitor2;
Step 112:Monitor2 continues to transmit the RTCP RR message that generates.
Step 113: source end CPE-A receives RTCP RR message at last, obtains QoS performance parameter end to end, and calculates RTT end to end.
By this implementation procedure as can be known, in passive measurement, though do not introduce new RTCP message, but, in passive measurement, measurement point can only calculate two ends to the qos parameter between this locality, can't calculate adjacent measurement points to the qos parameter between this locality, so passive measurement can't be accomplished the measurement based on the network segment.
The inventor passes through serious analysis, scrutinizes the back discovery above-mentioned implementation procedure, and also there is following defective in prior art: can't measure QoS based on the network segment under the situation that does not increase network burden.
Summary of the invention
The embodiment of the invention provides a kind of method, equipment and system of measuring service quality, in order to exceed under the situation that increases network burden, realizes the qos measurement based on the network segment.
For solving the problems of the technologies described above, the embodiment of the invention provides a kind of method of measuring service quality, and described method comprises:
First measurement point is according to the Sender Report RTCP SR message that receives in the real time control protocol of RTP data flow correspondence, calculates and stores after described RTP data flow arrives local service quality QoS parameter, transmits RTCP SR message to second measurement point;
Second measurement point generates the Receiver Report extra RTCP RR message in the extra real time control protocol, and send described extra RTCP RR message in service provides the territory when transmitting described RTCP SR message;
First measurement point calculates the qos parameter between local and second measurement point according to receiving described extra RTCP RR message.
The embodiment of the invention also provides a kind of method of measuring service quality, and described method comprises:
First measurement point sends to second measurement point with the Sender Report RTCP SR message in the real time control protocol that receives;
Receive the Receiver Report extra RTCP RR message in the extra real time control protocol that second measurement point sends;
First measurement point is according to the qos parameter between described extra RTCP RR message calculating this locality and described second measurement point.
The embodiment of the invention also provides a kind of method of measuring service quality, comprises step:
Second measurement point generates extra RTCP RR message when the RTCP SR message that forwarding receives; Described extra RTCP RR message comprises: the NTP (Network Time Protocol) timestamp when transmit leg Synchronization Source, local calculated QoS parameters and transmit leg generate RTCP SR message;
In providing the territory, service sends described extra RTCP RR message, to be used to calculate the service quality between the measurement point.
In addition, the embodiment of the invention also provides a kind of network equipment, comprising:
First packet sending unit, the RTCP SR message that is used for receiving sends to second measurement point;
The message receiving element is used to receive the extra RTCP RR message that second measurement point sends;
Network segment service quality computing unit is used for according to the qos parameter between described extra RTCP RR message calculating this locality and described second measurement point.
The embodiment of the invention provides a kind of network equipment again, comprising:
The message generation unit, be used for when transmitting received RTCP SR message, generate extra RTCPRR message, described extra RTCP RR message comprises: the NTP (Network Time Protocol) timestamp when transmit leg Synchronization Source, local calculated QoS parameters and transmit leg generate RTCP SR message;
Second packet sending unit is used for sending described RTCP RR message in service provides the territory, to be used to calculate the service quality between the measurement point.
In addition, the embodiment of the invention also provides a kind of network system, comprising: first network equipment and second network equipment, wherein,
Described first network equipment comprises:
First packet sending unit, the RTCP SR message that is used for receiving sends to second measurement point;
The message receiving element is used to receive second measurement point and sends extra RTCP RR message;
Network segment service quality computing unit is used for according to the qos parameter between described extra RTCP RR message calculating this locality and described second measurement point;
Second network equipment comprises:
The message generation unit, be used for when transmitting received RTCP SR message, generate extra RTCPRR message, described extra RTCP RR message comprises: the NTP (Network Time Protocol) timestamp when transmit leg Synchronization Source, local calculated QoS parameters and transmit leg generate RTCP SR message;
Second packet sending unit is used in service provides the territory described extra RTCP RR message being sent to the message receiving element, to be used to calculate the service quality between the measurement point.
In the embodiment of the invention, the extra RTCP RR message that first measurement point sends according to second measurement point calculates the qos parameter between the measurement point.Thereby simplified the preparation before measuring, also simplified control measurement point.That is to say that second measurement point only needs to generate the message of one type of extra RTCP RR when end-to-end PTP/RTCP message is transmitted in storage, simplified measurement point is handled the requirement of extra RTCP message.When first measurement point is received extra RTCP RR,, calculate the QoS performance between first measurement point and second measurement point according to the information in the described extra RTCP RR message.Thereby under the situation that does not increase network burden, realize measurement based on service quality between the network segment.
Description of drawings
Fig. 1 is based on the schematic diagram of the method for the passive measurement QoS of RTP/RTCP in the prior art;
Fig. 2 is the flow chart that first measurement point is measured the method for service quality in the embodiment of the invention;
Fig. 3 is the flow chart that second measurement point is measured the method for service quality in the embodiment of the invention;
Fig. 4 is a kind of application scenarios figure that measures service quality between the network segment in the embodiment of the invention;
Fig. 5 be in the embodiment of the invention measurement point based on the flow chart of RTP/RTCP with the drive test amount;
Fig. 6 is the another kind of application scenarios figure that measures service quality between the network segment in the embodiment of the invention;
Fig. 7 be in the embodiment of the invention measurement point based on RTP/RTCP another flow chart with the drive test amount;
Fig. 8 is the flow chart that measurement point is measured the method for service quality in the embodiment of the invention;
Fig. 9 is the structural representation of the network equipment in the embodiment of the invention;
Figure 10 is the structural representation of the network equipment in another embodiment of the present invention;
Figure 11 is the structural representation of network system in the embodiment of the invention.
Embodiment
Below we will be in conjunction with the accompanying drawings, embodiment of the present invention are described in detail.
See also Fig. 2 and Fig. 3, measure the flow chart of the method for service quality for first and second measurement points in the embodiment of the invention.Method comprises as described in Figure 2:
Step 201: first measurement point sends to second measurement point with the Sender Report RTCP SR message in the real time control protocol that receives;
Step 202: receive the Receiver Report extraRTCP RR message in the extra real time control protocol that second measurement point sends;
Step 203: first measurement point is according to the qos parameter between described extra RTCP RR message calculating this locality and described second measurement point.
Method comprises as described in Figure 3
Step 301: second measurement point generates extra RTCPRR message when the RTCP SR message that forwarding receives; Described extra RTCP RR message comprises: the NTP (Network Time Protocol) timestamp when transmit leg Synchronization Source, local calculated QoS parameters and transmit leg generate RTCP SR message;
Step 302: in service provides the territory, send described extra RTCP RR message, to be used to calculate the service quality between the measurement point.
That is to say, in the embodiment of Fig. 2 and Fig. 3, suppose to have two measurement points, when first measurement point receives the RTCP SR message of RTP data flow correspondence, extract the caller information in the described RTCP SR message; After calculating and store the local service quality QoS parameter of described RTP data flow arrival, transmit described RTCP SR message to the second trip measurement point;
When second measurement point receives described RTCP SR message, to calculate and store described RTP data flow equally and arrive local service quality QoS parameter, its computational process is with above-mentioned first measurement point.When the second trip measurement point is transmitted described RTCP SR message, generate extra RTCP RR message, and in service provides the territory, sending described extra RTCP RR message, described extra RTCP RR message comprises: the time D LSR of NTP (Network Time Protocol) timestamp LSR when transmit leg Synchronization Source, local calculated QoS parameters, transmit leg generate RTCP SR message and the cost of generation extra RTCP RR message;
When the described caller information that receives caller information and local storage in the described extra RTCP RR message when first measurement point is complementary, calculate the qos parameter between second measurement point of local and transmission extra RTCP RR message.
The described technical scheme of the embodiment of the invention is: measurement point can be accomplished the measurement based on qos parameter between the network segment.When embodiment, except that strengthening measurement point self function, reduce the measurement cost of other measurement point as far as possible.Such as, exceed the preceding configuration preparation of dependence measurement or other entities extra work such as statistical computation to measurement result, just can allow the measurement point realization based on qos parameter measurement between the network segment; Its measurement result can more truly be reacted the performance situation of RTP data flow through the network segment time.Therefore, the embodiment of the invention makes full use of the characteristic of RTCP message, improvement is made in passive measurement, thereby make measurement point qos parameter between the network segment fast, the described technical scheme of the embodiment of the invention not only reduces the problem of network burden in the initiatively measurement, can realize again simultaneously measuring at the qos parameter of the network segment between the measurement point.
For certain rtp streaming of determining, (can be first measurement point, also can be second measurement point to measurement point; Or upstream measurement point and downstream measuring points; The two is comparatively speaking) monitor the RTP message and arrive local information, when the RTCP of correspondence SR message process measurement point, caller information in the record RTCP SR message, extract the caller information in the RTCP SR message, described caller information comprises: transmit leg Synchronization Source SSRC and transmission message number; Perhaps the transmit leg Synchronization Source, send message number and NTP (Network Time Protocol) timestamp NTP timestamp, but be not limited to this; Calculate the qos parameter of rtp streaming when local, and with the transmit leg Synchronization Source of rtp streaming; Be index stores perhaps with transmit leg Synchronization Source and NTP (Network Time Protocol) timestamp; Transmit described RTCP SR message to second measurement point then.
After second measurement point is received described RTCP SR message, extract the caller information of RTCP SR message equally, promptly comprise the transmit leg Synchronization Source and send the message number; Perhaps transmit leg Synchronization Source, transmission message number and NTP (Network Time Protocol) timestamp calculate the RTP data flow through local QoS performance parameter; When transmitting described RTCP SR message, generate an extra RTCP RR message, described extra RTCPRR message comprises: the time D LSR of NTP (Network Time Protocol) timestamp LSR when transmit leg Synchronization Source, local calculated QoS parameters, transmit leg generate RTCP SR message and the cost of generation extra RTCP RR message, and send described extra RTCP RR message; Continue normally to transmit RTP/RTCPSR message end to end simultaneously.
After first measurement point is received described extra RTCP RR message, extract the caller information in the described extra RTCP RR message, and be complementary with the caller information of this locality storage, if can mate, then calculate the qos parameter between second measurement point of this locality and transmission extra RTCP RR message.That is to say, extract transmit leg Synchronization Source in the RTCP RR message earlier; Perhaps transmit leg Synchronization Source and NTP (Network Time Protocol) timestamp; Then with described transmit leg Synchronization Source; Be the qos parameter information of preserving before index search arrives perhaps with transmit leg Synchronization Source and NTP (Network Time Protocol) timestamp, by relatively calculating, draw the QoS performance situation of rtp streaming between the first and second two measurement points, thereby realize the measurement of QoS between the network segment.
For the ease of those skilled in the art's understanding, below in conjunction with specific embodiment illustrate.
See also Fig. 4, for measuring a kind of application scenarios of service quality between the network segment in the embodiment of the invention.In the present embodiment, set in advance the four measuring point between the network segment, belonging to same service provides the territory, and present embodiment is example with data flow through measurement point (Monitor) 1 and Monitor3.As shown in Figure 4, comprising: source end user device (Sender CPE-A) 41, measurement point (Monitor1) 42, measurement point (Monitor2) 43, measurement point (Monitor3) 44, measurement point (Monitor4) 45 and place end user device 46 (ReceiverCPE-B).Its concrete process is:
Source end CPE-A41 sends RTP/RTCP SR message to place end CPE-B46.According to agreement regulation, the RTP message continues to send, and RTCP SR message periodically sends, and the transmission cycle can get 5 seconds, also can be 6 seconds etc., in the two multiplexing transmission of transport layer.When RTP/RTCP SR message when service provides two measurement point Monitor1 in territory (SP) and Monitor3, the measurement point of diverse location can be carried out different operating and realize measurement based on the network segment.Concrete processing procedure for measurement point sees Fig. 5 for details.In measuring process, if two measurement points are set in service provides the territory, the mode of then described transmission RTCP RR message is: multicast or clean culture; If at least two measurement points are set in service provides the territory, the mode of then described transmission RTCP RR message is clean culture.
If adopt the multicast mode to send extra RTCP RR message, then when allocating and measuring point, inform the multicast ip address and the port numbers of setting in advance; If adopt mode of unicast to send extra RTCP RR message, then when configuration second measurement point, inform the IP address and the port numbers of first measurement point in advance.
See also Fig. 5, for measurement point in the embodiment of the invention based on the flow chart of RTP/RTCP with the drive test amount.In the present embodiment, the measurement point that belongs to same SP need add same multicast group, and rtcp protocol takies identical port numbers in the SP territory, and second measurement point adopts multicast and/or mode of unicast feedback extra RTCP RR message in the SP territory.Present embodiment sends RTP/RTCP SR data with source end CPE-A and flows to place end CPE-B, and through 2 measurement point Monitor 1 in SP territory and 3, two measurement points of Monitor entrance and exit of corresponding RTP business respectively, concrete process comprises:
Step 501: source end CPE-A sends RTP/RTCP SR message;
Step 502 and step 503: the number of record RTP message etc.; Promptly when Monitor 1 and Monitor 3 successively received described RTP message, two measurement point operations were identical, all can trigger measurement point and add up, calculate; And from the RTP message abstraction sequence number, use for calculating packet loss; Extraction time stabs, and uses for calculated transmission delay and delay jitter;
Step 504 (can carry out): when Monitor1 receives the corresponding RTCP SR of RTP data flow message earlier with step 503 is parallel, record RTCP SR message due in A1, extract the caller information in the described RTCP SR header territory, described caller information comprises: transmit leg Synchronization Source and transmission message number; Perhaps transmit leg Synchronization Source and NTP (Network Time Protocol) timestamp and send message number etc.And according to sending the message number, calculate RTP data flow between two RTCP SR messages and arrive local qos parameter information, comprising packet loss Frac1, from sending to present accumulation number of dropped packets Cul_num1 and delay jitter J1, its computing formula is respectively:
The interior at interval expectation of the at interval interior number of dropped packets lost_interval/ of packet loss Frac1=receives message and counts Expected_interval;
Accumulation number of dropped packets Cul_num1=desired value Expected-actual value Received;
J1 (i)=J1 (i-1)+(| D (i-1, i) |-J1 (i-1))/16, i represents i the RTCP SR message that measurement point is received, D represents that former and later two messages arrive the delay difference of measurement point;
Then, in conjunction with delay jitter J1 as calculated, with the SSRC of CPE-A; Or the SSRC of CPE-A and NTP (Network Time Protocol) timestamp LSR are that QoS information preserved in index.
Step 505:Monitor 1 continues to transmit RTCP SR message end to end.
Step 506: when Monitor 3 receives corresponding RTCP SR message, extract the transmit leg Synchronization Source of RTCP SR message, calculate described RTP data flow and arrive local service quality QoS parameter, its computational process and step 504 are similar, that is: record RTCP SR message due in A2, extract the caller information in the described RTCP SR header territory, described caller information comprises: transmit leg Synchronization Source and transmission message number; Perhaps transmit leg Synchronization Source and NTP (Network Time Protocol) timestamp and send message number etc.And according to the time that sends the message number, calculate RTP data flow between two RTCP SR messages and arrive local qos parameter information, comprise packet loss Frac2, from sending to present accumulation number of dropped packets Cul_num2 and delay jitter J2.The formula of its calculating sees for details above-mentioned, does not repeat them here.After the local qos parameter information of aforementioned calculation RTP data flow arrival is finished, normal RTP and the RTCP SR message transmitted, generate or construct an extra RTCP RR message simultaneously, described extra RTCP RR message comprises: the transmit leg Synchronization Source, NTP (Network Time Protocol) timestamp LSR when local calculated QoS parameters, transmit leg generate RTCP SR message and the time D LSR that constructs this extra message cost.That is to say that the transmit leg Synchronization Source in the reception report of extra RTCP RR message is filled out CPE-A SSRC, represent that this is the qos statistic to the RTP message of CPE-A transmission.LSR in the reception report fills out the NTP (Network Time Protocol) timestamp in the RTCP SR message, and expression extra RTCP RR message is at this RTCP SR message.
Step 507: send described extra RTCP RR message in the SP territory, the mode of described transmission comprises: multicast or directly clean culture.For present embodiment, Monitor 3 gives Monitor 1 with described extra RTCP RR message multicast or direct clean culture.If adopt the multicast mode, multicast ip address and port numbers are determined by the SP territory, and inform in advance when allocating and measuring point; If employing mode of unicast, the IP address of the first measurement point Monitor1 and listening port number also need issue when the configuration second measurement point Monitor 3.
Step 508:Monitor 3 continues to transmit RTCP SR message end to end.
Step 509: when other measurement points in the SP territory receive the extra RTCP RR message of Monitor 3 transmissions, extract the Synchronization Source CPE-A SSRC that receives report in the described extra RTCP RR message, and being complementary with described Synchronization Source CPE-A SSRC and local record, if coupling, then handle described extra RTCP RR message, other measurement points abandon; Extract LSR field in the message then, the NTP (Network Time Protocol) timestamp by the LSR coupling is preserved finds corresponding qos parameter.For present embodiment, have only that Synchronization Source is complementary in Monitor1 and the described extra RTCP RR message.
For present embodiment, when Monitor 1 receives extra RTCP RR message, write down the described extraRTCP RR message A3 time of advent, extract the qos parameter in the extra RTCP RR message, and the QoS performance parameter of calculating before and preserving with this measurement point relatively, calculate the network layer QoS transmission performance of RTP message between Monitor1 and Monitor 3, comprise packet loss (Frac2-Frac1), (A3-A1-DLSR) such as accumulation number of dropped packets (Cul_num2-Cul_num1), delay jitter (J2-J1) and RTT during RTCP sends week.
Step 510: receive the RTCP SR message of Monitor 3 forwardings as place end CPE-B after, calculate qos parameter end to end, generate RTCP RR message end to end; Wherein, the sequencing on step 509 and 510 has no time.
Step 511: described place end CPE-B feeds back to source end CPE-A with the described RR of RTCP end to end message.
In addition, also can be provided with a plurality of measurement points between source end user device and place end user device, then the mode of second measurement point transmission extra RTCP RR message adopts clean culture the best, also can adopt the multicast mode.
For the ease of understanding, see also Fig. 6, for measuring the another kind of application scenarios figure of service quality between the network segment in the embodiment of the invention.Comprise: source end user device (Sender CPE-A) 61, measurement point (Monitor1) 62, measurement point (Monitor2) 63, measurement point (Monitor 3) 64, measurement point (Monitor4) 65, measurement point (Monitor 5) 66, place end user device 67 (Receiver CPE-B) and central control unit 68.Process and Fig. 4 that it is concrete are similar, and its difference is: the RTP data flow provides in the territory stream through three measurement points in same service, i.e. Monitor 1, Monitor 2 and Monitor 3, or more; When second measurement point (such as Monitor3) is being transmitted RTCP SR message, generate extra RTCP RR message, and to the described extra RTCP RR message mode of first measurement point (such as Monitor2) transmission, can adopt mode of unicast, also can adopt the multicast mode, present embodiment can be avoided the calculating that repeats between the measurement point like this to adopt clean culture the best.That is to say.Before second measurement point sent extra RTCP RR message in the mode of clean culture, second measurement point can be known the position (IP address) of first measurement point in advance by the method for central control unit allocating and measuring point.Its a kind of method in common is:
Measurement point powers on the back toward the control plane registration, preserves the existing network topology information by control plane.When needs were measured a rtp streaming, control plane was complementary with the path and the measurement point of stream process, found the measurement point of stream process and the sequencing of process.Allocating and measuring point starts the measurement to this stream then, and tells second measurement point information of first measurement point, so that second measurement point feedback extra RTCP RR message.
See also Fig. 7, for measurement point in the embodiment of the invention based on RTP/RTCP another flow chart with the drive test amount.In the present embodiment, it is example that three measurement point Monitor 1, Monitor 2 and the Monitor3 of the setting in territory (SP) are provided through service with RTP/RTCP SR message flow, when needs are measured the QoS performance of a rtp streaming between a certain network segment, controlled entity sets in advance the intersegmental measurement point of this SP territory Intranet, and informs the IP address of first measurement point when configuration second measurement point.And two measurement points entrance and exit of corresponding RTP business is respectively arranged between three measurement points.Its implementation procedure and Fig. 4 are similar, and its difference is to adopt the mode of clean culture when sending extra RTCP RR message.Its concrete performing step comprises:
Step 701: source end CPE-A sends RTP/RTCP SR message;
Step 702, step 703 and step 704: when Monitor 1, Monitor2 and Monitor 3 successively received described RTP message, three measurement point operations were identical, all can trigger measurement point and add up, calculate.
Step 705 (can walk abreast): when Monitor 1 receives the corresponding RTCP SR of RTP data flow message earlier with step 703,704, record RTCP SR message due in A1, extract caller information in the described RTCP SR header territory, described caller information comprises: transmit leg Synchronization Source and transmission message number; Perhaps transmit leg Synchronization Source and NTP (Network Time Protocol) timestamp and send the message number, and calculating RTP data flow arrives local qos parameter information, comprise packet loss Frac1, from sending to present accumulation number of dropped packets Cul_num1 and delay jitter J1, its computing formula sees for details above-mentioned, does not repeat them here.SSRC with CPE-A; Perhaps SSRC and the NTP (Network Time Protocol) timestamp with CPE-A is that QoS information preserved in index;
Step 706:Monitor node1 continues to transmit RTP/RTCP SR message end to end;
Step 707: similar with step 506, promptly when Monitor node 2 receives corresponding RTCP SR message, record RTCP SR message due in A2, the caller information in the extraction RTCP SR message, described caller information comprises: transmit leg Synchronization Source and transmission message number; Perhaps the transmit leg Synchronization Source, send the message number and the NTP (Network Time Protocol) timestamp, calculate described RTP data flow and arrive local service quality QoS parameter, described qos parameter comprises: packet loss Frac2, accumulation number of dropped packets Cul_num2 and delay jitter J2, its computational process and step 506 are similar, do not repeat them here;
After the local qos parameter information of aforementioned calculation RTP data flow arrival is finished, normal RTP and the RTCP SR message transmitted, generate or construct an extra RTCP RR message simultaneously, described extra RTCP RR message comprises: transmit leg Synchronization Source, the time D LSR that calculates local qos parameter, the NTP (Network Time Protocol) timestamp LSR when transmit leg generates RTCP SR message and construct this extra message cost.That is to say that the transmit leg Synchronization Source in the reception report of extra RTCP RR message is filled out CPE-ASSRC, represent that this is the qos statistic to the RTP message of CPE-A transmission.The LSR that receives in the report fills in the NTP (Network Time Protocol) timestamp, and expression extra RTCP RR message is at this RTCP SR message.
Step 708: similar with step 507, its difference is that the mode that sends described extra RTCPRR message in the SP territory can be clean culture.That is to say that Monitor 2 directly gives Monitor 1 with the clean culture of described extra RTCP RR message, the IP address and the port numbers of its clean culture, the IP address and the port numbers of when the configuration second measurement point Monitor 2, having informed Monitor 1.
Step 709: similar with step 509, when Monitor 1 receives the described extra RTCP RR message of Monitor 2 direct clean cultures, NTP (Network Time Protocol) timestamp LSR when extracting in the described extra RTCP RR message Synchronization Source CPE-A SSRC that receives report and CPE-A and generating RTCP SR message, and being complementary with described Synchronization Source CPE-A SSRC and local record, if coupling is then handled described extraRTCP RR message.That is:
Write down the described extra RTCP RR message A3 time of advent, extract the qos parameter in the extra RTCPRR message, and the QoS performance parameter of calculating before and preserving with this measurement point relatively, calculate the network layer QoS transmission performance of RTP message between Monitor 1 and Monitor 2, comprise packet loss (Frac2-Frac1), (A3-A1-DLSR) such as accumulation number of dropped packets (Cul_num2-Cul_num1), delay jitter (J2-J1) and RTT during RTCP sends week;
Step 710:Monitor 2 transmits described RTCP SR message;
Step 711: similar with step 506, when Monitor 3 received corresponding RTCP SR message, record RTCP SR message due in A4 extracted the transmit leg Synchronization Source of RTCP SR message and sends the message number; Or transmit leg Synchronization Source, transmission message number and NTP (Network Time Protocol) timestamp, calculate described RTP data flow and arrive local service quality QoS parameter, described qos parameter comprises: packet loss Frac3, accumulation number of dropped packets Cul_num3 and delay jitter J3, its computational process and step 506 are similar, do not repeat them here;
After the local qos parameter information of aforementioned calculation RTP data flow arrival is finished, normal RTP and the RTCP SR message transmitted, generate or construct an extra RTCP RR message simultaneously, described extra RTCP RR message comprises: the transmit leg Synchronization Source, calculate local qos parameter, NTP (Network Time Protocol) timestamp LSR when transmit leg generates RTCP SR message and the time D LSR that constructs this extra message cost.That is to say that the transmit leg Synchronization Source in the reception report of extra RTCP RR message is filled out CPE-ASSRC, represent that this is the qos statistic to the RTP message of CPE-A transmission.The LSR that receives in the report fills out the NTP (Network Time Protocol) timestamp, and expression extra RTCP RR message is at this RTCP SR message.
Need to prove step 708 and 709 and the sequencing of step 710 and 711 on not free.
Step 712: similar with step 507, its difference is that the mode that sends described extra RTCPRR message in the SP territory is: clean culture.That is to say that Monitor 3 directly gives Monitor 2 with the clean culture of described extra RTCP RR message, the IP address and the port numbers of its clean culture, the IP address and the port numbers of when the configuration second measurement point Monitor3, having informed Monitor 2.
Step 713: similar with step 509, when Monitor2 receives the described extra RTCP RR message of Monitor 3 direct clean cultures, extract the Synchronization Source CPE-A SSRC that receives report in the described extra RTCP RR message; NTP (Network Time Protocol) timestamp LSR when the Synchronization Source CPE-ASSRC of reception report and transmit leg generate RTCP SR message in the perhaps described extra RTCP RR message, and with described Synchronization Source CPE-A SSRC; Perhaps described Synchronization Source CPE-A SSRC and LSR respectively with being complementary of local record, if coupling is then handled described extra RTCP RR message.That is:
Write down the described extra RTCP RR message A5 time of advent, extract the qos parameter in the extra RTCP RR message, and the QoS performance parameter of calculating before and preserving with this measurement point relatively, calculate the network layer QoS transmission performance of RTP message between Monitor 2 and Monitor 3, comprise packet loss (Frac3-Frac2), (A5-A2-DLSR) such as accumulation number of dropped packets (Cul_num3-Cul_num2), delay jitter (J3-J2) and RTT during RTCP sends week.
Step 714:Monitor 3 transmits described RTCP SR message;
Step 715: receive the extra RTCP SR message of Monitor 3 forwardings as place end CPE-B after, calculate qos parameter end to end, generate RTCP RR message end to end;
Need to prove step 712 and 713 and the sequencing of step 714 and 715 on not free.
Step 716: described place end CPE-B feeds back to source end CPE-A with described RTCPRR message.
For Fig. 5 and the disclosed technical scheme of Fig. 7 as can be known, measurement point number difference is set, it is also different to send the mode that generates extraRTCP SR message.Consider from prioritization scheme, if two measurement points are set in service provides the territory, then can clean culture or multicast mode send extra RTCP SR message, if the measurement point more than three or three is set, then adopt the mode of clean culture to send extra RTCP SR message.
In addition, the embodiment of the invention also provides a kind of method of measuring service quality, and the flow chart of its method is shown in 8, and described method comprises step:
Step 801: first measurement point is according to the Sender Report RTCP SR message in the real time control protocol that receives RTP data flow correspondence, after calculating and store the local service quality QoS parameter of described RTP data flow arrival, transmit RTCP SR message to second measurement point;
Step 802: second measurement point generates the Receiver Report extra RTCP RR message in the extra real time control protocol, and send described extraRTCP RR message in service provides the territory when transmitting described RTCP SR message;
Step 803: first measurement point calculates the qos parameter between local and second measurement point according to receiving described extra RTCP RR message.
The detailed process of present embodiment is: during the Sender Report RTCP SR message of first measurement point in the real time control protocol that receives RTP data flow correspondence, extract the caller information in the RTCP SR message of described correspondence, described caller information comprises: transmit leg Synchronization Source and send the message number; Perhaps transmit leg Synchronization Source, NTP (Network Time Protocol) timestamp and send the message number; Calculate described RTP data flow and arrive local service quality QoS parameter, and with described transmit leg Synchronization Source and transmission message number; Perhaps transmit leg Synchronization Source, NTP (Network Time Protocol) timestamp and transmission message number are that index stores RTP data flow arrives local service quality QoS parameter.Transmit described RTCP SR message to second measurement point then;
, calculate and store described RTP data flow equally and arrive local qos parameter when receiving described RTCP SR message at second measurement point, described qos parameter comprises: packet loss, accumulative total number of dropped packets; Then when transmitting described RTCP SR message, generate extra extra RTCP RR message, and in service provides the territory, sending described extra RTCP RR message, described extra RTCP RR message comprises: the time D LSR of NTP (Network Time Protocol) timestamp LSR when transmit leg Synchronization Source, local calculated QoS parameters, transmit leg generate RTCP SR message and the cost of generation extra RTCP RR message;
The wherein said mode that sends described extra RTCP RR message in service provides the territory comprises multicast or clean culture, if two measurement points are set, then can adopt multicast, also can adopt clean culture; If the measurement point more than three or three is set, it is relatively good then to adopt clean culture to send.
When first measurement point receives described extra RTCP RR message, extract the caller information in the described extra RTCP RR message, and judge that whether the caller information in the described extra RTCP RR message is complementary with the caller information that preserve this locality; If coupling is then taken out a qos parameter of the preservation of transmit leg Synchronization Source correspondence, compare with qos parameter in the described extra RTCP RR message, obtain the qos parameter between described two measurement points.
In addition, the embodiment of the invention also provides a kind of network equipment, and its structural representation as shown in Figure 9.The described network equipment comprises: first packet sending unit 91, message receiving element 92 and network segment service quality computing unit 93.Wherein, first packet sending unit 91, the RTCP SR message that is used for receiving sends to second measurement point; Described message receiving element 92 is used to receive the extra RTCP RR message that second measurement point sends; Described network segment service quality computing unit 93 is used for according to the qos parameter between described extra RTCP RR message calculating this locality and described second measurement point.
Preferably, the described network equipment also comprises: the first service quality computing unit and first memory cell.Wherein, the described first service quality computing unit is used for extracting the transmit leg Synchronization Source of the RTCPSR message that receives RTP data flow correspondence and sends the message number; Perhaps transmit leg Synchronization Source, NTP (Network Time Protocol) timestamp and send the message number; Calculate described RTP data flow and arrive local qos parameter.That is to say, when the first service quality computing unit receives RTP/RTCP SR message, write down sequence number, timestamp in the described RTP message earlier, and the arrival local zone time of corresponding RTCP SR message, and extracting caller information in the described RTCP SR header territory, described caller information comprises: transmit leg Synchronization Source and send the message number; Perhaps transmit leg Synchronization Source, NTP (Network Time Protocol) timestamp LSR and send the message number; Then, calculate according to caller information in the RTP sequence of message that receives number and timestamp and the RTCPSR message that the RTP data flow arrives local qos parameter between the adjacent R TCP SR message.
First memory cell is used for according to described transmit leg Synchronization Source; Perhaps transmit leg Synchronization Source and NTP (Network Time Protocol) timestamp are that the described RTP data flow of index stores arrives local qos parameter.
Preferably, described network segment service quality computing unit 93 comprises: judgment sub-unit 931 and comparison subelement 932.Described judgment sub-unit 931 is used for judging the transmit leg Synchronization Source of described extra RTCP RR message; NTP (Network Time Protocol) timestamp when perhaps transmit leg Synchronization Source and transmit leg generate RTCP SR message whether with being complementary of local record; Described relatively subelement 932 is used for receiving judgment sub-unit when sending the judged result that is complementary, and qos parameter and described local QoS parameter in the more described extra RTCP RR message obtain the service quality between the described measurement point.
In addition, the invention process also provides a kind of network equipment, and Figure 10 is described for its structural representation.The described network equipment comprises: the message generation unit 101 and second packet sending unit 102.Wherein, described message generation unit 101, be used for when transmitting received RTCP SR message, generate extra RTCPRR message, described extra RTCP RR message comprises: the NTP (Network Time Protocol) timestamp when transmit leg Synchronization Source, local calculated QoS parameters and transmit leg generate RTCP SR message; Described second packet sending unit 102 is used for sending described RTCP RR message in service provides the territory, to be used to calculate the service quality between the measurement point.
Preferably, the described network equipment also comprises: the second service quality computing unit and second memory cell.Wherein, the described second service quality computing unit is used for when receiving the RTCP SR message of corresponding RTP data streams, extracts the transmit leg Synchronization Source of RTCP SR message and sends the message number; Perhaps transmit leg Synchronization Source, NTP (Network Time Protocol) timestamp and send the message number calculate and store after described RTP data flow arrives local qos parameter, transmit described RTCP SR message; Described second memory cell is used for according to described transmit leg Synchronization Source; Perhaps transmit leg Synchronization Source and NTP (Network Time Protocol) timestamp are the qos parameter of the described this locality of index stores.
Preferably, described second packet sending unit 102 comprises at least: clean culture sends any one of subelement 1021 and multicast transmission subelement 1022.Described clean culture sends subelement 1021, when being used in service provides the territory at least two measurement points being set, sends described extra RTCP RR message; Described multicast sends subelement 1022, when being used for being provided with two measurement points in service provides the territory, sends described extra RTCPRR message.
Preferably, the described network equipment also comprises: central control unit, be used to control the mode that sends extra RTCPRR message, when adopting the multicast mode to send extra RTCP RR message, when allocating and measuring point, inform the multicast ip address and the port numbers of setting in advance; Perhaps, when adopting mode of unicast to send extraRTCP RR message, then when configuration second measurement point, inform the IP address and the port numbers of first measurement point in advance.
Need to prove, as the network equipment as described in Fig. 9 and Figure 10.When the described network equipment comprises: when the first service quality computing unit, message receiving element and network segment service quality computing unit, the described network equipment provides in the territory rtp streaming through first measurement point on the path for service.
When the described network equipment comprises: when the first service quality computing unit, message generation unit, packet sending unit, message receiving element and network segment service quality computing unit, the described network equipment provides in the territory rtp streaming through the middle measurement point on the path for service.
When the described network equipment comprises: when the second service quality computing unit, message generation unit and packet sending unit, the described network equipment provides in the territory rtp streaming through last measurement point on the path for service.
In addition, the embodiment of the invention also provides a kind of network system, and its structural representation as shown in figure 11.Described system comprises: first network equipment 111 and second network equipment 112, described first network equipment 111 comprises: first packet sending unit 1111, message receiving element 1112 and network segment service quality computing unit 1113.Wherein, described first packet sending unit 1111, the RTCP SR message that is used for receiving sends to second measurement point; Described message receiving element 1112 is used to receive second measurement point and sends extraRTCP RR message; Described network segment service quality computing unit 1113 is used for according to the qos parameter between described extra RTCPRR message calculating this locality and described second measurement point.
Second network equipment 112 comprises: the message generation unit 1121 and second packet sending unit 1122.Wherein said message generation unit 1121, be used for when transmitting received RTCP SR message, generate extra RTCP RR message, described extra RTCP RR message comprises: the NTP (Network Time Protocol) timestamp when transmit leg Synchronization Source, local calculated QoS parameters and transmit leg generate RTCP SR message; Described second packet sending unit 1122 is used in service provides the territory described extra RTCP RR message being sent to the message receiving element, to be used to calculate the service quality between the measurement point.
Preferably, described first network equipment comprises: the first service quality computing unit, first memory cell; Second network equipment comprises the second service quality computing unit, second memory cell.Wherein, the described first or second service quality computing unit is used for when receiving the RTCP SR message of corresponding RTP data streams, extracts the transmit leg Synchronization Source of RTCP SR message and sends the message number; Perhaps transmit leg Synchronization Source, NTP (Network Time Protocol) timestamp and send the message number calculate and store after described RTP data flow arrives local qos parameter, transmit described RTCP SR message; Described first or second memory cell is used for according to described transmit leg Synchronization Source; Perhaps transmit leg Synchronization Source and NTP (Network Time Protocol) timestamp are the qos parameter of the described this locality of index stores.
For present embodiment, concrete implementation procedure is:
For a certain definite RTP data flow, the monitoring RTP data flow arrives local information, when the RTCP of corresponding RTP data streams SR message arrived the first service quality computing unit, the described first service quality computing unit extracted the transmit leg Synchronization Source of RTCP SR message and sends the message number; Perhaps RTCP
The transmit leg Synchronization Source of SR message, transmission message number and NTP (Network Time Protocol) timestamp calculate and store described RTP data flow and arrive local qos parameter, and described qos parameter comprises: packet loss, accumulative total packet loss and delay jitter etc.; By first packet sending unit described RTCP SR message is transmitted to the second service quality computing unit then.The implementation procedure of calculating qos parameter when the described second service quality computing unit and the first service quality computing unit is similar, during promptly according to received RTCP SR message, calculate described RTP data flow and arrive local qos parameter, and described RTCP SR message is transmitted to the message generation unit; Described message generation unit is when transmitting received RTCP SR message, generate extra RTCP RR message, described extra RTCP RR message comprises: the qos parameter of transmit leg Synchronization Source, this locality, NTP (Network Time Protocol) timestamp when transmit leg generates RTCP SR message and generate time of extra RTCP RR message cost, and described extra RTCP RR message is transmitted to second packet sending unit; Described second packet sending unit is with described RTCP RR message multicast or unicast to the message receiving element, described message receiving element, receiving described extra RTCP RR message, described extra RTCP RR message is transmitted to network segment service quality computing unit, described network segment service quality computing unit 83 calculates the qos parameter between first measurement point and second measurement point during according to described extra RTCP RR message.Its concrete implementation procedure sees the specific implementation process of said method for details, is not giving unnecessary details at this.
This shows, the extra RTCP RR message that the embodiment of the invention generates by second measurement point feedback can be in the SP scope multicast, calculate the qos parameter between the measurement point.For transport layer and network layer encapsulation information needed all is known.Measurement point does not need to know the IP address or the port information of first measurement point of RTP/RTCP SR message flow process, thereby the configuration preparation before the simplified measurement, also simplified control to measurement point, such as, when needs increase a measurement point newly, only need tell that RTCP takies port numbers in the multicast address of measurement point in its SP and the territory, can realize monitoring, be convenient to measurement point and expand the RTP message.
When first measurement point calculated RTT, monolateral at least path was identical with the RTP message, and the accuracy of time delay is higher than initiatively measuring.Measurement point only needs to generate the message of one type of extra RTCP RR when end-to-end PTP/RTCP message is transmitted in storage, directly multicast or clean culture get final product in the SP territory.Compare with initiatively measuring, simplified measurement point is handled the requirement of extra RTCP message.
Give first measurement point passback QoS information at second measurement point, first measurement point just can be according to receiving the QoS performance that report calculates RTP message network between two measurement points, measurement point can be accomplished to measure based on the network segment, thereby reduce the amount of calculation of centralized control entity.
In addition, utilize the described technical scheme of the embodiment of the invention, can carry out routine inspection,, also can it roughly be located this scheme of merits and demerits if the measurement point of certain sends fault to the data flow of RTP.The measurement point of this SP configuration monitoring RTP business is distributed in the edge in territory as far as possible through certain SP when RTP end to end is professional, and promptly the RTP message enters the place in this territory and leaves the place in this territory.And can not distribute on the path that the RTP business is passed by in the territory or few distribution measuring point.The embodiment of the invention is provided with measurement point by the entrance and exit in the RTP business domains, and mutual extra RTCP RR message between the measurement point is judged the quality situation of RTP business in the SP scope earlier.If quality descends, then can be in conjunction with the more accurate orientation problem of additive method.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (22)

1, a kind of method of measuring service quality is characterized in that, comprises step:
First measurement point is according to the Sender Report RTCP SR message in the real time control protocol that receives real-time protocol (RTP) RTP data flow correspondence, after calculating and store the local service quality QoS parameter of described RTP data flow arrival, transmit RTCP SR message to second measurement point;
Second measurement point generates the Receiver Report extra RTCP RR message in the extra real time control protocol, and send described extra RTCP RR message in service provides the territory when transmitting described RTCP SR message;
First measurement point calculates the qos parameter between local and second measurement point according to receiving described extra RTCP RR message.
According to the method for the described measurement service quality of claim 1, it is characterized in that 2, described calculating is also stored the process that described RTP data flow arrives local qos parameter and is:
The RTCP SR message of first measurement point record correspondence arrives the local time, extracts the caller information in the RTCP SR message that receives RTP data flow correspondence, and described caller information comprises: transmit leg Synchronization Source and transmission message number; Perhaps transmit leg Synchronization Source, NTP (Network Time Protocol) timestamp and send the message number;
Calculate described RTP data flow and arrive local qos parameter, described qos parameter comprises: delay jitter, packet loss and accumulative total number of dropped packets;
With described transmit leg Synchronization Source; Be that the described RTP data flow of index stores arrives local qos parameter perhaps with transmit leg Synchronization Source and NTP (Network Time Protocol) timestamp.
According to the method for the described measurement service quality of claim 2, it is characterized in that 3, the described mode that sends described extra RTCP RR message in service provides the territory is:
If two measurement points are set, then send described extra RTCP RR message to first measurement point by multicast or clean culture in service provides the territory;
If at least three measurement points are set in service provides the territory, then send described extra RTCP RR message to first measurement point by clean culture.
4, a kind of method of measuring service quality is characterized in that, comprises step:
First measurement point sends to second measurement point with the RTCP SR message that receives;
Receive the extra RTCP RR message that second measurement point sends;
First measurement point is according to the qos parameter between described extra RTCP RR message calculating this locality and described second measurement point.
According to the method for the described measurement service quality of claim 1, it is characterized in that 5, described method also comprises:
First measurement point extracts the caller information in the RTCP SR message that receives RTP data flow correspondence; Calculate and store described RTP data flow and arrive local qos parameter, described qos parameter comprises: delay jitter, packet loss and accumulative total number of dropped packets.
According to the method for the described measurement service quality of claim 5, it is characterized in that 6, the process that described extraction receives the caller information in the RTCP SR message of RTP data flow correspondence is:
The RTCP SR message that record is corresponding arrives the local time, extracts the transmit leg Synchronization Source in this message and sends the message number; Perhaps transmit leg Synchronization Source, NTP (Network Time Protocol) timestamp and send the message number.
7, according to the method for the described measurement service quality of claim 6, it is characterized in that, with described transmit leg Synchronization Source; Be that the described RTP data flow of index stores arrives local qos parameter perhaps with transmit leg Synchronization Source and NTP (Network Time Protocol) timestamp.
According to the method for the described measurement service quality of claim 4, it is characterized in that 8, described first measurement point according to the process that extra RTCP RR message calculates the qos parameter between local and described second measurement point is:
First measurement point extracts the transmit leg Synchronization Source in the described extra RTCP RR message; NTP (Network Time Protocol) timestamp when perhaps transmit leg Synchronization Source and transmit leg generate RTCP SR message;
With described transmit leg Synchronization Source; NTP (Network Time Protocol) timestamp when perhaps transmit leg Synchronization Source and transmit leg generate the RTCPSR message is the qos parameter that index matches local storage;
Qos parameter in the more described extra RTCP RR message and the local qos parameter of storing obtain the qos parameter between the described measurement point.
9, a kind of method of measuring service quality is characterized in that, comprises step:
Second measurement point generates extra RTCP RR message when the RTCP SR message that forwarding receives; Described extra RTCP RR message comprises: the NTP (Network Time Protocol) timestamp when transmit leg Synchronization Source, local calculated QoS parameters and transmit leg generate RTCP SR message;
In providing the territory, service sends described extra RTCP RR message, to be used to calculate the service quality between the measurement point.
According to the method for the described measurement service quality of claim 9, it is characterized in that 10, the process of the extra extra RTCP of described generation RR message is:
Described local calculated QoS parameters is put into the relevant position that receives report blocks, and described qos parameter comprises: delay jitter, packet loss and accumulative total number of dropped packets;
Extend this as transmit leg Synchronization Source in the described RTCP SR message with receiving transmit leg Synchronization Source SSRC in the report blocks; NTP (Network Time Protocol) timestamp when transmit leg is generated RTCP RR message extends this as the NTP (Network Time Protocol) timestamp in the described RTCP SR message;
Transmitting side marking is the sign of measurement point in the described extra RTCP RR header, receives the report blocks number.
According to the method for the described measurement service quality of claim 9, it is characterized in that 11, the described process that sends described extra RTCP RR message in service provides the territory is:
If two measurement points are set, then send described extra RTCP RR message to first measurement point by multicast or clean culture in service provides the territory;
If at least three measurement points are set in service provides the territory, then send described extra RTCP RR message to first measurement point by clean culture.
According to the method for the described measurement service quality of claim 11, it is characterized in that 12, the position that two measurement points are set provides the entrance and exit place in territory for service; The position of described three measurement points provides the entrance and exit place in territory for service for the position that has two measurement points at least.
13, according to the method for the described measurement service quality of claim 11, it is characterized in that, if adopt the multicast mode to send extra RTCP RR message, then when allocating and measuring point, inform the multicast ip address of setting and the port numbers of reception extra RTCP RR message in advance; If adopt mode of unicast to send extra RTCPRR message, then when the configuration second trip measurement point, inform the IP address and the port numbers that receives extraRTCP RR message of first measurement point in advance.
14, a kind of network equipment is characterized in that, comprising:
First packet sending unit, the RTCP SR message that is used for receiving sends to second measurement point;
The message receiving element is used to receive the extra RTCP RR message that second measurement point sends;
Network segment service quality computing unit is used for according to the qos parameter between described extra RTCP RR message calculating this locality and described second measurement point.
According to the described network equipment of claim 14, it is characterized in that 15, the described network equipment also comprises:
The first service quality computing unit is used for extracting the transmit leg Synchronization Source of the RTCP SR message that receives RTP data flow correspondence and sends the message number; Perhaps transmit leg Synchronization Source, NTP (Network Time Protocol) timestamp and send the message number; Calculate described RTP data flow and arrive local qos parameter, described qos parameter comprises: delay jitter, packet loss and accumulative total number of dropped packets;
First memory cell is used for according to described transmit leg Synchronization Source; Perhaps transmit leg Synchronization Source and NTP (Network Time Protocol) timestamp are that the described RTP data flow of index stores arrives local qos parameter.
According to the described network equipment of claim 14, it is characterized in that 16, described network segment service quality computing unit comprises:
Judgment sub-unit is used for judging the transmit leg Synchronization Source of described extra RTCP RR message; NTP (Network Time Protocol) timestamp when perhaps transmit leg Synchronization Source and transmit leg generate RTCP SR message whether with being complementary of this locality storage;
Subelement relatively is used for receiving judgment sub-unit when sending the judged result that is complementary, and qos parameter and described local QoS parameter in the more described extra RTCP RR message obtain the service quality between the described measurement point.
17, a kind of network equipment is characterized in that, comprising:
The message generation unit, be used for when transmitting received RTCP SR message, generate extra RTCPRR message, described extra RTCP RR message comprises: the NTP (Network Time Protocol) timestamp when transmit leg Synchronization Source, local calculated QoS parameters and transmit leg generate RTCP SR message;
Second packet sending unit is used for sending described RTCP RR message in service provides the territory, to be used to calculate the service quality between the measurement point.
According to the described network equipment of claim 17, it is characterized in that 18, the described network equipment also comprises:
The second service quality computing unit is used for when receiving the RTCP SR message of corresponding RTP data streams, extracts the transmit leg Synchronization Source of RTCP SR message and sends the message number; Perhaps transmit leg Synchronization Source, NTP (Network Time Protocol) timestamp and send the message number calculate and store after described RTP data flow arrives local qos parameter, transmit described RTCP SR message;
Second memory cell is used for according to described transmit leg Synchronization Source; Perhaps transmit leg Synchronization Source and NTP (Network Time Protocol) timestamp are the qos parameter of the described this locality of index stores.
According to the claim 17 or the 18 described network equipments, it is characterized in that 19, described second packet sending unit comprises one at least:
Clean culture sends subelement, when being used in service provides the territory at least two measurement points being set, sends described extra RTCP RR message;
Multicast sends subelement, when being used for being provided with two measurement points in service provides the territory, sends described extraRTCP RR message.
According to the described network equipment of claim 17, it is characterized in that 20, the described network equipment also comprises:
Central control unit is used to control the mode that sends extra RTCP RR message, when adopting the multicast mode to send extra RTCP RR message, informs the multicast ip address and the port numbers of setting in advance when allocating and measuring point; Perhaps, when adopting mode of unicast to send extra RTCP RR message, then when configuration second measurement point, inform the IP address and the port numbers of first measurement point in advance.
21, a kind of network system is characterized in that, comprising: first network equipment and second network equipment, wherein,
Described first network equipment comprises:
First packet sending unit, the RTCP SR message that is used for receiving sends to second measurement point;
The message receiving element is used to receive second measurement point and sends extra RTCP RR message;
Network segment service quality computing unit is used for according to the qos parameter between described extra RTCP RR message calculating this locality and described second measurement point;
Second network equipment comprises:
The message generation unit, be used for when transmitting received RTCP SR message, generate extra RTCPRR message, described extra RTCP RR message comprises: the NTP (Network Time Protocol) timestamp when transmit leg Synchronization Source, local calculated QoS parameters and transmit leg generate RTCP SR message;
Second packet sending unit is used in service provides the territory described extra RTCP RR message being sent to the message receiving element, to be used to calculate the service quality between the measurement point.
According to the described network system of claim 21, it is characterized in that 22, described first network equipment also comprises: the first service quality computing unit and first memory cell, second network equipment also comprises: the second service quality computing unit and second memory cell; Wherein,
The described first or second service quality computing unit is used for when receiving the RTCP SR message of corresponding RTP data streams, extracts the transmit leg Synchronization Source of RTCP SR message and sends the message number; Perhaps transmit leg Synchronization Source, NTP (Network Time Protocol) timestamp and send the message number calculate and store after described RTP data flow arrives local qos parameter, transmit described RTCP SR message;
Described first or second memory cell is used for according to described transmit leg Synchronization Source; Perhaps transmit leg Synchronization Source and NTP (Network Time Protocol) timestamp are the qos parameter of the described this locality of index stores.
CN2007101484079A 2007-08-28 2007-08-28 Method for measuring service quality, network appliance and network system Expired - Fee Related CN101378337B (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
CN2007101484079A CN101378337B (en) 2007-08-28 2007-08-28 Method for measuring service quality, network appliance and network system
AT08800679T ATE554559T1 (en) 2007-08-28 2008-08-27 METHOD FOR MEASURING SERVICE QUALITY, TRANSMISSION METHOD AND DEVICE AND MESSAGE SYSTEM
EP08800679A EP2187563B1 (en) 2007-08-28 2008-08-27 Method for measuring quality of service, transmission method, device and system of messages
PCT/CN2008/072166 WO2009026855A1 (en) 2007-08-28 2008-08-27 Method for measuring quality of service, transmission method, device and system of messages
ES08800679T ES2383109T3 (en) 2007-08-28 2008-08-27 Method to measure the quality of service, transmission method, device and message system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101484079A CN101378337B (en) 2007-08-28 2007-08-28 Method for measuring service quality, network appliance and network system

Publications (2)

Publication Number Publication Date
CN101378337A true CN101378337A (en) 2009-03-04
CN101378337B CN101378337B (en) 2011-02-09

Family

ID=40421694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101484079A Expired - Fee Related CN101378337B (en) 2007-08-28 2007-08-28 Method for measuring service quality, network appliance and network system

Country Status (1)

Country Link
CN (1) CN101378337B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674204B (en) * 2009-10-13 2011-10-05 东南大学 Method for measuring multimedia multicast service quality based on client
CN102572531A (en) * 2012-02-21 2012-07-11 德科仕通信(上海)有限公司 Method and system for delimiting packet loss faults of internet protocol television (IPTV) network
CN104065518A (en) * 2014-07-07 2014-09-24 北京市博汇科技股份有限公司 Determining method and device for network data packet loss position
CN106302029A (en) * 2016-10-12 2017-01-04 微鲸科技有限公司 Network speed-measuring method based on wireless router
CN106817269A (en) * 2015-12-01 2017-06-09 中国电信股份有限公司 Internet monitoring method and system and relevant device
CN108390796A (en) * 2018-02-10 2018-08-10 盛科网络(苏州)有限公司 A kind of latency test method and device
CN109218123A (en) * 2017-07-06 2019-01-15 成都鼎桥通信技术有限公司 The method and device of multicast switching unicast
WO2019129163A1 (en) * 2017-12-28 2019-07-04 华为技术有限公司 Network quality measurement method and apparatus thereof
CN111263391A (en) * 2018-11-30 2020-06-09 华为技术有限公司 Signal processing method, equipment and base station
CN112689977A (en) * 2018-09-10 2021-04-20 中兴通讯股份有限公司 Techniques for collecting and transmitting telemetry information in a communication network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6775240B1 (en) * 1999-09-21 2004-08-10 Lucent Technologies Inc. System and methods for measuring quality of communications over packet networks
SE524599C2 (en) * 2002-01-18 2004-08-31 Ericsson Telefon Ab L M Method, system and computer software product for providing quality service QoS
CN100471140C (en) * 2006-09-29 2009-03-18 华为技术有限公司 Method for detecting QoS

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674204B (en) * 2009-10-13 2011-10-05 东南大学 Method for measuring multimedia multicast service quality based on client
CN102572531A (en) * 2012-02-21 2012-07-11 德科仕通信(上海)有限公司 Method and system for delimiting packet loss faults of internet protocol television (IPTV) network
CN102572531B (en) * 2012-02-21 2014-08-27 德科仕通信(上海)有限公司 Method and system for delimiting packet loss faults of internet protocol television (IPTV) network
CN104065518A (en) * 2014-07-07 2014-09-24 北京市博汇科技股份有限公司 Determining method and device for network data packet loss position
CN106817269B (en) * 2015-12-01 2020-03-20 中国电信股份有限公司 Network layer monitoring method and system and related equipment
CN106817269A (en) * 2015-12-01 2017-06-09 中国电信股份有限公司 Internet monitoring method and system and relevant device
CN106302029A (en) * 2016-10-12 2017-01-04 微鲸科技有限公司 Network speed-measuring method based on wireless router
CN109218123A (en) * 2017-07-06 2019-01-15 成都鼎桥通信技术有限公司 The method and device of multicast switching unicast
WO2019129163A1 (en) * 2017-12-28 2019-07-04 华为技术有限公司 Network quality measurement method and apparatus thereof
US11606275B2 (en) 2017-12-28 2023-03-14 Huawei Technologies Co., Ltd. Network quality measurement method and apparatus
CN108390796A (en) * 2018-02-10 2018-08-10 盛科网络(苏州)有限公司 A kind of latency test method and device
CN112689977A (en) * 2018-09-10 2021-04-20 中兴通讯股份有限公司 Techniques for collecting and transmitting telemetry information in a communication network
CN111263391A (en) * 2018-11-30 2020-06-09 华为技术有限公司 Signal processing method, equipment and base station
CN111263391B (en) * 2018-11-30 2021-08-13 华为技术有限公司 Signal processing method, equipment and base station
US11871256B2 (en) 2018-11-30 2024-01-09 Huawei Technologies Co., Ltd. Signal processing method, device, and base station

Also Published As

Publication number Publication date
CN101378337B (en) 2011-02-09

Similar Documents

Publication Publication Date Title
CN101378337B (en) Method for measuring service quality, network appliance and network system
US9742650B2 (en) Systems and methods for measuring available capacity and tight link capacity of IP paths from a single endpoint
KR100716153B1 (en) Method for Measuring Stage-to-stage Delay in Nonsynchronization Packet Transfer Network, Nonsynchronization Packet Sender and Receiver
US7512069B2 (en) IP packet identification method and system for TCP connection and UDP stream
CN106454414B (en) A kind of multipath network method for real-time video transmission
US20190014029A1 (en) Performance measurement in a packet-switched communication network
US11996997B2 (en) Round-trip packet loss measurement in a packet-switched communication network
EP3547690B1 (en) Real-time video transmission method of multipath network
US7944840B2 (en) Method for facilitating latency measurements using intermediate network devices between endpoint devices connected by a computer network
CN106713063A (en) VoIP network packet loss fault detection method
US11121938B2 (en) Performance measurement in a packet-switched communication network
CN100349449C (en) End-to-end network measuring method based on real-time transmission protocol
US20070280227A1 (en) Packet distribution system using reproducing appartus and packet distribution method
EP2187563B1 (en) Method for measuring quality of service, transmission method, device and system of messages
US20070133432A1 (en) Methods and system for measuring the round trip time in packet switching telecommunication networks
CN101394363A (en) RTCP communication implementation method
CN101378352B (en) Method for forwarding RTCP SR message, method, apparatus and system for measuring QoS
Meiling et al. Large-scale measurement and analysis of one-way delay in hybrid multicast networks
Dressler A metric for numerical evaluation of the QoS of an Internet connection
Kim et al. The Delay Measurement using The RTCP for Real-time Service in Interworking Environment
KR101107325B1 (en) Method and System for Measuring Quality by Network Interval for Real-time Multimedia Service
WO2024094834A1 (en) Round-trip packet loss measurement in a packet-switched communication network
JP2009171453A (en) Transmission node, method for specifying tight link, and program for specifying tight link
Bonastre et al. Performance Studio of Multicast Video Streaming Using SRMSH
Masuda et al. Performance evaluation of VoIP QoE monitoring using RTCP XR

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110209