CN101478563A - Stream media format file downloading method and apparatus - Google Patents

Stream media format file downloading method and apparatus Download PDF

Info

Publication number
CN101478563A
CN101478563A CNA2008102272556A CN200810227255A CN101478563A CN 101478563 A CN101478563 A CN 101478563A CN A2008102272556 A CNA2008102272556 A CN A2008102272556A CN 200810227255 A CN200810227255 A CN 200810227255A CN 101478563 A CN101478563 A CN 101478563A
Authority
CN
China
Prior art keywords
download
media format
stream media
format file
article 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.)
Pending
Application number
CNA2008102272556A
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.)
Leade Technology Development Co., Ltd.
Peking University
Peking University Founder Group Co Ltd
Original Assignee
Peking University
Peking University Founder Group Co Ltd
Beijing Founder Apabi Technology 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 Peking University, Peking University Founder Group Co Ltd, Beijing Founder Apabi Technology Co Ltd filed Critical Peking University
Priority to CNA2008102272556A priority Critical patent/CN101478563A/en
Publication of CN101478563A publication Critical patent/CN101478563A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a streaming media format document downloading method and a device comprising: determining an article unit contained in the streaming media format document according to a downloaded streaming media format document corresponding file head information; establishing an article unit corresponding download thread; starting the download thread to download the streaming media format document; displaying block information after one block of the article unit is downloaded; combining the article unit into the streaming media format document according the file head information after the download is over. The method and device of the invention improve the download efficiency of the streaming media format document through a mobile communications network.

Description

