CN101163238A - Stream media service method of implementing smoothly real-time relay broadcasting/living broadcast - Google Patents

Stream media service method of implementing smoothly real-time relay broadcasting/living broadcast Download PDF

Info

Publication number
CN101163238A
CN101163238A CNA2007101378258A CN200710137825A CN101163238A CN 101163238 A CN101163238 A CN 101163238A CN A2007101378258 A CNA2007101378258 A CN A2007101378258A CN 200710137825 A CN200710137825 A CN 200710137825A CN 101163238 A CN101163238 A CN 101163238A
Authority
CN
China
Prior art keywords
service method
data
media data
media service
real time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2007101378258A
Other languages
Chinese (zh)
Other versions
CN101163238B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2007101378258A priority Critical patent/CN101163238B/en
Publication of CN101163238A publication Critical patent/CN101163238A/en
Application granted granted Critical
Publication of CN101163238B publication Critical patent/CN101163238B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a current media service method which can realize smooth live relay broadcast or direct broadcast. The method includes the following procedures: a server constantly buffers media data and marks the key frames of the buffered media data; a closest key frame at the requesting time of the bit stream of the client is searched for as the initial position of media data sending; maximum bags which can be sent for single time are estimated, and data are send in turn from the initial position for sending media data. The invention can realize the purposes of smooth and rapid data sending and smooth transfer to live relay broadcast or direct broadcast on the basis of ensuring the image quality by the key frame arrangement and the control of the sent bag number.

Description

A kind of level and smooth realization is relayed/live stream media service method in real time
Technical field
The invention belongs to network and multimedia field, be specifically related to a kind of level and smooth realization and relay in real time/live stream media service method.
Background technology
In the Streaming Media application system of day by day popularizing, relay or direct broadcast service have become one of main service in each system more and more.For relaying or direct broadcast service, the user is except requiring to guarantee picture qualities such as picture clearly links up, shake is little, and the size of live time-delay is paid close attention in beginning more.If the live time-delay of a stream media system is very big, direct result be the user obtain time of image will be more than the actual time of origin evening of this image, therefore, system for the video monitoring class, this defective is fatal, because a very big live time-delay will make supervisory control system lose supervisory function bit substantially.
At present, numerous streaming media services takes directly to transmit the method for media data substantially when solving live latency issue, and this processing is to reduce live time-delay, but picture quality can descend to some extent, has especially just begun the broadcast stage the user.
Summary of the invention
The invention provides a kind of level and smooth realization and relay in real time/live stream media service method, can on the picture quality basis that guarantees Streaming Media relay or direct broadcast service, reduce live time-delay with smooth mode.
In order to solve the problems of the technologies described above, the invention provides a kind of level and smooth realization and relay in real time/live stream media service method, may further comprise the steps:
S102, server continue the buffering media data, and the media data key frame of buffering is carried out mark;
S104, search the key frame constantly nearest, as the original position that sends media data apart from the code stream request of client;
The single that S106, estimation can send sends maximum bag number, begins to send successively data from the original position that sends media data.
Wherein:
The media data that continues buffering described in the step S102 leaves the media data buffering area of server in.
The termination condition that sends data among the step S106 is that the transmission data are the last packet position of buffering area until sending original position.
Key frame described in the step S102 is a kind of complete frame that comprises based on image key messages such as static images, shapes.
Further, nearest key frame is one at least described in the S104.
Further, according to the restriction of the network bandwidth between server and the client and the code check of code stream, estimate that described single sends maximum bag number among the S106.
Further, when sending data among the S106, single is given out a contract for a project to count and is not more than the maximum bag of described single transmission number.
The present invention is by being provided with key frame and the control single number of giving out a contract for a project, can be on the basis that guarantees picture quality, and realize level and smooth FastData and be smoothly transitted into the purpose of real-time broadcast.
Description of drawings
Fig. 1 is a basic flow sheet of the present invention;
Fig. 2 is concrete implementing procedure figure of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is done further elaboration.
Referring to Fig. 1, be basic flow sheet of the present invention, may further comprise the steps:
S102, server continue the buffering media data, and the media data key frame of buffering is carried out mark.
S104, search the key frame constantly nearest, as the original position that sends media data flow apart from the code stream request of client.
The single that S106, estimation can send sends maximum bag number, begins to send successively data from the original position that sends media data.
Key frame is a kind of complete frame that comprises based on image key messages such as static images, shapes among the present invention.Usually decoder carries out the decoding and displaying video image to media data, require from the media data key frame of video, otherwise mosaic can appear in the image that shows.The present invention adopts from key is auspicious and begins to send code stream and send the play buffer of filling client fast in the scope that bandwidth allows, and can reach to begin not have the purpose that mosaic is play fast.
The present invention adopts the method for " the control single sends the bag number ", i.e. estimation earlier " single sends maximum bag number ", control each single number of giving out a contract for a project then and be not more than the method for " single send maximum bag number ", reason is to consider that live media data can be passed in time constantly to add buffering area, if do not control the single number of giving out a contract for a project, and initial starting position is all sent to the packet between the buffering area end, then can produce burst data and send peak value, thereby cause Network Packet Loss and increase the client operating pressure.Therefore adopt the method for controlling packet number, can realize smoothly sending fast and being smoothly transitted into the purpose of real-time broadcast.
Referring to Fig. 2, be concrete implementing procedure figure of the present invention, may further comprise the steps:
S201, establishment media data buffering area continue the buffering media data.
S202, according to relaying or the current point in time of live user request, in buffering area, search the current nearest key frame position of distance, as sending original position, and determine " single sends maximum bag number " according to bandwidth.
S203, send media data, and the control single number of giving out a contract for a project is not more than " single sends maximum bag number ", after single sends and finishes, upgrades sending original position from sending original position.
S204, judgement send original position and whether arrive the buffering area end, if carry out next step; Otherwise carry out 203.
S205, beginning relay in real time/live.
Below by a specific embodiment of the present invention, further specify technical scheme of the present invention.
The first step: create the buffering area of " first in first out " queue-type in server, size is 1024, and buffering area is kept the fixed space size, when buffering area is full, with dequeuing data the earliest, preserves up-to-date data.
Second step: according to the current point in time of relaying or live user asks, finding out nearest key frame position is 24, and then sending original position is 24; According to the restriction of the network bandwidth between server and the client and the code check of code stream, estimation " single sends maximum bag number " is: 24.
The 3rd step: setting the single number of giving out a contract for a project is 24, from sending data original position 24, this time send finish after, renewal transmission original position is 24+24=48.
The 4th step: constantly repeating for the 3rd step, is 1024 up to sending original position, then stops this transmission, waits for data transmitting period next time.
The 5th step: beginning relay in real time/live.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (7)

