CN106506438A - A kind of method and device for obtaining quality of service information - Google Patents

A kind of method and device for obtaining quality of service information Download PDF

Info

Publication number
CN106506438A
CN106506438A CN201510567591.5A CN201510567591A CN106506438A CN 106506438 A CN106506438 A CN 106506438A CN 201510567591 A CN201510567591 A CN 201510567591A CN 106506438 A CN106506438 A CN 106506438A
Authority
CN
China
Prior art keywords
subpath
message
sequence number
header
receiving device
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.)
Pending
Application number
CN201510567591.5A
Other languages
Chinese (zh)
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 CN201510567591.5A priority Critical patent/CN106506438A/en
Publication of CN106506438A publication Critical patent/CN106506438A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a kind of method and device for obtaining quality of service information, is related to communication technical field, when MPRTP message transmissions are carried out, intermediate NE can obtain correct QoS information.Concrete scheme is:Receiving device receives the first message by the first subpath;First message is to encapsulate the sequence number of any one original RTP message, timestamp and load in the multiple original RTP messages that rtp streaming includes using Real-time Transport Protocol to obtain;The header of the first message includes the first subpath sequence number, when first the first message of subpath Serial No. is transmitted on the first subpath, according to the sequence number that the sequencing serial number of transmitting message on the first subpath is obtained;Receiving device parses the first message using Real-time Transport Protocol, obtains the first subpath sequence number from the header of the first message;Receiving device obtains QoS information according to the first subpath sequence number.

Description

