CN103139188B - Flow-medium transmission method and system - Google Patents

Flow-medium transmission method and system Download PDF

Info

Publication number
CN103139188B
CN103139188B CN201110398096.8A CN201110398096A CN103139188B CN 103139188 B CN103139188 B CN 103139188B CN 201110398096 A CN201110398096 A CN 201110398096A CN 103139188 B CN103139188 B CN 103139188B
Authority
CN
China
Prior art keywords
stream
files
data block
client
medium data
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.)
Active
Application number
CN201110398096.8A
Other languages
Chinese (zh)
Other versions
CN103139188A (en
Inventor
翁颐
姚良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201110398096.8A priority Critical patent/CN103139188B/en
Publication of CN103139188A publication Critical patent/CN103139188A/en
Application granted granted Critical
Publication of CN103139188B publication Critical patent/CN103139188B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of flow-medium transmission method and system, wherein, method comprises: streaming media server receives the files in stream media playing request that client sends, the stream medium data block being m+k to client transmissions content size with the maximum achievable rate V of network, and from t 0+ t rises, and using t as transmission cycle, starts respectively at the initial time in each cycle, the stream medium data block being k to client transmissions content size with the maximum achievable rate V of network; The stream medium data block that client receiving stream media server sends buffer memory, and when the stream medium data block content size of buffer memory reaches m, with the code rate V of files in stream media 0as constant stream rate, start the files in stream media playing buffer memory.The embodiment of the present invention can improve the video display effect of client in Real Time Streaming mode, and reduces the waste of network and server resource in sequential control design method mode.

Description

Flow-medium transmission method and system
Technical field
The present invention relates to stream media technology, especially a kind of flow-medium transmission method and system.
Background technology
Streaming Media refers to the media formats adopting the mode of stream transmission to play at the Internet (Internet) or Intranet (Intranet), such as: audio frequency, video or multimedia file.Stream transmission mainly refers to that streaming media server is by whole audio/video (Audio/Video, hereinafter referred to as: A/V), 3-D graphic (three-dimensional, hereinafter referred to as: 3D) etc. files in stream media is compressed into compressed package one by one through specific coded system, sequentially, in real time send client to, be generally subscriber computer.In recent years, along with the fast development of all kinds of video traffics such as network direct broadcasting, long-distance education, video sharing, streaming media transmission technique also becomes study hotspot.
At present, streaming media mode mainly contains Real Time Streaming mode and sequential control design method mode.Wherein, Real Time Streaming mode have can real-time live broadcast, facilitate fast forwarding and fast rewinding, user sees how many, transmit how many advantages, (InternetProtocolTelevision, hereinafter referred to as IPTV) occasion to be mainly used in Web TV; Sequential control design method mode has the advantage high to network harm tolerance, be mainly used in based on HTML (Hypertext Markup Language) (HyperTextTransportProtocol, hereinafter referred to as: HTTP) internet video of mode plays occasion online.
Realizing in process of the present invention, inventor finds that existing above-mentioned two kinds of streaming media modes at least exist following problem:
Real Time Streaming mode is more responsive to network harm, if Internet Transmission is in poor shape, such as, there are network layer shake, packet loss etc., will cause files in stream media loss of data or Transmission, delay, thus affect the video display effect of client.In sequential control design method mode, owing to the files in stream media of client terminal playing and streaming media server transmitting files in stream media and asynchronous, and exist due to user viewing less thus play less and streaming media server transmission transport stream media file many may, this will cause the waste of finite element network and server resource.
Summary of the invention
Embodiment of the present invention technical problem to be solved is: provide a kind of flow-medium transmission method and system, to improve the video display effect of client in Real Time Streaming mode, and reduces the waste of network and server resource in sequential control design method mode.
A kind of flow-medium transmission method that the embodiment of the present invention provides, comprising:
Streaming media server receives the files in stream media playing request that client sends, the stream medium data block being m+k to client transmissions content size with the maximum achievable rate V of network, and from t 0+ t rises, using t as transmission cycle, start at the initial time in each cycle respectively, the stream medium data block being k to client transmissions content size with the maximum achievable rate V of network, until files in stream media end of transmission or receive client send stopping playing request; Wherein, each stream medium data block is generated according to playing sequence successively by files in stream media, and m+k is the size of client-cache capacity; t 0value be the ratio of m and the average achievable rate of network, the value of t is the code rate V of k and files in stream media 0ratio;
The stream medium data block that client receiving stream media server sends buffer memory, and when the stream medium data block content size of buffer memory reaches m, with the code rate V of files in stream media 0as constant stream rate, start the files in stream media playing buffer memory, until files in stream media finishes or receive the stopping playing request that user sends.
A kind of stream media transmission system that the embodiment of the present invention provides, comprising:
Streaming media server, for receiving the files in stream media playing request that client sends, the stream medium data block being m+k to client transmissions content size with the maximum achievable rate V of network, and from t 0+ t rises, using t as transmission cycle, start at the initial time in each cycle respectively, the stream medium data block being k to client transmissions content size with the maximum achievable rate V of network, until files in stream media end of transmission or receive client send stopping playing request; Wherein, each stream medium data block is generated according to playing sequence successively by files in stream media, and m+k is the size of client-cache capacity; t 0value be the ratio of m and the average achievable rate of network, the value of t is the code rate V of k and files in stream media 0ratio;
Client, for receiving the files in stream media playing request of user's transmission and stopping playing request and be transmitted to described streaming media server; The stream medium data block that receiving stream media server sends buffer memory, and when the stream medium data block content size of buffer memory reaches m, with the code rate V of files in stream media 0as constant stream rate, start the files in stream media playing buffer memory, until files in stream media finishes or receive the stopping playing request that user sends.
The flow-medium transmission method provided based on the above embodiment of the present invention and system, after streaming media server receives the files in stream media playing request of client transmission, with the stream medium data block that the maximum achievable rate V of network is m+k to client transmissions content size, and from t 0+ t rises, using t as transmission cycle, start at the initial time in each cycle respectively, transmit with the maximum achievable rate V of network the stream medium data block that a content size is k, until files in stream media end of transmission or receive client send stopping playing request; Client receiving stream media server send stream medium data block and buffer memory, when the stream medium data block content size of buffer memory reaches m, with the code rate V of files in stream media 0as constant stream rate, start playing stream media file.Streaming media server is with the maximum achievable rate V of network but not the code rate V of files in stream media 0to client transmissions stream medium data block, due to the existence of network bandwidth surplus, network maximum achievable rate V and the average achievable rate of network are greater than the code rate V of files in stream media usually 0, and t 0value be the ratio of m and the average achievable rate of network, the value of t is the code rate V of k and files in stream media 0ratio, therefore, compared with prior art, the embodiment of the present invention will possess shorter files in stream media and play start-up time, reduce the time that user etc. is to be played; And, because streaming media files carries out piecemeal point periodic transfer, and transmission rate is separated with code rate, decline even if reached at the bandwidth of network is instantaneous, also the transmission rate of stream medium data block can only temporarily be affected, and packet loss can not be there is, the video display effect of client can't be affected, higher to network harm tolerance, improve the video display effect of client in Real Time Streaming mode, bring better stream media quality and viewing experience to user, and decrease the waste to network and server resource in sequential control design method mode.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of a flow-medium transmission method of the present invention embodiment;
Fig. 2 is a schematic diagram of prior art Real Time Streaming mode;
Fig. 3 is a schematic diagram of transmission means in flow-medium transmission method of the present invention;
Fig. 4 is the flow chart of another embodiment of flow-medium transmission method of the present invention;
Fig. 5 is the structural representation of a stream media transmission system of the present invention embodiment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the flow chart of a flow-medium transmission method of the present invention embodiment.As shown in Figure 1, the flow-medium transmission method of this embodiment comprises:
101, streaming media server receives the files in stream media playing request that client sends, the stream medium data block being m+k to client transmissions content size with the maximum achievable rate V of network, and from t 0+ t rises, using t as transmission cycle, start at the initial time in each cycle respectively, the stream medium data block being k to client transmissions content size with the maximum achievable rate V of network, until files in stream media end of transmission or receive client send stopping playing request.
Wherein, each stream medium data block is generated according to playing sequence successively by files in stream media, and m+k is the size of client-cache capacity; t 0value be the ratio of m and the average achievable rate of network, the value of t is the code rate V of k and files in stream media 0ratio.Files in stream media wherein can be any one or multiple composition file in audio file, video file, audio-video document, 3D file.
102, the stream medium data block that client receiving stream media server sends buffer memory, and when the stream medium data block content size of buffer memory reaches m, with the code rate V of files in stream media 0as constant stream rate, start the files in stream media playing buffer memory, until the files in stream media of buffer memory finishes or receive the stopping playing request that user sends.
In the flow-medium transmission method that the above embodiment of the present invention provides, after streaming media server receives the files in stream media playing request of client transmission, the stream medium data block being m+k to client transmissions content size with the maximum achievable rate V of network, and from t 0+ t rises, using t as transmission cycle, start at the initial time in each cycle respectively, transmit with the maximum achievable rate V of network the stream medium data block that a content size is k, until files in stream media end of transmission or receive client send stopping playing request; Client receiving stream media server send stream medium data block and buffer memory, when the stream medium data block content size of buffer memory reaches m, with the code rate V of files in stream media 0as constant stream rate, start playing stream media file.Streaming media server is with the maximum achievable rate V of network but not the code rate V of files in stream media 0to client transmissions stream medium data block, due to the existence of network bandwidth surplus, network maximum achievable rate V and the average achievable rate of network are greater than the code rate V of files in stream media usually 0, and t 0value be the ratio of m and the average achievable rate of network, the value of t is the code rate V of k and files in stream media 0ratio, therefore, compared with traditional Real Time Streaming mode, the embodiment of the present invention will possess shorter files in stream media and play start-up time, reduce the time that user etc. is to be played; And, because streaming media files carries out piecemeal point periodic transfer, and transmission rate is separated with code rate, decline even if reached at the bandwidth of network is instantaneous, also the transmission rate of stream medium data block can only temporarily be affected, and packet loss can not be there is, the video display effect of client can't be affected, higher to network harm tolerance, improve the video display effect of client in Real Time Streaming mode, bring better stream media quality and viewing experience to user, and decrease the waste to network and server resource in sequential control design method mode.
Fig. 2 is a schematic diagram of prior art Real Time Streaming mode.As shown in Figure 2, in traditional Real Time Streaming mode, files in stream media is packaged as little RTP by rogue's media server, and (RealTimeProtocol, hereinafter referred to as RTP) packet, always with code rate V 0as constant stream rate, based on User Datagram Protoco (UDP) (UserDatagramProtocol, hereinafter referred to as: UDP) be transferred to client.If network instantaneous bandwidth is also that the maximum achievable rate of network is lower than code rate V 0, then can there is packet loss at once, affect play quality.Therefore, in actual use, the network bandwidth of reserved certain surplus is often needed.Again due to, streaming media server end in fact always with constant rate of speed V 0transport stream media data packet, the network bandwidth of this part surplus, when not having network bursting problem, is always wasted.
Fig. 3 is a schematic diagram of transmission means in flow-medium transmission method of the present invention.As shown in Figure 3, in the embodiment of the present invention, the stream medium data block k of each immobilized substance size is at each transmission cycle t 0the starting point of+nt starts to be transferred to client, and wherein, n is the secondary ordinal number of transmission cycle, the value of n be greater than 0 integer.According to the difference of achievable rate maximum during network implementation, end of transmission within the different time.As long as the average achievable rate of the network in transmission cycle t is greater than V 0, each stream medium data block k can in each transmission cycle transmission in advance complete.
Fig. 4 is the flow chart of a flow-medium transmission method of the present invention embodiment.As shown in Figure 4, the flow-medium transmission method of this embodiment comprises:
201, streaming media server receives the files in stream media playing request that client sends.
202, streaming media server compresses the files in stream media that client-requested is play according to playing sequence in pre-arranged code mode, generates the stream medium data block that stream medium data block that content size is m+k and multiple content size are k successively.
Wherein, m+k is the size of client-cache capacity, can be pre-configured in streaming media server.Can regard client-cache as and be divided into the region that two amount of capacity are respectively k and m, m is in the files in stream media content size needing to cushion in advance before user's playing stream media file.The ratio of k and m is adjustable, can choose by empirical value, and such as, the ratio of desirable k and m is 1: 4, that is: the files in stream media content size that client prestores accounts for 20% of client-cache size.
In addition, as other embodiments of the invention, streaming media server also can adopt limit to generate the mode of stream medium data block limit transmission, instead of is transferred to client again after by the time files in stream media all being generated stream medium data block.
203, the stream medium data block that streaming media server is m+k with the maximum achievable rate V of network to client transmissions content size.
204, client receiving stream media server send stream medium data block and buffer memory, at moment point t 0the stream medium data block content size received reaches m, with the code rate V of files in stream media 0as constant stream rate, start playing stream media file, and continue stream medium data block that receiving stream media server sends and buffer memory.
Wherein, t 0value be the ratio of m and the average achievable rate of network.Exemplarily, the average achievable rate of network is greater than code rate V 0, the average achievable rate of this network can by streaming media server after receiving files in stream media playing request, and the instantaneous achievable rate of network according to certain a period of time before obtains, and also can obtain from other network entities such as network management servers.
Before user watches files in stream media, a part of content size that first prestores in client-cache is the files in stream media content of m.Can find out, if the moment sending files in stream media playing request using user is as 0 moment, 0 ~ t 0time span be the startup time delay of files in stream media program request, in the embodiment of the present invention, this partial content first prestored in client-cache transmits with the maximum achievable rate V of network, and need not with code rate V 0transmission, t 0value be the ratio of m and the average achievable rate of network, due to the existence of network bandwidth surplus, the average achievable rate of network should be greater than V usually 0, that is, the startup time delay of files in stream media program request in the embodiment of the present invention by lower than traditional Real Time Streaming mode, thus decreases the stand-by period of user.
At present, under traditional Real Time Streaming mode, with constant rate of speed V 0transmitting video files, network reservation bandwidth must be greater than V 0.Such as, SD IPTV code rate is 1.6M, and the network bandwidth being actually allocated to IPTV is generally 2M.Under tradition Real Time Streaming mode, if network reservation bandwidth just in time equals V 0=1.6M, any small network bandwidth floats all can cause packet loss, thus affects video playing quality.Therefore, generally distribute slightly larger than code rate V 0bandwidth, make to only have and just can cause packet loss when there is the larger network bandwidth and floating.In the embodiment of the present invention, under the condition identical with traditional Real Time Streaming mode, that is: network actual bandwidth is greater than code rate V 0when.If network actual bandwidth is 2M, and streaming media server is in the mode of doing one's best, instead of the mode of speed limit sends stream medium data block, then the transmission speed of this stream medium data block will be greater than V 0=1.6M, thus the start-up time reducing files in stream media program request.
205, streaming media server is from t 0+ t rises, using t as transmission cycle, start at the initial time in each cycle respectively, the stream medium data block being k to client transmissions content size with the maximum achievable rate V of network, until files in stream media end of transmission or receive client send stopping playing request.
Wherein, the value of t is the code rate V of k and files in stream media 0ratio.
After client often receives a stream medium data block, all can carry out independent decoding to this stream medium data block, when the average achievable rate of network is greater than the code rate of files in stream media, stream medium data block the files in stream media content in its correspondence is watched by user complete before be transmitted.Because media data block is downloaded complete in advance, when network exists certain shake, the broadcasting of client streaming media files can't be affected.
206, client receiving stream media server send stream medium data block and buffer memory, with the code rate V of files in stream media 0as constant stream rate playing stream media file, until files in stream media finishes or receives the stopping playing request that user sends.If client receives the stopping playing request that user sends, also this stopping playing request being transmitted to streaming media server, so that streaming media server stops transport stream media data block.
In the embodiment of the present invention, streaming media files carries out block transmission, and transmission rate is separated with code rate, and the transmission rate of data block depends on the network bandwidth at that time, and not with code rate V 0transmission, decline even if reached at the bandwidth of network is instantaneous, also the transmission rate of stream medium data block can only temporarily be affected, and packet loss can not be there is, the video display effect of client can't be affected, higher to network harm tolerance, improve the video display effect of client in Real Time Streaming mode, better streaming media playing quality and viewing experience is brought to user, and, owing to adopting piecemeal periodically to transmit, decrease the waste to network and server resource in sequential control design method mode.
As shown in Figure 1, under traditional Real Time Streaming mode, suppose that streaming media server is with V 0=1.6M speed is to client transmissions video data, once the network rate that moment occurs drops to the situation of V=1.5M, then in this 1 second, the video data of 0.1M will be lost in a network, cannot be received by client, thus affect decoding effect and the play quality of client.And as shown in Figure 2, with t 0+ t to t 0this transmission cycle of+2t is example, and before whole stream medium data Bulk transport completes, the network bandwidth in some time declines instantaneously and transmission rate drops to and is less than V 0as long as but whole stream medium data block is transmitted within the t time interval, of short duration transmission rate declines does not affect the overall transfer effect of files in stream media, and, occur in time dead that whole stream medium data block has been transmitted if the network bandwidth declines, more can not there is any have impact on to transmission, just streaming media files result of broadcast can not bring any impact.
Unrestricted according to an example of the present invention, in the flow-medium transmission method of the various embodiments described above of the present invention, streaming media server based on transmission control protocol (TransmissionControlProtocol, hereinafter referred to as: TCP) to client transmissions stream medium data block.Utilize TCP retransmission mechanism, packet loss can be reduced in files in stream media transmission of data blocks process, thus the decoding avoiding data-bag lost the to cause problem such as unsuccessfully, improve the play quality of files in stream media and the viewing experience of user.
Fig. 5 is the structural representation of a stream media transmission system of the present invention embodiment.The stream media transmission system of this embodiment can be used in the present invention the flow process of above-mentioned each flow-medium transmission method embodiment.As shown in Figure 5, it comprises streaming media server 1 and client 2.
Wherein, streaming media server 1, for receiving the files in stream media playing request that client 2 sends, the stream medium data block being m+k to client transmissions content size with the maximum achievable rate V of network, and from t 0+ t rises, using t as transmission cycle, start at the initial time in each cycle respectively, transmit to client 2 the stream medium data block that a content size is k with the maximum achievable rate V of network, until files in stream media end of transmission or receive client 2 send stopping playing request; Wherein, each stream medium data block is generated according to playing sequence successively by files in stream media, and m+k is the size of client-cache capacity; t 0value be the ratio of m and the average achievable rate of network, the value of t is the code rate V of k and files in stream media 0ratio.Exemplarily, the average achievable rate of network is greater than code rate V 0.
Client 2, for receiving the files in stream media playing request of user's transmission and stopping playing request and be transmitted to streaming media server 1; The stream medium data block that receiving stream media server 1 sends, and when the stream medium data block content size received reaches m, with the code rate V of files in stream media 0as constant stream rate, start playing stream media file, until files in stream media finishes or receive the stopping playing request that user sends.
In the stream media transmission system that the above embodiment of the present invention provides, after streaming media server receives the files in stream media playing request of client transmission, the stream medium data block being m+k to client transmissions content size with the maximum achievable rate V of network, and from t 0+ t rises, using t as transmission cycle, start at the initial time in each cycle respectively, transmit with the maximum achievable rate V of network the stream medium data block that a content size is k, until files in stream media end of transmission or receive client send stopping playing request; Client receiving stream media server send stream medium data block and buffer memory, when the stream medium data block content size of buffer memory reaches m, with the code rate V of files in stream media 0as constant stream rate, start playing stream media file.Streaming media server is with the maximum achievable rate V of network but not the code rate V of files in stream media 0to client transmissions stream medium data block, due to the existence of network bandwidth surplus, network maximum achievable rate V and the average achievable rate of network are greater than the code rate V of files in stream media usually 0, and t 0value be the ratio of m and the average achievable rate of network, the value of t is the code rate V of k and files in stream media 0ratio, therefore, the embodiment of the present invention will possess shorter files in stream media and play start-up time, reduce the time that user etc. is to be played; And, because streaming media files carries out piecemeal point periodic transfer, and transmission rate is separated with code rate, decline even if reached at the bandwidth of network is instantaneous, also the transmission rate of stream medium data block can only temporarily be affected, and packet loss can not be there is, the video display effect of client can't be affected, higher to network harm tolerance, improve the video display effect of client in Real Time Streaming mode, bring better stream media quality and viewing experience to user, and decrease the waste to network and server resource in sequential control design method mode.
Unrestricted according to an example of stream media transmission system of the present invention, with the above-mentioned flow-medium transmission method embodiment of the present invention correspondingly, streaming media server 1 specifically based on TCP to client transmissions stream medium data block.
Unrestricted according to another example of stream media transmission system of the present invention, with the above-mentioned flow-medium transmission method embodiment of the present invention correspondingly, streaming media server 1 also can be used for obtaining the average achievable rate of network.
Above-mentioned flow-medium transmission method embodiment is correspondingly with the present invention further, unrestricted according to another example of stream media transmission system of the present invention, streaming media server 1 is after the files in stream media playing request receiving client transmission, also can be used for compressing according to playing sequence streaming media files in pre-arranged code mode, generate the stream medium data block that stream medium data block that content size is m+k and multiple content size are k successively.
In this specification, each embodiment all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiment, same or analogous part cross-reference between each embodiment.For system embodiment, because itself and embodiment of the method are substantially corresponding, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
The embodiment of the present invention plays start-up time, the time that minimizing user etc. are to be played by possessing shorter files in stream media; And, because streaming media files carries out piecemeal point periodic transfer, and transmission rate is separated with code rate, decline even if reached at the bandwidth of network is instantaneous, also the transmission rate of stream medium data block can only temporarily be affected, and packet loss can not be there is, the video display effect of client can't be affected, higher to network harm tolerance, improve the video display effect of client in Real Time Streaming mode, bring better stream media quality and viewing experience to user, and decrease the waste to network and server resource in sequential control design method mode.
Description of the invention provides in order to example with for the purpose of describing, and is not exhaustively or limit the invention to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Selecting and describing embodiment is in order to principle of the present invention and practical application are better described, and enables those of ordinary skill in the art understand the present invention thus design the various embodiments with various amendment being suitable for special-purpose.

Claims (10)

1. a flow-medium transmission method, is characterized in that, comprising:
Streaming media server receives the files in stream media playing request that client sends, the stream medium data block being m+k to client transmissions content size with the maximum achievable rate V of network, and from t 0+ t rises, using t as transmission cycle, start at the initial time in each cycle respectively, the stream medium data block being k to client transmissions content size with the maximum achievable rate V of network, until files in stream media end of transmission or receive client send stopping playing request; Wherein, each stream medium data block is generated according to playing sequence successively by files in stream media, and m+k is the size of client-cache capacity; t 0value be the ratio of m and the average achievable rate of network so that client is at moment point t 0the stream medium data block content size received reaches m, and the value of t is the code rate V of k and files in stream media 0ratio;
The stream medium data block that client receiving stream media server sends buffer memory, and when the stream medium data block content size of buffer memory reaches m, with the code rate V of files in stream media 0as constant stream rate, start the files in stream media playing buffer memory, until files in stream media finishes or receive the stopping playing request that user sends.
2. method according to claim 1, is characterized in that, streaming media server based on transmission control protocol TCP to client transmissions stream medium data block.
3. method according to claim 1, is characterized in that, the average achievable rate of described network is greater than code rate V 0.
4. method according to claim 1, is characterized in that, also comprises: streaming media server obtains the average achievable rate of network.
5. the method according to Claims 1-4 any one, it is characterized in that, also comprise: after streaming media server receives the files in stream media playing request of client transmission, compress according to playing sequence streaming media files in pre-arranged code mode, generate the stream medium data block that stream medium data block that content size is m+k and multiple content size are k successively.
6. a stream media transmission system, is characterized in that, comprising:
Streaming media server, for receiving the files in stream media playing request that client sends, the stream medium data block being m+k to client transmissions content size with the maximum achievable rate V of network, and from t 0+ t rises, using t as transmission cycle, start at the initial time in each cycle respectively, the stream medium data block being k to client transmissions content size with the maximum achievable rate V of network, until files in stream media end of transmission or receive client send stopping playing request; Wherein, each stream medium data block is generated according to playing sequence successively by files in stream media, and m+k is the size of client-cache capacity; t 0value be the ratio of m and the average achievable rate of network so that client is at moment point t 0the stream medium data block content size received reaches m, and the value of t is the code rate V of k and files in stream media 0ratio;
Client, for receiving the files in stream media playing request of user's transmission and stopping playing request and be transmitted to described streaming media server; The stream medium data block that receiving stream media server sends buffer memory, and when the stream medium data block content size of buffer memory reaches m, with the code rate V of files in stream media 0as constant stream rate, start the files in stream media playing buffer memory, until files in stream media finishes or receive the stopping playing request that user sends.
7. system according to claim 6, is characterized in that, described streaming media service implement body based on TCP to client transmissions stream medium data block.
8. system according to claim 6, is characterized in that, the average achievable rate of described network is greater than code rate V 0.
9. system according to claim 6, is characterized in that, described streaming media server is also for obtaining the average achievable rate of network.
10. the system according to claim 6 to 9 any one, it is characterized in that, after described streaming media server receives the files in stream media playing request of client transmission, also for compressing according to playing sequence streaming media files with predetermined manner, generate the stream medium data block that stream medium data block that content size is m+k and multiple content size are k successively.
CN201110398096.8A 2011-12-05 2011-12-05 Flow-medium transmission method and system Active CN103139188B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110398096.8A CN103139188B (en) 2011-12-05 2011-12-05 Flow-medium transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110398096.8A CN103139188B (en) 2011-12-05 2011-12-05 Flow-medium transmission method and system

Publications (2)

Publication Number Publication Date
CN103139188A CN103139188A (en) 2013-06-05
CN103139188B true CN103139188B (en) 2016-03-23

Family

ID=48498498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110398096.8A Active CN103139188B (en) 2011-12-05 2011-12-05 Flow-medium transmission method and system

Country Status (1)

Country Link
CN (1) CN103139188B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104427400A (en) * 2013-08-22 2015-03-18 中国电信股份有限公司 Streaming media transmission method and system, and streaming media server
CN110099088B (en) * 2018-01-31 2022-03-08 国广融合(北京)传媒科技发展有限公司 Self-adaptive data transmission method based on fusion transmission system
CN109831679B (en) * 2019-03-12 2021-10-22 北京数码视讯软件技术发展有限公司 Streaming media source returning control method and device and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6665751B1 (en) * 1999-04-17 2003-12-16 International Business Machines Corporation Streaming media player varying a play speed from an original to a maximum allowable slowdown proportionally in accordance with a buffer state
CN1643875A (en) * 2002-03-27 2005-07-20 英国电讯有限公司 Data streaming system and method
CN1790973A (en) * 2004-12-16 2006-06-21 Lg电子株式会社 System and method for controlling transport rate of real time streaming service
CN101005601A (en) * 2007-01-18 2007-07-25 中兴通讯股份有限公司 Stream control method and device for TV conference system
CN101299755A (en) * 2007-04-30 2008-11-05 Vixs系统公司 Multimedia client/server system with adjustable packet size and methods for use therewith

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6665751B1 (en) * 1999-04-17 2003-12-16 International Business Machines Corporation Streaming media player varying a play speed from an original to a maximum allowable slowdown proportionally in accordance with a buffer state
CN1643875A (en) * 2002-03-27 2005-07-20 英国电讯有限公司 Data streaming system and method
CN1790973A (en) * 2004-12-16 2006-06-21 Lg电子株式会社 System and method for controlling transport rate of real time streaming service
CN101005601A (en) * 2007-01-18 2007-07-25 中兴通讯股份有限公司 Stream control method and device for TV conference system
CN101299755A (en) * 2007-04-30 2008-11-05 Vixs系统公司 Multimedia client/server system with adjustable packet size and methods for use therewith

Also Published As

Publication number Publication date
CN103139188A (en) 2013-06-05

Similar Documents

Publication Publication Date Title
CN102752669B (en) The transfer processing method of multichannel real time flow medium file and system, receiving system
CN100426865C (en) Apparatus and method for adaptively controlling buffering amount according to content attribute in receiving audio-video data
CN102256162B (en) Method and system for optimizing media-on-demand based on real-time file format conversion
US8661098B2 (en) Live media delivery over a packet-based computer network
CN101296184B (en) Method, system and device for data transmission
EP2360924A1 (en) A digital multimedia data transmission device and method
KR20170089863A (en) Transport interface for multimedia and file transport
US8959240B2 (en) Method, apparatus and system for rapid acquisition of multicast realtime transport protcol sessions
CN102265535A (en) Method and apparatus for streaming multiple scalable coded video content to client devices at different encoding rates
CN103069492A (en) Storage file format for multimedia streaming file, and storage method and client apparatus using the same
KR102012528B1 (en) Method for dynamic adaptation of the reception bitrate and associated receiver
CN108111531B (en) Method and device for enhancing video live broadcast quality
CN104427400A (en) Streaming media transmission method and system, and streaming media server
NZ521644A (en) Insertion of asynchronous data into a synchronous stream
AU2001251215A1 (en) Insertion of asynchronous data into a synchronous stream
CN103139188B (en) Flow-medium transmission method and system
WO2017063574A1 (en) Streaming media adaptive transmission method and device
WO2009103351A1 (en) Method and apparatus for obtaining media over a communications network
CN107465679A (en) A kind of streaming media control method
CN102740131B (en) Based on the IPTV method and system of RTP
CN111526390B (en) Method and device for sending MMT packet and method for receiving MMT packet
Yang et al. Interleaving Staircase Broadcasting and Receiving Scheme with Loss-Anticipation Delivery.
CN101938633A (en) Interactive set top box (STB) based implementation method of embedded streaming media play module
CN110071919A (en) A kind of multimedia transmission method based on embedded streaming media technology
CN104092690A (en) System and method for controlling media stream replaying bandwidth of streaming media

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant