CN102867024A - File downloading method and terminal equipment - Google Patents

File downloading method and terminal equipment Download PDF

Info

Publication number
CN102867024A
CN102867024A CN2012103016835A CN201210301683A CN102867024A CN 102867024 A CN102867024 A CN 102867024A CN 2012103016835 A CN2012103016835 A CN 2012103016835A CN 201210301683 A CN201210301683 A CN 201210301683A CN 102867024 A CN102867024 A CN 102867024A
Authority
CN
China
Prior art keywords
file
terminal device
destination
video
file destination
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
CN2012103016835A
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd, Dongguan Yulong Telecommunication Technology Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN2012103016835A priority Critical patent/CN102867024A/en
Publication of CN102867024A publication Critical patent/CN102867024A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention discloses a file downloading method and terminal equipment, and relates to the field of communication. A user can download a target file under the condition of unknown information about the target file to be downloaded. The file downloading method comprises the following steps of: determining the target file to be downloaded; judging whether the target file is compatible with the file play software of the terminal equipment or not; and when the target file is incompatible with the file play software of the terminal equipment, transmitting prompting information to a user, so that the user can make a decision about whether to continue downloading the target file or not. The method and the terminal equipment are used for the user to download the target file.

Description

Method and terminal device that a kind of file is downloaded
Technical field
The present invention relates to the communications field, relate in particular to method and terminal device that a kind of file is downloaded.
Background technology
Present existing terminal device such as mobile phone, panel computer and PC etc., in process that file destination downloads is carried out in user online, can not send the information of any availability about this file destination.This file destination comprises audio file, video file, text or picture file.The user only has when this file destination downloaded to terminal device could determine whether this document is available.
State in realization in the process of technical scheme, the inventor finds that there are the following problems at least in the prior art: whether the user directly downloads in the situation of compatible this file destination at the file playout software of not knowing terminal device, could determine the availability of this file destination when using after download is finished, if this file destination can not be play, then can cause customer flow and waste of time.
Summary of the invention
Method and terminal device that embodiments of the invention provide a kind of file to download can reduce customer flow and waste of time.
For achieving the above object, embodiments of the invention adopt following technical scheme:
The method that a kind of file is downloaded comprises:
Need to determine the file destination of download;
Judge whether described file destination is compatible with the file playout software of terminal device;
When the file playout software of described file destination and described terminal device is incompatible, send information to the user, so that the user determines whether continue to download.
Further, described method also comprises: after determining the file destination that needs to download, obtain the type information of described file destination, in order to judge according to described type information whether described file destination is audio file, video file, text or picture file.
Further, described method also comprises: describedly judge that described file destination is whether compatible with the file playout software of terminal device.
A kind of terminal device comprises:
The file destination acquiring unit is used for definite file destination that needs download;
Judging unit is used for judging whether described file destination is compatible with the file playout software of terminal device;
Tip element is used for sending information to the user when the file playout software of described file destination and described terminal device is incompatible, so that the user determines whether continue to download.
Wherein said terminal device also comprises: download unit, when the file playout software of described file destination and described terminal device is incompatible, send the incompatible situation of file playout software of the described file destination of prompting user and described terminal device to the user, whether continue to download so that the user decides in its sole discretion.
Method and terminal device that a kind of file that the embodiment of the invention provides is downloaded, when the download of a certain file destination is carried out in user's online, file layout and the parameter information of the file destination that obtains according to terminal, judge whether described file destination is compatible with the file playout software of terminal device, and send indicative information by terminal device, so that the user determines whether download.Thereby avoided the user after downloading in the situation of the file layout of the unknown pre-download file or parameter information, the incompatible described file destination of the file playout software of terminal device causes customer flow and waste of time, and the present invention has saved user time and flow.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The process flow diagram of the method that Fig. 1 downloads for a kind of file that the embodiment of the invention provides;
The process flow diagram of the method that Fig. 2 downloads for the another kind of file that the embodiment of the invention provides;
The block diagram of a kind of terminal device that Fig. 3 provides for the embodiment of the invention;
The block diagram of the another kind of terminal device that Fig. 4 provides for the embodiment of the invention;
The block diagram of another terminal device that Fig. 5 provides for the embodiment of the invention;
The block diagram of another terminal device that Fig. 6 provides for the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Embodiment one:
The method that the embodiment of the invention provides a kind of file to download, as shown in Figure 1, the method comprises:
101, need to determine the file destination of download.
When the user surfed the Net the described file destination of download, terminal device obtained the type information of described file destination, and analyzes the type of described file destination, and described target file type comprises audio file, video file, text and picture file.
102, described terminal device judges whether described file destination is compatible with the file playout software of described terminal device.
103, when the file playout software of described file destination and described terminal device is incompatible, send information to the user, so that the user determines whether continue to download.
In the incompatible situation of the file playout software of described file destination and described terminal device, in the information that terminal device sends to the user, having indicated the file destination that the user prepares to download can not be compatible mutually with the file playout software of terminal device, after the user receives this information, can decide in its sole discretion and whether also need continue to download.
When the file playout software of described file destination and terminal device is compatible, then send the property downloaded information to the user, the user can directly download,
For instance, if described file destination is audio file, the form of described file destination is the wav form, and the player of terminal device is only supported the broadcast of the audio file of mp3 form, the user is when the download of described file destination is carried out in online so, terminal device at first obtains described file destination, and analyze described target file type, if described file destination is audio file, terminal device judges then whether the player of described file destination and terminal device is compatible, if the player of described file destination and terminal device is compatible, then can directly download, if the player of described file destination and terminal device is incompatible, then generating can not the property downloaded information, makes things convenient for the user to determine whether to proceed the download of described file destination.
The method that the file that the embodiment of the invention provides is downloaded, file layout and the parameter information of the file destination that obtains according to terminal device, judge whether described file destination is compatible with the file playout software of terminal device, when the file playout software of described file destination and terminal device is compatible, the user can directly download described file destination, when the player of described file destination and terminal device is incompatible, terminal device sends to the user can not the property downloaded information, whether continue to download described file destination so that the user decides in its sole discretion, reduced like this because the file playout software of file destination and terminal device is downloaded when incompatible and cause customer flow and waste of time.
Embodiment two:
The method that the embodiment of the invention provides a kind of file to download, as shown in Figure 2, the method comprises:
201, need to determine the file destination of download.
202, obtain the type information of described file destination.
When the user surfs the Net when downloading described file destination, terminal device is by obtaining the type information of described file destination, and analyzes the type of described file destination, and described target file type comprises audio file, video file, text and picture file.
203, terminal device judges whether described file destination is compatible with the file playout software of described terminal device.
Concrete, the judgment mode to compatibility in the embodiment of the invention can be:
When described file playout software is player, if file destination is video file, then terminal device at first obtains file layout and the video parameter of described video file from the equipment that stores video file, judges then whether the file layout of described video file and video parameter be compatible with the player of described terminal device; Described video parameter comprises: video flowing, video resolution, bit rate and video encoder.When file layout and video parameter are all compatible, can directly download described file destination.When file layout and video parameter have one can not be compatible the time, terminal device will send to the user can not the property downloaded information.
In the another kind of situation, if file destination is audio file, then terminal device at first obtains file layout and the audio frequency parameter of described audio file from the equipment that stores audio file, judges then whether the file layout of described audio file and audio frequency parameter be compatible with the player of described terminal device; Described audio frequency parameter comprises: audio stream, audio coder, audio sample rate and position are dark.When file layout and audio frequency parameter are all compatible, can directly download described file destination.When file layout and audio frequency parameter have one can not be compatible the time, terminal device will send to the user can not the property downloaded information.
The video flowing of mentioning in the above-mentioned video parameter, video resolution, bit rate and video encoder, and the audio stream of mentioning in the audio frequency parameter, audio coder, audio sample rate and position are dark, are parameters common in the actual scene, but are not limited in this.
In the another kind of situation, when described file playout software is the view as text program, if described file destination is text, then terminal device at first obtains the file layout of described text from the equipment that stores text, the file layout of then judging described text whether with the view as text program compatibility of described terminal device.
In another situation, when described file playout software is that picture is when checking program, if described file destination is picture file, then terminal device at first obtains the file layout of described picture file from the equipment that stores picture file, judges then whether the file layout of described picture file checks program compatibility with the picture of described terminal device.
The above-mentioned equipment that stores video file, audio file, text or picture file of mentioning can be website or service provider's server apparatus, also can be other users' terminal device.
When the file playout software of described file destination and described terminal device is compatible, execution in step 204; Otherwise execution in step 205.
204, when the player of described file destination and described terminal device is compatible, directly download described file destination.
205, when the file playout software of described file destination and described terminal device is incompatible, terminal device sends to the user can not the property downloaded information, so that the user determines whether proceed to download.
The below describes above-mentioned 201 to 205 for example.Suppose that the file destination that the user need download is movie.mp4, terminal device at first obtains described file destination, and analyze described target file type, if described file destination is video file, terminal device then obtains file layout and the video parameter of video file, and then judges whether the file layout of described file destination or video parameter be compatible with the player of described terminal device.If the player of described terminal device supports that form is the broadcast of the file destination of mp4, when the file layout of described file destination and the player of described terminal device were compatible, the user directly downloaded; If the player of described terminal device supports that form is the broadcast of the file destination of mp4, and the video parameter such as the video flowing of described file destination, video resolution, bit rate and video encoder and terminal player are when incompatible, whether then sending to the user can not the property downloaded information, proceed to download so that the user decides in its sole discretion; If the player of described terminal device is not supported the broadcast of the video file of mp4 form, then generating can not the property downloaded information, and the user decides the download of whether proceeding described file destination in its sole discretion.
The method that the file that the embodiment of the invention provides is downloaded, the type information of the file destination that obtains according to terminal device, judge whether described file destination is audio file, video file, text or picture file, and then according to file layout and the parameter information of described file destination, judge whether described file destination is compatible with the file playout software of terminal device, when the file playout software of described file destination and terminal device was compatible, the user can directly download described file destination; When the file playout software of described file destination and terminal device is incompatible, described terminal device sends to the user can not the property downloaded information, whether continue to download described file destination so that the user decides in its sole discretion, reduced like this because the player of described file destination and terminal device is downloaded when incompatible and cause customer flow and waste of time.
Embodiment three:
The embodiment of the invention also provides a kind of terminal device, and as shown in Figure 3, this terminal device comprises: file destination acquiring unit 31, judging unit 32, Tip element 33.
File destination acquiring unit 31 is used for definite file destination that needs download.
Judging unit 32 is used for according to described target file type information, judges whether described file destination is compatible with the player of terminal device.
Tip element 33 is used for sending information to the user when the player of described file destination and described terminal device is incompatible, so that the user determines whether continue to download.
Further, as shown in Figure 4, also comprise type information acquiring unit 34 in the terminal device, after being used for described file destination acquiring unit 31 definite described file destinations that need to download, obtain the type information of described file destination, in order to judge according to described type information whether described file destination is audio file, video file text or picture file.
Further, as shown in Figure 5, described judging unit 32 specifically comprises:
Parameter information obtains subelement 321, is used for obtaining file layout and the video parameter of described video file, obtains file layout and the audio frequency parameter of described audio file, obtains the file layout of described text, and obtains the file layout of described picture file.
The first judgment sub-unit 322, being used for working as described file playout software is player, when described file destination is video file, judges whether the file layout of described video file or video parameter be compatible with the player of described terminal device; Described video parameter comprises: video flowing, video resolution, bit rate and video encoder.
Described the first judgment sub-unit 322 also is used for when described file destination is audio file, judges whether the file layout of described audio file or audio frequency parameter be compatible with the player of described terminal device; Described audio frequency parameter comprises: audio coder, audio sample rate and position are dark.
The second judgment sub-unit 323, be used for when described file playout software be the view as text program, when described file destination is text, the file layout of judging described text whether with the view as text program compatibility of described terminal device.
The 3rd judgment sub-unit 324 when described file playout software is that picture is checked program, when described file destination is picture file, judges whether the file layout of described picture file checks program compatibility with the picture of described terminal device.
Further, as shown in Figure 6, also comprise download unit 35 in the terminal device, be used for when the file playout software of described file destination and described terminal device is compatible, downloading described file destination.
In embodiments of the present invention, as user during at the file destination that terminal device select to need is downloaded, file destination acquiring unit 31 is according to user's selection, need to determine the file destination of downloading.Type information acquiring unit 34 obtains the type information of described file destination after file destination acquiring unit 31 is determined the described file destination that needs to download.Judging unit 32 is according to described target file type information afterwards, judge whether described file destination is compatible with the file playout software of terminal device, specifically comprise: parameter information obtains file layout and the parameter information that subelement 321 obtains file destination, if described file destination is the audio or video file, then the first judgment sub-unit 322 is mated the file layout of described audio file or video file and the player of parameter information and described terminal device, and judges whether described audio file or video file be compatible with the player of described terminal device; If described file destination is text, then the second judgment sub-unit 323 is mated the file layout of text and the view as text program of described terminal device, and judges whether the parameter of described text and the view as text program of described terminal device mate; If described file destination is picture file, then the 3rd judgment sub-unit 324 is mated the file layout of picture file and the picture program of checking of described terminal device, and judges whether described picture file checks program compatibility with the picture of described terminal device.When the file playout software of described file destination and described terminal device is incompatible, Tip element 33 sends information to the user, notify the incompatible situation of file playout software of the described file destination of user and described terminal device, so that the user determines whether continue to download; When the file playout software of described file destination and described terminal device is compatible, the download that download unit 35 carries out described file destination.
The terminal device that provides in the embodiment of the invention can be portable terminal such as mobile phone and panel computer, also can be the equipment such as PC, and the embodiment of the invention is not done restriction to this.
The terminal device that the embodiment of the invention provides, file layout and the parameter information of the file destination that obtains according to terminal, judge whether described file destination is compatible with the file playout software of terminal device, when the file playout software of described file destination and terminal device is compatible, the user can directly download described file destination, when the file playout software of described file destination and terminal device is incompatible, described terminal device sends to the user can not the property downloaded information, whether continue to download described file destination so that the user decides in its sole discretion, reduced like this because the file playout software of described file destination and terminal device is downloaded when incompatible and cause customer flow and waste of time.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but the former is better embodiment in a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium that can read, floppy disk such as computing machine, hard disk or CD etc., comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (10)

