CN101662839A - Method for increasing connection rate of wireless streaming media system - Google Patents
Method for increasing connection rate of wireless streaming media system Download PDFInfo
- Publication number
- CN101662839A CN101662839A CN200910190138A CN200910190138A CN101662839A CN 101662839 A CN101662839 A CN 101662839A CN 200910190138 A CN200910190138 A CN 200910190138A CN 200910190138 A CN200910190138 A CN 200910190138A CN 101662839 A CN101662839 A CN 101662839A
- Authority
- CN
- China
- Prior art keywords
- play
- server
- client
- streaming media
- session
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/612—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a method for increasing a connection rate of a wireless streaming media system, wherein the streaming media system comprises a client terminal and a server. Data is transmitted based on a RTSP protocol. The method comprises the steps of: A1) sending a DESCRIBE requirement to the server by the client terminal for the purpose of acquiring a dialog descriptor SDP, A2) responding the dialog descriptor to the client terminal by the server, B1) sending an improved PLAY requirement to the server by the client terminal, B2) responding the improved PLAY information by the client terminal and the server, C1) sending a close requirement by the client terminal, and C2) responding the close requirement by the server.
Description
[technical field]
The present invention relates to mobile communication technology, particularly a kind of method that improves connection rate of wireless streaming media system.
[background technology]
Along with the arrival in 3G epoch, the mobile video communication field of one of its important application will get more and more and be subjected to people's attention, and the streaming media service in the video communication also becomes degree of being annotated and the highest business of utilization rate.At present, rapid based on the Streaming Media application development of RTSP agreement, the correlation technique of transmission Streaming Media becomes focus on Internet.
RTSP flow process standard, friendly will pass through six processes shown in Figure 1 in the prior art, considers that a last reciprocal process is mutual when stopping to play, and the reciprocal process of playing a program so also reaches five.Under wired IP network environment, network delay is generally Millisecond, finishes these five reciprocal processes and generally can be less than three seconds, within user's acceptable scope, and can not influence user's experience effect.But the network delay under the wireless network environment is in level second, and as present GPRS network, the time-delay of its transmission data is a second level scope.Under the overwhelming majority time, the average whole time-delay of GPRS data communication is about 2 seconds.That is to say that the packet that sends from GPRS DTU end will roughly arrive data center after 2 seconds.Otherwise the packet from data also roughly arrives GPRS DTU after 2 seconds.If network delay is 1 second, the time of finishing these five reciprocal processes just needs 10 seconds, has a strong impact on user's use and experience effect.This patent proposes a kind of improved rtsp exchange method, manages to reduce the interaction times of rtsp in wireless network, reduces total connecting the time, thereby improves the user experience effect.
Real Time Streaming Protocol or RTSP (real-time stream media protocol) are to solve the application layer protocol that transmits stream medium data how effectively on IP network.RTSP provides a kind of extendible framework, allows to provide to control, and transmitting real-time data as required is such as the Voice ﹠ Video file.Source data can comprise the feedback of field data and the file of storage.Rtsp provides such as time-out Streaming Media, controls such as F.F., and itself does not transmit data, the rtsp effect is equivalent to the Long-distance Control of streaming media server.The transmission data can be by the tcp of transport layer, the udp agreement, and rtsp also provides some effective methods based on the rtp transmission mechanism.
The instantiationization of the reciprocal process among Fig. 1 is as follows:
The RTSP message format:
The message of RTSP has two big classes, the one, request message (request), the one, receive the response (response), the form difference of two kinds of message.
Request message:
Method URI RTSP version CR LF
Message header CR LF CR LF
Message body CR LF
The RTSP exchange method:
1、OPTION
Purpose is to obtain the methods availalbe that server provides:
OPTIONS?rtsp://192.168.20.136:5000/xxx666RTSP/1.0
CSeq:1 // each message all has sequence number to come mark, and first wraps normally option
Request message
User-Agent:QTS..qtver=6.5.1..os=Windows?NT?5.1?Service?Pack?2..
The certain methods that provides is provided the echo message of server, for example:
RTSP/1.0200?OK
Server:UServer?0.9.7_rc1
The cseq of Cseq:1 // each cseq numerical value of receiveing the response and request message is relative
Should
Public:OPTIONS,DESCRIBE,SETUP,TEARDOWN,PLAY,PAUSE,SCALE,
The available method that GET_PARAMETER//server provides
2、DESCRIBE
Client initiates the DESCRIBE request to Server, in order to obtain session description information (SDP):
DESCRIBE?rtsp://192.168.20.136:5000/xxx666RTSP/1.0
CSeq:2
token:
Accept:application/sdp
User-Agent:QTS..qtver=6.5.1..os=Windows?NT?5.1Service?Pack?2..
Some descriptors of server response (sdp) to this session:
RTSP/1.0200?OK
Server:UServer?0.9.7_rc1
Cseq:2
x-prev-url:rtsp://192.168.20.136:5000
x-next-url:rtsp://192.168.20.136:5000
x-Accept-Retransmi?t:our-retransmit
x-Accept-Dynamic-Rate:1
Cache-Control:must-revalidate
Last-Modified:Fri,10?Nov?2006?12:34:38GMT
Date:Fri,10?Nov?200612:34:38?GMT
Expires:Fri,10?Nov?200612:34:38GMT
Content-Base:rtsp://192.168.20.136:5000/xxx666/
Content-Length:344
Content-Type:application/sdp
V=0 // following is a sdp information
o=OnewaveUServerNG?1451516402?1025358037?IN?IP4?192.168.20.136
s=/xxx666
u=http:///
e=admin@
c=IN?IP40.0.0.0
t=00
a=isma-compliance:1,1.0,1
a=range:npt=0-
M=vi deo 0RTP/AVP 96 //the m presentation medium is described, and is to video channel in the session below
Media description
a=rtpmap:96MP4V-ES/90000
a=fmtp:96
profile-level-id=245;config=000001B0F5000001B50900000100000001
2000C888B0E0E0FA62D089028307
A=control:trackID=0 //trackID=0 represents that video flowing uses is passage 0
3、SETUP
Client reminds Server to set up session, and definite transmission mode:
SETUP?rtsp://192.168.20.136:5000/xxx666/trackID=0RTSP/1.0
CSeq:3
Transport:RTP/AVP/TCP;unicast;interleaved=0-1
User-Agent:QTS..qtver=6.5.1..os=Windows?NT?5.1Service?Pack?2..
Server response information:
RTSP/1.0200?OK
Server:UServer?0.9.7_rc1
Cseq:3
The Session ID of Session:6310936469860791894 // server response
Cache-Control:no-cache
Transport:RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=6B8B4567
4、PLAY
Client sends playing request:
PLAY?rtsp://192.168.20.136:5000/xxx666RTSP/1.0
CSeq:4
Session:6310936469860791894
Range:npt=0.000-// the be provided with scope of reproduction time
User-Agent:QTS..qtver=6.5.1..os=Windows?NT?5.1Service?Pack?2..
Server response information:
RTSP/1.0200?OK
Server:UServer?0.9.7_rc1
Cseq:4
Session:6310936469860791894
Range:npt=0.000000-
RTP-Info:url=trackID=0;seq=17040;rtptime=1467265309 //seq
With rtptime all be information in the rtp bag
5、TEARDOWN
Client is initiated turn-off request:
TEARDOWN?rtsp://192.168.20.136:5000/xxx666RTSP/1.0
CSeq:5
Session:6310936469860791894
User-Agent:QTS..qtver=6.5.1..os=Windows?NT?5.1Service?Pack?2..
Server response:
RTSP/1.0200?OK
Server:UServer?0.9.7_rc1
Cseq:5
Session:6310936469860791894
Connection:Close
By above a plurality of back and forth reciprocal processes, will increase the network delay time greatly, Given this, be necessary to propose a kind of new technical scheme in fact.
[summary of the invention]
The object of the invention is, proposes a kind of scheme of improving mobile phone end points broadcasting flow-medium server connection speed, can accelerate the speed that the mobile phone end connects streaming media server, and improves user's experience effect.
In order to realize above purpose, a kind of method that improves connection rate of wireless streaming media system of the present invention, described stream media system comprises client and server, described method is characterized in that based on RTSP protocol transmission data described method is as follows:
A1: client is initiated the DESCRIBE request to service end, obtaining session description information SDP,
A2: server is to the descriptor of client response to this session;
B1: the PLAY request of client after the improvement that service end sends,
B2: the server and client side responds the PLAY information after the improvement.
Prior art has reduced the network delay time relatively, thereby shortens user's stand-by period, has improved user's experience effect greatly.
[description of drawings]
Fig. 1 is RTSP flow process reciprocal process schematic diagram standard, friendly in the prior art;
Fig. 2 is the inventive method RTSP flow process reciprocal process schematic diagram.
[embodiment]
Can see from the reciprocal process of prior art, this method of OPTION only provides a query function, server tells which available method is client have, in order to adapt to the big characteristics of time-delay in wireless, omit this method of OPTION when streaming media server is applied to wireless network in the methods of the invention.This method of DESCRIBE is some information of setting up session and obtaining medium, comprises some information of the media file that client will play, and this process is necessary.
This method of SETUP is to set up session and transmission method, and audio frequency and video needs secondary reciprocal process.The PLAY method is used for announcement server and begins playing media.Consider the actual conditions of wireless network, be to set up session and transmission method with this method of SETUP in the methods of the invention, and audio frequency and video needs three reciprocal processes of reciprocal process of secondary reciprocal process and PLAY method to integrate, with a function of finishing above-mentioned three methods alternately.Specific as follows:
Client sends the PLAY method of improved immediately after receiving the response bag of DESCRIBE method, the trackID (positional information) that in this method of PLAY, comprises the medium that client will play, medium comprise video and audio frequency, or wherein any one, video no longer separates transmission with the session information of audio frequency, but sends together.Also comprise the pattern of transmission and the time of initial broadcast in the PLAY method.In the echo message of streaming media server, then comprise the affirmation of transmission mode and the session channel of media data, the middle initial time stamp of the homing sequence in the media data packet number and media data packet, wherein medium comprise video and audio frequency, or wherein any, video no longer separates transmission with the session information of audio frequency.
After the said method improvement, actual reciprocal process such as Fig. 2 of client and server.
RTSP reciprocal process after the improvement
PLAY order after the improvement
PLAY request after the improvement that client sends:
PLAY?rtsp://192.168.20.136:5000/xxx666/trackID=0;trackID=1RTSP/1.0
CSeq:4
Session:6310936469860791894
Range:npt=0.000-// the be provided with scope of reproduction time
Transport:RTP/AVP/TCP;unicast;interleaved=0-1
User-Agent:QTS..qtver=6.5.1..os=Windows?NT?5.1Service?Pack?2..
PLAY information after server response improves:
RTSP/1.0200?OK
Server:UServer?0.9.7_rc1
Cseq:4
Session:6310936469860791894
Range:npt=0.000000-
RTP-Info:url=trackID=0;seq=17040;rtptime=1467265309;url=trackID=1;se
Q=1; Rtptime=0//seq and rtptime are the information in the rtp bag
Transport:RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=6B8B4567
With respect to the prior art among Fig. 1, it is as follows specifically the present invention's method reciprocal process schematic diagram shown in Figure 2 to be done an instantiation:
1、DESCRIBE
Client initiates the DESCRIBE request to Server, in order to obtain session description information (SDP):
DESCRIBE?rtsp://192.168.20.136:5000/xxx666RTSP/1.0
CSeq:2
token:
Accept:application/sdp
User-Agent:QTS..qtver=6.5.1..os=Windows?NT?5.1Service?Pack?2..
Some descriptors of server response (sdp) to this session:
RTSP/1.0200?OK
Server:UServer?0.9.7_rc1
Cseq:2
x-prev-url:rtsp://192.168.20.136:5000
x-next-url:rtsp://192.168.20.136:5000
x-Accept-Retransmit:our-retransmit
x-Accept-Dynamic-Rate:1
Cache-Control:must-revalidate
Last-Modified:Fri,10?Nov?2006?12:34:38GMT
Date:Fri,10?Nov?200612:34:38GMT
Expires:Fri,10?Nov?200612:34:38GMT
Content-Base:rtsp://192.168.20.136:5000/xxx666/
Content-Length:344
Content-Type:application/sdp
V=0 // following is a sdp information
o=OnewaveUServerNG?1451516402?1025358037?IN?IP4?192.168.20.136
s=/xxx666
u=http:///
e=admin@
c=IN?IP40.0.0.0
t=00
a=isma-compliance:1,1.0,1
a=range:npt=0-
M=vi deo 0RTP/AVP 96 //the m presentation medium is described, and is to video channel in the session below
Media description
a=rtpmap:96?MP4V-ES/90000
a=fmtp:96
profile-level-id=245;config=000001B0F5000001B50900000100000001
2000C888B0E0E0FA62D089028307
A=control:trackID=0 //trackID=0 represents that video flowing uses is passage 0
2、PLAY
PLAY request after the improvement that client sends:
PLAY rtsp://192.168.20.136:5000/xxx666/trackID=0;trackID=1
RTSP/1.0
CSeq:4
Session:6310936469860791894
Range:npt=0.000-// the be provided with scope of reproduction time
Transport:RTP/AVP/TCP;unicast;interleaved=0-1
User-Agent:QTS..qtver=6.5.1..os=Windows?NT?5.1Service?Pack?2..
PLAY information after server response improves:
RTSP/1.0?200?OK
Server:UServer?0.9.7_rc1
Cseq:4
Session:6310936469860791894
Range:npt=0.000000-
RTP-Info:url=trackID=0;seq=17040;rtptime=1467265309;url=trackI
D=1; Seq=1; Rtptime=0 //seq and rtptime are the information in the rtp bag
Transport:RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=6B8B4567
3、TEARDOWN
Client is initiated turn-off request:
TEARDOWN?rtsp://192.168.20.136:5000/xxx666RTSP/1.0
CSeq:5
Session:6310936469860791894
User-Agent:QTS..qtver=6.5.1..os=Windows?NT?5.1Service?Pack?2..
Server response:
RTSP/1.0200?OK
Server:UServer?0.9.7_rc1
Cseq:5
Session:6310936469860791894
Connection:Close
Through behind the method improvement as herein described, six reciprocal processes of present RTSP are reduced to three, do not consider to play the words (because this reciprocal process can not have influence on the user when beginning to play stand-by period) of the reciprocal process when finishing, reciprocal process after that improves just has two to the greatest extent, if network delay is 1 second, only need just can finish the mutual of streaming media server and client in 4 seconds, if network delay is 0.5 second, this process will be reduced to 2 seconds, thereby shorten user's stand-by period, improved user's experience effect greatly.
In the above-described embodiments, only the present invention has been carried out exemplary description, but those skilled in the art can design various execution modes according to different actual needs under the situation of the scope and spirit that do not break away from the present invention and protected.
Claims (6)
1. method that improves connection rate of wireless streaming media system, described stream media system comprises client and server, described method is characterized in that based on RTSP protocol transmission data described method is as follows:
A1: client is initiated the DESCRIBE request to service end, obtaining session description information SDP,
A2: server is to the descriptor of client response to this session;
B1: the PLAY request of client after the improvement that service end sends,
B2: the server and client side responds the PLAY information after the improvement.
2, the method for raising connection rate of wireless streaming media system as claimed in claim 1, it is characterized in that: the PLAY method that the PLAY information after PLAY request after the improvement of described transmission and response improve is called after the improvement is, PLAY method after this improvement is as follows: need three reciprocal processes of reciprocal process of secondary reciprocal process and PLAY method to integrate the audio frequency and video of SETUP method, merge into a function of finishing above-mentioned three methods alternately, wherein said SETUP method is to set up session and transmission method.
3, the method for raising connection rate of wireless streaming media system as claimed in claim 1 is characterized in that: described method also comprises:
C1: client is initiated turn-off request,
C2: service end is responded turn-off request.
4, the method for raising connection rate of wireless streaming media system as claimed in claim 1, it is characterized in that: client sends the PLAY method of improved immediately after receiving the response bag of DESCRIBE method, the trackID that comprises the medium that client will play in this method of PLAY is a position information, medium comprise video and audio frequency, or wherein any one, video no longer separates transmission with the session information of audio frequency, but sends together.
5, the method for raising connection rate of wireless streaming media system as claimed in claim 2 is characterized in that: also comprise the pattern of transmission and the time of initial broadcast in the described PLAY method.In the echo message of streaming media server, then comprise the affirmation of transmission mode and the session channel of media data, the middle initial time stamp of the homing sequence in the media data packet number and media data packet, wherein medium comprise video and audio frequency, or wherein any, video no longer separates transmission with the session information of audio frequency.
6, the method for raising connection rate of wireless streaming media system as claimed in claim 1 is characterized in that: the network delay time is 1 second, and then the network delay time of two reciprocal process accumulations is 4 seconds.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910190138A CN101662839A (en) | 2009-09-09 | 2009-09-09 | Method for increasing connection rate of wireless streaming media system |
PCT/CN2009/076340 WO2011029257A1 (en) | 2009-09-09 | 2009-12-31 | Method for improving connection speed of wireless streaming media system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910190138A CN101662839A (en) | 2009-09-09 | 2009-09-09 | Method for increasing connection rate of wireless streaming media system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101662839A true CN101662839A (en) | 2010-03-03 |
Family
ID=41790511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910190138A Pending CN101662839A (en) | 2009-09-09 | 2009-09-09 | Method for increasing connection rate of wireless streaming media system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101662839A (en) |
WO (1) | WO2011029257A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101867889A (en) * | 2010-06-04 | 2010-10-20 | 尹绍华 | Method and system for realizing video coloring ring back tones |
WO2017193651A1 (en) * | 2016-05-10 | 2017-11-16 | 中兴通讯股份有限公司 | Terminal control method and apparatus |
CN111107445A (en) * | 2018-10-29 | 2020-05-05 | 浙江宇视科技有限公司 | Media protocol stream optimization method and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101212407A (en) * | 2006-12-28 | 2008-07-02 | 中兴通讯股份有限公司 | Multicast channel quick start method |
CN101378537B (en) * | 2007-08-30 | 2011-12-07 | 中兴通讯股份有限公司 | Method for shortening actuation time when playing mobile stream medium business |
-
2009
- 2009-09-09 CN CN200910190138A patent/CN101662839A/en active Pending
- 2009-12-31 WO PCT/CN2009/076340 patent/WO2011029257A1/en active Application Filing
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101867889A (en) * | 2010-06-04 | 2010-10-20 | 尹绍华 | Method and system for realizing video coloring ring back tones |
WO2017193651A1 (en) * | 2016-05-10 | 2017-11-16 | 中兴通讯股份有限公司 | Terminal control method and apparatus |
CN111107445A (en) * | 2018-10-29 | 2020-05-05 | 浙江宇视科技有限公司 | Media protocol stream optimization method and system |
CN111107445B (en) * | 2018-10-29 | 2023-04-18 | 浙江宇视科技有限公司 | Media protocol stream optimization method and system |
Also Published As
Publication number | Publication date |
---|---|
WO2011029257A1 (en) | 2011-03-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101573943B (en) | Media channel management | |
CN1846420B (en) | Transmission of embedded information relating to a quality of service | |
EP2241078B1 (en) | Method and internet protocol television (iptv) content manager server for iptv servicing | |
US8230044B2 (en) | Media channel management | |
CN101946458B (en) | Delivery of multicast data | |
CN101083605B (en) | Method, system and apparatus for quick switching media source | |
US20100082824A1 (en) | Program network recording method, media processing server and network recording system | |
JP2008530835A (en) | On-demand multi-channel streaming sessions over packet-switched networks | |
US20080263219A1 (en) | Method and System to Minimize the Switching Delay Between Two Rtp Multimedia Streaming Sessions | |
CN101018318A (en) | A stream media system, signaling forward device and stream media transmission method | |
CN101632286A (en) | Enhanced quality reporting for transmission sessions | |
CN101674228B (en) | Method, device and system for realizing streaming media communication | |
CN101442537A (en) | Method and system for network stream medium living broadcast based on RTSP protocol | |
KR100891745B1 (en) | Method and apparatus of providing video on demand service based on ip multimedia subsystem | |
CN101378492B (en) | Method, system and entity for implementing network REC | |
EP2314048A1 (en) | Fast content switching in a communication system | |
CN102761550B (en) | Realize the method for streaming media service, Apparatus and system | |
CN101662839A (en) | Method for increasing connection rate of wireless streaming media system | |
CN101188601B (en) | A method for quickly sending and receiving multimedia data | |
CN101202640A (en) | Method and device for stream media data playing control | |
CN101453474B (en) | Terminal, information inserting system and method | |
WO2009132564A1 (en) | Play controlling method, device and system | |
CN101340604A (en) | Method and system for implementing voice inter-communication in video monitoring | |
CN101635716B (en) | Method and system for remotely controlling network audio/video coder | |
CN101355552A (en) | Method and apparatus for controlling stream medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20100303 |