CN101047911A - System for playing flow media audio vedio on radio binary operation environment mobile phone - Google Patents

System for playing flow media audio vedio on radio binary operation environment mobile phone Download PDF

Info

Publication number
CN101047911A
CN101047911A CNA2006100659368A CN200610065936A CN101047911A CN 101047911 A CN101047911 A CN 101047911A CN A2006100659368 A CNA2006100659368 A CN A2006100659368A CN 200610065936 A CN200610065936 A CN 200610065936A CN 101047911 A CN101047911 A CN 101047911A
Authority
CN
China
Prior art keywords
video
audio
data
module
playing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2006100659368A
Other languages
Chinese (zh)
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 CNA2006100659368A priority Critical patent/CN101047911A/en
Publication of CN101047911A publication Critical patent/CN101047911A/en
Pending legal-status Critical Current

Links

Images

Abstract

This invention provides a system for playing stream media audio and video of radio binary operational environment cell phones including a control module, an interface module, a synchronous module and a play module, in which, the control module is used in controlling the process of playing of stream media audio and video play, registering the call-back functions of the reception of video data and that of the audio data and sending the data to the synchronous module, which is used in comparing if the timestamp difference is in the error sphere to keep their synchronization and said play modue is used in playing based on the data sent by a synchronous module.

Description