A kind of stream media format file downloading method and device
Technical field
The present invention relates to the download transmission field in the moving communicating field, relate in particular to a kind of stream media format file downloading method and device.
Background technology
Along with the development that deepens continuously of mobile service, various software application at the wireless dial-up network also begins to spread to people gradually at one's side, and downloading and browse digital content timely by mobile devices such as mobile phones has become popular new trend; And on the growth rate of mobile devices such as mobile phone, this new media is being contained very huge customers, so huge customers are that other any traditional media are not available, therefore, how under current limited mobile bandwidth resources, for providing, numerous cellphone subscribers better download experience, and further improve downloading efficiency, and shorten and download the time of waiting for, become important research contents of mobile transmission field.
At present, the download transmission means of digital content mainly contains two kinds on mobile device:
After finishing, file in download opens reading method again: need all download to whole file content and call associated program again behind the portable terminal and open, under the situation that this mode is slow partially in current mobile network's limited bandwidth, speed of download, the downloading flow expense is higher, the reading experience that is unfavorable for very much the user, and this traffic fee that has only the mode that just can open after the download fully also to waste user's preciousness is to a certain extent used.
Data flow progressive download according to file also shows one by one: this mode can be downloaded content according to document flow progressive download and demonstration timely, but this be structural units with the page or leaf, can not fully improve download efficiency according to the downloading mode of document data flow order, also lack the abundant more experience of downloading.
Summary of the invention
The invention provides a kind of stream media format file downloading method and device, the download efficiency when downloading stream media format file by mobile communications network in order to raising.
The embodiment of the invention provides a kind of stream media format file downloading method, is applied to portable terminal, comprising:
According to the file header information of the stream media format file respective file of downloading, determine the article unit that described stream media format file comprises;
Create described article unit corresponding download thread;
Start described download thread and download described stream media format file.
The described article unit corresponding download thread of described establishment comprises:
Be that a corresponding download thread is created in an article unit; Perhaps
For creating a corresponding download thread in two or more article unit.
The described download thread of described startup is downloaded described stream media format file, is specially:
Start all download thread simultaneously and download described stream media format file; Perhaps
The one or more download thread of each startup are downloaded described stream media format file.
Described stream media format file downloading method also comprises:
Determine the priority of described download thread;
The one or more download thread of described each startup are downloaded described stream media format file, are specially:
Start described download thread by the priority orders of downloading thread and download described stream media format file.
Described stream media format file downloading method also comprises: the order by article unit described in the described file is that corresponding storage area is determined in described article unit, and the described article unit of downloading is stored in the corresponding described storage area.
Described stream media format file downloading method also comprises: after a piece download of described article unit finishes, show described block message.
Each download thread becomes described stream media format file according to described file header information with described article unit combination after downloading and finishing.
The embodiment of the invention also provides a kind of portable terminal, comprising:
Determining unit is used for the file header information according to the stream media format file respective file of downloading, and determines the article unit that described stream media format file comprises;
Creating unit is used to create described article unit corresponding download thread;
Download unit is used to start described download thread and downloads described stream media format file.
Described creating unit also is used to an article unit to create a corresponding download thread; Perhaps
For creating a corresponding download thread in two or more article unit.
Described download unit also is used for starting simultaneously all download thread and downloads described stream media format file; The one or more download thread of perhaps each startup are downloaded described stream media format file.
Described download unit also is used for determining the priority of described download thread; Start described download thread by the priority orders of downloading thread and download described stream media format file.
Described portable terminal also comprises:
Memory cell, the order that is used for by article unit described in the described file is that corresponding storage area is determined in described article unit, and the described article unit of downloading is stored in the corresponding described storage area.
Described portable terminal also comprises:
Show assembled unit, be used for after a piece download of described article unit finishes, showing described block message; And each download thread download finish after, according to described file header information described article unit combination is become described stream media format file.
Beneficial effect of the present invention is as follows:
The stream media format file downloading method that the embodiment of the invention provides is applied to portable terminal, according to the file header information of the stream media format file respective file of downloading, determines the article unit that stream media format file comprises; Create article unit corresponding download thread; Start download thread and download stream media format file.Adopt method provided by the invention and device, corresponding download thread is separately created in each article unit to document to be downloaded, the one or more download thread of each startup, realize the independent download of each article unit, the purpose of reach progressive download, jumping and downloading or download simultaneously, improved download efficiency, simultaneously, the inventive method can also be determined the priority of download thread, sequence starting download thread is according to priority downloaded document, reach the purpose of certain articles unit in the preferential download document, make things convenient for the user to read.
Description of drawings
A kind of stream media format file downloading method flow chart that Fig. 1 provides for the embodiment of the invention;
The stream media format file formal definition schematic diagram of Fig. 2 for downloading in the embodiment of the invention;
Fig. 3 is that stream media format file is downloaded schematic diagram in the embodiment of the invention;
Fig. 4 is that stream media format file shows schematic diagram in the embodiment of the invention;
A kind of mobile terminal structure schematic diagram that Fig. 5 provides for the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of stream media format file downloading method, is applied to portable terminal, comprising:
According to the file header information of the stream media format file respective file of downloading, determine the article unit that stream media format file comprises;
Create article unit corresponding download thread;
Start download thread and download stream media format file.
Below in conjunction with accompanying drawing said method of the present invention is described in detail.
Figure 1 shows that a kind of stream media format file downloading method flow chart that the embodiment of the invention provides, the mobile phone newspaper document that present embodiment is downloaded " Beijing Morning-0825 " on August 25th, 2008 with portable terminal by mobile communications network is that example describes, and comprising:
Step S101, according to the file header information of the stream media format file respective file of downloading, determine the article unit that this stream media format file comprises.
The formal definition of the stream media format file respective file of downloading in the embodiment of the invention as shown in Figure 2, as seen, file is made up of file header and follow-up a plurality of articles unit in order, and wherein file header is made up of a piece, one piece of article is represented in an article unit, is made up of a piece or a plurality of.
In the embodiment of the invention, file header adopts the OEB packet format to create, and file header information comprises summary info, length information and each article unit positional information hereof of every piece of article in the metadata information, stream media format file of stream media format file.For example:
" Beijing Morning-0825 " on August 25th, 2008, the metadata information of its file header information comprises: newspaper name (Beijing Morning), publishing house (Beijing Morning society), issue (0825), price (existing content is free), propelling movement mode (are regularly downloaded, every day, 10:30 pushed, about each issue 400K), store path (storage card ApabiMobi), newspaper brief introduction be (as the leader of capital morning newspaper, distinct style, press close to the epoch, closeness to life, press close to citizen, with the ageing and readable combination of news.) etc. information;
The summary info of every piece of article comprises: the catalogue of every piece of article summary in this phase " Beijing Morning-0825 ";
The length information of every piece of article is represented by its shared byte number, with the two pieces of articles " Beijing Olympic Games draws to a complete close " in this phase " Beijing Morning-0825 " and " the trade and investment promotion real estate is bought the building for 17.5 hundred million yuan " is example, file header length that wherein should the phase " Beijing Morning-0825 " is 2055 bytes, article " Beijing Olympic Games draws to a complete close " is the 1st a piece of article, length is 10220 bytes, " the trade and investment promotion real estate is bought the building for 17.5 hundred million yuan " is the 23rd piece of article, and length is 9978 bytes.
In the embodiment of the invention, each article unit positional information hereof defines with the side-play amount of each article unit with respect to file header, file header is the 1st piece of file, determine the 1st piece of each article unit afterwards in order by calculation document length and file header length, to write file header after the processing such as this piece annotation information process compress-encrypt, and a piece annotation information that generates is write in the document flow.
For example, article " Beijing Olympic Games draws to a complete close " is the 1st article unit, so its positional information is: 2055 bytes (file header length), article " the trade and investment promotion real estate is bought the building for 17.5 hundred million yuan " is the 23rd article unit, so its positional information is: the length of 2055 (file header length)+10220 (length of the 1st article unit)+2-22 article unit.Can accurately locate each position hereof, article unit by these positional informations.
Step S102, establishment article unit corresponding download thread.
Determine the starting position of each article unit in the embodiment of the invention according to above-mentioned each article unit positional information hereof, create article unit corresponding download thread, can adopt dual mode when specifically creating:
A kind of is to create a corresponding download thread for an article unit;
Another kind is to create a corresponding download thread for two or more article unit.
Step S103, startup download thread are downloaded this stream media format file.
In the embodiment of the invention,,, this step downloads this stream media format file so can taking multiple mode to start download thread owing to created a plurality of download thread before, as shown in Figure 3,
First kind of mode: start all download thread simultaneously and download documents,, can realize that so every piece of article downloads simultaneously if a corresponding download thread has all been created in each article unit.
The second way: start several times, start one or more download thread at every turn and download document, until starting all download thread.
Such as each 2 download thread, perhaps one or several download thread of random start of starting.
Preferable, can before starting download thread, determine the priority of download thread, sequence starting download thread is according to priority downloaded document, and the download thread that is in same priority starts simultaneously.For example, catalogue summary by every piece of article in the reading file header, can an overall understanding be arranged to this phase newspaper, and then can be defined as high priority with being intended to preferential article corresponding download thread of reading, the preferential download, a plurality of article corresponding download thread can also be defined as same priority, download simultaneously.The 1st piece of article " Beijing Olympic Games draws to a complete close " corresponding download thread as the above-mentioned newspaper of preferential startup, then start the 23rd piece of article " the trade and investment promotion real estate is bought the building for 17.5 hundred million yuan " corresponding download thread, also can start these two pieces of article corresponding download thread simultaneously.
Adopt aforesaid way to start download thread and download document, realize the independent download of each article unit, the purpose of reach progressive download, jumping and downloading or download simultaneously, improved download efficiency, and adopt the third mode to start download thread and download document, can also reach the purpose of certain articles unit in the preferential download document, make things convenient for the user to read.
Figure 4 shows that the stream media format file of downloading in the embodiment of the invention shows schematic diagram, before the startup download thread begins to download stream media format file, length information according to each article unit in the file header information, positional information, reserve the storage area of each article unit in order, after the startup download thread begins to download stream media format file, each article unit is that unit downloads with the piece, the piece that download is finished stores in the corresponding storage area, every download is finished one, promptly can be according to the positional information of article unit in the file header information, find this article unit to download the piece of finishing, show this piece content for user's reading, show the purpose of reading, save the time that the user waits for downloads while reach to download.
After step S104, download are finished, each article unit combination is become document according to file header information.
The embodiment of the invention can also become former document with each article unit combination in order according to each article unit positional information hereof in the file header information after each article unit download of file is finished; Also can adopt the method among the step S103, before download, reserve the storage area of each article unit in order, the article unit that download is finished stores in the corresponding accessing zone.
Based on same inventive concept, according to the stream media format file downloading method that the above embodiment of the present invention provides, correspondingly, the embodiment of the invention also provides a kind of portable terminal, and its structural representation is as shown in Figure 5, and is specific as follows,
Determining unit 501 is used for the file header information according to the stream media format file respective file of downloading, and determines the article unit that stream media format file comprises;
Creating unit 502 is used to create article unit corresponding download thread;
Download unit 503 is used to start download thread and downloads stream media format file.
Among other embodiment,
Above-mentioned creating unit 502 also is used to an article unit to create a corresponding download thread; Perhaps be that a corresponding download thread is created in two or more article unit.
Above-mentioned download unit 503 also is used for starting simultaneously all download thread and downloads stream media format file; The one or more download thread of perhaps each startup are downloaded stream media format files.
Preferable, above-mentioned download unit 503 also is used for determining the priority of download thread; Start download thread by the priority orders of downloading thread and download stream media format file.
Among other embodiment, above-mentioned portable terminal can also comprise:
Memory cell 504 is used for determining corresponding storage area by the order of file article unit for the article unit, and the article unit of downloading is stored in the corresponding storage area.
Among other embodiment, above-mentioned portable terminal can also comprise:
Show assembled unit 505, be used for after a piece download of article unit finishes, showing this block message; And each download thread download finish after, according to file header information the article unit combination is become stream media format file.
In sum, the scheme that the embodiment of the invention provides according to the file header information of the stream media format file respective file of downloading, is determined the article unit that stream media format file comprises; Create article unit corresponding download thread; Start download thread and download stream media format file; After a piece download of article unit finishes, show this block message; And download finish after, according to file header information the article unit combination is become stream media format file.Adopt method provided by the invention and device, the download efficiency when having improved by mobile communications network download stream media format file.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (13)

