CN101420349A - Method for implementing multimedia file synchronous downloading and playing - Google Patents

Method for implementing multimedia file synchronous downloading and playing Download PDF

Info

Publication number
CN101420349A
CN101420349A CNA2008103056450A CN200810305645A CN101420349A CN 101420349 A CN101420349 A CN 101420349A CN A2008103056450 A CNA2008103056450 A CN A2008103056450A CN 200810305645 A CN200810305645 A CN 200810305645A CN 101420349 A CN101420349 A CN 101420349A
Authority
CN
China
Prior art keywords
burst
download
downloaded
multimedia file
fragments
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
CNA2008103056450A
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CNA2008103056450A priority Critical patent/CN101420349A/en
Publication of CN101420349A publication Critical patent/CN101420349A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a network download technology and a multimedia file display technology, concretely, relates to a method of realizing that multimedia files can be downloaded and displayed simultaneously. The present invention brings forward a method of realizing that multimedia files can be downloaded and displayed simultaneously. The main points of the technical solution are performing a fragment process of multimedia files to be downloaded, establishing recorder files corresponding to the fragments for recording download conditions of the fragments; setting the displayer that the size of the one-time read data is integer times of that of the fragments, and judging whether the number of the fragments that have been downloaded but not displayed is smaller than that of the one-time read fragments of the displayer or not according to the record of fragments downloading in the recorder files before the displayer plays; if true, the downloading is continued and the displayer enters a waiting state, if false, the displayer decodes the displayed fragments' content. Beneficial effect of the present invention comprises reducing waste of bandwidth resources and being convenient for a person to select a favorite multimedia file.

Description

Realize the method that multimedia file is downloaded simultaneously and play
Technical field
The present invention relates to network download technology and multimedia file play-back technology, relate to a kind of method that realizes that multimedia file is downloaded simultaneously and play specifically.
Background technology
Universal day by day along with the develop rapidly of Internet technology and network broadband, the user obtains multimedia file by the internet and also becomes more and more general.In the face of the multimedia file of magnanimity on the Internet, the Internet user at first needs these huge volumes of content are selected and filtered, and so just can navigate to the multimedia file of oneself liking and downloads.The network download technology occurs along with the birth of the Internet, and the network download technology is in continuous progress, speed of download is also constantly improving, but it is just present, film of user's download still needs the long period, if will download by the time and just know after finishing and be not the content oneself liked, concerning the user, both wasted Internet resources so, also wasted the time.Because traditional play-back technology fails to read broadcast to downloading the multimedia file of not finishing, for multimedia file resource and minimizing user bandwidth resource and the waste of time that helps user's accurate in locating oneself to like, play multimedia files when pressing for a kind of technology and be implemented in download does not have when can be implemented in download and the technology of play multimedia files at present as yet.
Summary of the invention
Technical problem to be solved by this invention is: at the deficiencies in the prior art, propose a kind of method that can realize that multimedia file is downloaded simultaneously and play.
The technical scheme that the present invention solves the problems of the technologies described above employing is: realize the method that multimedia file is downloaded simultaneously and play, may further comprise the steps:
A. start downloading process, and the needs multimedia file in download is carried out burst download;
B. create recorder file, the performance that the record burst is downloaded;
C. start the player process, the size of data that once reads when player plays is set, size of data should be the integral multiple of burst size;
D. according to the record of recorder file, judge and download the burst number whether the burst number finishing and be not read once reads less than player, if then player enters wait state, and get back to steps d; If not, execution in step e then;
Whether e. judge needs the burst of multimedia file in download all to download, if not, then continue downloading slicing, if then withdraw from downloading process;
F. read burst and play, and judge whether reading of burst all finishes, if not, then get back to step e, if then withdraw from the player process.
Write down the performance that burst is downloaded among the described step b in the following way: the number of bits in the recorder file is equal with burst quantity and the position is corresponding one by one with burst, the value of position is that the burst download of representing this correspondence at 1 o'clock is finished, and the value of position is that the burst download of representing this correspondence at 0 o'clock is not finished.
The invention has the beneficial effects as follows: reduce the waste of bandwidth resources, also saved user's time, be convenient to select the multimedia file of oneself liking.
Description of drawings
Fig. 1 is a method flow diagram of the present invention.
Embodiment
The invention will be further described below in conjunction with drawings and Examples.
As shown in Figure 1, the method that the realization multimedia file among the present invention is downloaded simultaneously and play may further comprise the steps: a. starts downloading process, and the needs multimedia file in download is carried out burst download; B. create recorder file, the performance that the record burst is downloaded; C. start the player process, the size of data that once reads when player plays is set, size of data should be the integral multiple of burst size; D. according to the record of recorder file, judge and download the burst number whether the burst number finishing and be not read once reads less than player, if then player enters wait state, and get back to steps d; If not, execution in step e then; Whether e. judge needs the burst of multimedia file in download all to download, if not, then continue downloading slicing, if then withdraw from downloading process; F. read burst and play, and judge whether reading of burst all finishes, if not, then get back to step e, if then withdraw from the player process.
Embodiment:
After starting downloading process, at first the needs multimedia file in download is carried out burst, creating a recorder file then is used for the burst of recording multimedia file and downloads performance, number of bits in this recorder file is equal with burst quantity and the position is corresponding one by one with burst, the value of position is that the burst download of representing this correspondence at 1 o'clock is finished, the value of position is that the burst download of representing this correspondence at 0 o'clock is not finished, all positions all put 0 when initialization, and the intact burst of every download is just with the position 1 of this burst correspondence.After starting the player process, the size of data that once reads in the time of setting player plays earlier is traditionally arranged to be the integral multiple of burst size; Player is downloaded situation at the burst that reads the multimedia file that burst writes down in needing according to recorder file before playing, judge to download the burst number whether the burst number finishing and be not read once reads less than player, if the burst number that the burst number that download is finished and is not read once reads less than player, then player needs to wait for that the stand-by period can be set by user oneself; If download the burst number that the burst number finish and be not read once reads more than or equal to player, then player is to the burst broadcast of decoding.Downloading process will judge whether the whole multimedia file has been downloaded when downloading, do not download if downloaded then continued, just withdraw from downloading process if downloaded, in order to avoid occupy system resource, can whether all become 1 and judge according to the position in the recorder file, if also have 0 just to represent that the whole multimedia file is downloaded as yet and finish; Equally, player also will judge whether to play all bursts of multimedia file when playing, if play and just withdraw from the player process, do not play and just continue to download and play, also but service recorder device file is a basis for estimation, judge promptly whether the current burst that reads of player corresponds to last position of recorder file, if do not correspond to, just expression does not play all bursts of multimedia file as yet.