The system of playing flow media audio-vedio on radio binary operation environment mobile phone
Technical field
The present invention relates to the play-back technology field of stream medium audio and video, particularly a kind of in vedio on radio binary operation environment mobile phone the system of playing flow media audio.
Background technology
BREW (Binary Runtime Environment for Wireless, vedio on radio binary operation environment), it is the fundamental system that QualCom company releases calendar year 2001 based on CDMA (code division multipleaccess, code division multiple access inserts) the last value-added service developing operation of network " wireless Internet flat pad ".
Corresponding with the BREW system is the JAVA system, and BREW is fast with the speed of service, takies the welcome that the few characteristics of resource are subjected to numerous mobile phone producer.Relative Java, BREW is a more technology of bottom.Because the BREW system can freely load and unload and run application on the BREW mobile phone.Carry out the initial stage at mobile flow medium service, real Streaming Media mobile phone kind is seldom developed a kind of streaming media playing that can move and is used on the BREW mobile phone.Can allow more user need not change mobile phone and just can use streaming media service.BREW system on the mobile phone is not a kind of perfect operating system, does not have the multithreading of windows system support, the characteristics of multi-process.How to realize playing flow media audio in the BREW system? this is the problem that the present invention need solve.
Summary of the invention
Technical problem to be solved by this invention is, a kind of system of playing flow media audio-vedio on radio binary operation environment mobile phone is provided, use system of the present invention, can be implemented in playing flow media audio file on the vedio on radio binary operation environment mobile phone of not supporting multithreading, multi-process.
For solving the problems of the technologies described above, the invention provides a kind of system of playing flow media audio-vedio on radio binary operation environment mobile phone, comprise control module, interface module, synchronization module and playing module, wherein:
Described control module is used for the process control that stream medium audio and video is play, the call back function that the registration video data receives and voice data receives, the error range of setting audio data and video data timestamp difference;
Described interface module is used to receive voice data and video data, and voice data and the video data that receives sent synchronization module;
Described synchronization module, voice data that is used for relatively receiving and video data timestamp difference whether in error range, keep between the audio frequency and video synchronously;
Described playing module is used for carrying out audio frequency and video according to the data that synchronization module sends and plays.
Described playing module can be further used for carrying out audio frequency and video and playing according to decoding of mobile phone wireless binary running environment system processing power or maintenance media formats.
Described synchronization module can be to carry out in the cycle to the comparison of difference between voice data and the video data timestamp.
Described control module can be further used for, and after receiving media data, calls call back function data are handled, and checks whether video information is complete, and whether voice data can satisfy the time of playing preseting length.
Described synchronization module can be further used for, and according to video frame rate, calculates frame of video at interval, regulates the interval between the frame of video, and the interval between the maintenance frame of video is in being fit to the scope of playing.
Described playing module can be further used for, and during displaying video, Xie Ma video information changes into displayable media data demonstration on the mobile phone with receiving video data as required.
Described playing module can be further used for, and during audio plays, Xie Ma audio-frequency information is as required play receiving the audio format that voice data changes into the mobile phone support.
Use system of the present invention, can be implemented in playing flow media audio file on the vedio on radio binary operation environment mobile phone of not supporting multithreading, multi-process, and support independent audio frequency or the processing of video separately.
Description of drawings
Fig. 1 is the flow chart of handling according to the described independent audio or video of embodiment of the invention audio-video frequency playing system;
Fig. 2 is the flow chart according to the described audio plays task of embodiment of the invention audio-video frequency playing system;
Fig. 3 is the flow chart according to the described displaying video task of embodiment of the invention audio-video frequency playing system;
Fig. 4 is according to the described Play System structure chart of embodiment of the invention audio-video frequency playing system.
Embodiment
As shown in Figure 1, be the flow chart of handling according to the described independent audio or video of embodiment of the invention audio-video frequency playing system, concrete steps are:
Step 101 is provided with the call back function that audio frequency and video receive.
Step 102 receives audio, video data respectively, puts into the reception buffering area.
Step 103 judges whether audio, video data is enough play, and for example, whether audio frequency reaches preseting length, and this example is 2 seconds.Whether video satisfies several frame data, is set at a frame in this example.If do not satisfy, then get back to 102 steps and receive data, otherwise continue subsequent step.
Step 104 is put into audio frequency, video playback buffering area respectively with the audio, video data that satisfies condition.
Step 105 judges whether only to have video content, if video content is only arranged, continues step 106 and handles, otherwise, to step 108.
Step 106 is according to the video time stamp displaying video.
Step 108 judges whether only to have audio content, as audio content is only arranged, continues step 107.
Step 107 is according to the timestamp audio plays.
Step 109 if audio frequency, video content all exist, then continues the processing of Fig. 2 and Fig. 3.
As shown in Figure 2, be the flow chart according to the described audio plays task of embodiment of the invention audio-video frequency playing system, concrete steps are:
Step 201 reads the audio-frequency fragments content of preseting length from play buffer, adopts 2 seconds length in this example.
Step 202 is provided with audio time stamp, the timestamp that corresponding audio-frequency fragments begins.
Step 203 is stabbed relatively complement mark resetting time.
Step 204, the audio plays content.
Step 205 is finished audio content and is play, and gets back to step 201, gets the audio-frequency fragments of preseting length.
As shown in Figure 3, be the flow chart according to the described displaying video task of embodiment of the invention audio-video frequency playing system, concrete steps are:
Step 301 is obtained video content from play buffer, in this example, obtains a video requency frame data.
Step 302 judges whether to be provided with relatively complement mark of timestamp, if not then continue subsequent step, otherwise forwards step 308 to.
Step 303 is provided with relatively complement mark of timestamp.
Step 304 is judged the frame of video audio time stamp whether leading step 202 is provided with, if leading, continues subsequent step, otherwise, forward step 307 to.
Step 305 abandons the leading frame of video of timestamp, the frame of video of selecting next time point to play.
Step 306, the back off timer of setting next frame video playback, the back off timer time arrives, and forwards step 309 to.
Step 307 is judged the audio time stamp that whether lags behind frame of video step 202 is provided with, if lag behind, forwards step 306 to, otherwise, forward step 309 to.
Step 308, if relatively complement mark of timestamp has been set, then according between next frame video time stamp to be played and the frame of video every keeping constant, set the real time that next frame is play, set back off timer.Timer event arrives, and continues subsequent step.
Step 309, displaying video information converts video content to be fit to the mobile phone terminal broadcast form, plays.
As shown in Figure 4, for according to the described Play System structure chart of embodiment of the invention audio-video frequency playing system, the system of playing flow media audio-vedio on radio binary operation environment mobile phone comprises among the figure: control module 401, interface module 402, synchronization module 403 and playing module 404 is characterized in that:
Control module 401 is used for the process control that stream medium audio and video is play, the call back function that the registration video data receives and voice data receives, the error range of setting audio data and video data timestamp difference.Interface module 402 is used to receive voice data and video data, and voice data and the video data that receives sent synchronization module 403.Synchronization module 403, voice data that is used for relatively receiving and video data timestamp difference whether in error range, keep between the audio frequency and video synchronously.Playing module 404 is used for carrying out audio frequency and video according to the data that synchronization module 403 sends and plays.
The principle of another embodiment of the present invention is: the BREW system on the mobile phone terminal supports the readjustment and the timer function of communication Network Based.The readjustment of communication Network Based, just when the BREW system when network receives data, can be invoked at the processing function of registering in the BREW system.Timer is identical with the timer function that operating system provides, and after timing arrives, can produce timed events, and the call back function of timed events carries out the processing of timed events.Based on above-mentioned BREW system characteristics.The present invention receives audio frequency and video reception difference registered callbacks function.After receiving media data, call call back function data are handled, check whether video information is a complete frame, the time whether voice data enough plays preseting length.The error between the audio frequency and video timestamp relatively, when error during at setting range, beginning playing audio-video content, setting audio time and timestamp be complement mark relatively.Finish playing up to a section audio, keep therebetween between the audio frequency and video synchronously.When both errors were big, being as the criterion with audio frequency abandoned video information.When regulating audio-visual synchronization, the interval that also needs to regulate between the frame of video keeps sizableness.When having only video information or having only audio-frequency information, only need be play according to timestamp and get final product.When displaying video, decode video information changes into displayable media data demonstration on the mobile phone as required.During audio plays, decoded audio information as required, the audio format that changes into the mobile phone support is play.
Concrete implementation step is as follows:
Step 1 is registered the call back function that video data receives and voice data receives respectively in the BREW system, be used for handling audio, video data and receive.Check whether audio frequency, video can be play.If can play, then continue subsequent step, otherwise continue step 1.
Step 2, relatively whether difference if in error range, is then prepared to play in error range between the audio, video data timestamp, continues subsequent step, and relatively complement mark of timestamp is set.Otherwise forward step 4 to.
Step 3 according to decoding of mobile phone B REW system processing power or maintenance media formats, is carried out audio frequency and video and is play the record audio broadcast start time.The time timer of next frame presentation of video frames is set.If the next frame timestamp surpasses this section audio reproduction time, timestamp then is set relatively indicates.
If step 4 not in error range, is a benchmark with the audio frequency then, abandons video data, the timer delayed video perhaps is set plays registered callbacks function, only audio plays.The step of audio plays is with step 3.
Step 5, the timer event of slowed-down video or next frame frame of video timer arrive, and finish if timestamp relatively indicates, then begin playing video data, and step is with step 3.Otherwise forward step 2 to.
Step 6 according to video frame rate, calculates frame of video at interval.When displaying video,, constantly adjust the demonstration time of next frame video according to the timestamp refresh timer.
Step 7 for the situation of having only audio frequency, is play-overed audio frequency and is got final product, and does not need the comparison timestamp.
Step 8 for the situation of having only video, is provided with the next frame video playback time, and timer event carries out step 6 simultaneously and handles to then carrying out video playback.