1. the method that file is downloaded is characterized in that, comprising:
Need to determine the file destination of download;
Judge whether described file destination is compatible with the file playout software of terminal device;
When the player of described file destination and described terminal device is incompatible, send information to the user, so that the user determines whether continue to download.
2. method according to claim 1 is characterized in that, described file destination comprises audio file, video file, text and picture file,
After determining the file destination that needs to download, also comprise:
Obtain the type information of described file destination, in order to judge according to described type information whether described file destination is audio file, video file, text and picture file.
3. method according to claim 2 is characterized in that, when described file playout software is player, describedly judges that described file destination is whether compatible with the file playout software of terminal device, comprising:
Obtain file layout and the video parameter of described video file;
Whether file layout and the video parameter of judging described video file be compatible with the player of described terminal device; Described video parameter comprises: video flowing, video resolution, bit rate and video encoder;
Or
Obtain file layout and the audio frequency parameter of described audio file;
Whether file layout and the audio frequency parameter of judging described audio file be compatible with the player of described terminal device; Described audio frequency parameter comprises: audio stream, audio coder, audio sample rate and position are dark.
4. method according to claim 2 is characterized in that, when described file playout software is the view as text program, describedly judges that described file destination is whether compatible with the file playout software of terminal device, comprising:
Obtain the file layout of described text;
The file layout of judging described text whether with the view as text program compatibility of described terminal device.
5. method according to claim 2 is characterized in that, when described file playout software is picture when checking program, describedly judges that whether described file destination is compatible with the file playout software of terminal device, comprising:
Obtain the file layout of described picture file;
Judge whether the file layout of described picture file checks program compatibility with the picture of described terminal device.
6. the described method of any one in 5 according to claim 1 is characterized in that, also comprises:
When the file playout software of described file destination and described terminal device is compatible, download described file destination.
7. a terminal device is characterized in that, comprising:
The file destination acquiring unit is used for definite file destination that needs download;
Judging unit is used for judging whether described file destination is compatible with the file playout software of terminal device;
Tip element is used for sending information to the user when the file playout software of described file destination and described terminal device is incompatible, so that the user determines whether continue to download.
8. the terminal device described in according to claim 7 is characterized in that, described file destination comprises audio file, video file, text and picture file, and described terminal device also comprises:
The type information acquiring unit, determine the file destination of described need download for described file destination acquiring unit after, obtain the type information of described file destination, in order to judge according to described type information whether described file destination is audio file, video file, text or picture file.
9. terminal device according to claim 8 is characterized in that, described judging unit specifically comprises:
Parameter information obtains subelement, is used for obtaining file layout and the video parameter of described video file, obtains file layout and the audio frequency parameter of described audio file, obtains the file layout of described text, and obtains the file layout of described picture file;
The first judgment sub-unit, being used for working as described file playout software is player, when described file destination is video file, judges whether the file layout of described video file or video parameter be compatible with the player of described terminal device; Described video parameter comprises: video flowing, video resolution, bit rate and video encoder;
Described the first judgment sub-unit also is used for when described file destination is audio file, judges whether the file layout of described audio file or audio frequency parameter be compatible with the player of described terminal device; Described audio frequency parameter comprises: audio stream, audio coder, audio sample rate and position are dark;
The second judgment sub-unit, be used for when described file playout software be the view as text program, when described file destination is text, the file layout of judging described text whether with the view as text program compatibility of described terminal device;
The 3rd judgment sub-unit when described file playout software is that picture is checked program, when described file destination is picture file, judges whether the file layout of described picture file checks program compatibility with the picture of described terminal device.
10. the described terminal device of any one in 9 according to claim 7 is characterized in that, also comprises:
Download unit is used for downloading described file destination when the player of described file destination and described terminal device is compatible.
CN2012103016835A 2012-08-22 2012-08-22 File downloading method and terminal equipment Pending CN102867024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103016835A CN102867024A (en) 2012-08-22 2012-08-22 File downloading method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103016835A CN102867024A (en) 2012-08-22 2012-08-22 File downloading method and terminal equipment