Claims (2)

  1. [claim 1] realizes the method that multimedia file is downloaded simultaneously and play, and it is characterized in that: may further comprise the steps:
    A. start downloading process, and the needs multimedia file in download is carried out burst download;
    B. create recorder file, the performance that the record burst is downloaded;
    C. start the player process, the size of data that once reads when player plays is set, size of data should be the integral multiple of burst size;
    D. according to the record of recorder file, judge and download the burst number whether the burst number finishing and be not read once reads less than player, if then player enters wait state, and get back to steps d; If not, execution in step e then;
    Whether e. judge needs the burst of multimedia file in download all to download, if not, then continue downloading slicing, if then withdraw from downloading process;
    F. read burst and play, and judge whether reading of burst all finishes, if not, then get back to step e, if then withdraw from the player process.
  2. The method that [claim 2] realization multimedia file as claimed in claim 1 is downloaded simultaneously and play, it is characterized in that: write down the performance that burst is downloaded among the described step b in the following way: the number of bits in the recorder file equates with burst quantity, and the position is corresponding one by one with burst, the value of position is that the burst download of representing this correspondence at 1 o'clock is finished, and the value of position is that the burst download of representing this correspondence at 0 o'clock is not finished.
CNA2008103056450A 2008-11-20 2008-11-20 Method for implementing multimedia file synchronous downloading and playing Pending CN101420349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008103056450A CN101420349A (en) 2008-11-20 2008-11-20 Method for implementing multimedia file synchronous downloading and playing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008103056450A CN101420349A (en) 2008-11-20 2008-11-20 Method for implementing multimedia file synchronous downloading and playing

Publications (1)

Publication Number Publication Date
CN101420349A true CN101420349A (en) 2009-04-29

Family

ID=40630967

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008103056450A Pending CN101420349A (en) 2008-11-20 2008-11-20 Method for implementing multimedia file synchronous downloading and playing

Country Status (1)

