CN101277443A - Method and terminal for playing flow medium - Google Patents

Method and terminal for playing flow medium Download PDF

Info

Publication number
CN101277443A
CN101277443A CNA2008101040477A CN200810104047A CN101277443A CN 101277443 A CN101277443 A CN 101277443A CN A2008101040477 A CNA2008101040477 A CN A2008101040477A CN 200810104047 A CN200810104047 A CN 200810104047A CN 101277443 A CN101277443 A CN 101277443A
Authority
CN
China
Prior art keywords
media stream
stream data
data
media
buffering area
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
CNA2008101040477A
Other languages
Chinese (zh)
Other versions
CN101277443B (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 United Network Communications Group Co Ltd
Original Assignee
CHINA NETWORK COMMUNICATIONS GROUP 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 CHINA NETWORK COMMUNICATIONS GROUP Corp filed Critical CHINA NETWORK COMMUNICATIONS GROUP Corp
Priority to CN2008101040477A priority Critical patent/CN101277443B/en
Publication of CN101277443A publication Critical patent/CN101277443A/en
Application granted granted Critical
Publication of CN101277443B publication Critical patent/CN101277443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a stream media play method and terminal. The method comprises the steps of: obtaining a media stream data according to a predetermined work mode identifier; parsing the media stream data to obtain an original coding data of the media stream data and relative auxiliary information; judging whether or not the playing media stream needs a buffer zone according to the predetermined work mode identifier, if so, buffering the original coding data of the media stream data according to relative auxiliary information, decoding to play the original coding data processed in the buffer zone; if not, directly decoding to play the original coding data parsed. The invention obtains the media stream data and processes corresponding play processes by different methods through the predetermined work mode identifier, which realizes differentiated play of the media stream data in the buffer zone or out of it. The play terminal is adapted to different stream media server agilely, which ensures play quality and speed, saves the resource of the play terminal and improves intercommunication capacity of the play terminal.

Description

Flow media playing method and terminal
Technical field
(Internet Protocol Television, IPTV) field particularly relates to a kind of flow media playing method and terminal to the present invention relates to Web TV.
Background technology
When coming the flow-medium performance of automatic network, the IPTV terminal plays to use two functional modules: network receiver module and playout software module.The broadcast of flow-medium performance divided for three steps, and the first step is a receiving media flow data from the streaming media server; Second step was the pretreatment operation of the media stream data that receives being carried out out of order rearrangement, dithering process, packet loss processing etc., and the media stream data pretreatment operation need be used buffering area; The 3rd step was that media stream data is decoded and play.Wherein, the described first step is realized that by the network receiver module the 3rd step was realized by the playout software module that second step was to be realized by network receiver module or playout software module according to the host-host protocol decision that streaming media server adopts then.
The media stream data host-host protocol that different streaming media servers adopts is also inconsistent, as: the streaming media server that has adopts RTP (Real Time Transport Protocol, RTP), the streaming media server employing User Datagram Protoco (UDP) that has (User Datagram Protocol, UDP).If adopt Real-time Transport Protocol to carry out the media stream data transmission, the network receiver module can carry out the media stream data pretreatment operation according to the information that Real-time Transport Protocol carries when the receiving media flow data, do not need the playout software module to be provided for the buffering area of medium flow data; If adopt udp protocol to carry out the media stream data transmission, then can only carry out the pretreatment operation of media stream data according to the information that media stream data itself carries, and this can only be realized by the playout software module, therefore the playout software module need possess the function that buffering area is provided, to realize the media stream data pretreatment operation.Therefore, the playout software module will consider whether need to be provided with buffering area with realization media stream data pretreatment operation when designing and developing, thereby can be adaptive with specific streaming media server.
Stream media terminal is having following two kinds of schemes to the media stream data pretreatment operation at present: a kind of scheme is in the playout software module buffering area to be set, no matter dock with the streaming media server that adopts which kind of media stream data host-host protocol, the playout software module all distributes buffering area to realize the pretreatment operation of media stream data.But at the streaming media server that need in the playout software module, not carry out the pretreatment operation of media stream data to this class of employing Real-time Transport Protocol, can distribute buffering area too one time, therefore the media stream data pretreatment operation can be carried out one time, and this must cause the significant wastage of resource more.Second kind of scheme is that buffering area is not set in the playout software module, promptly do not carry out the pretreatment operation of media stream data in the playout software module.But the playback terminal that adopts this scheme is when docking with the streaming media server that adopts udp protocol to carry out the media stream data transmission, owing to do not carry out the pretreatment operation of media stream data, media stream data may be chaotic, has a strong impact on the result of broadcast of Media Stream.
By technique scheme as can be seen, just need when the development and Design of streaming media playing terminal at present to consider that playout software module and particular network receiver module are arranged in pairs or groups just can realize adaptive to specific streaming media server, there is great coupling between playout software module and the network receiver module, cause the playout software module in the streaming media playing terminal that the Media Stream that needs the media stream data buffering and do not need Media Stream to cushion is all carried out same processing, can't differentiating and processing, make stream media terminal can only play the flow-medium performance that specific streaming media server provides, the intercommunication poor performance of stream media terminal causes the wasting of resources or has a strong impact on result of broadcast.
Summary of the invention
The purpose of this invention is to provide a kind of flow media playing method and terminal, the broadcast of the flow-medium performance that realization provides the various flows media server, make same streaming media playing terminal can realize to needing buffering area and not needing the various flows media server of buffering area to dock and realize high-quality, at a high speed result of broadcast, the intercommunication ability of enhanced flow media broadcast terminal improves resource utilization.
For achieving the above object, the invention provides a kind of flow media playing method comprises:
Obtain media stream data according to default mode of operation sign;
Described media stream data is resolved, obtain the original coding data and the associated ancillary information of media stream data;
Judge according to default mode of operation sign and to play whether needs buffering area of described media stream data, if, then the original coding data of described media stream data are carried out corresponding buffered, to the broadcast of decoding through the original coding data after the buffered according to described associated ancillary information; Otherwise, to the broadcast of directly decoding of the original coding data of described media stream data.
The default mode of operation sign of described basis also comprises before obtaining media stream data:
Create and play example, the mode of operation sign of default described media stream data, described mode of operation sign comprise band buffer mode sign and do not have the buffer mode sign.
The present invention also provides a kind of streaming media playing terminal, comprises the network receiver module and the playout software module that is used for the playing media flow data of the media stream data that is used for the transmission of receiving stream media server, and described playout software module comprises:
Acquiring unit is used for obtaining media stream data according to default mode of operation sign;
Resolution unit is used for described media stream data is resolved, and obtains the original coding data and the associated ancillary information of media stream data;
Broadcast unit, be used for judging and play whether needs buffering area of described media stream data according to default mode of operation sign, if, then the original coding data of described media stream data are carried out corresponding buffered, to the broadcast of decoding through the original coding data after the buffered according to described associated ancillary information; Otherwise, to the broadcast of decoding of the original coding data of described media stream data.
Described playout software module also comprises: creating unit, and be used for creating and play example, the mode of operation of default described media stream data identifies.
Flow media playing method of the present invention and terminal can receive and play the flow-medium performance that needs buffering area and do not need buffering area, realized adaptive with the various flows media server, make that the broadcast of Media Stream is more flexible, strengthened the intercommunication ability of stream media terminal product, improved the utilance of resource, the playout software module of stream media terminal need not too much be considered when development and Design and the collocation problem of various heterogeneous networks receiver modules simultaneously, makes that the exploitation of stream media terminal is more flexible.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the flow chart of flow media playing method embodiment one of the present invention;
Fig. 2 is the flow chart of flow media playing method embodiment two of the present invention;
Fig. 3 is the flow chart of flow media playing method embodiment three of the present invention;
Fig. 4 is the structure chart of streaming media playing terminal embodiment one of the present invention;
Fig. 5 is the structure chart of streaming media playing terminal embodiment two of the present invention.
Embodiment
As shown in Figure 1, be the flow chart of flow media playing method embodiment one of the present invention.Present embodiment may further comprise the steps after receiving the media stream data that the streaming media server biography is come on the network:
Step 50, streaming media playing terminal are obtained media stream data according to default mode of operation sign;
Step 60, streaming media playing terminal are resolved the media stream data that obtains, as carry out MEPG-TS decoding, obtain Streaming Media original coding data (as the audio/video coding data) and relevant supplementary etc.;
Step 70, streaming media playing terminal are judged according to default mode of operation sign and are play whether needs buffering area of described media stream data, if, then the original coding data of described media stream data are carried out corresponding buffered, to the broadcast of decoding through the original coding data after the buffered according to described associated ancillary information; Otherwise, to the broadcast of decoding of the original coding data of described media stream data.
In the present embodiment, the streaming media playing terminal can be play the media stream data that needs buffering area and do not need buffering area, has improved the adaptation ability with the various flows media server, has strengthened the flexibility of streaming media playing.
As shown in Figure 2, be the flow chart of flow media playing method embodiment two of the present invention.Compare with the foregoing description one, present embodiment is further comprising the steps of before step 50:
Step 10, streaming media playing terminal are created and are play example, and the mode of operation of default described media stream data identifies when creating the broadcast example, described mode of operation sign comprises band buffer mode sign and do not have the buffer mode sign, and according to described mode of operation sign decidable media stream data needs buffering area whether;
Step 20, streaming media playing terminal judge according to default mode of operation sign whether Media Stream needs buffering area, if, execution in step 30, otherwise, execution in step 40;
Step 30, streaming media playing terminal are provided with a buffering area, are used for the medium flow data, execution in step 501;
Step 40, streaming media playing terminal are provided with a call back function, are used to obtain media stream data, execution in step 502;
Make those not need the media stream data of buffering area can buffering area be set, improved the resource utilization of streaming media playing terminal.
Step 50 specifically comprises:
Step 501, the passive wait media stream data of streaming media playing terminal are brought and are received;
Step 502, streaming media playing terminal are initiatively obtained media stream data by call back function when needed.
Present embodiment is by default mode of operation sign when creating the broadcast example, realized obtaining the media stream data that needs buffering area and do not need buffering area with diverse ways, realized the media stream data of different stream medium data acquisition methods is received, can be more flexibly and various flows media server adaptive.
As shown in Figure 3, be the flow chart of flow media playing method the 3rd embodiment of the present invention.On the basis of the foregoing description two, step 70 specifically comprises the steps:
Step 701, streaming media playing terminal judge according to default mode of operation sign and play whether needs buffering area of described media stream data, if, execution in step 702, otherwise execution in step 705;
The associated ancillary information that step 702, streaming media playing terminal obtain after resolving according to step 60 carries out out of order rearrangement, dithering process and packet loss processing etc. are promptly carried out in corresponding preliminary treatment to media stream data operation to the original coding data of media stream data;
Step 703, streaming media playing terminal will be through the original coding storage of the pretreated media stream data of step 702 in buffering areas;
Step 704, streaming media playing terminal judge whether the data in the described buffering area reach the broadcast thresholding, if reach, then execution in step 705, if do not reach, wait for, up to reaching the data that can send in the buffering area;
The media stream data that step 705, streaming media playing end-on are received, the broadcast of decoding.
In the present embodiment, realized the need buffering area and do not needed the media stream data differentiation playback process of buffering area according to default mode of operation, by the media stream data that needs buffering area being carried out the broadcast of preliminary treatment realization to Media Stream, guaranteed the effect of playing, simultaneously the Media Stream that does not need buffering area is not then carried out preliminary treatment, directly play, the wasting of resources of having avoided repeating preliminary treatment in the prior art and having caused, improved broadcasting speed, guaranteed play quality simultaneously, realized the high-quality of Media Stream that the various flows media server is provided, result of broadcast has at a high speed been saved resource.
As shown in Figure 4, be the structure chart of streaming media playing terminal embodiment one of the present invention.Present embodiment comprises network receiver module 1 and playout software module 2, and wherein playout software module 2 comprises acquiring unit 23, resolution unit 24 and broadcast unit 25.Wherein acquiring unit 23, are used for obtaining media stream data according to default mode of operation sign; Resolution unit 24 is used for media stream data is resolved, and obtains the original coding data and the associated ancillary information of media stream data; Broadcast unit 25, be used for judging and play whether needs buffering area of described media stream data according to default mode of operation sign, if, then the original coding data of described media stream data are carried out corresponding buffered, to the broadcast of decoding through the original coding data after the buffered according to described associated ancillary information; Otherwise, to the broadcast of decoding of the original coding data of described media stream data.
Present embodiment has been realized the broadcast to the need buffering area and the Media Stream that need not cushion, and makes that the streaming media playing terminal can adaptive different streaming media server, has improved the intercommunication ability of streaming media playing terminal.
As shown in Figure 5, be the structure chart of streaming media playing terminal embodiment two of the present invention.On the basis of the foregoing description one, playout software module 2 also comprises creating unit 21, is used for creating playing example, and the mode of operation of default described media stream data identifies; Unit 22 is set, is used for the buffering area of medium flow data being set, call back function perhaps is set, for obtaining media stream data according to described default mode of operation sign.
Further, acquiring unit 23 specifically comprises: first judging unit 231 is used to judge that whether mode of operation according to described media stream data identifies the described buffering area of needs; Receiving element 232 is used for passive receipts media stream data; Receive control unit 233, be used for control and utilize described call back function initiatively to obtain media stream data.Broadcast unit 25 specifically comprises: second judging unit 251 is used to judge that whether mode of operation according to described media stream data identifies the described buffering area of needs; Pretreatment unit 252 carries out corresponding pretreatment operation according to described associated ancillary information to the original coding data of described media stream data, and the original coding data of the media stream data of process pretreatment operation are deposited in the described buffering area; Play thresholding identifying unit 253, be used for judging whether the data of described buffering area reach the broadcast thresholding; Decoding broadcast unit 254 is used for the broadcast of decoding of the original coding data of the media stream data that receives.
Present embodiment is by judging whether Media Stream needs buffering area that buffering area or call back function are set, realization has been carried out corresponding reception, processing and broadcast to the different media flows data, improved resource utilization, guaranteed play quality, improved broadcasting speed, the collocation problem of playout software module and network receiver module need not be too much considered in the flexibility that has simultaneously also improved the development and Design of streaming media playing terminal, has strengthened the intercommunication ability of streaming media playing terminal.
It should be noted that at last: above embodiment is only in order to technical scheme of the present invention to be described but not limit it, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, and these modifications or be equal to replacement and also can not make amended technical scheme break away from the spirit and scope of technical solution of the present invention.

Claims (10)

1, a kind of flow media playing method is characterized in that comprising:
Obtain media stream data according to default mode of operation sign;
Described media stream data is resolved, obtain the original coding data and the associated ancillary information of media stream data;
Judge according to default mode of operation sign and to play whether needs buffering area of described media stream data, if, then the original coding data of described media stream data are carried out corresponding buffered, to the broadcast of decoding through the original coding data after the buffered according to described associated ancillary information; Otherwise, to the broadcast of directly decoding of the original coding data of described media stream data.
2, flow media playing method according to claim 1 is characterized in that the default mode of operation sign of described basis also comprises before obtaining media stream data:
Create and play example, the mode of operation sign of default described media stream data, described mode of operation sign comprise band buffer mode sign and do not have the buffer mode sign.
3, flow media playing method according to claim 2 is characterized in that playing example in described establishment, and the default mode of operation sign of the mode of operation sign of default described media stream data and described basis is obtained between the media stream data and also comprised:
According to described default mode of operation sign, judge whether described media stream data needs buffering area, if need, the buffering area of medium flow data is set; If do not need, call back function is set, for obtaining media stream data.
4, flow media playing method according to claim 3 is characterized in that the default mode of operation sign of described basis obtains media stream data and be specially:
Judge the whether described buffering area of needs of described media stream data according to described default mode of operation sign, identify, then need buffering area, passive receiving media flow data if described default mode of operation is designated described band buffer mode; If described default mode of operation is designated described no buffer mode sign, then do not need buffering area, initiatively obtain media stream data by described call back function.
5, flow media playing method according to claim 4, it is characterized in that describedly the original coding data of described media stream data being carried out corresponding buffered, be specially decoding to play through the original coding data after the buffered according to described associated ancillary information:
According to described associated ancillary information the original coding data of described media stream data are carried out corresponding pretreatment operation;
To deposit in the described buffering area through the original coding data of the media stream data of pretreatment operation;
Judge whether the data in the described buffering area reach the broadcast thresholding, if reach, to the broadcast of decoding of the original coding data in the described buffering area.
6, a kind of streaming media playing terminal comprises network receiver module that is used for the media stream data that the receiving stream media server sends and the playout software module that is used for the playing media flow data, it is characterized in that described playout software module comprises:
Acquiring unit is used for obtaining media stream data according to default mode of operation sign;
Resolution unit is used for described media stream data is resolved, and obtains the original coding data and the associated ancillary information of media stream data;
Broadcast unit, be used for judging and play whether needs buffering area of described media stream data according to default mode of operation sign, if, then the original coding data of described media stream data are carried out corresponding buffered, to the broadcast of decoding through the original coding data after the buffered according to described associated ancillary information; Otherwise, to the broadcast of decoding of the original coding data of described media stream data.
7, streaming media playing terminal according to claim 6 is characterized in that described playout software module also comprises:
Creating unit is used for creating and plays example, and the mode of operation of default described media stream data identifies.
8, streaming media playing terminal according to claim 7 is characterized in that described playout software module also comprises:
The unit is set, is used for the buffering area of medium flow data being set, call back function perhaps is set, for obtaining media stream data according to described default mode of operation sign.
9, streaming media playing terminal according to claim 8 is characterized in that described acquiring unit specifically comprises:
First judging unit is used for judging according to described default mode of operation whether identifying the described buffering area of needs;
Receiving element is used for passive receiving media flow data;
Receive control unit, be used to utilize described call back function initiatively to obtain media stream data.
10, streaming media playing terminal according to claim 9 is characterized in that described broadcast unit specifically comprises:
Second judging unit is used for judging according to described default mode of operation whether identifying the described buffering area of needs;
Pretreatment unit carries out corresponding pretreatment operation according to described associated ancillary information to the original coding data of described media stream data, and the original coding data of the media stream data of process pretreatment operation are deposited in the described buffering area;
Play the thresholding identifying unit, be used for judging whether the data of described buffering area reach the broadcast thresholding;
The decoding broadcast unit is used for the broadcast of decoding of the data of the original coding data of described media stream data or described buffering area.
CN2008101040477A 2008-04-14 2008-04-14 Method and terminal for playing flow medium Active CN101277443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101040477A CN101277443B (en) 2008-04-14 2008-04-14 Method and terminal for playing flow medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101040477A CN101277443B (en) 2008-04-14 2008-04-14 Method and terminal for playing flow medium

Publications (2)

Publication Number Publication Date
CN101277443A true CN101277443A (en) 2008-10-01
CN101277443B CN101277443B (en) 2010-04-07

Family

ID=39996388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101040477A Active CN101277443B (en) 2008-04-14 2008-04-14 Method and terminal for playing flow medium

Country Status (1)

Country Link
CN (1) CN101277443B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969430A (en) * 2010-09-25 2011-02-09 中兴通讯股份有限公司 Analytic method of IP (Internet Protocol) data as well as mobile phone television system and device for analyzing IP data
CN101583025B (en) * 2009-06-11 2011-05-11 中兴通讯股份有限公司 Streaming media playing method and device
CN102625193A (en) * 2011-01-27 2012-08-01 郑州威科姆科技股份有限公司 A method of realizing multimedia file network playing by virtue of auxiliary files
CN108259987A (en) * 2017-12-19 2018-07-06 湖北鸿云科技股份有限公司 Mobile terminal low delay DST PLAYER and playback method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101583025B (en) * 2009-06-11 2011-05-11 中兴通讯股份有限公司 Streaming media playing method and device
CN101969430A (en) * 2010-09-25 2011-02-09 中兴通讯股份有限公司 Analytic method of IP (Internet Protocol) data as well as mobile phone television system and device for analyzing IP data
WO2012037845A1 (en) * 2010-09-25 2012-03-29 中兴通讯股份有限公司 Analysis method for ip data, mobile television system and device for analyzing ip data
CN101969430B (en) * 2010-09-25 2014-08-13 中兴通讯股份有限公司 Analytic method of IP (Internet Protocol) data as well as mobile phone television system and device for analyzing IP data
CN102625193A (en) * 2011-01-27 2012-08-01 郑州威科姆科技股份有限公司 A method of realizing multimedia file network playing by virtue of auxiliary files
CN102625193B (en) * 2011-01-27 2014-07-09 郑州威科姆科技股份有限公司 A method of realizing multimedia file network playing by virtue of auxiliary files
CN108259987A (en) * 2017-12-19 2018-07-06 湖北鸿云科技股份有限公司 Mobile terminal low delay DST PLAYER and playback method

Also Published As

Publication number Publication date
CN101277443B (en) 2010-04-07

Similar Documents

Publication Publication Date Title
JP4975967B2 (en) Method, system and network entity for providing digital broadband transmission
CN102598691B (en) Streaming with optional broadcast delivery of data segments
CN101068236B (en) Streaming media bit rate control method, system and equipment
KR101614862B1 (en) Transmitting and receiving method of multimedia video data and corresponding device
US20090022154A1 (en) Reception device, reception method, and computer-readable medium
US20080107108A1 (en) System and method for enabling fast switching between psse channels
CN101383959B (en) Method, system and customer equipment obtaining key frame in stream media service
US20080034395A1 (en) Method for suppression index reuse and packet classification for payload header suppression within a wireless network
US8855139B1 (en) Method and device for receiving and providing programs
CN101277443B (en) Method and terminal for playing flow medium
CN108063911B (en) Video conference capacity expansion method
CN102136962B (en) Method, relative device and system for delimiting quality problems
US11201833B2 (en) Aggregated adaptive bit rate streaming
CN105325005A (en) Content supply device, content supply method, program, terminal device, and content supply system
CN101621386A (en) Method, system and equipment for saving bandwidth of content network
CN101431653B (en) Method, system and apparatus for creating and demanding channel
CN101034968B (en) System, method and device for providing the bidirectional service in the separated bidirectional network
CN102957631A (en) Preprocessing method and three kinds of facilities based on preprocessing method
CN103039054B (en) For transmitting the method and apparatus of application identities symbol across application element thereof
CN102238152B (en) Control the methods, devices and systems of content report behavior
CN103152545B (en) A kind of method, video server and video conferencing system processing error correction request
CN104301551A (en) Method for music playing and equipment for music playing
CN104410895B (en) Realize the method and device of DVB data multimode distribution
CN101378512A (en) Method and device for synchronizing audio and video
CN102333095A (en) Media business system and implementation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: CHINA LINKED NETWORK COMMUNICATION GROUP CO.,LTD.

Free format text: FORMER OWNER: CHINA NETWORK COMMUNICATIONS GROUP CORPORATION

Effective date: 20090522

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20090522

Address after: Number 21, Finance Street, Beijing, Xicheng District: 100140

Applicant after: China United Network Telecommunication Group Co., Ltd.

Address before: Number 21, Finance Street, Beijing, Xicheng District: 100032

Applicant before: China Network Communications Group Corporation

C14 Grant of patent or utility model
GR01 Patent grant