Publications (1)

Publication Number Publication Date
CN102867024A true CN102867024A (en) 2013-01-09

Family

ID=47445893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103016835A Pending CN102867024A (en) 2012-08-22 2012-08-22 File downloading method and terminal equipment

Country Status (1)

Country Link
CN (1) CN102867024A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110809189A (en) * 2019-12-03 2020-02-18 北京字节跳动网络技术有限公司 Video playing method and device, electronic equipment and computer readable medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770897A (en) * 2004-11-04 2006-05-10 日本电气株式会社 Data-backup system for mobile communication terminal
CN101217751A (en) * 2008-01-16 2008-07-09 中兴通讯股份有限公司 A method to download multimedia documents from PC with PC side software
CN102495739A (en) * 2011-11-03 2012-06-13 中兴通讯股份有限公司 Data compatible method and system as well as inter-plate message method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770897A (en) * 2004-11-04 2006-05-10 日本电气株式会社 Data-backup system for mobile communication terminal
CN101217751A (en) * 2008-01-16 2008-07-09 中兴通讯股份有限公司 A method to download multimedia documents from PC with PC side software
CN102495739A (en) * 2011-11-03 2012-06-13 中兴通讯股份有限公司 Data compatible method and system as well as inter-plate message method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110809189A (en) * 2019-12-03 2020-02-18 北京字节跳动网络技术有限公司 Video playing method and device, electronic equipment and computer readable medium