Country Link
CN (1) CN101420349A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013075578A1 (en) * 2011-11-24 2013-05-30 腾讯科技(深圳)有限公司 System and method for offline download of network resource file
CN104506950A (en) * 2014-12-29 2015-04-08 珠海全志科技股份有限公司 Multithread download method and download device in network streaming media play, and download equipment
CN104767777A (en) * 2014-01-07 2015-07-08 中国移动通信集团贵州有限公司 System and method of opening remote file
CN105453581A (en) * 2013-04-30 2016-03-30 杜比实验室特许公司 System and method of outputting multi-lingual audio and associated audio from a single container
CN105635254A (en) * 2015-12-23 2016-06-01 小米科技有限责任公司 Method and device for downloading multimedia resource
CN105763632A (en) * 2016-04-12 2016-07-13 刘健文 File transmission method for transmitting files among plurality of clients
CN105979346A (en) * 2015-12-03 2016-09-28 乐视致新电子科技(天津)有限公司 Method and device for playing streaming media

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013075578A1 (en) * 2011-11-24 2013-05-30 腾讯科技(深圳)有限公司 System and method for offline download of network resource file
CN103139241A (en) * 2011-11-24 2013-06-05 腾讯科技(深圳)有限公司 Off-line download system and method for network resource files
CN105453581A (en) * 2013-04-30 2016-03-30 杜比实验室特许公司 System and method of outputting multi-lingual audio and associated audio from a single container
CN105453581B (en) * 2013-04-30 2020-02-07 杜比实验室特许公司 System and method for outputting multi-language audio and associated audio from a single container
CN104767777A (en) * 2014-01-07 2015-07-08 中国移动通信集团贵州有限公司 System and method of opening remote file
CN104506950A (en) * 2014-12-29 2015-04-08 珠海全志科技股份有限公司 Multithread download method and download device in network streaming media play, and download equipment
CN105979346A (en) * 2015-12-03 2016-09-28 乐视致新电子科技(天津)有限公司 Method and device for playing streaming media
WO2017092329A1 (en) * 2015-12-03 2017-06-08 乐视控股(北京)有限公司 Method and apparatus for playing streaming media
CN105635254A (en) * 2015-12-23 2016-06-01 小米科技有限责任公司 Method and device for downloading multimedia resource
CN105635254B (en) * 2015-12-23 2018-12-18 小米科技有限责任公司 Multimedia resource method for down loading and device
CN105763632A (en) * 2016-04-12 2016-07-13 刘健文 File transmission method for transmitting files among plurality of clients

Similar Documents

Publication Publication Date Title
CN101420349A (en) Method for implementing multimedia file synchronous downloading and playing
CN103747317B (en) A kind of smooth playing control method of broadcasting storehouse under unstable network
CN102004760B (en) Multimedia file storing and applying method, related device and system
KR100862630B1 (en) System and method for synchronizing video frames and audio frames
WO2009033345A1 (en) A method for simultaneously downloading and playing hypertext transfer stream media
CN102227913B (en) Contents reproduction device
CN105681874A (en) Network video online playing method and device
US8437613B2 (en) Content display control apparatus, method therefor, program therefor, and recording medium therefor
WO2012178077A1 (en) Fast start of streaming digital media playback with deferred license retrieval
CN103596059A (en) Intelligent-television media player and playing progress adjusting method thereof, and intelligent television
WO2017092329A1 (en) Method and apparatus for playing streaming media
WO2017101412A1 (en) Playing method and device for android platform, and mobile terminal device
CN101377946B (en) Medium play method and terminal
CN103686312B (en) DVR multipath audio and video recording method
CN103873926A (en) Method and system for downloading and playing media file
JP2010004309A (en) Server, method, and program for generating digest video of moving image content
WO2023125169A1 (en) Audio processing method and apparatus, device, and storage medium
CN103747366B (en) A kind of display methods and player of HLS playback of media files progress
CN102143390B (en) A kind of Online Video Play System and method
WO2010081318A1 (en) Method and device for recording media
TW200836510A (en) Method and system for switching elementary streams on a decoder with zero delay
CN103391467A (en) Method for achieving synchronization of decoding and displaying of audio and video of network set-top box
WO2015014137A1 (en) Method, device, and system for data file insertion
CN101753934A (en) Method for recording non-current channel program in real time by digital television
CN107864393A (en) The method and device that video is shown with captioning synchronization

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090429