1, a kind of stream media format file downloading method is applied to portable terminal, it is characterized in that, comprising:
According to the file header information of the stream media format file respective file of downloading, determine the article unit that described stream media format file comprises;
Create described article unit corresponding download thread;
Start described download thread and download described stream media format file.
2, the method for claim 1 is characterized in that, the described article unit corresponding download thread of described establishment comprises:
Be that a corresponding download thread is created in an article unit; Perhaps
For creating a corresponding download thread in two or more article unit.
3, the method for claim 1 is characterized in that, the described download thread of described startup is downloaded described stream media format file, is specially:
Start all download thread simultaneously and download described stream media format file; Perhaps
The one or more download thread of each startup are downloaded described stream media format file.
4, method as claimed in claim 3 is characterized in that, also comprises:
Determine the priority of described download thread;
The one or more download thread of described each startup are downloaded described stream media format file, are specially:
Start described download thread by the priority orders of downloading thread and download described stream media format file.
5, as each described method of claim 1-4, it is characterized in that, also comprise: the order by article unit described in the described file is that corresponding storage area is determined in described article unit, and the described article unit of downloading is stored in the corresponding described storage area.
6, method as claimed in claim 5 is characterized in that, also comprises: after a piece download of described article unit finishes, show described block message.
7, method as claimed in claim 6 is characterized in that, each download thread becomes described stream media format file according to described file header information with described article unit combination after downloading and finishing.
8, a kind of portable terminal is characterized in that, comprising:
Determining unit is used for the file header information according to the stream media format file respective file of downloading, and determines the article unit that described stream media format file comprises;
Creating unit is used to create described article unit corresponding download thread;
Download unit is used to start described download thread and downloads described stream media format file.
9, portable terminal as claimed in claim 8 is characterized in that, described creating unit also is used to an article unit to create a corresponding download thread; Perhaps
For creating a corresponding download thread in two or more article unit.
10, portable terminal as claimed in claim 8 is characterized in that, described download unit also is used for starting simultaneously all download thread and downloads described stream media format file; Perhaps
The one or more download thread of each startup are downloaded described stream media format file.
11, portable terminal as claimed in claim 10 is characterized in that, described download unit also is used for determining the priority of described download thread; Start described download thread by the priority orders of downloading thread and download described stream media format file.
12, as each described portable terminal of claim 8-11, it is characterized in that, also comprise:
Memory cell, the order that is used for by article unit described in the described file is that corresponding storage area is determined in described article unit, and the described article unit of downloading is stored in the corresponding described storage area.
13, portable terminal as claimed in claim 12 is characterized in that, also comprises:
Show assembled unit, be used for after a piece download of described article unit finishes, showing described block message; And each download thread download finish after, according to described file header information described article unit combination is become described stream media format file.
CNA2008102272556A 2008-11-25 2008-11-25 Stream media format file downloading method and apparatus Pending CN101478563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008102272556A CN101478563A (en) 2008-11-25 2008-11-25 Stream media format file downloading method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008102272556A CN101478563A (en) 2008-11-25 2008-11-25 Stream media format file downloading method and apparatus