A kind of method and device for obtaining quality of service information
Technical field
A kind of the present invention relates to communication technical field, more particularly to acquisition service quality (English:Quality Of Service, abbreviation:QoS) the method and device of information.
Background technology
Using Internet Protocol (English:Internet Protocol, abbreviation:Network IP) (with Lower abbreviation IP network) in, the transmission of the real-time media stream such as audio stream and video flowing is generally used in real time Transmission (English:Real-Time Protocol, abbreviation:RTP) agreement, will be in audio stream Video data in voice data or video flowing is encapsulated in RTP messages and is transmitted.Wherein, RTP Message is made up of RTP headers and load, and RTP headers include sequence number and timestamp etc..Sequence number For identifying the sequence number of RTP messages, source device often sends a RTP message, and the value of sequence number increases Plus 1, purpose equipment can detect the loss situation of RTP messages by sequence number.Timestamp is used for anti- Reflect the delivery time of RTP messages.Voice data or video data of the load for actual transmissions.
During intermediate NE of the RTP messages between source device and purpose equipment that source device sends, Intermediate NE can calculate QoS information (including calculating number of dropped packets or wobble information according to RTP messages Deng).Wherein, intermediate NE can calculate number of dropped packets according to the sequence number of RTP messages, according to RTP The sequence number of message and timestamp calculate wobble information.
In order to improve the utilization rate of bandwidth resources, Internet Engineering Task group (English:The Internet Engineering Task Force, abbreviation:IETF) a kind of multipath RTP is proposed (English:Multipath Real-time Transport Protocol, abbreviation:MPRTP) message Transmission technology, in this technology, including multiple original RTP messages rtp streaming be divided into many Individual subflow, transmits a subflow on each subpath, as shown in figure 1, for example rtp streaming is divided For RTP subflows 1 and RTP subflows 2, transmission RTP subflows 1 on subpath 1, on subpath 2 Transmission RTP subflows 2, the numeral 1 in Fig. 1,2 ..., 12 represent multiple original RTP reports The sequence number of text.As seen from Figure 1, the sequence number of the RTP messages on each subpath is not Continuously.
In prior art, in order to carry out MPRTP message transmissions, first method is reported in RTP Increase extension header in head, extension header includes that (particular content refers to IETF grass to subflow sequence number Case draft-ietf-avtcore-mprtp-00 and draft-leiwm-avtcore-mprtp-ra-00).The Two kinds of methods are to increase additional headers on RTP messages, and the additional headers include that path is marked (particular content refers to ietf draft with subflow sequence number to know symbol draft-leiwm-avtcore-mprtp-ar-02).Using both approaches, purpose equipment is received respectively After individual subpath uploads defeated message, according to sequence number and timestamp in RTP headers, can be with extensive Appear again original rtp streaming, and can be detected according to subflow sequence number and whether lose on each subpath Bag.
But inventor has found said method, and there are the following problems:Carried out using first method During MPRTP message transmissions, the intermediate NE of each subpath is according to the sequence number meter in RTP headers Number of dropped packets is calculated, due to the sequence number of the original RTP messages of Serial No. in RTP headers, per height The intermediate NE in path can only get the sequence number of a part of original RTP messages, therefore, it is impossible to Obtain correct QoS information.When carrying out MPRTP message transmissions using second method, due to Increase the RTP messages that the message after additional headers is not standard, therefore, intermediate NE None- identified This message, so that obtain correct QoS information.
Content of the invention
The embodiment of the present invention provides a kind of method and device for obtaining quality of service information, is carrying out During MPRTP message transmissions, intermediate NE can obtain correct QoS information.
For reaching above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
A kind of first aspect of the embodiment of the present invention, there is provided method of acquisition service quality QoS information, Including:
Receiving device receives the first message by the first subpath;First subpath is by a reality When host-host protocol rtp streaming when being segmented at least two subpaths transmission, at least two sub- road Any one subpath in footpath;First message is to encapsulate the rtp streaming using Real-time Transport Protocol Including multiple original RTP messages in the sequence number of any one original RTP message, timestamp and Load is obtained;The header of first message includes the first subpath sequence number, the first sub- road When first message described in the Serial No. of footpath is transmitted on first subpath, according to the described first sub- road The sequence number that the sequencing serial number of transmitting message is obtained on footpath;
The receiving device parses first message using the Real-time Transport Protocol, from the described first report The first subpath sequence number is obtained in the header of text;
The receiving device obtains QoS information according to the first subpath sequence number.
In conjunction with a first aspect, in the first possible implementation of first aspect, described first reports Also include the routing information of first subpath in the header of text;
After the receiving device receives the first message by the first subpath, methods described is also wrapped Include:
The receiving device obtains the path of first subpath from the header of first message Information;
The receiving device obtains QoS information according to the first subpath sequence number, specifically includes:
The receiving device is according to the first subpath sequence number and the path of first subpath QoS information described in acquisition of information.
In conjunction with the first possible implementation of first aspect or first aspect, the of first aspect In two kinds of possible implementations, in the header of first message, also included for the first subpath time Stamp, when the first subpath timestamp is transmission of first message on first subpath Carve;The subpath time of two adjacent messages of the subpath sequence number of transmission on first subpath Stamp interval fixed increment.
In conjunction with second possible implementation of first aspect, the third in first aspect is possible In implementation, the QoS information includes wobble information;
After the receiving device receives the first message by the first subpath, methods described is also wrapped Include:
The receiving device obtains the first subpath timestamp from the header of first message;
The receiving device obtains QoS information according to the first subpath sequence number, specifically includes:
The receiving device is believed according to the path of the first subpath sequence number, first subpath Breath and the first subpath timestamp obtain the wobble information.
In conjunction with second possible implementation of first aspect, the 4th kind in first aspect is possible In the side of realization, first message is by the first header, extension header and the first original RTP messages structure Into;First header includes the first subpath sequence number and the first subpath time Stamp, the extension header include the routing information of first subpath, the first original RTP Message is any one original RTP message described.
In conjunction with second possible implementation of first aspect, the 5th kind in first aspect is possible In implementation, first message is made up of the first header, extension header and load, and described first Header includes the first subpath sequence number and the first subpath timestamp, the extension report Head includes routing information, the sequence of any one original RTP message of first subpath Row number and timestamp, the load are the load of any one original RTP message.
In conjunction with first aspect and above-mentioned possible implementation, in the 6th kind of possible reality of first aspect In existing mode, before the receiving device receives the first message by the first subpath, methods described Also include:
The receiving device receives the carrying message format that the source device on first subpath sends The Session Description Protocol SDP message of information;The message format information is used for indicating first report The form of text;The receiving device is the purpose equipment on first subpath;
The receiving device sends response to the source device, and the response is used for indicating institute State the form of compatible first message of receiving device.
A kind of second aspect of the embodiment of the present invention, there is provided device of acquisition service quality QoS information, Including:
Receiving unit, for receiving the first message by the first subpath;First subpath be by When one realtime transmission protocol RTP stream is segmented in transmission at least two subpaths, described at least two Any one subpath in individual subpath;First message is described using Real-time Transport Protocol encapsulation The sequence number of any one original RTP message in the multiple original RTP messages that rtp streaming includes, when Between stamp and load obtain;The header of first message includes the first subpath sequence number, described When first message described in one subpath Serial No. is transmitted on first subpath, according to described The sequence number that the sequencing serial number of transmitting message is obtained on one subpath;
Resolution unit, described in being received using the Real-time Transport Protocol parsing receiving unit First message, obtains the first subpath sequence number from the header of first message;
Acquiring unit, for the first subpath sequence number obtained according to resolution unit parsing Obtain QoS information.
The method and device for obtaining quality of service information provided in an embodiment of the present invention, receiving device (can Being intermediate NE, or purpose equipment) the first message is received by the first subpath;Receive Equipment parses the first message using Real-time Transport Protocol, obtains the first subpath from the header of the first message Sequence number;Receiving device obtains QoS information according to the first subpath sequence number.
As the first message that receiving device is received is obtained using Real-time Transport Protocol encapsulation, therefore, Receiving device can recognize the first message.As first the first message of subpath Serial No. is in the first son When transmitting on path, according to the sequence that the sequencing serial number of transmitting message on the first subpath is obtained Row number, therefore, the First ray number of the message transmitted on the first subpath is continuous, receiving device QoS information is obtained according to continuous first subpath sequence number, correct QoS information can be obtained.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, embodiment will be described below Needed for accompanying drawing to be used be briefly described, it should be apparent that, drawings in the following description are only It is some embodiments of the present invention, for those of ordinary skill in the art, is not paying creativeness On the premise of laborious, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Schematic diagrames of the Fig. 1 for MPRTP message transmissions technology;
Schematic diagrames of the Fig. 2 for the form of the RTP messages of embodiment of the present invention Plays;
Fig. 3 is a kind of flow chart of method for obtaining QoS information provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of first message provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of another kind of first message provided in an embodiment of the present invention;
Fig. 6 is the flow chart of another kind of method for obtaining QoS information provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram of another kind of first message provided in an embodiment of the present invention;
Fig. 8 is the flow chart of another kind of method for obtaining QoS information provided in an embodiment of the present invention;
Fig. 9 is the schematic diagram of another kind of first message provided in an embodiment of the present invention;
Figure 10 is the schematic diagram of another kind of first message provided in an embodiment of the present invention;
Figure 11 is that a kind of composition of device for obtaining QoS information provided in an embodiment of the present invention is illustrated Figure;
Figure 12 is that the composition of another kind of device for obtaining QoS information provided in an embodiment of the present invention is illustrated Figure;
Figure 13 is that the composition of another kind of device for obtaining QoS information provided in an embodiment of the present invention is illustrated Figure;
Figure 14 is that the composition of another kind of device for obtaining QoS information provided in an embodiment of the present invention is illustrated Figure.
Specific embodiment
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme enter Row is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the invention, Rather than whole embodiments.Embodiment in based on the present invention, those of ordinary skill in the art are not having There is the every other embodiment obtained under the premise of making creative work, belong to present invention protection Scope.
For the ease of understanding the present invention, the form of the RTP messages of standard is introduced first here.
As shown in Fig. 2 RTP messages are made up of RTP headers and load.Wherein, load is actual The real time datas such as the voice data or video data of transmission.The implication of each field in RTP headers As follows:
Version number's (English:Version, abbreviation:V):2 bits are taken, for representing RTP The version number of the version number of agreement, such as Real-time Transport Protocol is 2.
Filling mark (English:Padding, abbreviation:P):1 bit is taken, for indicating RTP Whether message finally has byte of padding.When P is 1, represent that RTP messages finally have byte of padding, Byte of padding at least takes 8 bits.
Extension flag (English:Extension, abbreviation:X):1 bit is taken, for representing Whether RTP headers include extension header.When X is 1, represent that RTP headers include extension header.
Contributing source counter (English:Contributing source (CSRC) count, contracting Write:CC):4 bits are taken, for indicating the number of CRSC identifiers.
Mark (English:Marker, abbreviation:M):1 bit is taken, different load have difference Implication.For audio frequency, M is 1, then be used for mark a period of time quiet after session beginning; For video, M is 1, then be used for the end of 1 frame of mark.
Load type (English:Payload type, abbreviation:PT):7 bits are taken, for referring to Show the type of load in RTP messages.
Sequence number:16 bits are taken, for identifying the sequence number of RTP messages.Source device often sends one Individual RTP messages, the value of sequence number increase by 1, by sequence number, purpose equipment can detect that RTP is reported The loss situation of text.
Timestamp:32 bits are taken, for reflecting the generation moment of RTP messages.Due to RTP Agreement is RTP, and therefore, timestamp is also used for the delivery time for reflecting RTP messages.
Synchronous information source (English:Synchronization source, abbreviation:SSRC) identifier: 32 bits are taken, for identifying synchronous information source.The value of SSRC is randomly selected value, and same The SSRC of the participant of RTP sessions can not be identical.
Contributing information source (English:Contributing source, abbreviation:CSRC) identifier:With In mark to the contributive information source of RTP sessions, each CSRC identifier takes 32 bits, RTP There can be 0-15 CSRC identifier in message.
The embodiment of the present invention provides a kind of method for obtaining QoS information, as shown in figure 3, the method Including:
S101, receiving device receive the first message by the first subpath.
Wherein, the first subpath is that a rtp streaming is segmented at least two subpaths to transmit (i.e. Carry out MPRTP message transmissions) when, any one subpath at least two subpath.Show Example property, as shown in figure 1, the first subpath can be subpath 1 or subpath 2.
Receiving device can be intermediate NE between source device and purpose equipment, it is also possible to for the purpose of set Standby.Exemplary, as shown in figure 1, receiving device can be intermediate NE 1, or intermediate NE 2, or purpose equipment.
First message is to be encapsulated in the multiple original RTP messages that rtp streaming includes using Real-time Transport Protocol The sequence number of any one original RTP message, timestamp and load are obtained.The header of the first message Include the first subpath sequence number, first the first message of subpath Serial No. is on the first subpath During transmission, according to the sequence number that the sequencing serial number of transmitting message on the first subpath is obtained.
Assume the Serial No. sequence number 1 of original RTP messages 1, the time of original RTP messages 1 Stab as timestamp 1, the load of original RTP messages 1 is load 1, then using Real-time Transport Protocol encapsulation The first message that sequence number 1, timestamp 1 and load 1 are obtained is as shown in Figure 4.If shown in Fig. 4 First message is the 1st the first message transmitted on the first subpath, then the first subpath Serial No. 1, if the first message shown in Fig. 4 is the 2nd the first message transmitted on the first subpath, the One subpath Serial No. 2.
S102, receiving device parse the first message using Real-time Transport Protocol, from the header of the first message Obtain the first subpath sequence number.
As the first message is to be obtained using Real-time Transport Protocol encapsulation, therefore, the header lattice of the first message Formula is identical with the form of RTP headers, and receiving device parses the first message using Real-time Transport Protocol, from the The sequence number got in the header of one message is the first subpath sequence number.
It should be noted that can also include in the header of the first message and identical in RTP headers Version number (V), filling mark (P), extension flag (X), contributing source counter (CC), Mark (M) and load type (PT) etc..
S103, receiving device obtain QoS information according to the first subpath sequence number.
Wherein, receiving device can be intermediate NE, or purpose equipment.When the first subpath On when having intermediate NE, receiving device is intermediate NE;When on the first subpath without intermediate NE, Receiving device is purpose equipment.QoS information includes number of dropped packets or wobble information etc..Receiving device passes through First subpath can receive multiple first messages, and receiving device parses these the first messages, can obtain The first subpath sequence number to each the first message.Receiving device can according to parsing obtain many First subpath sequence number of individual first message calculates QoS information, that is, calculate number of dropped packets or shake letter Breath etc..Receiving device calculates number of dropped packets and the concrete grammar of wobble information will be retouched in subsequent embodiment State.
The method for obtaining QoS information provided in an embodiment of the present invention, is carrying out MPRTP message biographies When defeated, due to receiving device (can be intermediate NE, or purpose equipment) receive One message is obtained using Real-time Transport Protocol encapsulation, and therefore, receiving device can recognize the first message. Receiving device parses the first message using Real-time Transport Protocol, can obtain the from the header of the first message One subpath sequence number, and QoS information is obtained according to the first subpath sequence number.Due to the first son When path sequence number is transmitted on the first subpath for the first message, according to transmission report on the first subpath The sequence number that the sequencing serial number of text is obtained, therefore, the message of transmission on the first subpath First ray number is continuous, and receiving device obtains QoS according to continuous first subpath sequence number Information, can obtain correct QoS information.
It should be noted that the application scenarios of above-described embodiment are:Receiving device passes through a subpath (the first subpath) receives sequence number, the timestamp for encapsulating original RTP messages using Real-time Transport Protocol The message obtained with load.Real-time Transport Protocol is adopted when receiving device is received by least two subpaths When encapsulating the sequence number of original RTP messages, the message that timestamp and load are obtained, need to distinguish not With the message that subpath is transmitted.In such a scenario, as shown in figure 5, in the header of the first message also Including the routing information of the first subpath, the routing information of the first subpath can use sub-streams identifier (English Text:Identity, abbreviation:) or path ID is represented ID.
Further, after receiving device receives the first message by the first subpath, the present embodiment In the method for acquisition QoS information also include:Receiving device obtains from the header of the first message The routing information of one subpath.Receiving device obtains QoS information according to the first subpath sequence number, Specifically include:Receiving device is obtained according to the routing information of the first subpath sequence number and the first subpath QoS information.
As shown in fig. 6, the S102 in Fig. 3 could alternatively be S102a:Receiving device adopts RTP The first message of protocol analysis, obtains the first subpath sequence number and the first son from the header of the first message The routing information in path.S103 in Fig. 3 could alternatively be S103a:Receiving device is according to first The routing information of subpath sequence number and the first subpath obtains QoS information.
So, when receiving device receives message by least two subpaths, can be according to the first son The routing information in path determines the message by the transmission of the first subpath, further according to the first subpath sequence Number obtain QoS information.
Further, as shown in fig. 7, also including the first subpath timestamp in the header of the first message, First subpath timestamp is delivery time of first message on the first subpath;On first subpath The subpath interval of timestamps fixed increment of two adjacent messages of the subpath sequence number of transmission.
Further, QoS information can include wobble information.Pass through the first subpath in receiving device After receiving the first message, the method for the acquisition QoS information in the present embodiment also includes:Reception sets Standby the first subpath timestamp is obtained from the header of the first message.Receiving device is according to the first subpath Sequence number obtains QoS information, specifically includes:Receiving device according to the first subpath sequence number, The routing information of one subpath and the first subpath timestamp obtain wobble information.
As shown in figure 8, the S102 in Fig. 3 could alternatively be S102b:Receiving device adopts RTP The first message of protocol analysis, obtains the first subpath sequence number, the first son from the header of the first message The routing information in path and the first subpath timestamp.S103 in Fig. 3 could alternatively be S103b: When receiving device is according to the first subpath sequence number, the routing information of the first subpath and the first subpath Between stamp obtain wobble information.
It should be noted that QoS information can only include number of dropped packets, it is also possible to only include wobble information, Number of dropped packets and wobble information can also be included.When the first subpath is not included in the header of the first message Between stab when, receiving device can be obtained according to the routing information of the first subpath sequence number and the first subpath Take number of dropped packets.
Specifically, receiving device can receive multiple first messages, receiving device by the first subpath Parse these the first messages, can obtain each the first message the first subpath sequence number, first The routing information of subpath and the first subpath timestamp.Receiving device can according to parsing obtain many The routing information of the first subpath sequence number and the first subpath of individual first message calculates number of dropped packets, and First subpath sequence number of multiple first messages obtained according to parsing, the path letter of the first subpath Breath and the first subpath timestamp calculate wobble information.
The method that receiving device calculates number of dropped packets and wobble information is described below.
Number of dropped packets be from session start to current time till, receiving device expect receive message number with The difference of the message number being an actually-received, message here is the first message.Receiving device is an actually-received Message number can voluntarily count and obtain;Receiving device expects the message number for receiving, and can be set by reception Maximum the first subpath sequence acquired in the first message that standby parsing is received by the first subpath Number obtain with the difference of minimum first subpath sequence number.Due to the first message transmitted on the first subpath The first subpath sequence number continuous, therefore, receiving device can obtain correct number of dropped packets.
Receiving device calculates the formula of wobble information:
J (i)=J (i-1)+(| D (i-1, i) |-J (i-1))/16 (formula 1)
Wherein, D (i is the positive integer more than 1 for i-1, i)=(R (i)-R (i-1))-(S (i)-S (i-1)), R (i) receives the time of i-th message transmitted on the first subpath for receiving device, and R (i-1) is Receiving device receives the time of the i-th -1 message transmitted on the first subpath, and S (i) is the first sub- road The upstream equipment being connected with receiving device on footpath sends the time of i-th message, and S (i-1) is the first son The upstream equipment being connected with receiving device on path sends the time of the i-th -1 message.
Receiving device can determine that according to the routing information of the first subpath and be connect by the first subpath The first message for receiving.Receiving device can determine that the first subpath according to the first subpath sequence number I-th first messages and the i-th -1 the first message of upper transmission.The difference of S (i) and S (i-1) can be by During the first subpath of the first subpath timestamp and the i-th -1 the first message of i-th first messages Between stab and be calculated.As the First ray number of the first message transmitted on the first subpath is continuous , and the subpath timestamp of adjacent two messages of subpath sequence number transmitted on the first subpath Interval fixed increment, therefore, receiving device can obtain correct wobble information.
Further, as shown in figure 9, in the first situation of the embodiment of the present invention, the first message It is made up of the first header, extension header and the first original RTP messages;First header includes first Subpath sequence number and the first subpath timestamp, extension header include the path letter of the first subpath Breath, the first original RTP messages (are original RTP in Fig. 9 for any one original RTP message Message is 1).After purpose equipment receives the message transmitted by each subpath, each message is peeled off Header after, original RTP messages can be obtained.Sequence of the purpose equipment according to original RTP messages Number and timestamp can recover original rtp streaming.
Further, also include in extension header by the field and length field of protocol definition, length word Section is used for the number of 32 bits for indicating that extension header includes.Wherein, by the field of protocol definition 16 bits are taken, length field takes 16 bits, the ratio shared by the routing information of the first subpath Spy can define as needed.For example, the routing information of the first subpath takes 32 bits, at this Plant in situation, the value of length field is 2.
Further, as shown in Figure 10, in the second case of the embodiment of the present invention, the first report Text is made up of the first header, extension header and load, and the first header includes the first subpath sequence number With the first subpath timestamp, extension header include the first subpath routing information, any one The sequence number and timestamp of original RTP messages (being original RTP messages 1 in Fig. 9), load is The load of any one original RTP messages (being original RTP messages 1 in Fig. 9).Purpose sets Standby receive the message transmitted by each subpath after, parse the extension header of each message, can be with Obtain the sequence number and timestamp of original RTP messages.Sequence of the purpose equipment according to original RTP messages Load can be re-packaged into original RTP messages by row number and timestamp, and according to original series Number recover original rtp streaming.
Further, also include in extension header by the field and length field of protocol definition, length word Section is used for the number of 32 bits for indicating that extension header includes.Wherein, by the field of protocol definition 16 bits are taken, length field takes 16 bits, the sequence number (sequence number of original RTP messages 1), the timestamp (timestamp 1) of the routing information of the first subpath and original RTP messages is shared Bit can be defined as needed.For example, the sequence number of original RTP messages takes 16 bits, The routing information of the first subpath takes 16 bits, and the timestamp of original RTP messages takes 32 to be compared Spy, in this case, the value of length field is 3.
Further, in the method for the acquisition QoS information shown in Fig. 3,6 and 8, set in reception Before standby the first message of reception by the first subpath, can also include:S100a and S100b.Its In, the form of the first message can be any one form shown in Fig. 4,5,7,9 and 10.
S100a, receiving device receive the carrying message format letter that the source device on the first subpath sends Session Description Protocol (the English of breath:Session Description Protocol, abbreviation:SDP) Message.
Wherein, message format information is used for the form for indicating the first message;Receiving device is the first sub- road Purpose equipment on footpath.
Exemplary, message format information can be a=mprtp-compatible, to indicate the first report The form of text is any one form shown in Fig. 4,5,7,9 and 10.SDP message complete Content can be:
V=0
2,890,844,526 2890844527 IN IP4 192.0.2.1 of o=alice
S=
C=IN IP4 192.0.2.1
T=0 0
49170 RTP/AVP 98 of m=video
A=rtpmap:98 H264/90000
A=fmtp:98 profile-level-id=42A01E
A=rtcp-mux
A=mprtp-compatible
SDP message explains in detail the description that may be referred in prior art with regard to SDP message, this Inventive embodiments are repeated no more here.
S100b, receiving device send response to source device, and response is used for indicating that reception sets The form of standby compatible first message.
The method for obtaining QoS information provided in an embodiment of the present invention, is carrying out MPRTP message biographies When defeated, as the first message that receiving device is received is obtained using Real-time Transport Protocol encapsulation, because This, receiving device can recognize the first message.Receiving device parses the first message using Real-time Transport Protocol, The first subpath sequence number, the routing information of the first subpath can be obtained from the header of the first message With the first subpath timestamp, and according to the first subpath sequence number, the routing information of the first subpath QoS information is obtained with the first subpath timestamp.Due to the first message transmitted on the first subpath First ray number be continuous, and adjacent two of subpath sequence number that transmits on the first subpath The subpath interval of timestamps fixed increment of message, therefore, receiving device can obtain correct packet loss Number and wobble information (i.e. QoS information).
The embodiment of the present invention also provides a kind of device for obtaining QoS information, as shown in figure 11, including: Receiving unit 21, resolution unit 22 and acquiring unit 23.The device can be said method embodiment In receiving device.
Receiving unit 21, for receiving the first message by the first subpath;First subpath be by When one rtp streaming is segmented in transmission at least two subpaths, any at least two subpaths One subpath;First message is to encapsulate the multiple original RTP that rtp streaming includes using Real-time Transport Protocol In message, the sequence number of any one original RTP message, timestamp and load are obtained;First message Header include the first subpath sequence number, first the first message of subpath Serial No. is in the first son When transmitting on path, according to the sequence that the sequencing serial number of transmitting message on the first subpath is obtained Row number.
Resolution unit 22, for parsing the first report that receiving unit 21 is received using Real-time Transport Protocol Text, obtains the first subpath sequence number from the header of the first message.
Acquiring unit 23, the first subpath sequence number for being obtained according to the parsing of resolution unit 22 are obtained Take QoS information.
Further, also include the routing information of the first subpath in the header of the first message.
Resolution unit 22, be additionally operable to receiving unit 21 by the first subpath receive the first message it Afterwards, the routing information of the first subpath is obtained from the header of the first message.
Acquiring unit 23, specifically for the first subpath sequence obtained according to the parsing of resolution unit 22 Number and the first subpath routing information obtain QoS information.
Further, the first subpath timestamp, the first subpath are also included in the header of the first message Timestamp is delivery time of first message on the first subpath;The sub- road that transmits on first subpath The subpath interval of timestamps fixed increment of two adjacent messages of footpath sequence number.
Further, QoS information includes wobble information.
Resolution unit 22, be additionally operable to receiving unit 21 by the first subpath receive the first message it Afterwards, the first subpath timestamp is obtained from the header of the first message.
Acquiring unit 23, specifically for the first subpath sequence obtained according to the parsing of resolution unit 22 Number, the routing information of the first subpath and the first subpath timestamp obtain wobble information.
Optionally, in a kind of situation of the embodiment of the present invention, the first message is by the first header, extension Header and the first original RTP messages are constituted;First header includes the first subpath sequence number and One subpath timestamp, extension header include the routing information of the first subpath, the first original RTP Message is any one original RTP message.
Optionally, in another kind of situation of the embodiment of the present invention, the first message is by the first header, expansion Exhibition header and load are constituted, and the first header includes the first subpath sequence number and the first subpath time Stamp, extension header include the routing information of the first subpath, any one original RTP message Sequence number and timestamp, load are the load of any one original RTP message.
Further, receiving unit 21, be additionally operable to by the first subpath receive the first message it Before, receive the Session Description Protocol of the carrying message format information that the source device on the first subpath sends SDP message;Message format information is used for the form for indicating the first message;The device is the first subpath On purpose equipment.
As shown in figure 12, the device also includes:Transmitting element 24.
Transmitting element 24, for sending response to source device, response is used for indicating the dress Put the form of compatible first message.
It should be noted that part work(in the device for obtaining QoS information provided in an embodiment of the present invention The specific descriptions of energy module may be referred to the corresponding content in embodiment of the method, and the present embodiment is here no longer It is described in detail.
The device for obtaining QoS information provided in an embodiment of the present invention, is carrying out MPRTP message biographies When defeated, as the first message that the device is received is obtained using Real-time Transport Protocol encapsulation, therefore, The device can recognize the first message.The device parses the first message, Ke Yicong using Real-time Transport Protocol The first subpath sequence number is obtained in the header of the first message, and is obtained according to the first subpath sequence number QoS information.When being transmitted on the first subpath due to first the first message of subpath Serial No., press According to the sequence number that the sequencing serial number of transmitting message on the first subpath is obtained, therefore, first The First ray number of the message transmitted on subpath is continuous, and the device is according to the continuous first sub- road Footpath sequence number obtains QoS information, can obtain correct QoS information.
The embodiment of the present invention also provides a kind of device for obtaining QoS information, as shown in figure 13, including: Receiver 31 and processor 32.The device can be the receiving device in said method embodiment.
Wherein, connected by system bus between receiver 31 and processor 32 and completed mutual Communication.For ease of representing, only system bus is represented with a thick line in Figure 13, it is not intended that only There is a bus.
Processor 32 can be a central processing unit (English:Central Processing Unit, Abbreviation:CPU), or for CPU and digital signal processor (English:Digital Signal Processor, abbreviation:DSP combination), or (English for specific integrated circuit:application Specific integrated circuit, abbreviation:ASIC).In embodiments of the present invention, CPU can Being single arithmetic core, it is also possible to including multioperation core.
Receiver 31, for receiving the first message by the first subpath;First subpath is by one When individual rtp streaming is segmented in transmission at least two subpaths, any one at least two subpaths Individual subpath;First message is to encapsulate the multiple original RTP that rtp streaming includes using Real-time Transport Protocol In message, the sequence number of any one original RTP message, timestamp and load are obtained;First message Header include the first subpath sequence number, first the first message of subpath Serial No. is in the first son When transmitting on path, according to the sequence that the sequencing serial number of transmitting message on the first subpath is obtained Row number.
Processor 32, for parsing the first message that receiver 31 is received using Real-time Transport Protocol, The first subpath sequence number is obtained from the header of the first message;Obtained according to the first subpath sequence number QoS information.
Further, also include the routing information of the first subpath in the header of the first message.
Processor 32, is additionally operable to after receiver 31 receives the first message by the first subpath, The routing information of the first subpath is obtained from the header of the first message, and according to the first subpath sequence Number and the first subpath routing information obtain QoS information.
Further, the first subpath timestamp, the first subpath are also included in the header of the first message Timestamp is delivery time of first message on the first subpath;The sub- road that transmits on first subpath The subpath interval of timestamps fixed increment of two adjacent messages of footpath sequence number.
Further, QoS information includes wobble information.
Processor 32, is additionally operable to after receiver 31 receives the first message by the first subpath, Obtain the first subpath timestamp from the header of the first message, and according to the first subpath sequence number, The routing information of the first subpath and the first subpath timestamp obtain wobble information.
Optionally, in a kind of situation of the embodiment of the present invention, the first message is by the first header, extension Header and the first original RTP messages are constituted;First header includes the first subpath sequence number and One subpath timestamp, extension header include the routing information of the first subpath, the first original RTP Message is any one original RTP message.
Optionally, in another kind of situation of the embodiment of the present invention, the first message is by the first header, expansion Exhibition header and load are constituted, and the first header includes the first subpath sequence number and the first subpath time Stamp, extension header include the routing information of the first subpath, any one original RTP message Sequence number and timestamp, load are the load of any one original RTP message.
Further, receiver 31, were additionally operable to before the first message is received by the first subpath, Receive the Session Description Protocol of the carrying message format information that the source device on the first subpath sends SDP message;Message format information is used for the form for indicating the first message;The device is the first subpath On purpose equipment.
As shown in figure 14, the device also includes:Transmitter 33.
Transmitter 33, for sending response to source device, response is used for indicating the device The form of compatible first message.
It should be noted that part work(in the device for obtaining QoS information provided in an embodiment of the present invention The specific descriptions of energy module may be referred to the corresponding content in embodiment of the method, and the present embodiment is here no longer It is described in detail.
The device for obtaining QoS information provided in an embodiment of the present invention, is carrying out MPRTP message biographies When defeated, as the first message that the device is received is obtained using Real-time Transport Protocol encapsulation, therefore, The device can recognize the first message.The device parses the first message, Ke Yicong using Real-time Transport Protocol The first subpath sequence number is obtained in the header of the first message, and is obtained according to the first subpath sequence number QoS information.When being transmitted on the first subpath due to first the first message of subpath Serial No., press According to the sequence number that the sequencing serial number of transmitting message on the first subpath is obtained, therefore, first The First ray number of the message transmitted on subpath is continuous, and the device is according to the continuous first sub- road Footpath sequence number obtains QoS information, can obtain correct QoS information.
Through the above description of the embodiments, those skilled in the art can be understood that Arrive, for convenience and simplicity of description, be only illustrated with the division of above-mentioned each functional module, real In the application of border, as desired above-mentioned functions distribution can be completed by different functional modules, will The internal structure of device is divided into different functional modules, described above all or part of to complete Function.The specific work process of the system, apparatus, and unit of foregoing description, may be referred to preceding method Corresponding process in embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, device And method, can realize by another way.For example, device embodiment described above is only Be schematic, for example, the division of the module or unit, only a kind of division of logic function, Can have when actually realizing other dividing mode, for example multiple units or component can in conjunction with or can To be integrated into another system, or some features can be ignored, or not execute.Another, shown Or the coupling each other that discusses or direct-coupling or communication connection can be by some interfaces, fill Put or unit INDIRECT COUPLING or communication connection, can be electrical, mechanical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, As the part that unit shows can be or may not be physical location, you can be located at a ground Side, or can also be distributed on multiple NEs.Can select according to the actual needs therein Some or all of unit is realizing the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit In, or unit be individually physically present, it is also possible to two or more units are integrated in In one unit.Above-mentioned integrated unit both can be realized in the form of hardware, it would however also be possible to employ soft The form of part functional unit is realized.
If the integrated unit is realized and as independent product using in the form of SFU software functional unit When sale or use, can be stored in a computer read/write memory medium.It is based on such reason Solution, part or the skill that technical scheme is substantially contributed to prior art in other words The all or part of art scheme can be embodied in the form of software product, the computer software product It is stored in a storage medium, uses so that a computer equipment (can be including some instructions Personal computer, server, or network equipment etc.) or processor (English:processor) Execute all or part of step of each embodiment methods described of the invention.And aforesaid storage medium bag Include:USB flash disk, portable hard drive, read-only storage (English:Read-Only Memory, abbreviation:ROM)、 Random access memory (English:Random Access Memory, abbreviation:RAM), magnetic disc Or CD etc. is various can be with the medium of store program codes.
The above, specific embodiment only of the invention, but protection scope of the present invention not office Be limited to this, any those familiar with the art the invention discloses technical scope in, can Change or replacement are readily occurred in, should be all included within the scope of the present invention.Therefore, the present invention Protection domain should be defined by the scope of the claims.

Claims (14)

1. a kind of obtain service quality QoS information method, it is characterised in that include:
Receiving device receives the first message by the first subpath;First subpath is real-time by one When host-host protocol rtp streaming is segmented in transmission at least two subpaths, at least two subpath Any one subpath;First message encapsulates the rtp streaming using Real-time Transport Protocol to be included In multiple original RTP messages, the sequence number of any one original RTP message, timestamp and load are obtained; The header of first message includes the first subpath sequence number, the first subpath Serial No. institute When stating the first message and transmitting on first subpath, according to transmitting message on first subpath The sequence number that sequencing serial number is obtained;
The receiving device parses first message using the Real-time Transport Protocol, from first message Header in obtain the first subpath sequence number;
The receiving device obtains QoS information according to the first subpath sequence number.
2. method according to claim 1, it is characterised in that in the header of first message Also include the routing information of first subpath;
After the receiving device receives the first message by the first subpath, methods described also includes:
The receiving device obtains the path letter of first subpath from the header of first message Breath;
The receiving device obtains QoS information according to the first subpath sequence number, specifically includes:
The receiving device is believed according to the path of the first subpath sequence number and first subpath Breath obtains the QoS information.
3. method according to claim 1 and 2, it is characterised in that the report of first message Also include the first subpath timestamp in head, the first subpath timestamp is first message in institute State the delivery time on the first subpath;The subpath sequence number transmitted on first subpath is adjacent The subpath interval of timestamps fixed increment of two messages.
4. method according to claim 3, it is characterised in that the QoS information includes shaking Information;
After the receiving device receives the first message by the first subpath, methods described also includes:
The receiving device obtains the first subpath timestamp from the header of first message;
The receiving device obtains QoS information according to the first subpath sequence number, specifically includes:
The receiving device is according to the first subpath sequence number, the routing information of first subpath The wobble information is obtained with the first subpath timestamp.
5. method according to claim 3, it is characterised in that first message is reported by first Head, extension header and the first original RTP messages are constituted;First header includes first son Path sequence number and the first subpath timestamp, the extension header include first subpath Routing information, the first original RTP messages be any one original RTP message described.
6. method according to claim 3, it is characterised in that first message is reported by first Head, extension header and load are constituted, and first header includes the first subpath sequence number and institute The first subpath timestamp is stated, the extension header includes the routing information of first subpath, institute The sequence number and timestamp of any one original RTP message is stated, the load is any one original described The load of beginning RTP message.
7. the method according to any one of claim 1-6, it is characterised in that in the reception Before equipment receives the first message by the first subpath, methods described also includes:
The receiving device receives the carrying message format letter that the source device on first subpath sends The Session Description Protocol SDP message of breath;The message format information is used for indicating first message Form;The receiving device is the purpose equipment on first subpath;
The receiving device sends response to the source device, and the response is described for indicating The form of compatible first message of receiving device.
8. a kind of obtain service quality QoS information device, it is characterised in that include:
Receiving unit, for receiving the first message by the first subpath;First subpath is by one When individual realtime transmission protocol RTP stream is segmented in transmission at least two subpaths, at least two son Any one subpath in path;First message is to encapsulate the rtp streaming using Real-time Transport Protocol Including multiple original RTP messages in the sequence number of any one original RTP message, timestamp and load Lotus obtains;The header of first message includes the first subpath sequence number, the first subpath sequence When row number is transmitted on first subpath for first message, upload according to first subpath The sequence number that the sequencing serial number of defeated message is obtained;
Resolution unit, for parse that the receiving unit receives using the Real-time Transport Protocol described the One message, obtains the first subpath sequence number from the header of first message;
Acquiring unit, the first subpath sequence number for being obtained according to resolution unit parsing are obtained Take QoS information.
9. device according to claim 8, it is characterised in that in the header of first message Also include the routing information of first subpath;
The resolution unit, is additionally operable to receive described the in the receiving unit by first subpath From the header of first message, after one message, obtain the routing information of first subpath;
The acquiring unit, specifically for first subpath obtained according to resolution unit parsing The routing information of sequence number and first subpath obtains the QoS information.
10. device according to claim 8 or claim 9, it is characterised in that first message Also include in header that the first subpath timestamp, the first subpath timestamp exist for first message Delivery time on first subpath;The subpath sequence number transmitted on first subpath is adjacent Two messages subpath interval of timestamps fixed increment.
11. devices according to claim 10, it is characterised in that the QoS information includes trembling Dynamic information;
The resolution unit, is additionally operable to receive described the in the receiving unit by first subpath After one message, the first subpath timestamp is obtained from the header of first message;
The acquiring unit, specifically for first subpath obtained according to resolution unit parsing Sequence number, the routing information of first subpath and the first subpath timestamp obtain the shake Information.
12. devices according to claim 10, it is characterised in that first message is by first Header, extension header and the first original RTP messages are constituted;First header includes described first Subpath sequence number and the first subpath timestamp, the extension header include the described first sub- road The routing information in footpath, the first original RTP messages are any one original RTP message described.
13. devices according to claim 10, it is characterised in that first message is by first Header, extension header and load are constituted, first header include the first subpath sequence number with The first subpath timestamp, the extension header include first subpath routing information, The sequence number and timestamp of any one original RTP message, the load for described any one The load of original RTP messages.
14. devices according to any one of claim 8-13, it is characterised in that the reception Unit, was additionally operable to before first message is received by first subpath, receives described first The Session Description Protocol SDP message of the carrying message format information that the source device on subpath sends;Institute State the form that message format information is used for indicating first message;Described device is first subpath On purpose equipment;
Described device also includes:
Transmitting element, for sending response to the source device, the response is used for indicating institute State the form of compatible first message of device.
CN201510567591.5A 2015-09-08 2015-09-08 A kind of method and device for obtaining quality of service information Pending CN106506438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510567591.5A CN106506438A (en) 2015-09-08 2015-09-08 A kind of method and device for obtaining quality of service information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510567591.5A CN106506438A (en) 2015-09-08 2015-09-08 A kind of method and device for obtaining quality of service information

Publications (1)

Publication Number Publication Date
CN106506438A true CN106506438A (en) 2017-03-15

Family

ID=58286869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510567591.5A Pending CN106506438A (en) 2015-09-08 2015-09-08 A kind of method and device for obtaining quality of service information

Country Status (1)

Country Link
CN (1) CN106506438A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108683555A (en) * 2018-04-17 2018-10-19 上海电力学院 A kind of RTP method for detecting packet loss

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166959A (en) * 2013-02-28 2013-06-19 东北大学 Control system and control method of multipath real-time transmission
CN104023006A (en) * 2014-05-09 2014-09-03 东北大学 Multi-path transmission system and method based on application layer relaying

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166959A (en) * 2013-02-28 2013-06-19 东北大学 Control system and control method of multipath real-time transmission
CN104023006A (en) * 2014-05-09 2014-09-03 东北大学 Multi-path transmission system and method based on application layer relaying

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LEIWM, ET AL.: "Multipath Real-Time Transport Protocol Based on Application-Level Relay (MPRTP-AR), draft-leiwm-avtcore-mprtp-ar-02", 《IETF》 *
LEIWM,ET AL.: "Multipath RTP based on RTP Relay Application (MPRTP-RA), draft-leiwm-avtcore-mprtp-ra-00", 《IETF》 *
SINGH, ET AL.: "Multipath RTP (MPRTP), draft-ietf-avtcore-mprtp-00", 《IETF》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108683555A (en) * 2018-04-17 2018-10-19 上海电力学院 A kind of RTP method for detecting packet loss

Similar Documents

Publication Publication Date Title
US11381625B2 (en) Apparatus and method for transmitting multimedia data in hybrid network
CN104918133B (en) A kind of playing method and device for regarding video flowing in networking
EP2062399B1 (en) Method and apparatus for transmitting transport stream packets
CN104247436A (en) Apparatus and method for transmitting and receiving signaling information in a digital broadcasting system
CN103733612B (en) For sending and receiving the method and device of the signaling information for broadcasting service reception in a digital broadcasting system
CN110493351B (en) Video networking access method, device, equipment and storage medium
US7801183B2 (en) Synchronous transmission over packet based network
JP2003338830A (en) Media transmitting method, media receiving method, media transmitter and media receiver
CN106454414B (en) A kind of multipath network method for real-time video transmission
CN106170950B (en) A kind of method for detecting operation state and device of node
CN106063280A (en) Apparatus for transmitting broadcast signal, apparatus for receiving broadcast signal, method for transmitting broadcast signal and method for receiving broadcast signal
CN101159579B (en) Method and terminal of receiving network transport protocol based stream media data
CN110474721A (en) Method of transmitting video data, device and computer readable storage medium
CN101877620A (en) Method, apparatus and system for forward error correction
CN101039325B (en) Method for configuring real-time transmission protocol packet based on mixer
JP2023029415A5 (en)
CN109842821A (en) A kind of method and apparatus of video data transmission
CN102333209A (en) Data transmission method and equipment applied to video monitoring system
CN109845217B (en) Method and apparatus for transmitting data in flexible Ethernet
CN101814973B (en) RTP rapid packet accumulation method based on AMR audio frame
CN102217237B (en) Method and device for medium stream performance monitoring
CN103339930A (en) Method and apparatus for managing content distribution over multiple terminal devices in collaborative media system
CN106506438A (en) A kind of method and device for obtaining quality of service information
CN108632565A (en) Transmission method, playback method, device and the conference facility of video code flow
CN103024369B (en) Transmitting terminal, terminal, the system and method for hierarchical coding multiplexing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315

RJ01 Rejection of invention patent application after publication