Claims (7)

1, a kind of system of playing flow media audio-vedio on radio binary operation environment mobile phone is characterized in that, comprises control module, interface module, synchronization module and playing module, wherein:
Described control module is used for the process control that stream medium audio and video is play, the call back function that the registration video data receives and voice data receives, the error range of setting audio data and video data timestamp difference;
Described interface module is used to receive voice data and video data, and voice data and the video data that receives sent synchronization module;
Described synchronization module, voice data that is used for relatively receiving and video data timestamp difference whether in error range, keep between the audio frequency and video synchronously;
Described playing module is used for carrying out audio frequency and video according to the data that synchronization module sends and plays.
According to the described system of claim 1, it is characterized in that 2, described playing module is further used for carrying out audio frequency and video and playing according to decoding of mobile phone wireless binary running environment system processing power or maintenance media formats.
3, according to the described system of claim 1, it is characterized in that, described synchronization module, to difference between voice data and the video data timestamp relatively is to carry out in the cycle.
4, according to the described system of claim 1, it is characterized in that described control module, be further used for, after receiving media data, call call back function data are handled, check whether video information is complete, and whether voice data can satisfy the time of playing preseting length.
According to the described system of claim 1, it is characterized in that 5, described synchronization module is further used for, according to video frame rate, calculate frame of video at interval, regulate the interval between the frame of video, the interval between the maintenance frame of video is in being fit to the scope of playing.
According to the described system of claim 1, it is characterized in that 6, described playing module is further used for, during displaying video, Xie Ma video information changes into displayable media data demonstration on the mobile phone with receiving video data as required.
According to the described method of claim 1, it is characterized in that 7, described playing module is further used for, during audio plays, Xie Ma audio-frequency information is as required play receiving the audio format that voice data changes into the mobile phone support.
CNA2006100659368A 2006-03-27 2006-03-27 System for playing flow media audio vedio on radio binary operation environment mobile phone Pending CN101047911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006100659368A CN101047911A (en) 2006-03-27 2006-03-27 System for playing flow media audio vedio on radio binary operation environment mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006100659368A CN101047911A (en) 2006-03-27 2006-03-27 System for playing flow media audio vedio on radio binary operation environment mobile phone

Publications (1)

Publication Number Publication Date
CN101047911A true CN101047911A (en) 2007-10-03

Family

ID=38772045

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006100659368A Pending CN101047911A (en) 2006-03-27 2006-03-27 System for playing flow media audio vedio on radio binary operation environment mobile phone