Similar Documents

Publication Publication Date Title
US8260252B2 (en) Method and apparatus for collecting information about portable device usage
CN101681332B (en) Method and apparatus for transferring digital content from a personal computer to a mobile handset
US20090029685A1 (en) System and method for ringtone generation
CN101395603A (en) Portable content sharing
CN105183513A (en) Application recommendation method and apparatus
CN104735524A (en) Data sharing method and data sharing system of mobile terminal
CN104837035A (en) Video playing method and terminal
CN104503780A (en) Method and device for providing application channel packet
CN104183250A (en) Method and system for synchronizing function of music player of intelligent device and Bluetooth headset
CN104239467A (en) Application program recommendation method, system and device
CN105337822B (en) A kind of selection method and relevant device of main playback equipment
CN104539422A (en) Authentication control method for application client, server and terminals
CN104464743B (en) Method for playing background music in voice chat room and mobile terminal
CN103327410A (en) Method and system for playing video in mobile terminal browser and mobile terminal
CN104469406A (en) Method and device for processing network resources
CN104967646A (en) File downloading method and apparatus
CN105100132A (en) Terminal device and terminal device identification method and system
CN105357385A (en) Multiple APP profile management method and terminal
US20090199110A1 (en) Apparatus and method for transmitting animation-based message
CN104811796A (en) Network video continuous transmission method and network video continuous transmission device
CN104077400A (en) File recommending method
CN105721392A (en) Method, device and system for recommending applications
CN102867024A (en) File downloading method and terminal equipment
CN104581404A (en) Method, device and system for processing multimedia data
CN101375543A (en) Apparatus and method for moving rights object from one device to another device via server

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

Application publication date: 20130109