Publications (1)

Publication Number Publication Date
CN101478563A true CN101478563A (en) 2009-07-08

Family

ID=40839193

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008102272556A Pending CN101478563A (en) 2008-11-25 2008-11-25 Stream media format file downloading method and apparatus

Country Status (1)

Country Link
CN (1) CN101478563A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457554A (en) * 2010-10-29 2012-05-16 镇江雅迅软件有限责任公司 File download method based on simultaneous multi-threading execution technology
CN102455909A (en) * 2011-02-25 2012-05-16 中标软件有限公司 Method for asynchronously loading power point documents
CN102467488A (en) * 2011-02-25 2012-05-23 中标软件有限公司 Method for asynchronous loading of word processing document
CN104123287A (en) * 2013-04-24 2014-10-29 北大方正集团有限公司 Document data downloading device, terminal and document data downloading method
CN106790525A (en) * 2016-12-20 2017-05-31 广东小天才科技有限公司 A kind of document down loading method and device
CN106911790A (en) * 2010-12-02 2017-06-30 微软技术许可有限责任公司 Mixed synchronization and asynchronous flow
CN107526619A (en) * 2017-09-04 2017-12-29 江苏中威科技软件系统有限公司 The load mode of format data stream file

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457554A (en) * 2010-10-29 2012-05-16 镇江雅迅软件有限责任公司 File download method based on simultaneous multi-threading execution technology
CN106911790A (en) * 2010-12-02 2017-06-30 微软技术许可有限责任公司 Mixed synchronization and asynchronous flow
CN102455909A (en) * 2011-02-25 2012-05-16 中标软件有限公司 Method for asynchronously loading power point documents
CN102467488A (en) * 2011-02-25 2012-05-23 中标软件有限公司 Method for asynchronous loading of word processing document
CN104123287A (en) * 2013-04-24 2014-10-29 北大方正集团有限公司 Document data downloading device, terminal and document data downloading method
CN104123287B (en) * 2013-04-24 2018-07-13 北大方正集团有限公司 Document data download apparatus, terminal and document data method for down loading
CN106790525A (en) * 2016-12-20 2017-05-31 广东小天才科技有限公司 A kind of document down loading method and device
CN107526619A (en) * 2017-09-04 2017-12-29 江苏中威科技软件系统有限公司 The load mode of format data stream file