Country Status (1)

Country Link
CN (1) CN101047911A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335799B (en) * 2008-08-04 2010-12-08 捷开通讯(深圳)有限公司 Method for BREW platform mobile phone environment abnormal alarm and equipment thereof
CN103426439A (en) * 2013-05-08 2013-12-04 杭州联汇数字科技有限公司 Method for detecting consistency of broadcast television audio signal content
CN103828449A (en) * 2011-09-23 2014-05-28 想象技术有限公司 Method and apparatus for time synchronization in wireless networks
CN105872699A (en) * 2016-04-28 2016-08-17 乐视控股(北京)有限公司 Video playing control method and device
CN114339389A (en) * 2022-01-10 2022-04-12 稿定(厦门)科技有限公司 Audio-video system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335799B (en) * 2008-08-04 2010-12-08 捷开通讯(深圳)有限公司 Method for BREW platform mobile phone environment abnormal alarm and equipment thereof
CN103828449A (en) * 2011-09-23 2014-05-28 想象技术有限公司 Method and apparatus for time synchronization in wireless networks
CN103828449B (en) * 2011-09-23 2016-05-11 想象技术有限公司 Be used for the method and apparatus of the time synchronized of wireless network
US9444567B2 (en) 2011-09-23 2016-09-13 Imagination Technologies Limited Method and apparatus for time synchronisation in wireless networks
US9794058B2 (en) 2011-09-23 2017-10-17 Imagination Technologies Limited Method and apparatus for time synchronisation in wireless networks
US10491371B2 (en) 2011-09-23 2019-11-26 Imagination Technologies Limited Method and apparatus for time synchronisation in wireless networks
US11394524B2 (en) 2011-09-23 2022-07-19 Imagination Technologies Limited Method and apparatus for time synchronization in wireless networks
US11863656B2 (en) 2011-09-23 2024-01-02 Imagination Technologies Limited Method and apparatus for time synchronisation in wireless networks
CN103426439A (en) * 2013-05-08 2013-12-04 杭州联汇数字科技有限公司 Method for detecting consistency of broadcast television audio signal content
CN103426439B (en) * 2013-05-08 2016-04-27 杭州联汇数字科技有限公司 A kind of broadcast television audio signal content consistency detecting method
CN105872699A (en) * 2016-04-28 2016-08-17 乐视控股(北京)有限公司 Video playing control method and device
CN114339389A (en) * 2022-01-10 2022-04-12 稿定(厦门)科技有限公司 Audio-video system

Similar Documents

Publication Publication Date Title
CN101047842A (en) Method for playing flow media audio-vedio on radio binary operation environment mobile phone
KR102000084B1 (en) Method for providing of adaptive streaming service and apparatus therefor
CN101484939B (en) Clock drift compensation techniques for audio decoding
CN101271720B (en) Synchronization process for mobile phone stream media audio and video
CN102761776B (en) Video and audio synchronizing method of P2PVoD (peer-to-peer video on demand) system based on SVC (scalable video coding)
CN101047911A (en) System for playing flow media audio vedio on radio binary operation environment mobile phone
CN1798383A (en) Apparatus and method for providing in a terminal a pause function for a broadcast stream
CN1780185A (en) Method and apparatus to transmit data broadcasting content and method and apparatus to receive data broadcasting content
CN101262610B (en) A playing system for AVS-TS programs at portable terminal
CN101079973A (en) A method and system for simultaneously playing multi-channel TV signals
CN1655619A (en) Transcoding system and method for maintaining timing parameters before and after performing transcoding process
CN101075949A (en) Method for changing fluid-medium file broadcasting speed
CN1798318A (en) Reproduction apparatus and decoding control method
CN1678019A (en) Data synchronousely regenerating device and terminal device
CN1977554A (en) Interactive broadcast system
CN101064669A (en) Network real-time playing multimedia data method
CN1675931A (en) Domestic multimedia transmission method and system
CN1710963A (en) Data synchronization method and apparatus for digital multimedia data receiver
CN1960485A (en) Method for playing back video and audio synchronistically in mobile media broadcast
CN1976514A (en) Single-mode double-card double-standby method for time-division synchronous code division multiple access system terminal
CN1253809C (en) Data playback device and method
CN1421859A (en) After-recording apparatus
CN1842971A (en) Contents providing system and mobile communication terminal therefor
CN1301016C (en) Apparatus and method for multimedia reproduction using output buffering in a mobile communication terminal
CN101047476A (en) Method and device for selecting modulation mode

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20071003