CN105260367A - Method and device for determining downloaded file address - Google Patents

Method and device for determining downloaded file address Download PDF

Info

Publication number
CN105260367A
CN105260367A CN201410258337.2A CN201410258337A CN105260367A CN 105260367 A CN105260367 A CN 105260367A CN 201410258337 A CN201410258337 A CN 201410258337A CN 105260367 A CN105260367 A CN 105260367A
Authority
CN
China
Prior art keywords
download
file
address
tool
download file
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
Application number
CN201410258337.2A
Other languages
Chinese (zh)
Other versions
CN105260367B (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410258337.2A priority Critical patent/CN105260367B/en
Publication of CN105260367A publication Critical patent/CN105260367A/en
Application granted granted Critical
Publication of CN105260367B publication Critical patent/CN105260367B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a method and a device for determining a downloaded file address. The method comprises the following steps: receiving an instruction of searching for a downloaded file; after the instruction of searching for the downloaded file is received, acquiring download path relevant information from a download tool, and/or acquiring the download path relevant information from third-party software, wherein the third-party software is software outside the download tool; and determining the downloaded file address according to the download path relevant information. The download path relevant information is acquired from the download tool, and/or the download path relevant information is acquired from the third-party software, so that a basis for determining the downloaded file address is obtained. Running of a special monitoring program is not needed, and special recording of the downloaded file is not needed, so that dependence on the monitoring program is eliminated. Thus, the address of the downloaded file can be determined accurately and comprehensively, and occupation in system resources is reduced.

Description

A defining method for download file address, and device
Technical field
The present invention relates to field of computer technology, particularly a kind of defining method of download file address, and device.
Background technology
Many users hard disk (especially system disk catalogue is generally C dish catalogue) remaining space after computer uses a period of time is more and more less, so just there is the situation that computer card, response speed are slow.Wherein a big chunk reason is because disk space is downloaded occupied by file.
In order to promote computer response speed, user just has exigence to manage or deletion action these files.But user does not know that the download file of oneself leaves that in usually, therefore need the problem solving the storage address how determining download file.
Download file is the file downloaded by download tool or transmit.Download tool is the general designation of the instrument downloading the meeting downloading data information such as software, browser or immediate communication tool.When user does not select storing path for download file, download tool can be given tacit consent to and helps user's selecting paths to go to deposit download file, and this path is exactly the acquiescence download path of download tool.
Computer disk insufficient space is an eternal topic always, and user is all the time at download file, but the file after downloading may be the need in a period of time at that time, does not just need these download files later.But along with computer length tenure of use and user self initiatively do not go the custom of clearing up these download files, these download files are just caused to engulf most of free space of disk, therefore clear up download file and can obtain more disk space, thus solve the disk space problem of user.
Determine that the mode of download file address is the download behavior by supervisory user at present, user's download file is recorded, the address of download file can be determined by these records.After determining the address of download file, the file downloaded in storage and monitoring time segment can be illustrated in.
There are the following problems to download the mode of behavior by supervisory user: need operation monitoring program occupying system resources, for the terminal that this kind of data-handling capacity of mobile phone is relatively weak, can cause calculating pressure; In addition, the file downloaded beyond storage and monitoring time segment, cannot determine download address; Again, As time goes on, the record of download file can get more and more, if user adopts and to carry out with the incoherent software of monitoring software after batch deletes in addition, the record of download file then can be inaccurate and make a mistake.
Summary of the invention
Embodiments provide a kind of defining method of download file address, and device, for accurately comprehensively determining the address of download file, and reduce taking system resource.
A defining method for download file address, comprising:
Receive the instruction of search download file;
After the instruction receiving search download file, from download tool, obtain download path relevant information, and/or, from third party software, obtain download path relevant information; Described third party software is the software beyond download tool;
According to described download path relevant information, determine download file address.
A determining device for download file address, comprising:
Instruction reception unit, for receiving the instruction of search download file;
Information acquisition unit, for receive at described instruction reception unit search download file instruction after, from download tool, obtain download path relevant information, and/or, from third party software, obtain download path relevant information; Described third party software is the software beyond download tool;
Address determination unit, for the download path relevant information obtained according to described information acquisition unit, determines download file address.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages: by obtaining download path relevant information from download tool, and/or, from third party software, obtain download path relevant information; Thus obtain the foundation determining download file address.Do not need to run special watchdog routine, do not need to record download file specially yet, broken away from the dependence to watchdog routine; Therefore, accurately comprehensively can determine the address of download file, and reduce taking system resource.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly introduced, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is embodiment of the present invention method flow schematic diagram;
Fig. 2 is the sectional drawing schematic diagram that embodiment of the present invention browser reads downloading contents;
Fig. 3 is embodiment of the present invention apparatus structure schematic diagram;
Fig. 4 is embodiment of the present invention apparatus structure schematic diagram;
Fig. 5 is embodiment of the present invention apparatus structure schematic diagram;
Fig. 6 is embodiment of the present invention apparatus structure schematic diagram;
Fig. 7 is embodiment of the present invention apparatus structure schematic diagram.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail, and obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide a kind of defining method of download file address, it is characterized in that, comprising:
101: the instruction receiving search download file;
In embodiments of the present invention, the instruction of search download file is used to trigger the instruction performing and determine download file address, this instruction can derive from the instruction of user's input, also the steering order of software itself or third party software can be derived from, the concrete form of expression can't have influence on the realization of the invention process example, and therefore the embodiment of the present invention will not limit this.
102: after the instruction receiving search download file, from download tool, obtain download path relevant information, and/or, from third party software, obtain download path relevant information; Above-mentioned third party software is the software beyond download tool;
In embodiments of the present invention, download tool is the general designation of the instrument downloading the meeting downloading data information such as software, browser or immediate communication tool.Download path is not the address of download file, but deposit download file deposit path, a lot of file may have been deposited in this path; What usual download file can leave download file in deposits in address that path identifies; But the file deposited in path of download file might not All Files be all download file.Third party software can be that such as system software, fail-safe software are at interior any third party software.
103: according to above-mentioned download path relevant information, determine download file address.
The embodiment of the present invention, by obtaining download path relevant information from download tool, and/or, from third party software, obtain download path relevant information; Thus obtain the foundation determining download file address.Do not need to run special watchdog routine, do not need to record download file specially yet, broken away from the dependence to watchdog routine; Therefore, accurately comprehensively can determine the address of download file, and reduce taking system resource.
Following examples will provide four kinds and optionally obtain download path relevant information, and determine the specific implementation citing of download file address on this basis.It should be noted that, following scheme is not the exhaustive of embodiment of the present invention scheme, and four kinds of schemes can independently use below, also can combinationally use.
One, the above-mentioned download path relevant information that obtains from third party software comprises: obtain the protection log file downloading defencive function software;
Above-mentioned according to above-mentioned download path relevant information, determine that download file address comprises:
By above-mentioned protection log file determination download file address.
Two, the above-mentioned download path relevant information that obtains from download tool comprises:
Obtain mounted download tool, and obtain the Download History file of download tool;
Above-mentioned according to above-mentioned download path relevant information, determine that download file address comprises:
The download file address that above-mentioned download tool is downloaded is determined according to above-mentioned Download History file.
Three, the above-mentioned download path relevant information that obtains from download tool comprises:
Obtain the download tool installed, and obtain the download storing path arranged at above-mentioned download tool;
Above-mentioned according to above-mentioned download path relevant information, determine that download file address comprises:
Travel through the file in above-mentioned download storing path, identify download file; Determine that the address of the download file identified is the download file address of above-mentioned download tool.
Four, the above-mentioned download path relevant information that obtains from third party software comprises: obtain system default and download storing path;
Above-mentioned according to above-mentioned download path relevant information, determine that download file address comprises:
Traversal said system acquiescence downloads the file in storing path, identifies download file; Determine that the address of the download file identified is download file address.
In above embodiment, first and second kinds of possibilities can preferentially use, and after the first and the second possibility execute, if effect is undesirable, can continue use the 3rd and/or the 4th kind of scheme continuation search download file address.Thus more comprehensively get the address of download file; Wherein third and fourth kind of file has departed from the restriction to log file or security monitoring software completely, and for the mistake that those files that may have deleted cause, be impregnable, therefore recognition success rate still remains on higher level.
For the download file identified, the embodiment of the present invention additionally provides the possibility of subsequent treatment foundation, and facilitate the follow-up process to download file, also can conveniently effectively point out user, concrete scheme is as follows: said method, also comprises:
Determine the download tool that above-mentioned download file is corresponding and file type, and according to download tool corresponding to above-mentioned download file and file type, importance degree prediction and calculation is carried out to above-mentioned download file, obtains the importance degree of each download file.
Download tool above can determine the importance degree of download file, and such as: the file of the updating file of system downloads, importance degree can download higher than instant messenger the cache file etc. preserved; File type, can be divided into general download file, temporal cache file, system file etc.Importance degree can empirically set, and the embodiment of the present invention does not do detailed restriction for how carrying out importance degree.
Further, after determining the importance degree of download file, the operation that can perform is a lot, such as, prompting in procedure for displaying, the deletion control etc. in delete procedure, concrete scheme is as follows: said method, also comprise: when display of search results, show the importance degree of each download file; Or receive delete instruction, described delete instruction, to there being importance degree rank, according to described importance degree rank, deletes the download file that importance degree in each download file is less than or equal to described importance degree rank.
Following examples are illustrated to the scheme of the embodiment of the present invention, and the application scenarios of concrete example is as follows: with Tengxun computer house keeper for platform realizes, and fail-safe software is for Tengxun computer house keeper, and download file is for the download file on computer.
The embodiment of the present invention is by realizing the management to download file management document Tengxun computer house keeper.From the download defencive function of house keeper self, the download history of download tool and the acquiescence download path of download tool, download file is read to download file management.Ensure that user can be quick, comprehensively, be accurate to the download file found on computer.
The download file management of the embodiment of the present invention, identifies the download file on subscriber set fast and comprehensively by the configurable scanning rule of 4 class.Be written in the middle of configuration file by this 4 rule-like, this file is exactly the scanning strategy file of the embodiment of the present invention.Scheme below corresponding to scanning strategy is described in detail:
1, the data of defencive function are downloaded:
The download defencive function of computer house keeper can have monitoring function to download file, and its major function monitors the file that downloads to whether safety.This function can get all download file information in the monitoring period.By reading the data with existing of this function, the time of scanning disk can be saved again.
2, the Download History of download tool:
Download tool all can have Download History, and by Historic preservation in the middle of corresponding data file, the scanning strategy of embodiment of the present invention scheme can resolve the download history of corresponding download tool, reaches the effect of accurately location download file.
Performing step is as follows: the data file position of location download tool-Download History; Resolve the data file (being generally SQLite, the files such as txt, log, ini) of download tool-Download History; Convert data to computer house keeper-download file management its data form, result is showed user.
3, the acquiescence download path of download tool:
When in user's user computer not above-mentioned 1 and 2 data or data not can completely time, the embodiment of the present invention can adopt the mode of the All Files under traverse user download tool Default saving path, is identified by the download file of user.It is by reading that the acquiescence of software downloads road, and the configuration file of download tool obtains.As shown in Figure 2, for chrome browser reads the sectional drawing of downloading contents; Wherein the part of square frame mark is acquiescence download path.
4, system is specifically downloaded and is saved contents:
When the download software of user is unloaded, associated data files does not also exist, but still there is a large amount of download files in computer, and user's download file identifies by the mode that at this moment embodiment of the present invention can adopt Ergodic Theory to give tacit consent to download storing path.Such as conventional system default download storing path C: download.
The embodiment of the present invention, guarantees the download file obtained comprehensively and effectively on user computer.In addition, above embodiment, only does scan operation to corresponding catalogue, without the need to scan full hard disk, has greatly saved the time, has improve response speed.
The embodiment of the present invention additionally provides a kind of determining device of download file address, as shown in Figure 3, comprising:
Instruction reception unit 301, for receiving the instruction of search download file;
Information acquisition unit 302, for receive at above-mentioned instruction reception unit 301 search download file instruction after, from download tool, obtain download path relevant information, and/or, from third party software, obtain download path relevant information; Above-mentioned third party software is the software beyond download tool;
Address determination unit 303, for the download path relevant information obtained according to above-mentioned information acquisition unit 302, determines download file address.
In embodiments of the present invention, the instruction of search download file is used to trigger the instruction performing and determine download file address, this instruction can derive from the instruction of user's input, also the steering order of software itself or third party software can be derived from, the concrete form of expression can't have influence on the realization of the invention process example, and therefore the embodiment of the present invention will not limit this.
In embodiments of the present invention, download tool is the general designation of the instrument downloading the meeting downloading data information such as software, browser or immediate communication tool.Download path is not the address of download file, but deposit download file deposit path, a lot of file may have been deposited in this path; What usual download file can leave download file in deposits in address that path identifies; But the file deposited in path of download file might not All Files be all download file.
The embodiment of the present invention, by obtaining download path relevant information from download tool, and/or, from third party software, obtain download path relevant information; Thus obtain the foundation determining download file address.Do not need to run special watchdog routine, do not need to record download file specially yet, broken away from the dependence to watchdog routine; Therefore, accurately comprehensively can determine the address of download file, and reduce taking system resource.
Following examples will provide four kinds and optionally obtain download path relevant information, and determine the specific implementation citing of download file address on this basis.It should be noted that, following scheme is not the exhaustive of embodiment of the present invention scheme, and four kinds of schemes can independently use below, also can combinationally use.
Alternatively, above-mentioned information acquisition unit 302, for obtaining the protection log file downloading defencive function software;
Address above mentioned determining unit 303, for the above-mentioned protection log file determination download file address obtained according to above-mentioned information acquisition unit 302.
Alternatively, above-mentioned information acquisition unit 302, for obtaining mounted download tool, and obtains the Download History file of download tool;
Address above mentioned determining unit 303, determines for the above-mentioned Download History file obtained according to above-mentioned information acquisition unit 302 the download file address that above-mentioned download tool is downloaded.
Alternatively, above-mentioned information acquisition unit 302, for obtaining the download tool installed, and obtains the download storing path arranged at above-mentioned download tool;
Address above mentioned determining unit 303, for traveling through the file in the above-mentioned download storing path of above-mentioned information acquisition unit 302 acquisition, identifies download file; Determine that the address of the download file identified is the download file address of above-mentioned download tool.
Alternatively, above-mentioned information acquisition unit 302, downloads storing path for obtaining system default;
Address above mentioned determining unit 303, the said system acquiescence obtained for traveling through above-mentioned information acquisition unit 302 downloads the file in storing path, identifies download file; Determine that the address of the download file identified is download file address.
In above embodiment, first two possibility can preferentially use, and after first two possibility executes, if effect is undesirable, can continue to use latter two scheme to continue search download file address.Thus more comprehensively get the address of download file; Wherein latter two possibility has departed from the restriction to log file or security monitoring software completely, and for the mistake that those files that may have deleted cause, be impregnable, therefore recognition success rate still remains on higher level.
For the download file identified, the embodiment of the present invention additionally provides the possibility of subsequent treatment foundation, facilitates the follow-up process to download file, also can conveniently effectively point out user, concrete scheme is as follows: further, as shown in Figure 4, said apparatus, also comprises:
Importance degree determining unit 401, for determining the download tool that above-mentioned download file is corresponding and file type, and according to download tool corresponding to above-mentioned download file and file type, importance degree prediction and calculation is carried out to above-mentioned download file, obtains the importance degree of each download file.
Download tool above can determine the importance degree of download file, and such as: the file of the updating file of system downloads, importance degree can download higher than instant messenger the cache file etc. preserved; File type, can be divided into general download file, temporal cache file, system file etc.Importance degree can empirically set, and the embodiment of the present invention does not do detailed restriction for how carrying out importance degree.
Further, after determining the importance degree of download file, the operation that can perform is a lot, such as, prompting in procedure for displaying, the deletion control etc. in delete procedure, and concrete scheme is as follows: further, and as shown in Figure 5, said apparatus, also comprises:
Display unit 501, for when display of search results, shows the importance degree of each download file; Or,
Above-mentioned instruction reception unit 301, also for receiving delete instruction; Said apparatus also comprises:
Delete control module 502, for receiving delete instruction, described delete instruction, to there being importance degree rank, according to described importance degree rank, deletes the download file that importance degree in each download file is less than or equal to described importance degree rank.
The embodiment of the present invention additionally provides the determining device of another kind of download file address, as shown in Figure 6, comprising: receiver 601, transmitter 602, processor 603 and storer 604;
Wherein, processor 603, for receiving the instruction of search download file; After the instruction receiving search download file, from download tool, obtain download path relevant information, and/or, from third party software, obtain download path relevant information; Above-mentioned third party software is the software beyond download tool; According to above-mentioned download path relevant information, determine download file address.
In embodiments of the present invention, the instruction of search download file is used to trigger the instruction performing and determine download file address, this instruction can derive from the instruction of user's input, also the steering order of software itself or third party software can be derived from, the concrete form of expression can't have influence on the realization of the invention process example, and therefore the embodiment of the present invention will not limit this.
In embodiments of the present invention, download tool is the general designation of the instrument downloading the meeting downloading data information such as software, browser or immediate communication tool.Download path is not the address of download file, but deposit download file deposit path, a lot of file may have been deposited in this path; What usual download file can leave download file in deposits in address that path identifies; But the file deposited in path of download file might not All Files be all download file.
The embodiment of the present invention, by obtaining download path relevant information from download tool, and/or, from third party software, obtain download path relevant information; Thus obtain the foundation determining download file address.Do not need to run special watchdog routine, do not need to record download file specially yet, broken away from the dependence to watchdog routine; Therefore, accurately comprehensively can determine the address of download file, and reduce taking system resource.
Following examples will provide four kinds and optionally obtain download path relevant information, and determine the specific implementation citing of download file address on this basis.It should be noted that, following scheme is not the exhaustive of embodiment of the present invention scheme, and four kinds of schemes can independently use below, also can combinationally use.
One, above-mentioned processor 603, for obtaining the protection log file downloading defencive function software; By above-mentioned protection log file determination download file address.
Two, above-mentioned processor 603, for obtaining mounted download tool, and obtains the Download History file of download tool; The download file address that above-mentioned download tool is downloaded is determined according to above-mentioned Download History file.
Three, above-mentioned processor 603, for obtaining the download tool installed, and obtains the download storing path arranged at above-mentioned download tool; Travel through the file in above-mentioned download storing path, identify download file; Determine that the address of the download file identified is the download file address of above-mentioned download tool.
Four, above-mentioned processor 603, downloads storing path for obtaining system default; Traversal said system acquiescence downloads the file in storing path, identifies download file; Determine that the address of the download file identified is download file address.
In above embodiment, first and second kinds of possibilities can preferentially use, and after the first and the second possibility execute, if effect is undesirable, can continue use the 3rd and/or the 4th kind of scheme continuation search download file address.Thus more comprehensively get the address of download file; Wherein third and fourth kind of file has departed from the restriction to log file or security monitoring software completely, and for the mistake that those files that may have deleted cause, be impregnable, therefore recognition success rate still remains on higher level.
For the download file identified, the embodiment of the present invention additionally provides the possibility of subsequent treatment foundation, facilitate the follow-up process to download file, also can conveniently effectively point out user, concrete scheme is as follows: above-mentioned processor 603, also for determining the download tool that above-mentioned download file is corresponding and file type, and according to download tool corresponding to above-mentioned download file and file type, importance degree prediction and calculation is carried out to above-mentioned download file, obtains the importance degree of each download file.
Download tool above can determine the importance degree of download file, and such as: the file of the updating file of system downloads, importance degree can download higher than instant messenger the cache file etc. preserved; File type, can be divided into general download file, temporal cache file, system file etc.Importance degree can empirically set, and the embodiment of the present invention does not do detailed restriction for how carrying out importance degree.
Further, after determining the importance degree of download file, the operation that can perform is a lot, such as, prompting in procedure for displaying, the deletion control etc. in delete procedure, concrete scheme is as follows: above-mentioned processor 603, also for when display of search results, show the importance degree of each download file; Or receive delete instruction, described delete instruction, to there being importance degree rank, according to described importance degree rank, deletes the download file that importance degree in each download file is less than or equal to described importance degree rank.
The embodiment of the present invention additionally provides the determining device of another kind of download file address, and as shown in Figure 7, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to embodiment of the present invention method part.The device of the embodiment of the present invention can be terminal usually, this terminal can for comprising mobile phone, panel computer, PDA (PersonalDigitalAssistant, personal digital assistant), POS (PointofSales, point-of-sale terminal), the terminal device arbitrarily such as vehicle-mounted computer, take terminal as mobile phone be example:
Shown in Fig. 7 is the block diagram of the part-structure of the mobile phone relevant to the terminal that the embodiment of the present invention provides.With reference to figure 7, mobile phone comprises: radio frequency (RadioFrequency, RF) parts such as circuit 710, storer 720, input block 730, display unit 740, sensor 750, voicefrequency circuit 760, Wireless Fidelity (wirelessfidelity, WiFi) module 770, processor 780 and power supply 790.It will be understood by those skilled in the art that the handset structure shown in Fig. 7 does not form the restriction to mobile phone, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.
Concrete introduction is carried out below in conjunction with Fig. 7 each component parts to mobile phone:
RF circuit 710 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, process to processor 780; In addition, the up data of design are sent to base station.Usually, RF circuit 710 includes but not limited to antenna, at least one amplifier, transceiver, coupling mechanism, low noise amplifier (LowNoiseAmplifier, LNA), diplexer etc.In addition, RF circuit 710 can also by radio communication and network and other devices communicatings.Above-mentioned radio communication can use arbitrary communication standard or agreement, include but not limited to global system for mobile communications (GlobalSystemofMobilecommunication, GSM), general packet radio service (GeneralPacketRadioService, GPRS), CDMA (CodeDivisionMultipleAccess, CDMA), Wideband Code Division Multiple Access (WCDMA) (WidebandCodeDivisionMultipleAccess, WCDMA), Long Term Evolution (LongTermEvolution, LTE), Email, Short Message Service (ShortMessagingService, SMS) etc.
Storer 720 can be used for storing software program and module, and processor 780 is stored in software program and the module of storer 720 by running, thus performs various function application and the data processing of mobile phone.Storer 720 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of mobile phone.In addition, storer 720 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 730 can be used for the numeral or the character information that receive input, and generation arranges with the user of mobile phone and function controls the input of relevant key signals.Particularly, input block 730 can comprise contact panel 731 and other input equipments 732.Contact panel 731, also referred to as touch-screen, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on contact panel 731 or near contact panel 731 such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, contact panel 731 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 780, and the order that energy receiving processor 780 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize contact panel 731.Except contact panel 731, input block 730 can also comprise other input equipments 732.Particularly, other input equipments 732 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 740 can be used for the various menus showing information or the information being supplied to user and the mobile phone inputted by user.Display unit 740 can comprise display panel 741, optionally, the form such as liquid crystal display (LiquidCrystalDisplay, LCD), Organic Light Emitting Diode (OrganicLight-EmittingDiode, OLED) can be adopted to configure display panel 741.Further, contact panel 731 can cover display panel 741, when contact panel 731 detects thereon or after neighbouring touch operation, send processor 780 to determine the type of touch event, on display panel 741, provide corresponding vision to export with preprocessor 780 according to the type of touch event.Although in the figure 7, contact panel 731 and display panel 741 be as two independently parts to realize input and the input function of mobile phone, but in certain embodiments, can by integrated to contact panel 731 and display panel 741 and realize the input and output function of mobile phone.
Mobile phone also can comprise at least one sensor 750, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 741, proximity transducer when mobile phone moves in one's ear, can cut out display panel 741 and/or backlight.As the one of motion sensor, accelerometer sensor can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for mobile phone also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 760, loudspeaker 761, microphone 762 can provide the audio interface between user and mobile phone.Voicefrequency circuit 760 can by receive voice data conversion after electric signal, be transferred to loudspeaker 761, by loudspeaker 761 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 762, voice data is converted to after being received by voicefrequency circuit 760, after again voice data output processor 780 being processed, through RF circuit 710 to send to such as another mobile phone, or export voice data to storer 720 to process further.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user to send and receive e-mail by WiFi module 770, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 7 shows WiFi module 770, be understandable that, it does not belong to must forming of mobile phone, can omit in the scope of essence not changing invention as required completely.
Processor 780 is control centers of mobile phone, utilize the various piece of various interface and the whole mobile phone of connection, software program in storer 720 and/or module is stored in by running or performing, and call the data be stored in storer 720, perform various function and the process data of mobile phone, thus integral monitoring is carried out to mobile phone.Optionally, processor 780 can comprise one or more processing unit; Preferably, processor 780 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 780.
Mobile phone also comprises the power supply 790 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 780 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.
Although not shown, mobile phone can also comprise camera, bluetooth module etc., does not repeat them here.
In embodiments of the present invention, the processor 780 included by this terminal also has following functions:
Receive the instruction of search download file; After the instruction receiving search download file, from download tool, obtain download path relevant information, and/or, from third party software, obtain download path relevant information; Above-mentioned third party software is the software beyond download tool; According to above-mentioned download path relevant information, determine download file address.
In embodiments of the present invention, the instruction of search download file is used to trigger the instruction performing and determine download file address, this instruction can derive from the instruction of user's input, also the steering order of software itself or third party software can be derived from, the concrete form of expression can't have influence on the realization of the invention process example, and therefore the embodiment of the present invention will not limit this.
In embodiments of the present invention, download tool is the general designation of the instrument downloading the meeting downloading data information such as software, browser or immediate communication tool.Download path is not the address of download file, but deposit download file deposit path, a lot of file may have been deposited in this path; What usual download file can leave download file in deposits in address that path identifies; But the file deposited in path of download file might not All Files be all download file.
The embodiment of the present invention, by obtaining download path relevant information from download tool, and/or, from third party software, obtain download path relevant information; Thus obtain the foundation determining download file address.Do not need to run special watchdog routine, do not need to record download file specially yet, broken away from the dependence to watchdog routine; Therefore, accurately comprehensively can determine the address of download file, and reduce taking system resource.
Following examples will provide four kinds and optionally obtain download path relevant information, and determine the specific implementation citing of download file address on this basis.It should be noted that, following scheme is not the exhaustive of embodiment of the present invention scheme, and four kinds of schemes can independently use below, also can combinationally use.
One, above-mentioned processor 780, for obtaining the protection log file downloading defencive function software; By above-mentioned protection log file determination download file address.
Two, above-mentioned processor 780, for obtaining mounted download tool, and obtains the Download History file of download tool; The download file address that above-mentioned download tool is downloaded is determined according to above-mentioned Download History file.
Three, above-mentioned processor 780, for obtaining the download tool installed, and obtains the download storing path arranged at above-mentioned download tool; Travel through the file in above-mentioned download storing path, identify download file; Determine that the address of the download file identified is the download file address of above-mentioned download tool.
Four, above-mentioned processor 780, downloads storing path for obtaining system default; Traversal said system acquiescence downloads the file in storing path, identifies download file; Determine that the address of the download file identified is download file address.
In above embodiment, first and second kinds of possibilities can preferentially use, and after the first and the second possibility execute, if effect is undesirable, can continue use the 3rd and/or the 4th kind of scheme continuation search download file address.Thus more comprehensively get the address of download file; Wherein third and fourth kind of file has departed from the restriction to log file or security monitoring software completely, and for the mistake that those files that may have deleted cause, be impregnable, therefore recognition success rate still remains on higher level.
For the download file identified, the embodiment of the present invention additionally provides the possibility of subsequent treatment foundation, facilitate the follow-up process to download file, also can conveniently effectively point out user, concrete scheme is as follows: above-mentioned processor 780, also for determining the download tool that above-mentioned download file is corresponding and file type, and according to download tool corresponding to above-mentioned download file and file type, importance degree prediction and calculation is carried out to above-mentioned download file, obtains the importance degree of each download file.
Download tool above can determine the importance degree of download file, and such as: the file of the updating file of system downloads, importance degree can download higher than instant messenger the cache file etc. preserved; File type, can be divided into general download file, temporal cache file, system file etc.Importance degree can empirically set, and the embodiment of the present invention does not do detailed restriction for how carrying out importance degree.
Further, after determining the importance degree of download file, the operation that can perform is a lot, such as, prompting in procedure for displaying, the deletion control etc. in delete procedure, concrete scheme is as follows: above-mentioned processor 780, also for when display of search results, show the importance degree of each download file; Or receive delete instruction, described delete instruction, to there being importance degree rank, according to described importance degree rank, deletes the download file that importance degree in each download file is less than or equal to described importance degree rank.
It should be noted that in the determining device embodiment of above-mentioned download file address, included unit is carry out dividing according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition, one of ordinary skill in the art will appreciate that all or part of step realized in above-mentioned each embodiment of the method is that the hardware that can carry out instruction relevant by program completes, corresponding program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
These are only the present invention's preferably embodiment; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the embodiment of the present invention discloses, the change 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 claim.

Claims (14)

1. a defining method for download file address, is characterized in that, comprising:
Receive the instruction of search download file;
After the instruction receiving search download file, from download tool, obtain download path relevant information, and/or, from third party software, obtain download path relevant information; Described third party software is the software beyond download tool;
According to described download path relevant information, determine download file address.
2. method according to claim 1, it is characterized in that, the described download path relevant information that obtains from third party software comprises: obtain the protection log file downloading defencive function software;
Described according to described download path relevant information, determine that download file address comprises:
By described protection log file determination download file address.
3. method according to claim 1, it is characterized in that, the described download path relevant information that obtains from download tool comprises:
Obtain mounted download tool, and obtain the Download History file of download tool;
Described according to described download path relevant information, determine that download file address comprises:
The download file address that described download tool is downloaded is determined according to described Download History file.
4. method according to claim 1, it is characterized in that, the described download path relevant information that obtains from download tool comprises:
Obtain the download tool installed, and obtain the download storing path arranged at described download tool;
Described according to described download path relevant information, determine that download file address comprises:
Travel through the file in described download storing path, identify download file; Determine that the address of the download file identified is the download file address of described download tool.
5. method according to claim 1, it is characterized in that, the described download path relevant information that obtains from third party software comprises: obtain system default and download storing path;
Described according to described download path relevant information, determine that download file address comprises:
Travel through the file in described system default download storing path, identify download file; Determine that the address of the download file identified is download file address.
6. method according to claim 1 to 5 any one, is characterized in that, also comprise:
Determine the download tool that described download file is corresponding and file type, and according to download tool corresponding to described download file and file type, importance degree prediction and calculation is carried out to described download file, obtains the importance degree of each download file.
7. method according to claim 6, is characterized in that, also comprise:
When display of search results, show the importance degree of each download file; Or receive delete instruction, described delete instruction, to there being importance degree rank, according to described importance degree rank, deletes the download file that importance degree in each download file is less than or equal to described importance degree rank.
8. a determining device for download file address, is characterized in that, comprising:
Instruction reception unit, for receiving the instruction of search download file;
Information acquisition unit, for receive at described instruction reception unit search download file instruction after, from download tool, obtain download path relevant information, and/or, from third party software, obtain download path relevant information; Described third party software is the software beyond download tool;
Address determination unit, for the download path relevant information obtained according to described information acquisition unit, determines download file address.
9. device according to claim 8, is characterized in that,
Described information acquisition unit, for obtaining the protection log file downloading defencive function software;
Described address determination unit, for the described protection log file determination download file address obtained according to described information acquisition unit.
10. device according to claim 8, is characterized in that,
Described information acquisition unit, for obtaining mounted download tool, and obtains the Download History file of download tool;
Described address determination unit, the download file address that described download tool is downloaded determined by the described Download History file for obtaining according to described information acquisition unit.
11. devices according to claim 8, is characterized in that,
Described information acquisition unit, for obtaining the download tool installed, and obtains the download storing path arranged at described download tool;
Described address determination unit, for traveling through the file in the described download storing path of described information acquisition unit acquisition, identifies download file; Determine that the address of the download file identified is the download file address of described download tool.
12. devices according to claim 8, is characterized in that,
Described information acquisition unit, downloads storing path for obtaining system default;
Described address determination unit, the described system default obtained for traveling through described information acquisition unit downloads the file in storing path, identifies download file; Determine that the address of the download file identified is download file address.
Device described in 13. according to Claim 8 to 12 any one, is characterized in that, also comprise:
Importance degree determining unit, for determining the download tool that described download file is corresponding and file type, and according to download tool corresponding to described download file and file type, importance degree prediction and calculation is carried out to described download file, obtains the importance degree of each download file.
14., according to device described in claim 13, is characterized in that, also comprise:
Display unit, for when display of search results, shows the importance degree of each download file; Or,
Described instruction reception unit, also for receiving delete instruction; Described device also comprises:
Delete control module, for receiving delete instruction, described delete instruction, to there being importance degree rank, according to described importance degree rank, deletes the download file that importance degree in each download file is less than or equal to described importance degree rank.
CN201410258337.2A 2014-06-11 2014-06-11 A kind of determination method and device for downloading file address Active CN105260367B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410258337.2A CN105260367B (en) 2014-06-11 2014-06-11 A kind of determination method and device for downloading file address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410258337.2A CN105260367B (en) 2014-06-11 2014-06-11 A kind of determination method and device for downloading file address

Publications (2)

Publication Number Publication Date
CN105260367A true CN105260367A (en) 2016-01-20
CN105260367B CN105260367B (en) 2019-08-30

Family

ID=55100062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410258337.2A Active CN105260367B (en) 2014-06-11 2014-06-11 A kind of determination method and device for downloading file address

Country Status (1)

Country Link
CN (1) CN105260367B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596161A (en) * 2021-07-30 2021-11-02 重庆仓舟网络科技有限公司 Block chain based distributed storage method, system and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110071841A1 (en) * 2008-02-15 2011-03-24 Ddn Ip Holdings Limited Distribution of digital content
CN102880713A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device
US20140019565A1 (en) * 2012-07-13 2014-01-16 Samsung Electronics Co., Ltd. Apparatus and method for selecting multiple files in an electronic device
CN103559276A (en) * 2013-11-05 2014-02-05 广东欧珀移动通信有限公司 Method and device for clearing useless files
CN103716394A (en) * 2013-12-26 2014-04-09 北京奇虎科技有限公司 Downloaded file management method and device
CN103902589A (en) * 2012-12-28 2014-07-02 腾讯科技(深圳)有限公司 Method and device for managing downloaded files

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110071841A1 (en) * 2008-02-15 2011-03-24 Ddn Ip Holdings Limited Distribution of digital content
US20140019565A1 (en) * 2012-07-13 2014-01-16 Samsung Electronics Co., Ltd. Apparatus and method for selecting multiple files in an electronic device
CN102880713A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device
CN103902589A (en) * 2012-12-28 2014-07-02 腾讯科技(深圳)有限公司 Method and device for managing downloaded files
CN103559276A (en) * 2013-11-05 2014-02-05 广东欧珀移动通信有限公司 Method and device for clearing useless files
CN103716394A (en) * 2013-12-26 2014-04-09 北京奇虎科技有限公司 Downloaded file management method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596161A (en) * 2021-07-30 2021-11-02 重庆仓舟网络科技有限公司 Block chain based distributed storage method, system and terminal

Also Published As

Publication number Publication date
CN105260367B (en) 2019-08-30

Similar Documents

Publication Publication Date Title
CN104135500B (en) The method and system that prompting application upgrades
CN103530040B (en) Object element moving method, device and electronic equipment
CN104780164A (en) Method and device for operating game client
CN104298666B (en) Webpage sharing method and device
CN104518953A (en) Message deleting method, instant messaging terminal and system
CN104572819A (en) Clearing method and system for junk data
CN103336925A (en) Scanning acceleration method and device
CN105490919A (en) Message withdrawal method and device
CN108241703B (en) Webpage data transmission method and device
CN106484562A (en) A kind of data transmission processing method and terminal device
CN104636047A (en) Method and device for operating objects in list and touch screen terminal
CN103269374A (en) Method, device and equipment for recording synchronization
CN103747130B (en) A kind of control method of terminal equipment and device
CN103475914A (en) Video playing method, video playing device, terminal equipment and server
CN105307242A (en) Wi-Fi network application method and terminal
CN104104711A (en) Reading history processing method and device
CN104954159A (en) Network information statistics method and device
CN105740715A (en) Safety assessment method and terminal equipment
CN104133752B (en) The method for supervising of operating platform and device
CN103561155B (en) Send the method for note, device and terminal
CN105227598A (en) A kind of resource sharing method, device and system stored based on cloud
CN104281610A (en) Method and device for filtering microblogs
CN105807908A (en) Working mode switching method and device
CN104426926A (en) Processing method and apparatus for regularly issued data
CN105278925A (en) Method and device for refuse cleaning of uninstalled software

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant