CN101577627A - System and method for downloading and playing multimedia file - Google Patents
System and method for downloading and playing multimedia file Download PDFInfo
- Publication number
- CN101577627A CN101577627A CNA2009100403285A CN200910040328A CN101577627A CN 101577627 A CN101577627 A CN 101577627A CN A2009100403285 A CNA2009100403285 A CN A2009100403285A CN 200910040328 A CN200910040328 A CN 200910040328A CN 101577627 A CN101577627 A CN 101577627A
- Authority
- CN
- China
- Prior art keywords
- download
- multimedia file
- information
- downloading
- unit
- 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
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a system and a method for downloading and playing a multimedia file. The method comprises the following steps: downloading head information of the multimedia file; resolving the head information; acquiring the information of the downloading position of multimedia data according to the head information; and downloading the multimedia data and playing the downloaded multimedia data according to the information of the downloading position. The system and the method for downloading and playing the multimedia file are adopted and can realize the simultaneous downloading and playing more effectively.
Description
Technical field
The present invention relates to data communication technology field, more particularly, relate to a kind of downloading and broadcasting system and method for multimedia file.
Background technology
Along with the development of broadband network, the multimedia resource on the Internet is more and more abundanter.During by the Internet download multimedia file, because the data volume of multimedia file is bigger usually, having downloaded a multimedia file (for example film, TV play etc.) often needs several hours.Yet people just have the demand of watching in the downloading process of multimedia file usually.In addition, the past contact of people needs the general contents or the beginning part of first preview multimedia file, to determine whether to be necessary to download the whole multimedia file.Therefore be necessary to realize the playing function while downloading of multimedia file.
At present, have part to download the function that software can be supported the broadcast while downloading, for example part is downloaded software.To having downloaded a certain proportion of multimedia file (ratio of downloading usually is more than 10%), its downloading mode can be switched to progressive download by original out of order download, simultaneously, open the http mode program request of this multimedia file of http service support in this locality, and the associated player of startup multimedia file is play.
Yet above-mentioned download software realizes that there is limitation in the mode of playing while downloading, makes troubles for user's use.At first, the multimedia form of being supported is limited, only supports real form, wmv form, mpeg form and mp3 form.Secondly, the progressive download mode is only effective to the multimedia form that medium metadata and audio/video flow data are deposited in proper order, for the multimedia file of other form, then can't realize while downloading playing function.Once more, if the associated player of multimedia file is not supported the program request of http mode, then play and to lose efficacy while downloading.In addition, the progressive download mode does not support random point to play yet.
Summary of the invention
Based on this, be necessary to provide a kind of downloading and broadcasting system of the multimedia file of can more effective realization playing while downloading.
In addition, also be necessary to provide a kind of method for downloading and playing of the multimedia file of can more effective realization playing while downloading.
The downloading and broadcasting system of described multimedia file, comprise the download unit of downloading multi-medium data and the broadcast unit of play multimedia data, described download unit comprises the header information of downloading multimedia file, and according to the download module of the download location download of information multi-medium data of broadcast unit feedback, broadcast unit comprises the parsing header information, and obtains the parsing module of the download location information of multi-medium data according to header information.
This download unit also can comprise the transceiver module of transmission multi-medium data to the download location information of broadcast unit and reception broadcast unit feedback.
And broadcast unit also can comprise the transceiver module of transmission download location information to the multi-medium data of download unit and the transmission of reception download unit.
In addition, broadcast unit also can comprise: index information download request module is used to generate the index information download request of multimedia file, and the download location information of described download request and index information is sent to download unit.
And parsing module also can be used for obtaining the play time of multimedia file, and obtains play time corresponding download positional information according to the index information parsing of multimedia file.
Download unit also can comprise: download location list management module, link to each other with the transceiver module and the download module of download unit, and play time corresponding download positional information is inserted into the head of download location tabulation.
The method for downloading and playing of described multimedia file comprises: the header information of downloading multimedia file; Resolve header information, and obtain the download location information of multi-medium data according to header information; According to download location download of information multi-medium data; With the broadcast multimedia data downloaded.
This method also can comprise: the index information of downloading multimedia file.
This method also can comprise: obtain the play time of multimedia file, resolve according to the index information of multimedia file and obtain play time corresponding download positional information.
And can comprise according to the step of download location download of information multi-medium data: the download location tabulation is set, described play time corresponding download positional information is inserted into the head of tabulating in described download location, and downloads multi-medium data according to the tabulation of described download location.
The downloading and broadcasting system of above-mentioned multimedia file and method, download the header information of multimedia file by download unit, broadcast unit is resolved header information, and obtain the download location information of multimedia file according to header information, and give download unit with this download location feedback information, download unit then can be according to download location download of information multi-medium data.Owing to downloaded the header information of multimedia file, can download targetedly according to the download location information that parsing obtains, improved the validity of downloading; When having downloaded a certain proportion of data volume, can support that the time of playing is longer.Therefore, can more effectively realize playing function while downloading.
Description of drawings
Fig. 1 is the structural representation of the downloading and broadcasting system of multimedia file among the embodiment;
Fig. 2 is the structural representation of the downloading and broadcasting system of multimedia file among another embodiment;
Fig. 3 is the flow chart of the method for downloading and playing of multimedia file among the embodiment;
Fig. 4 is the method flow diagram that the random point of multimedia file among the embodiment is play.
Embodiment
Fig. 1 shows the downloading and broadcasting system of a multimedia file among the embodiment, and this system comprises the download unit 100 of downloading multi-medium data and the broadcast unit 200 of play multimedia data, wherein:
Download module 102 links to each other with transceiver module 101, downloads the header information of multimedia file, and according to the download location download of information multi-medium data of broadcast unit 200 feedbacks.
Should be noted that, above-mentioned download unit 100 and broadcast unit 200 can be applicable in the multiple terminal communication equipment, personal computer (Personal Computer for example, PC), personal digital assistant (PersonalDigital Assistant, PDA), mobile phone (Mobile Phone, MP), and various webpage client (Web Client, WC) etc., therefore, applied environment of the present invention should not be limited to certain specific terminal equipment.
In one embodiment, download unit 100 can be put into buffer memory with the multi-medium data that downloads to, and multi-medium data constantly passed to broadcast unit 200 with the transceiver module 101 of certain unit (for example a second of a frame of video, audio frequency etc.) by download unit 100, the transceiver module 201 of broadcast unit 200 receives multi-medium data, is constantly decoded and is displayed the play by 203 pairs of multi-medium datas that receive of playing module.
In another embodiment, download unit 100 also can be stored in multimedia data downloaded in the local file, simultaneously the path of the multimedia file transceiver module 101 by download unit 100 is sent to broadcast unit 200, broadcast unit 200 is opened multimedia file according to file path and is got final product.In addition, download unit 100 also can adopt the universal network agreement to carry out the mutual of multi-medium data with broadcast unit 200, download unit 100 can be created home server, procotol can adopt universal network agreements such as udp, tcp, http, rtsp, mms, broadcast unit 100 can be created corresponding receiving terminal, and receiving multimedia data and decoding are play.
In one embodiment, broadcast unit 200 also can adopt the universal network agreement with the download location feedback information to download unit 100.In one embodiment, download location information can comprise the initial download location of multi-medium data and download length.In addition, broadcast unit 200 also can adopt the mode of interprocess communication to give download unit 100 with the download location feedback information.For example, adopt the communication mechanism of window message, broadcast unit 200 is with the download location of multi-medium data and download the window message of length by specified command number and send to download unit 100, the transceiver module 101 of download unit 100 receives corresponding window message, and window message resolved, obtain initial download location and download length.
Fig. 2 shows the downloading and broadcasting system of the multimedia file among another embodiment, and this system comprises above-mentioned download unit 100 and broadcast unit 200, wherein:
For the multimedia file of different-format, the position difference of its index information storage, it may be in top of file, afterbody or other position, and parsing module 202 can obtain the download location of index information by the header information of definition multimedia file.When index information download request module 204 request download units 100 are downloaded the index information of multimedia file, the download location information of this index information can be sent to download unit 100, the transceiver module 101 of download unit 100 receives download location information, and 102 of download modules can be sent to broadcast unit 200 according to the index information of this download location download of information multimedia file and by transceiver module 101.
In one embodiment, parsing module 202 also can obtain the play time of multimedia file, and resolves the pairing download location of the play time information that obtains according to the index information of multimedia file.In one embodiment, the user selects a new play time, parsing module 202 obtains this play time, index information according to multimedia file is resolved the pairing download location of this play time information that obtains, and this play time corresponding download positional information is sent to download unit 100 by the transceiver module 201 of broadcast unit 200, the transceiver module 101 of download unit 100 receives this information and submits to download location list management module 103,103 of download location list management modules are inserted into the head of download location tabulation with this play time corresponding download positional information, and it is downloaded as limit priority.
Fig. 3 shows the method for downloading and playing flow process of multimedia file among the embodiment, and detailed process is as follows:
In step S301, download the header information of multimedia file.
In step S302, resolve header information, and obtain the download location information of multi-medium data according to header information.
In step S303, according to download location download of information multi-medium data.
In step S304, play multimedia data downloaded.
In one embodiment, the user selects to download a certain multimedia file, and starts while downloading play mode in the initial or process of downloading.Whether 100 detections of download unit have downloaded the header information of multimedia file.The visual different media file format of header information is got different regular lengths, the desirable 512B of mp3 file for example, the desirable 200KB of rmvb file etc.Should be noted that the media file to different-format, the length of the present invention and incorrect information is done any restriction.If header data is not downloaded and finished, then download module 102 is at first downloaded header information, and the transceiver module 101 by download unit 100 after download is finished is sent to broadcast unit 200 with header information.
The transceiver module 201 of broadcast unit 200 receives header information.Elaborate at foregoing about the data interactive mode between download unit 100 and the broadcast unit 200, then repeat no more at this.202 pairs of header informations of parsing module are resolved, obtain the information such as form (comprising Container Format, video format, audio format), code check, program duration of multimedia file, and the download location information of multi-medium data (the initial download location of Voice ﹠ Video flow data, download length etc.).
After getting access to the download location information of multi-medium data, 201 of transceiver modules are sent to download unit 100 with this download location information.In one embodiment, the index information request download module 204 of broadcast unit 200 also can ask to download the index information of multimedia file, wherein, index information has write down the audio frequency and video time point of multimedia file and the corresponding relation of its download location, can obtain the download location information of the multi-medium data of play time correspondence by index information.When index information is downloaded in 204 requests of index information request download module, the multi-medium data download location information that the download location information and the aforementioned parsing module 202 parsing header informations of index information can be obtained is sent to download unit 100 by transceiver module 201 in the lump, and the download location of index information can obtain by the header information of parsing module 202 definition multimedia files.
The multi-medium data and the index information of the download of information relevant position, download location that 102 bases of download module are received, and multi-medium data and the index information that download is finished be sent to broadcast unit 200 by transceiver module 101, show and play and download the multi-medium data of finishing by playing module 203.In one embodiment, download location information can comprise the initial download location of multi-medium data and download length.
In one embodiment, the download location tabulation can be set, each node of download location tabulation has been specified initial download location, also can comprise and download length etc.In addition, go back the priority of definable node, for example, the download priority of head node is the highest in the tabulation, and the download priority of afterbody node is minimum, and from first to last priority is successively decreased.102 of download modules can be downloaded according to the priority orders in the tabulation of download location.
Fig. 4 shows the method flow of the random point broadcast of multimedia file among the embodiment, and detailed process is as follows:
In step S401, obtain play time.In one embodiment, when the user selected a certain play time immediately, broadcast unit 200 can be caught user's the clicking operation dilatory operation of slide bar (also can be etc.), obtains the play time that the user selects.
In step S402, obtain play time corresponding download positional information according to the index information of multimedia file.In one embodiment, the index information that has obtained multimedia file is downloaded in broadcast unit 200 requests, can obtain the download location information of the pairing multi-medium data of play time of user's selection according to this index information.After broadcast unit 200 obtains play time corresponding download positional information, this download location information is sent to download unit 100 by transceiver module 201, simultaneously, broadcast unit can enter buffer status, waits for receiving new multi-medium data.
In step S403, described play time corresponding download positional information is inserted into the head of download location tabulation.In one embodiment, the download priority that download location list management module 103 is provided with head node in the tabulation is the highest, and the download priority of afterbody node is minimum, and from first to last priority is successively decreased.After the transceiver module 101 of download unit 100 receives new download location information, notice download location list management module 103 is inserted the head of download location tabulation with this download location information of play time correspondence, the preferential pairing multi-medium data of downloading and playing time point when then downloading.
In step S404, according to the tabulate multi-medium data of preferential downloading and playing time point correspondence of described download location.Because each node has been specified the initial download location of multi-medium data in the tabulation of download location, and also can comprise and download length etc., and the priority of head node is the highest, so download module 102 can preferentially be downloaded the multi-medium data of the download location of node head appointment.
In step S405, play described multimedia data downloaded.In one embodiment, download module 102 is downloaded the multi-medium data of finishing the play time correspondence, then the multi-medium data of download being finished by transceiver module 101 sends to broadcast unit 200, transceiver module 201 receiving multimedia datas of broadcast unit 200, when receiving abundant data volume, broadcast unit 200 finishes buffer statuss, by the display the play multi-medium data of user-selected time point of playing module 203.Wherein, cushion required data volume and can be set at a fixed value in advance, for example 1MB also can be set at fixing duration, for example 1 minute.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1, a kind of downloading and broadcasting system of multimedia file, comprise the download unit of downloading multi-medium data and the broadcast unit of play multimedia data, it is characterized in that, described download unit comprises the header information of downloading multimedia file, and according to the download module of the download location download of information multi-medium data of described broadcast unit feedback, described broadcast unit comprises resolves described header information, and obtains the parsing module of the download location information of multi-medium data according to described header information.
2, the downloading and broadcasting system of multimedia file according to claim 1 is characterized in that, described download unit also comprises and sends multi-medium data to broadcast unit and the transceiver module that receives the download location information of described broadcast unit feedback.
3, the downloading and broadcasting system of multimedia file according to claim 1 is characterized in that, described broadcast unit also comprises and sends download location information to download unit and the transceiver module that receives the multi-medium data that described download unit sends.
4, the downloading and broadcasting system of multimedia file according to claim 1 is characterized in that, described broadcast unit also comprises:
Index information download request module is used to generate the index information download request of multimedia file, and the download location information of described download request and index information is sent to described download unit.
5, the downloading and broadcasting system of multimedia file according to claim 4, it is characterized in that, described parsing module also is used to obtain the play time of multimedia file, and obtains described play time corresponding download positional information according to the index information parsing of described multimedia file.
6, the downloading and broadcasting system of multimedia file according to claim 5 is characterized in that, described download unit also comprises:
Download location list management module links to each other with the transceiver module and the download module of described download unit, described play time corresponding download positional information is inserted into the head of described download location tabulation.
7, a kind of method for downloading and playing of multimedia file is characterized in that, described method comprises:
Download the header information of multimedia file;
Resolve header information, and obtain the download location information of multi-medium data according to described header information;
According to described download location download of information multi-medium data; With
Play described multimedia data downloaded.
8, the method for downloading and playing of multimedia file according to claim 7 is characterized in that, described method also comprises: the index information of downloading multimedia file.
9, the method for downloading and playing of multimedia file according to claim 8, it is characterized in that, described method also comprises: obtain the play time of multimedia file, resolve according to the index information of described multimedia file and obtain described play time corresponding download positional information.
10, the method for downloading and playing of multimedia file according to claim 9, it is characterized in that, step according to download location download of information multi-medium data comprises: the download location tabulation is set, described play time corresponding download positional information is inserted into the head of tabulating in described download location, and downloads multi-medium data according to the tabulation of described download location.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100403285A CN101577627B (en) | 2009-06-17 | 2009-06-17 | System and method for downloading and playing multimedia file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100403285A CN101577627B (en) | 2009-06-17 | 2009-06-17 | System and method for downloading and playing multimedia file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101577627A true CN101577627A (en) | 2009-11-11 |
CN101577627B CN101577627B (en) | 2011-12-14 |
Family
ID=41272423
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009100403285A Active CN101577627B (en) | 2009-06-17 | 2009-06-17 | System and method for downloading and playing multimedia file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101577627B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102088449A (en) * | 2009-12-08 | 2011-06-08 | 腾讯科技(深圳)有限公司 | Playing method and device of network video file |
CN102891997A (en) * | 2011-07-20 | 2013-01-23 | 深圳市快播科技有限公司 | Audio and video frequency multi-media file format for fast play, playing method and playing device |
CN103747065A (en) * | 2013-12-27 | 2014-04-23 | 河海大学 | Client HTTP retrieval full-index container format media resource time slice method |
CN103873929A (en) * | 2014-04-11 | 2014-06-18 | 北京鸿达以太文化发展有限公司 | Method and device for playing multimedia data |
CN104394476A (en) * | 2014-11-28 | 2015-03-04 | 乐视致新电子科技(天津)有限公司 | Time shifting playing method and media player |
CN104580389A (en) * | 2014-12-18 | 2015-04-29 | 河海大学 | Client HTTP retrieval method for Ogg format time slices of URI |
CN107786490A (en) * | 2016-08-24 | 2018-03-09 | 中兴通讯股份有限公司 | Media information method for packing and device, package file analysis method and device |
CN110247985A (en) * | 2019-06-28 | 2019-09-17 | 北京奇艺世纪科技有限公司 | A kind of resource downloading method, device, electronic equipment and medium |
CN110290396A (en) * | 2019-05-31 | 2019-09-27 | 广州市百果园信息技术有限公司 | A kind of method, apparatus, system, equipment and the storage medium of video processing |
CN111031117A (en) * | 2019-12-02 | 2020-04-17 | 深圳市迅雷网络技术有限公司 | Multimedia file downloading method and related device |
CN111163175A (en) * | 2019-12-31 | 2020-05-15 | 中国银行股份有限公司 | Method and system for transmitting multimedia file |
CN111429871A (en) * | 2020-03-20 | 2020-07-17 | 腾讯音乐娱乐科技(深圳)有限公司 | Media file acquisition method and device and storage medium |
CN115396692A (en) * | 2021-11-04 | 2022-11-25 | 深圳点猫科技有限公司 | Video file playing method, device, equipment and storage medium |
-
2009
- 2009-06-17 CN CN2009100403285A patent/CN101577627B/en active Active
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102088449A (en) * | 2009-12-08 | 2011-06-08 | 腾讯科技(深圳)有限公司 | Playing method and device of network video file |
CN102088449B (en) * | 2009-12-08 | 2014-02-26 | 腾讯科技(深圳)有限公司 | Playing method and device of network video file |
CN102891997A (en) * | 2011-07-20 | 2013-01-23 | 深圳市快播科技有限公司 | Audio and video frequency multi-media file format for fast play, playing method and playing device |
CN103747065A (en) * | 2013-12-27 | 2014-04-23 | 河海大学 | Client HTTP retrieval full-index container format media resource time slice method |
CN103873929A (en) * | 2014-04-11 | 2014-06-18 | 北京鸿达以太文化发展有限公司 | Method and device for playing multimedia data |
CN104394476A (en) * | 2014-11-28 | 2015-03-04 | 乐视致新电子科技(天津)有限公司 | Time shifting playing method and media player |
CN104580389A (en) * | 2014-12-18 | 2015-04-29 | 河海大学 | Client HTTP retrieval method for Ogg format time slices of URI |
CN104580389B (en) * | 2014-12-18 | 2017-12-01 | 河海大学 | The client side HTTP search method of the Ogg form time slices of URI marks |
CN107786490A (en) * | 2016-08-24 | 2018-03-09 | 中兴通讯股份有限公司 | Media information method for packing and device, package file analysis method and device |
CN110290396A (en) * | 2019-05-31 | 2019-09-27 | 广州市百果园信息技术有限公司 | A kind of method, apparatus, system, equipment and the storage medium of video processing |
CN110290396B (en) * | 2019-05-31 | 2024-04-09 | 广州市百果园信息技术有限公司 | Video processing method, device, system, equipment and storage medium |
CN110247985A (en) * | 2019-06-28 | 2019-09-17 | 北京奇艺世纪科技有限公司 | A kind of resource downloading method, device, electronic equipment and medium |
CN110247985B (en) * | 2019-06-28 | 2022-06-03 | 北京奇艺世纪科技有限公司 | Resource downloading method and device, electronic equipment and medium |
CN111031117A (en) * | 2019-12-02 | 2020-04-17 | 深圳市迅雷网络技术有限公司 | Multimedia file downloading method and related device |
CN111163175A (en) * | 2019-12-31 | 2020-05-15 | 中国银行股份有限公司 | Method and system for transmitting multimedia file |
CN111163175B (en) * | 2019-12-31 | 2022-07-19 | 中国银行股份有限公司 | Method and system for transmitting multimedia file |
CN111429871A (en) * | 2020-03-20 | 2020-07-17 | 腾讯音乐娱乐科技(深圳)有限公司 | Media file acquisition method and device and storage medium |
CN115396692A (en) * | 2021-11-04 | 2022-11-25 | 深圳点猫科技有限公司 | Video file playing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN101577627B (en) | 2011-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101577627B (en) | System and method for downloading and playing multimedia file | |
CN1941899B (en) | System and method for downloading contents | |
CN111901674B (en) | Video playing control method and device | |
CN100359946C (en) | A method and system for internet content acquisition according to a program guide | |
CN101023668B (en) | Methods and apparatus for providing content information to content servers | |
CN100505630C (en) | A method and system for broadcasting buffered advertisement in polling mode under the network living broadcast environment | |
KR100567157B1 (en) | A method of multiple file streamnig service through playlist in mobile environment and system thereof | |
JP5706814B2 (en) | Contents providing method and apparatus in broadcasting system, and mobile terminal | |
US8122480B2 (en) | Method and apparatus for facilitating interactions with an object in a digital video feed to access associated content | |
CN102790921B (en) | Method and device for choosing and recording partial screen area of multi-screen business | |
US20120167154A1 (en) | System and method for providing social network service to multiple screen devices | |
CN103179438B (en) | Video playback accesses determination method and the device of code check first | |
CN104038514A (en) | Method and system for realizing mobile interconnection services, data center, and mobile terminal | |
JP2012199950A (en) | Apparatus and methods for providing and presenting customized channel information | |
CN103139211A (en) | Multi-screen adaptive display system and implementation method thereof | |
CN105959743A (en) | Video advertisement playing method and device and server | |
CN103514219A (en) | Method and system for sharing Web content between multiple terminals | |
CN103702235A (en) | Data processing method and system for content delivery network | |
CN105898501A (en) | Video display method, video player and electronic device | |
CN102946552A (en) | Media asset injection method and related system | |
CN104270656A (en) | Pushed message delay processing method and system, intelligent receiving terminal and mobile terminal | |
CN102065117A (en) | Content service system, content server, content terminal and content service method | |
US20090013058A1 (en) | Embedded device and method for assisting in processing media content based on subcribed syndication feed | |
CN112243158B (en) | Media file processing method and device, computer readable medium and electronic equipment | |
CN112584200A (en) | Screen projection method and system, electronic equipment and storage medium |
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 |