1. the level and smooth relay/live stream media service method in real time of realizing is characterized in that, may further comprise the steps:
S102: server continues the buffering media data, and the media data key frame of buffering is carried out mark;
S104: search the key frame constantly nearest, as the original position that sends media data apart from the code stream request of client;
S106: the single that estimation can send sends maximum bag number, begins to send successively data from the original position that sends media data.
2. level and smooth realization as claimed in claim 1 is relayed/live stream media service method in real time, it is characterized in that, the media data that continues buffering described in the step S102 leaves the media data buffering area of server in.
3. level and smooth realization as claimed in claim 2 is relayed/live stream media service method in real time, it is characterized in that, the termination condition that sends data among the step S106 is that the transmission data are the last packet position of buffering area until sending original position.
4. level and smooth realization as claimed in claim 3 is relayed/live stream media service method in real time, it is characterized in that, key frame described in the step S102 is a kind of complete frame that comprises based on image key messages such as static images, shapes.
5. level and smooth realization as claimed in claim 4 is relayed/live stream media service method in real time, it is characterized in that, nearest key frame is one at least described in the step S104.
6. each described level and smooth realization is relayed/live stream media service method in real time as claim 1-5, it is characterized in that, single described in the step S106 sends maximum bag number, is to estimate according to the restriction of the network bandwidth between server and the client and the code check of code stream.
7. the level and smooth realization described in claim 6 is relayed/live stream media service method in real time, it is characterized in that, when sending data among the step S106, single is given out a contract for a project to count and is not more than the maximum bag of described single transmission number.
CN2007101378258A 2007-07-20 2007-07-20 Stream media service method of implementing smoothly real-time relay broadcasting/living broadcast Active CN101163238B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101378258A CN101163238B (en) 2007-07-20 2007-07-20 Stream media service method of implementing smoothly real-time relay broadcasting/living broadcast

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101378258A CN101163238B (en) 2007-07-20 2007-07-20 Stream media service method of implementing smoothly real-time relay broadcasting/living broadcast

Publications (2)

Publication Number Publication Date
CN101163238A true CN101163238A (en) 2008-04-16
CN101163238B CN101163238B (en) 2010-12-01

Family

ID=39298047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101378258A Active CN101163238B (en) 2007-07-20 2007-07-20 Stream media service method of implementing smoothly real-time relay broadcasting/living broadcast

Country Status (1)