Similar Documents

Publication Publication Date Title
CN101478563A (en) Stream media format file downloading method and apparatus
CN101321000B (en) Mobile phone Bluetooth touch screen interaction system and method
CN102468989B (en) The method and system of network data
CN103559288A (en) Method and mobile terminal for intelligent collecting and sharing
CN102790727B (en) A kind of method and system of dynamic propelling movement individual subscriber label
CN101958958A (en) Method for replying message and terminals
CN1988547A (en) Method, server and system for online playing medium file
US9479566B2 (en) Method and apparatus for downloading web page content
CN104471917A (en) Application information sharing method and device
CN101917471B (en) Message push method and server
CN103176952A (en) Document display method and document display device
CN103345696A (en) Display method, device and mobile terminal of pushing information
CN101820472A (en) Method, device and mobile terminal for realizing user prompt operation
CN101146138B (en) A system, method and mobile terminal for customizing media contents of the mobile phone
CN101526902B (en) Executable file compression and loading technologies for movable terminal
CN103905652A (en) Power supply management method and electronic device
CN201393305Y (en) Mobile internet terminal
CN105007310A (en) Information synchronization method, device and system
CN101925051B (en) A kind of mobile terminal and method for down loading thereof
CN103873631B (en) Method and device for displaying call interface of mobile terminal
CN101119455B (en) Method to fast display program information in handset television
CN102136117A (en) Method, terminal and system for releasing wireless advertisement based on electronic menu
CN101667121A (en) Feature phone secondary development method and device
CN102932960A (en) Exchange system and exchange method for electronic business cards
CN104123287A (en) Document data downloading device, terminal and document data downloading method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20090821

Address after: 9 floor, Zhongguancun founder building, 298 Cheng Fu Road, Haidian District, Beijing, zip code: 100871

Applicant after: Peking University Founder Group Corp

Co-applicant after: Beijing Founder Feiyue Media Technology Co., Ltd.

Co-applicant after: Peking University

Address before: 9 floor, Zhongguancun founder building, 298 Cheng Fu Road, Haidian District, Beijing, zip code: 100871

Applicant before: Peking University Founder Group Corp

Co-applicant before: Beijing Founder Apabi Technology Co., Ltd.

Co-applicant before: Peking University

ASS Succession or assignment of patent right

Owner name: LIDE TECHNOLOGY DEVELOPMENT CO., LTD. BEIJING UNIV

Free format text: FORMER OWNER: BEIJING FOUNDER FEIYUE MEDIA TECHNOLOGY CO., LTD. BEIJING UNIV.

Effective date: 20120206

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

Effective date of registration: 20120206

Address after: 100871 Beijing, Haidian District Road, building No. 298, founder of the building, Zhongguancun, layer 9

Applicant after: Peking Founder Group Co., Ltd.

Co-applicant after: Leade Technology Development Co., Ltd.

Co-applicant after: Peking University

Address before: 100871 Beijing, Haidian District Road, building No. 298, founder of the building, Zhongguancun, layer 9

Applicant before: Peking Founder Group Co., Ltd.

Co-applicant before: Beijing Founder Feiyue Media Technology Co., Ltd.

Co-applicant before: Peking University

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20090708