CN101282467A - Method and apparatus for caching data when playing medium with low speed - Google Patents

Method and apparatus for caching data when playing medium with low speed Download PDF

Info

Publication number
CN101282467A
CN101282467A CNA2008100893006A CN200810089300A CN101282467A CN 101282467 A CN101282467 A CN 101282467A CN A2008100893006 A CNA2008100893006 A CN A2008100893006A CN 200810089300 A CN200810089300 A CN 200810089300A CN 101282467 A CN101282467 A CN 101282467A
Authority
CN
China
Prior art keywords
data
play
player
spatial cache
buffer memory
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
CNA2008100893006A
Other languages
Chinese (zh)
Other versions
CN101282467B (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 CN2008100893006A priority Critical patent/CN101282467B/en
Publication of CN101282467A publication Critical patent/CN101282467A/en
Application granted granted Critical
Publication of CN101282467B publication Critical patent/CN101282467B/en
Expired - Fee Related 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 method for data buffering when slowly playing medias, when slow play is selected by the user, the player receives data while performs decoding play with speed corresponding to user selected slow play multiple, according to bulk of received data, the player distributes buffering space capable of buffering the received data and buffers the received data into the distributed buffering space. The player of the invention acquires playing buffer bulk according to bulk of the received data, which ensures no frame loss during slow play and continuity of playing images, meanwhile, waste of system memory source is avoided, which brings users better experience and improves service quality of mobile multimedia broadcasting system.

Description

A kind of method of caching data when playing medium with low speed and device
Technical field
The present invention relates to digital radio China mobile multi-media broadcasting technology field, relate in particular to a kind of method and device of caching data when playing medium with low speed.
Background technology
In recent years, digital radio China mobile multi-media broadcasting technology and standard evolution are rapid, Ou Zhou DVB-H (Digital Video Broadcast Handheld for example, the reception of digital video broadcast-handheld formula), MediaFLO (the Media Forward Link Only of the U.S., the single forward link of medium) and the CMMB (China Mobile Multimedia Broadcast, China Mobile multimedia broadcasting) etc. of China.
Mobile multimedia broadcast system can provide video and audio service for mobile phone users, simultaneously also can provide the several data broadcasting service, as video segment file based on the file downloading mode, MP3 (MPEG Audio Layer 3, Motion Picture Experts Group's audio layer 3) song is based on the business of real time data stream, as transport information, and various business based on IP (Internet Protocol, Internet protocol).
Wherein, most widely used is sound, Video service; Terminal receives sound, when video data is play; usually can open up sound, the video data of the spatial cache of some for player with buffer memory preparation broadcast; can finish the normal play of sound, video data by the buffer memory of the fixed qty that hews out; yet; if carry out slow play, adopt the frame losing when fixedly the mode of buffer memory will cause media play.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of method and device of caching data when playing medium with low speed, and not frame losing when guaranteeing slow play guarantees the continuity of playing.
For solving the problems of the technologies described above, the method of a kind of caching data when playing medium with low speed of the present invention, when the user selects slow play, player receives data when the decoding of the corresponding times of speed of slow play multiple of carrying out selecting with the user is play, according to the size requirements of the data that receive spatial cache for can the buffer memory received data of its distribution, and with the metadata cache that receives to in the spatial cache of its distribution.
Further, player to for behind the spatial cache of its distribution, proceeds the decoding of the corresponding times of speed of slow play multiple selected with the user and play, and the spatial cache that the data that play are shared discharges the metadata cache that receives to system.
Further, also comprise following steps, player judges whether its size of playing buffer memory arrives higher limit, if, then stop requirement and distribute buffer memory, proceed the decoding of the corresponding times of speed of slow play multiple selected with the user and play, and the spatial cache that the data that play are shared discharges to system.
Further, if it plays buffer memory no show higher limit, then and then judge whether in Data Receiving, if be in the Data Receiving, then according to the size requirements of the data that receive spatial cache for can the buffer memory received data of its distribution, and with the metadata cache that receives to being in the spatial cache of its distribution; Otherwise, proceeds the decoding of the corresponding times of speed of slow play multiple selected with the user and play, and the spatial cache that the data that play are shared discharges to system.
Further, the higher limit of broadcast buffer memory is the %5~%10 of Installed System Memory.
Further, when player required to its distribution spatial cache, if buffer memory distributes failure, then player stopped data cached, proceed the decoding of the corresponding times of speed of slow play multiple selected with the user and play, and the spatial cache that the data that play are shared discharges to system.
Further, a kind of device of caching data when playing medium with low speed comprises demodulation chip, player and memory management unit; Wherein,
The signal that demodulation chip is used for the physical channel that will receive is demodulated into data, delivers to player;
Player is used for when the user selects slow play, the data that the receiving demodulation chip sends when the decoding of the corresponding times of speed of slow play multiple of carrying out selecting with the user is play, according to the size requirements memory management unit of the data that receive spatial cache for can the buffer memory received data of its distribution, and with the metadata cache that receives to in the spatial cache of its distribution;
Memory management unit is used for after the buffer memory that receives player distributes requirement, is that it distributes spatial cache according to distributing requirement.
Further, player also is used for the spatial cache that the data that play are shared and discharges to system.
Further, player is used to also judge whether its size of playing buffer memory arrives higher limit, if then stop requirement and distribute buffer memory, proceed the decoding of the corresponding times of speed of slow play multiple selected with the user and play, and the spatial cache that the data that play are shared discharges to system.
Further, player also is used for when it plays buffer memory no show higher limit, judge whether in Data Receiving, if be in the Data Receiving, then according to the size requirements of the data that receive spatial cache for can the buffer memory received data of its distribution, and with the metadata cache that receives to being in the spatial cache of its distribution; Otherwise, proceeds the decoding of the corresponding times of speed of slow play multiple selected with the user and play, and the spatial cache that the data that play are shared discharges to system.
In sum, player of the present invention is play the size of buffer memory according to the size requirements of the data that receive, guaranteed the continuity of not frame losing of slow play and playing image, also can not cause simultaneously the waste of system memory resource, bring better experience to the user, improved the service quality of mobile multimedia broadcast system.
Description of drawings
Fig. 1 is the flow chart of the inventive method;
Fig. 2 is the structure chart of apparatus of the present invention.
Embodiment
The present invention is when slow play, and according to the size of the size of the data that receive decision for the broadcast buffer memory of player distribution, the dynamic assignment buffer memory not only can not cause the frame losing of broadcast, and has avoided the waste of memory source.
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described:
Figure 1 shows that the method for caching data when playing medium with low speed of the present invention, comprise the steps:
101: receiving equipment sends to demodulation chip with the signal of the physical channel that receives, and demodulation chip is demodulated into data with this signal, sends to player;
102: after player receives data, require memory management unit to distribute and play buffer memory, memory management unit according to the distribution of player require for its distribute play buffer memory after, player goes into to play in the buffer memory with the metadata cache that receives, to the broadcast of decoding of the data in the broadcast buffer memory;
103: in the media play process, when the user selected slow play, the decoding that the slow play multiple that player is selected according to the user carries out corresponding times of speed to data in buffer was play;
The user selects slow play and slow play multiple on the broadcast interface of player.
104: the data that player receiving demodulation chip sends, be the new spatial cache of its distribution according to the size requirements memory management unit of the data that receive, and the data that receive of buffer memory;
When player requires memory management unit to open up new spatial cache for it, if buffer memory distributes failure, promptly current no free memory, then player stop data cached, execution in step 105 in proper order.
When slow play, because one second data of every broadcast will correspondingly receive the data with the corresponding second number of slow play multiple, select 3 times of slow play as the user, one second data of then every broadcast will receive three seconds data, if adopt the fixing mode of playing buffer memory, only play after one second the data one second data of buffer memory again, this will cause losing of data, make to play frame losing, discontinuous; Distribute corresponding spatial cache then can avoid losing of data according to the size requirements of the data that receive, guarantee to play the continuity of not frame losing and broadcast.
105: player continues the data of playing in the buffer memory are carried out the decoding broadcast of corresponding with the slow play multiple times of speed, and simultaneously that the data that play are shared spatial cache discharges to system;
The spatial cache that the data that play are shared discharges to system, can manage more efficiently, easily and play buffer memory and Installed System Memory.
106: whether the data in the player judgement broadcast buffer memory are decoded and are finished, if, then stopping to play, the prompting user plays end; Otherwise order is carried out next step;
107: player judges whether the size of playing buffer memory arrives higher limit, if, then stopping requirement and distribute the broadcast buffer memory, notice custom system inadequate resource jumps to step 105; Otherwise, judge whether in Data Receiving, if then jump to step 104; Otherwise, jump to step 105.
Because the memory source of terminal system is limited, can not unrestrictedly increase the broadcast buffer memory, therefore, when playing the %5 that buffer memory increases to Installed System Memory~%10, just need stop to continue to increase playing buffer memory,, cause other application speeds of service of terminal slow to prevent to consume excessively system resource.
When stopping buffer memory owing to the system resource deficiency, need point out the user in modes such as literal or sound, cause bad experience with the exempt from customs examination user.
Certainly; the present invention can also have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those skilled in the art 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 (10)

1, a kind of method of caching data when playing medium with low speed, it is characterized in that, when the user selects slow play, player receives data when the decoding of the corresponding times of speed of slow play multiple of carrying out selecting with the user is play, according to the size requirements of the data that receive spatial cache for can the buffer memory received data of its distribution, and with the metadata cache that receives to in the spatial cache of its distribution.
2, the method for claim 1, it is characterized in that, player to for behind the spatial cache of its distribution, proceeds the decoding of the corresponding times of speed of slow play multiple selected with the user and play, and the spatial cache that the data that play are shared discharges the metadata cache that receives to system.
3, method as claimed in claim 2, it is characterized in that, also comprise following steps, player judges whether its size of playing buffer memory arrives higher limit, if, then stop requirement and distribute buffer memory, proceed the decoding of the corresponding times of speed of slow play multiple selected with the user and play, and the spatial cache that the data that play are shared discharges to system.
4, method as claimed in claim 3, it is characterized in that, if it plays buffer memory no show higher limit, then and then judge whether in Data Receiving, if be in the Data Receiving, then according to the size requirements of the data that receive spatial cache for can the buffer memory received data of its distribution, and with the metadata cache that receives to being in the spatial cache of its distribution; Otherwise, proceeds the decoding of the corresponding times of speed of slow play multiple selected with the user and play, and the spatial cache that the data that play are shared discharges to system.
5, method as claimed in claim 3 is characterized in that, the higher limit of described broadcast buffer memory is the %5~%10 of Installed System Memory.
6, the method for claim 1, it is characterized in that, when player requires to its distribution spatial cache, if buffer memory distributes failure, then player stops data cached, proceed the decoding of the corresponding times of speed of slow play multiple selected with the user and play, and the spatial cache that the data that play are shared discharges to system.
7, a kind of device of caching data when playing medium with low speed is characterized in that, comprises demodulation chip, player and memory management unit; Wherein,
The signal that described demodulation chip is used for the physical channel that will receive is demodulated into data, delivers to player;
Described player is used for when the user selects slow play, the data that the receiving demodulation chip sends when the decoding of the corresponding times of speed of slow play multiple of carrying out selecting with the user is play, according to the size requirements memory management unit of the data that receive spatial cache for can the buffer memory received data of its distribution, and with the metadata cache that receives to in the spatial cache of its distribution;
Described memory management unit is used for after the buffer memory that receives player distributes requirement, is that it distributes spatial cache according to distributing requirement.
8, device as claimed in claim 7 is characterized in that, described player also is used for the spatial cache that the data that play are shared and discharges to system.
9, device as claimed in claim 8, it is characterized in that, described player is used to also judge whether its size of playing buffer memory arrives higher limit, if, then stop requirement and distribute buffer memory, proceed the decoding of the corresponding times of speed of slow play multiple selected with the user and play, and the spatial cache that the data that play are shared discharges to system.
10, device as claimed in claim 7, it is characterized in that, described player also is used for when it plays buffer memory no show higher limit, judge whether in Data Receiving, if be in the Data Receiving, then according to the size requirements of the data that receive spatial cache for can the buffer memory received data of its distribution, and with the metadata cache that receives to being in the spatial cache of its distribution; Otherwise, proceeds the decoding of the corresponding times of speed of slow play multiple selected with the user and play, and the spatial cache that the data that play are shared discharges to system.
CN2008100893006A 2008-05-15 2008-05-15 Method and apparatus for caching data when playing medium with low speed Expired - Fee Related CN101282467B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100893006A CN101282467B (en) 2008-05-15 2008-05-15 Method and apparatus for caching data when playing medium with low speed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100893006A CN101282467B (en) 2008-05-15 2008-05-15 Method and apparatus for caching data when playing medium with low speed

Publications (2)

Publication Number Publication Date
CN101282467A true CN101282467A (en) 2008-10-08
CN101282467B CN101282467B (en) 2010-06-16

Family

ID=40014708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100893006A Expired - Fee Related CN101282467B (en) 2008-05-15 2008-05-15 Method and apparatus for caching data when playing medium with low speed

Country Status (1)

Country Link
CN (1) CN101282467B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442586B (en) * 2008-12-31 2012-06-27 中兴通讯股份有限公司 Method and terminal for playing multimedia
CN103200054A (en) * 2012-01-10 2013-07-10 株式会社理光 Network communications apparatus and method
CN103929608A (en) * 2014-04-16 2014-07-16 浙江宇视科技有限公司 Buffer memory capacity dynamic allocation method and device
CN105224565A (en) * 2014-06-24 2016-01-06 广州市动景计算机科技有限公司 word caching method and device
CN105657540A (en) * 2016-01-05 2016-06-08 珠海全志科技股份有限公司 Video decoding method adapted to Android system and device thereof
CN110519619A (en) * 2019-09-19 2019-11-29 湖南快乐阳光互动娱乐传媒有限公司 A kind of variable playback method and system broadcast based on speed
CN112861049A (en) * 2021-03-17 2021-05-28 Vidaa美国公司 Method for dynamically managing picture cache space and display device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001362B (en) * 2006-01-11 2010-09-08 腾讯科技(深圳)有限公司 Method and terminal of on-line playing flow media

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442586B (en) * 2008-12-31 2012-06-27 中兴通讯股份有限公司 Method and terminal for playing multimedia
CN103200054A (en) * 2012-01-10 2013-07-10 株式会社理光 Network communications apparatus and method
CN103929608A (en) * 2014-04-16 2014-07-16 浙江宇视科技有限公司 Buffer memory capacity dynamic allocation method and device
CN103929608B (en) * 2014-04-16 2017-06-16 浙江宇视科技有限公司 The method and device of a kind of dynamically distributes buffer memory capacity
CN105224565A (en) * 2014-06-24 2016-01-06 广州市动景计算机科技有限公司 word caching method and device
CN105657540A (en) * 2016-01-05 2016-06-08 珠海全志科技股份有限公司 Video decoding method adapted to Android system and device thereof
CN105657540B (en) * 2016-01-05 2019-02-22 珠海全志科技股份有限公司 A kind of video encoding/decoding method and its device being adapted to Android system
CN110519619A (en) * 2019-09-19 2019-11-29 湖南快乐阳光互动娱乐传媒有限公司 A kind of variable playback method and system broadcast based on speed
CN112861049A (en) * 2021-03-17 2021-05-28 Vidaa美国公司 Method for dynamically managing picture cache space and display device
CN112861049B (en) * 2021-03-17 2024-04-19 Vidaa美国公司 Method for dynamically managing picture buffer space and display device

Also Published As

Publication number Publication date
CN101282467B (en) 2010-06-16

Similar Documents

Publication Publication Date Title
CN101282467B (en) Method and apparatus for caching data when playing medium with low speed
US20090013363A1 (en) Broadcast system and broadcast reception method and apparatus thereof
US7778276B2 (en) Mobile communication terminal, mobile communication method, and information recording medium
US8499323B2 (en) Method and apparatus for outputting media content
JP7227407B2 (en) Receiving device and transmitting device
KR101537701B1 (en) Image display device and method for providing streaming service thereof
CN101600101A (en) A kind of audio frequency and video of Mobile Multimedia Broadcasting are shared method and system
CN104202684A (en) Segmental network video seamless playing method and device
CN103313095A (en) Video transmission method, play method, terminal and server
CN100579237C (en) Ground broadcast digital television receiving set, audio and video synchronization process and system
CN101262291B (en) A method and device for realizing speed-varying playing media
US8432941B2 (en) Method and apparatus for selective caching of burst stream transmission
AU2011233856A1 (en) Method and apparatus for providing timeshift service in digital broadcasting system and system thereof
CN101415148A (en) Method, system and user terminal for implementing value-added business
JP2004349932A (en) Complementary view service server for digital broadcast, mobile receiver, and digital broadcast complementary view service system
JP2007214794A (en) Mobile terminal device
US8887225B2 (en) Method and apparatus for reproducing broadcast content, and method and apparatus for providing broadcast content
CN102413234A (en) Mobile terminal media resource loading method and mobile terminal
JP2011120089A (en) System, device method and program for receiving content
JP2005311435A (en) Broadcast receiver for moving object and program
JP2011244268A (en) Broadcast apparatus, broadcast receiver, broadcast method, and broadcast reception method
KR20100048492A (en) Method and apparatus for providing streaming service using variable buffering
KR100772652B1 (en) Fast channel switching apparatus in mobile digital broadcasting receiver and method thereof
Lee et al. Design of middleware for interactive data services in the terrestrial DMB
CN101895621B (en) Method convenient for playing and switching programs among different systems of playing modes

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100616

Termination date: 20170515