Country Link
CN (1) CN101163238B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483757A (en) * 2009-01-09 2009-07-15 深圳市同洲电子股份有限公司 Skipping method, system and server for network interactive play-on-demand
CN102356605A (en) * 2009-03-16 2012-02-15 微软公司 Smooth, stateless client media streaming
CN101364855B (en) * 2008-09-22 2012-04-18 杭州华三通信技术有限公司 Data packet transmission control method and apparatus in code stream
CN101917328B (en) * 2009-12-17 2013-11-06 新奥特(北京)视频技术有限公司 Method for locally storing and searching streaming media and network player
CN111954007A (en) * 2020-07-14 2020-11-17 烽火通信科技股份有限公司 VBR video rapid smooth sending method and device in UDP live broadcast

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1131637C (en) * 2000-10-13 2003-12-17 北京算通数字技术研究中心有限公司 Method of generating data stream index file and using said file accessing frame and shearing lens
FR2858144A1 (en) * 2003-07-21 2005-01-28 France Telecom Transmission channels available bandwidth evaluating method for e.g. GPRS network, involves signaling that data flow is higher and lower than available bandwidth, if progressive increase and decrease of delay is detected respectively
CN1801929A (en) * 2005-12-08 2006-07-12 复旦大学 Method for network interaction television system realizing time-shift function
CN100438504C (en) * 2006-05-15 2008-11-26 武汉虹旭信息技术有限责任公司 Stream media transmitting rate controlling method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364855B (en) * 2008-09-22 2012-04-18 杭州华三通信技术有限公司 Data packet transmission control method and apparatus in code stream
CN101483757A (en) * 2009-01-09 2009-07-15 深圳市同洲电子股份有限公司 Skipping method, system and server for network interactive play-on-demand
CN101483757B (en) * 2009-01-09 2013-11-13 深圳市龙视传媒有限公司 Skipping method, system and server for network interactive play-on-demand
CN102356605A (en) * 2009-03-16 2012-02-15 微软公司 Smooth, stateless client media streaming
US8621044B2 (en) 2009-03-16 2013-12-31 Microsoft Corporation Smooth, stateless client media streaming
CN102356605B (en) * 2009-03-16 2014-02-19 微软公司 Smooth, stateless client media streaming
CN101917328B (en) * 2009-12-17 2013-11-06 新奥特(北京)视频技术有限公司 Method for locally storing and searching streaming media and network player
CN111954007A (en) * 2020-07-14 2020-11-17 烽火通信科技股份有限公司 VBR video rapid smooth sending method and device in UDP live broadcast
CN111954007B (en) * 2020-07-14 2022-03-25 烽火通信科技股份有限公司 VBR video rapid smooth sending method and device in UDP live broadcast

Also Published As

Publication number Publication date
CN101163238B (en) 2010-12-01

Similar Documents

Publication Publication Date Title
CN102075728B (en) The method and system of a kind of shared audio frequency and/or video
US8281351B2 (en) System, method, and computer readable medium rapid channel change
CN100518311C (en) Method for reducing response time of direct broadcast band switchover
CN101729228B (en) Method, network node and system for inhibiting retransmission of lost packet
CN104737514A (en) A method and apparatus for distributing a media content service
KR20090015051A (en) Method for fast zapping between tv channels
WO2008043002A3 (en) Method and system for optimizing a jitter buffer
US20130219440A1 (en) Apparatus and method for simulcast over a variable bandwidth channel
JP2009260818A (en) Server apparatus, content distribution method, and program
JP4733743B2 (en) Apparatus and method for measuring client input buffer usage in real-time content delivery
US20090222576A1 (en) Method and apparatus for reducing power consumption of a network communication device receiving streaming content via an ip-based network
CN105579998A (en) System and method for real-time traffic delivery
CN101163238B (en) Stream media service method of implementing smoothly real-time relay broadcasting/living broadcast
CN101924914A (en) Method for switching television channels and system and device thereof
CN105357590A (en) Method and device for achieving terminal multimedia broadcast
CN106303611A (en) A kind of method and system realizing film source propelling movement
CN102594774A (en) Streaming media transmission method and system
CN102256183A (en) Mobile-communication-network-based audio and video signal real-time transmission method
CN102939766B (en) Receptor and receiver-side use the method that single decoder enables channel variation
CN101815210A (en) Digital home remote video monitoring system based on next-generation network
WO2008117892A1 (en) Content delivery system, conversion device, and content delivery method used therefor
Yahia et al. When HTTP/2 rescues DASH: Video frame multiplexing
JP2002149316A (en) Data transmitter, data receiver, data transmission method, and program storage medium
CN101515934A (en) Method, device and communication system for forwarding scalable video coded data message
CN101860471B (en) Method, device and system for switching media stream

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