CN105260367B - A kind of determination method and device for downloading file address - Google Patents
A kind of determination method and device for downloading file address Download PDFInfo
- Publication number
- CN105260367B CN105260367B CN201410258337.2A CN201410258337A CN105260367B CN 105260367 B CN105260367 B CN 105260367B CN 201410258337 A CN201410258337 A CN 201410258337A CN 105260367 B CN105260367 B CN 105260367B
- Authority
- CN
- China
- Prior art keywords
- file
- downloading
- download
- address
- downloading 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.)
- Active
Links
Abstract
The embodiment of the invention discloses a kind of determination methods and device for downloading file address, and wherein the realization of method includes: to receive the instruction of search downloading file;After the instruction for receiving search downloading file, download path relevant information is obtained from download tool, and/or, download path relevant information is obtained from third party software;The third party software is the software other than download tool;According to the download path relevant information, downloading file address is determined.By the acquisition download path relevant information from download tool, and/or, download path relevant information is obtained from third party software;To obtain the foundation for determining downloading file address.It does not need to run special monitoring programme, does not need specially to record published article part yet, get rid of the dependence to monitoring programme;Therefore, it accurately can comprehensively determine the address of downloading file, and reduce the occupancy to system resource.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of determination method and device for downloading file address.
Background technique
Hard disk (especially system disk catalogue, usually C disk catalogue) is remaining after a period of use in computer by many users
Space is smaller and smaller, then occurs as soon as the slow situation of computer card, response speed.Wherein a big chunk reason is because of disk
Space is downloaded occupied by file.
In order to promote computer response speed, user just has urgent need to be managed to these files or delete operation.
But user does not know that the downloading file of oneself is stored in that usually, it is therefore desirable to solve how to determine the storing place of downloading file
The problem of location.
Downloading file is the file downloaded or transmitted by download tool.Download tool be downloading software, browser or
The general designation of the tool of the meeting downloading data information such as person's immediate communication tool.When user is not downloading file selection storing path
When, download tool, which can be defaulted, helps user that path is selected to remove storage downloading file, which is exactly the default downloading road of download tool
Diameter.
Computer disk insufficient space is always an eternal topic, and user downloads all the time in downloading file
File later may be the need in a period of time at that time, and there is no need to these to download file later.But with computer service life
Long and user itself does not go actively to clear up the habit of these downloading files, these downloading files is resulted in swallow disk
Most of available space, therefore cleaning downloading file can obtain more disk space, to solve the disk space of user
Problem.
The mode for determining downloading file address at present is the downloading behavior by monitoring user, and user is downloaded file record
Get off, the address of downloading file can be determined by these records.Behind the address for determining downloading file, it can show and monitor
The file downloaded in period.
There are the following problems in such a way that monitoring user downloads behavior: need to run monitoring programme occupying system resources,
For the relatively weak terminal of data-handling capacity this kind of for mobile phone, calculating pressure will cause;In addition, storage and monitoring time segment with
The file of outer downloading can not determine download address;Again, over time, the record for downloading file can be more and more, separately
, can inaccuracy if downloading the record of file after if outer user is using batch deletion is carried out with the incoherent software of monitoring software
And mistake occurs.
Summary of the invention
The embodiment of the invention provides a kind of determination method and device for downloading file address, for it is accurate comprehensively really
The address of published article part is fixed, and reduces the occupancy to system resource.
A kind of determination method for downloading file address, comprising:
Receive the instruction of search downloading file;
After the instruction for receiving search downloading file, download path relevant information is obtained from download tool, and/or,
Download path relevant information is obtained from third party software;The third party software is the software other than download tool;
According to the download path relevant information, downloading file address is determined.
A kind of determining device for downloading file address, comprising:
Instruction receiving unit, for receiving the instruction of search downloading file;
Information acquisition unit, for described instruction receiving unit receive search downloading file instruction after, from downloading
Download path relevant information is obtained in tool, and/or, download path relevant information is obtained from third party software;The third
Square software is the software other than download tool;
Address determination unit, the download path relevant information for obtaining according to the information acquisition unit determine downloading
File address.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that by obtaining from download tool
Download path relevant information, and/or, download path relevant information is obtained from third party software;Lower published article is determined to obtain
The foundation of part address.It does not need to run special monitoring programme, does not need specially to record published article part yet, get rid of to monitoring
The dependence of program;Therefore, it accurately can comprehensively determine the address of downloading file, and reduce the occupancy to system resource.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is present invention method flow diagram;
Fig. 2 is the screenshot schematic diagram that browser of the embodiment of the present invention reads downloading content;
Fig. 3 is the device of that embodiment of the invention structural schematic diagram;
Fig. 4 is the device of that embodiment of the invention structural schematic diagram;
Fig. 5 is the device of that embodiment of the invention structural schematic diagram;
Fig. 6 is the device of that embodiment of the invention structural schematic diagram;
Fig. 7 is the device of that embodiment of the invention structural schematic diagram.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of determination methods for downloading file address characterized by comprising
101: receiving the instruction of search downloading file;
In embodiments of the present invention, the instruction of search downloading file is to execute the finger for determining downloading file address for triggering
It enables, this instruction can be from the instruction of user's input, can also be from the control of software itself or third party software
Instruction, the specific form of expression does not interfere with the realization of embodiment of the present invention, therefore the embodiment of the present invention refuses this
It limits.
102: after the instruction for receiving search downloading file, the acquisition download path relevant information from download tool, and/
Or, obtaining download path relevant information from third party software;Above-mentioned third party software is the software other than download tool;
In embodiments of the present invention, download tool is that downloading software, browser or immediate communication tool etc. can download number
It is believed that the general designation of the tool of breath.Download path is not the address for downloading file, but stores the storage path of downloading file, this
A path may store many files;Usually downloading file can be stored in the address that the storage path of downloading file is identified
It is interior;But download file storage path in file might not All Files all be download file.Third party software can be with
It is any third party software including such as system software, security software.
103: according to above-mentioned download path relevant information, determining downloading file address.
The embodiment of the present invention, by the acquisition download path relevant information from download tool, and/or, from third party software
Middle acquisition download path relevant information;To obtain the foundation for determining downloading file address.It does not need to run special monitoring
Program does not need specially to record published article part yet, gets rid of the dependence to monitoring programme;Therefore, it accurately can comprehensively determine
The address of file is downloaded, and reduces the occupancy to system resource.
Following embodiment will provide four kinds of optional acquisition download path relevant informations, and determine lower published article on this basis
The specific implementation of part address is illustrated.It should be noted that following scheme is not the exhaustion of the embodiment of the present invention, with
Lower four kinds of schemes can be independently operated, or be applied in combination.
One, the above-mentioned download path relevant information that obtains from third party software includes: to obtain downloading defencive function software
Protection record file;
It is above-mentioned according to above-mentioned download path relevant information, determine that downloading file address includes:
File, which is recorded, by above-mentioned protection determines downloading file address.
Two, the above-mentioned download path relevant information that obtains from download tool includes:
Mounted download tool is obtained, and obtains the Download History file of download tool;
It is above-mentioned according to above-mentioned download path relevant information, determine that downloading file address includes:
The downloading file address of above-mentioned download tool downloading is determined according to above-mentioned Download History file.
Three, the above-mentioned download path relevant information that obtains from download tool includes:
Installed download tool is obtained, and obtains the downloading storing path being arranged in above-mentioned download tool;
It is above-mentioned according to above-mentioned download path relevant information, determine that downloading file address includes:
The file in above-mentioned downloading storing path is traversed, identifies downloading file;Determine the ground of the downloading file identified
Location is the downloading file address of above-mentioned download tool.
Four, the above-mentioned download path relevant information that obtains from third party software includes: to obtain system default downloading to save road
Diameter;
It is above-mentioned according to above-mentioned download path relevant information, determine that downloading file address includes:
The file in above system default downloading storing path is traversed, identifies downloading file;Determine the downloading identified
The address of file is downloading file address.
In above embodiments, first and second kinds of optinal plans can be used preferentially, in the first and second of optional side
After case has executed, if effect is undesirable, third and/or the 4th kind of scheme can be continued to use with continuing searching downloading file
Location.To more comprehensively get the address of downloading file;Wherein third and fourth kind of file has been completely disengaged to note
The limitation of file or security monitoring software is recorded, mistake caused by the file that may have been deleted for those, is unaffected
, therefore recognition success rate stills remain in higher level.
For identified downloading file, the embodiment of the invention also provides the optinal plan of subsequent processing foundation, sides
Continue the processing to downloading file after an action of the bowels, also can be convenient and user is effectively prompted, concrete scheme is as follows: the above method, also
Include:
Determine the corresponding download tool of above-mentioned downloading file and file type, and according to above-mentioned downloading file it is corresponding under
Load tool and file type carry out different degree prediction to above-mentioned downloading file and calculate, and obtain the different degree of each downloading file.
Download tool above can determine the different degree of downloading file, such as: the update file of system downloading is deposited
Shelves, different degree can be higher than the cache file etc. that instant messenger downloading saves;File type can be divided into general lower published article
Part, temporal cache file, system file etc..Different degree can empirically be set, the embodiment of the present invention for how
It carries out importance degree and does not do detailed restriction.
Further, after the different degree for determining downloading file, there are many operation that can be executed, such as during display
Prompt, during deleting deletion control etc., concrete scheme is as follows: the above method, further includes: when showing search result,
Show the different degree of each downloading file;Instruction is deleted alternatively, receiving, the deletion instruction is corresponding with different degree rank, according to institute
Different degree rank is stated, the downloading file that different degree in each downloading file is less than or equal to the different degree rank is deleted.
The scheme of the embodiment of the present invention will be illustrated in following embodiment, and the application scenarios of concrete example are as follows:
It is realized by platform of Tencent computer house keeper, security software downloads file by taking Tencent computer house keeper as an example with the lower published article on computer
For part.
The embodiment of the present invention is by realizing the management to downloading file management file in Tencent computer house keeper.To downloading file
Management is read from the downloading defencive function of house keeper itself, the downloading history of download tool and the default download path of download tool
Download file.Guarantee that user can be quick, comprehensively, is accurate to the downloading file found on computer.
The downloading file management of the embodiment of the present invention, the scanning rule that can configure by 4 classes quickly and comprehensively identify user
Downloading file on machine.This 4 rule-like is written in configuration file, this file is exactly the scanning of the embodiment of the present invention
Strategy file.It is described in detail below for scheme corresponding to scanning strategy:
1, the data of defencive function are downloaded:
The downloading defencive function of computer house keeper can have monitoring function to downloading file, and major function monitoring downloads to
Whether file is safe.The function can get all downloading the file informations in the monitoring period.By having read the function
There are data, the time for scanning disk again can be saved.
2, the Download History of download tool:
Download tool can all have Download History, and by Historic preservation in corresponding data file, and the present invention is implemented
The scanning strategy of example scheme can parse the downloading history of corresponding download tool, achieve the effect that downloading file is accurately positioned.
Realize that steps are as follows: positioning download tool-Download History data file location;It is recorded under parsing download tool-
The data file (files such as usually SQLite, txt, log, ini) of record;Convert data to computer house keeper-downloading file pipe
Data format is managed, result is showed into user.
3, the default download path of download tool:
When not above-mentioned 1 and 2 data or data not can completely in user's user computer, the embodiment of the present invention
The downloading file identification of user can be gone out by the way of the All Files under traverse user download tool Default saving path
Come.The default downloading road of software is by reading, and the configuration file of download tool obtains.As shown in Fig. 2, being chrome browser
Read the screenshot of downloading content;Wherein the part of box mark is to default download path.
4, system is specifically downloaded and is saved contents:
When the downloading software of user has been unloaded, associated data files are also not present, but are still remained in computer big
The downloading file of amount, at this moment the embodiment of the present invention can download user in such a way that Ergodic Theory defaults downloading storing path
File identification comes out.Such as common system default downloading storing path C: download.
The embodiment of the present invention guarantees comprehensively and effectively to obtain the downloading file on user computer.In addition, above implement
Example, only does scan operation to corresponding catalogue, is not necessarily to scan full hard disk, the time is greatly saved, improves response speed.
The embodiment of the invention also provides a kind of determining devices for downloading file address, as shown in Figure 3, comprising:
Instruction receiving unit 301, for receiving the instruction of search downloading file;
Information acquisition unit 302, for above-metioned instruction receiving unit 301 receive search downloading file instruction after,
Download path relevant information is obtained from download tool, and/or, download path relevant information is obtained from third party software;On
Stating third party software is the software other than download tool;
Address determination unit 303, the download path relevant information for being obtained according to above- mentioned information acquiring unit 302, really
It fixs and carries file address.
In embodiments of the present invention, the instruction of search downloading file is to execute the finger for determining downloading file address for triggering
It enables, this instruction can be from the instruction of user's input, can also be from the control of software itself or third party software
Instruction, the specific form of expression does not interfere with the realization of embodiment of the present invention, therefore the embodiment of the present invention refuses this
It limits.
In embodiments of the present invention, download tool is that downloading software, browser or immediate communication tool etc. can download number
It is believed that the general designation of the tool of breath.Download path is not the address for downloading file, but stores the storage path of downloading file, this
A path may store many files;Usually downloading file can be stored in the address that the storage path of downloading file is identified
It is interior;But download file storage path in file might not All Files all be download file.
The embodiment of the present invention, by the acquisition download path relevant information from download tool, and/or, from third party software
Middle acquisition download path relevant information;To obtain the foundation for determining downloading file address.It does not need to run special monitoring
Program does not need specially to record published article part yet, gets rid of the dependence to monitoring programme;Therefore, it accurately can comprehensively determine
The address of file is downloaded, and reduces the occupancy to system resource.
Following embodiment will provide four kinds of optional acquisition download path relevant informations, and determine lower published article on this basis
The specific implementation of part address is illustrated.It should be noted that following scheme is not the exhaustion of the embodiment of the present invention, with
Lower four kinds of schemes can be independently operated, or be applied in combination.
Optionally, above- mentioned information acquiring unit 302, the protection for obtaining downloading defencive function software record file;
Address above mentioned determination unit 303, the above-mentioned protection for obtaining according to above- mentioned information acquiring unit 302 record file
Determine downloading file address.
Optionally, above- mentioned information acquiring unit 302 for obtaining mounted download tool, and obtains download tool
Download History file;
Address above mentioned determination unit 303, the above-mentioned Download History file for being obtained according to above- mentioned information acquiring unit 302
Determine the downloading file address of above-mentioned download tool downloading.
Optionally, above- mentioned information acquiring unit 302 for obtaining installed download tool, and obtains under above-mentioned
The downloading storing path of load tool setting;
Address above mentioned determination unit 303, for traversing the above-mentioned downloading storing path of the acquisition of above- mentioned information acquiring unit 302
Interior file identifies downloading file;The address for determining the downloading file identified is the downloading file of above-mentioned download tool
Location.
Optionally, above- mentioned information acquiring unit 302, for obtaining system default downloading storing path;
Address above mentioned determination unit 303, for traversing the above system default downloading of the acquisition of above- mentioned information acquiring unit 302
File in storing path identifies downloading file;Determine the address of the downloading file identified for downloading file address.
In above embodiments, first two optinal plan can be used preferentially, after first two optinal plan has executed, if
Effect is undesirable, can continue to use latter two scheme and continue searching downloading file address.To more comprehensively get down
The address of published article part;Wherein latter two optinal plan has completely disengaged the limit to record file or security monitoring software
It makes, mistake caused by the file that may have been deleted for those, is impregnable, therefore recognition success rate stills remain in
Higher level.
For identified downloading file, the embodiment of the invention also provides the optinal plan of subsequent processing foundation, sides
Continue the processing to downloading file after an action of the bowels, also can be convenient and user is effectively prompted, concrete scheme is as follows: further, such as
Shown in Fig. 4, above-mentioned apparatus, further includes:
Different degree determination unit 401, for determining the corresponding download tool of above-mentioned downloading file and file type, and according to
According to the corresponding download tool of above-mentioned downloading file and file type, different degree prediction is carried out to above-mentioned downloading file and is calculated, is obtained
Obtain the different degree of each downloading file.
Download tool above can determine the different degree of downloading file, such as: the update file of system downloading is deposited
Shelves, different degree can be higher than the cache file etc. that instant messenger downloading saves;File type can be divided into general lower published article
Part, temporal cache file, system file etc..Different degree can empirically be set, the embodiment of the present invention for how
It carries out importance degree and does not do detailed restriction.
Further, after the different degree for determining downloading file, there are many operation that can be executed, such as during display
Prompt, during deleting deletion control etc., concrete scheme is as follows: further, as shown in figure 5, above-mentioned apparatus, is also wrapped
It includes:
Display unit 501, for when showing search result, showing the different degree of each downloading file;Alternatively,
Above-metioned instruction receiving unit 301 is also used to receive deletion instruction;Above-mentioned apparatus further include:
Control unit 502 is deleted, deletes instruction for receiving, the deletion instruction is corresponding with different degree rank, according to institute
Different degree rank is stated, the downloading file that different degree in each downloading file is less than or equal to the different degree rank is deleted.
The embodiment of the invention also provides the determining devices of another downloading file address, as shown in Figure 6, comprising: receive
Device 601, transmitter 602, processor 603 and memory 604;
Wherein, processor 603, for receiving the instruction of search downloading file;In the instruction for receiving search downloading file
Afterwards, download path relevant information is obtained from download tool, and/or, download path relevant information is obtained from third party software;
Above-mentioned third party software is the software other than download tool;According to above-mentioned download path relevant information, downloading file address is determined.
In embodiments of the present invention, the instruction of search downloading file is to execute the finger for determining downloading file address for triggering
It enables, this instruction can be from the instruction of user's input, can also be from the control of software itself or third party software
Instruction, the specific form of expression does not interfere with the realization of embodiment of the present invention, therefore the embodiment of the present invention refuses this
It limits.
In embodiments of the present invention, download tool is that downloading software, browser or immediate communication tool etc. can download number
It is believed that the general designation of the tool of breath.Download path is not the address for downloading file, but stores the storage path of downloading file, this
A path may store many files;Usually downloading file can be stored in the address that the storage path of downloading file is identified
It is interior;But download file storage path in file might not All Files all be download file.
The embodiment of the present invention, by the acquisition download path relevant information from download tool, and/or, from third party software
Middle acquisition download path relevant information;To obtain the foundation for determining downloading file address.It does not need to run special monitoring
Program does not need specially to record published article part yet, gets rid of the dependence to monitoring programme;Therefore, it accurately can comprehensively determine
The address of file is downloaded, and reduces the occupancy to system resource.
Following embodiment will provide four kinds of optional acquisition download path relevant informations, and determine lower published article on this basis
The specific implementation of part address is illustrated.It should be noted that following scheme is not the exhaustion of the embodiment of the present invention, with
Lower four kinds of schemes can be independently operated, or be applied in combination.
One, above-mentioned processor 603, the protection for obtaining downloading defencive function software record file;Pass through above-mentioned protection
It records file and determines downloading file address.
Two, above-mentioned processor 603 for obtaining mounted download tool, and obtains the Download History text of download tool
Part;The downloading file address of above-mentioned download tool downloading is determined according to above-mentioned Download History file.
Three, above-mentioned processor 603 for obtaining installed download tool, and obtains and is arranged in above-mentioned download tool
Downloading storing path;The file in above-mentioned downloading storing path is traversed, identifies downloading file;Determine the lower published article identified
The address of part is the downloading file address of above-mentioned download tool.
Four, above-mentioned processor 603, for obtaining system default downloading storing path;Above system default downloading is traversed to protect
The file in path is deposited, identifies downloading file;Determine the address of the downloading file identified for downloading file address.
In above embodiments, first and second kinds of optinal plans can be used preferentially, in the first and second of optional side
After case has executed, if effect is undesirable, third and/or the 4th kind of scheme can be continued to use with continuing searching downloading file
Location.To more comprehensively get the address of downloading file;Wherein third and fourth kind of file has been completely disengaged to note
The limitation of file or security monitoring software is recorded, mistake caused by the file that may have been deleted for those, is unaffected
, therefore recognition success rate stills remain in higher level.
For identified downloading file, the embodiment of the invention also provides the optinal plan of subsequent processing foundation, sides
Continue the processing to downloading file after an action of the bowels, also can be convenient and user is effectively prompted, concrete scheme is as follows: above-mentioned processor
603, it is also used to determine the corresponding download tool of above-mentioned downloading file and file type, and corresponding according to above-mentioned downloading file
Download tool and file type carry out different degree prediction to above-mentioned downloading file and calculate, and obtain the different degree of each downloading file.
Download tool above can determine the different degree of downloading file, such as: the update file of system downloading is deposited
Shelves, different degree can be higher than the cache file etc. that instant messenger downloading saves;File type can be divided into general lower published article
Part, temporal cache file, system file etc..Different degree can empirically be set, the embodiment of the present invention for how
It carries out importance degree and does not do detailed restriction.
Further, after the different degree for determining downloading file, there are many operation that can be executed, such as during display
Prompt, during deleting deletion control etc., concrete scheme is as follows: above-mentioned processor 603, be also used to display search result
When, show the different degree of each downloading file;Instruction is deleted alternatively, receiving, the deletion instruction is corresponding with different degree rank, according to
The different degree rank deletes the downloading file that different degree in each downloading file is less than or equal to the different degree rank.
The embodiment of the invention also provides the determining devices of another downloading file address, as shown in fig. 7, for the ease of saying
Bright, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, please refers to embodiment of the present invention side
Method part.The device of the embodiment of the present invention usually can be terminal, the terminal can be include mobile phone, tablet computer, PDA
(Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle mounted electric
Any terminal device such as brain, taking the terminal as an example:
Fig. 7 shows the block diagram of the part-structure of mobile phone relevant to terminal provided in an embodiment of the present invention.With reference to figure
7, mobile phone include: radio frequency (Radio Frequency, RF) circuit 710, memory 720, input unit 730, display unit 740,
Sensor 750, voicefrequency circuit 760, Wireless Fidelity (wireless fidelity, WiFi) module 770, processor 780 and
The components such as power supply 790.It will be understood by those skilled in the art that handset structure shown in Fig. 7 does not constitute the restriction to mobile phone,
It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 7 to mobile phone:
RF circuit 710 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, handled to processor 780;In addition, the data for designing uplink are sent to base station.In general, RF circuit 710
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..In addition, RF circuit 710 can also be communicated with network and other equipment by wireless communication.
Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication
System of Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access
(Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution,
LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 720 can be used for storing software program and module, and processor 780 is stored in memory 720 by operation
Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 720 can mainly include
Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function
Sequence (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for mobile phone
Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 720 may include high-speed random access memory
Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states
Part.
Input unit 730 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with
And the related key signals input of function control.Specifically, input unit 730 may include that touch panel 731 and other inputs are set
Standby 732.Touch panel 731, also referred to as touch screen, collect user on it or nearby touch operation (such as user use
The operation of any suitable object or attachment such as finger, stylus on touch panel 731 or near touch panel 731), and root
Corresponding attachment device is driven according to preset formula.Optionally, touch panel 731 may include touch detecting apparatus and touch
Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected,
Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching
Point coordinate, then gives processor 780, and can receive order that processor 780 is sent and be executed.Furthermore, it is possible to using electricity
The multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touch panel 731.In addition to touch panel 731, input
Unit 730 can also include other input equipments 732.Specifically, other input equipments 732 can include but is not limited to secondary or physical bond
One of disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 740 can be used for showing information input by user or be supplied to user information and mobile phone it is various
Menu.Display unit 740 may include display panel 741, optionally, can use liquid crystal display (Liquid Crystal
Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure
Show panel 741.Further, touch panel 731 can cover display panel 741, when touch panel 731 detect it is on it or attached
After close touch operation, processor 780 is sent to determine the type of touch event, is followed by subsequent processing device 780 according to touch event
Type corresponding visual output is provided on display panel 741.Although in Fig. 7, touch panel 731 and display panel 741
It is that the input and input function of mobile phone are realized as two independent components, but in some embodiments it is possible to by touch-control
Panel 731 and display panel 741 are integrated and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 750, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 741, proximity sensor can close display panel 741 when mobile phone is moved in one's ear
And/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three axis) acceleration in all directions
Size, can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture, (for example horizontal/vertical screen is cut
Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone
The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensor of configuration, details are not described herein.
Voicefrequency circuit 760, loudspeaker 761, microphone 762 can provide the audio interface between user and mobile phone.Audio-frequency electric
Electric signal after the audio data received conversion can be transferred to loudspeaker 761, be converted to sound by loudspeaker 761 by road 760
Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 762, is turned after being received by voicefrequency circuit 760
It is changed to audio data, then by after the processing of audio data output processor 780, such as another mobile phone is sent to through RF circuit 710,
Or audio data is exported to memory 720 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 770
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 7 is shown
WiFi module 770, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely
Become in the range of the essence of invention and omits.
Processor 780 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to
It crosses operation or executes the software program and/or module being stored in memory 720, and call and be stored in memory 720
Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 780 can wrap
Include one or more processing units;Preferably, processor 780 can integrate application processor and modem processor, wherein answer
With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 780.
Mobile phone further includes the power supply 790 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe
Reason system and processor 780 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system
Etc. functions.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In embodiments of the present invention, processor 780 included by the terminal is also with the following functions:
Receive the instruction of search downloading file;After the instruction for receiving search downloading file, obtained from download tool
Download path relevant information, and/or, download path relevant information is obtained from third party software;Under above-mentioned third party software is
Software other than load tool;According to above-mentioned download path relevant information, downloading file address is determined.
In embodiments of the present invention, the instruction of search downloading file is to execute the finger for determining downloading file address for triggering
It enables, this instruction can be from the instruction of user's input, can also be from the control of software itself or third party software
Instruction, the specific form of expression does not interfere with the realization of embodiment of the present invention, therefore the embodiment of the present invention refuses this
It limits.
In embodiments of the present invention, download tool is that downloading software, browser or immediate communication tool etc. can download number
It is believed that the general designation of the tool of breath.Download path is not the address for downloading file, but stores the storage path of downloading file, this
A path may store many files;Usually downloading file can be stored in the address that the storage path of downloading file is identified
It is interior;But download file storage path in file might not All Files all be download file.
The embodiment of the present invention, by the acquisition download path relevant information from download tool, and/or, from third party software
Middle acquisition download path relevant information;To obtain the foundation for determining downloading file address.It does not need to run special monitoring
Program does not need specially to record published article part yet, gets rid of the dependence to monitoring programme;Therefore, it accurately can comprehensively determine
The address of file is downloaded, and reduces the occupancy to system resource.
Following embodiment will provide four kinds of optional acquisition download path relevant informations, and determine lower published article on this basis
The specific implementation of part address is illustrated.It should be noted that following scheme is not the exhaustion of the embodiment of the present invention, with
Lower four kinds of schemes can be independently operated, or be applied in combination.
One, above-mentioned processor 780, the protection for obtaining downloading defencive function software record file;Pass through above-mentioned protection
It records file and determines downloading file address.
Two, above-mentioned processor 780 for obtaining mounted download tool, and obtains the Download History text of download tool
Part;The downloading file address of above-mentioned download tool downloading is determined according to above-mentioned Download History file.
Three, above-mentioned processor 780 for obtaining installed download tool, and obtains and is arranged in above-mentioned download tool
Downloading storing path;The file in above-mentioned downloading storing path is traversed, identifies downloading file;Determine the lower published article identified
The address of part is the downloading file address of above-mentioned download tool.
Four, above-mentioned processor 780, for obtaining system default downloading storing path;Above system default downloading is traversed to protect
The file in path is deposited, identifies downloading file;Determine the address of the downloading file identified for downloading file address.
In above embodiments, first and second kinds of optinal plans can be used preferentially, in the first and second of optional side
After case has executed, if effect is undesirable, third and/or the 4th kind of scheme can be continued to use with continuing searching downloading file
Location.To more comprehensively get the address of downloading file;Wherein third and fourth kind of file has been completely disengaged to note
The limitation of file or security monitoring software is recorded, mistake caused by the file that may have been deleted for those, is unaffected
, therefore recognition success rate stills remain in higher level.
For identified downloading file, the embodiment of the invention also provides the optinal plan of subsequent processing foundation, sides
Continue the processing to downloading file after an action of the bowels, also can be convenient and user is effectively prompted, concrete scheme is as follows: above-mentioned processor
780, it is also used to determine the corresponding download tool of above-mentioned downloading file and file type, and corresponding according to above-mentioned downloading file
Download tool and file type carry out different degree prediction to above-mentioned downloading file and calculate, and obtain the different degree of each downloading file.
Download tool above can determine the different degree of downloading file, such as: the update file of system downloading is deposited
Shelves, different degree can be higher than the cache file etc. that instant messenger downloading saves;File type can be divided into general lower published article
Part, temporal cache file, system file etc..Different degree can empirically be set, the embodiment of the present invention for how
It carries out importance degree and does not do detailed restriction.
Further, after the different degree for determining downloading file, there are many operation that can be executed, such as during display
Prompt, during deleting deletion control etc., concrete scheme is as follows: above-mentioned processor 780, be also used to display search result
When, show the different degree of each downloading file;Instruction is deleted alternatively, receiving, the deletion instruction is corresponding with different degree rank, according to
The different degree rank deletes the downloading file that different degree in each downloading file is less than or equal to the different degree rank.
It is worth noting that, in the determination Installation practice of above-mentioned downloading file address, included each unit is
It is divided according to the functional logic, but is not limited to the above division, as long as corresponding functions can be realized;Separately
Outside, the specific name of each functional unit is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
In addition, those of ordinary skill in the art will appreciate that realizing all or part of the steps in above-mentioned each method embodiment
It is that relevant hardware can be instructed to complete by program, corresponding program can store in a kind of computer readable storage medium
In, storage medium mentioned above can be read-only memory, disk or CD etc..
The above is only the preferable specific embodiments of the present invention, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art the variation that can readily occur in or replaces in the technical scope that the embodiment of the present invention discloses
It changes, should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claim
Subject to enclosing.
Claims (14)
1. a kind of determination method for downloading file address characterized by comprising
Receive the instruction of search downloading file;
After the instruction for receiving search downloading file, download path relevant information is obtained from download tool, and/or, from the
Download path relevant information is obtained in software of the third party;The third party software is the software other than download tool;
According to the download path relevant information, downloading file address is determined.
2. method according to claim 1, which is characterized in that described to obtain download path relevant information from third party software
It include: the protection record file for obtaining downloading defencive function software;
It is described according to the download path relevant information, determine that downloading file address includes:
File, which is recorded, by the protection determines downloading file address.
3. method according to claim 1, which is characterized in that described to obtain download path relevant information packet from download tool
It includes:
Mounted download tool is obtained, and obtains the Download History file of download tool;
It is described according to the download path relevant information, determine that downloading file address includes:
The downloading file address of the download tool downloading is determined according to the Download History file.
4. method according to claim 1, which is characterized in that described to obtain download path relevant information packet from download tool
It includes:
Installed download tool is obtained, and obtains the downloading storing path being arranged in the download tool;
It is described according to the download path relevant information, determine that downloading file address includes:
The file in the downloading storing path is traversed, identifies downloading file;The address of the determining downloading file identified is
The downloading file address of the download tool.
5. method according to claim 1, which is characterized in that described to obtain download path relevant information from third party software
It include: to obtain system default downloading storing path;
It is described according to the download path relevant information, determine that downloading file address includes:
The file in the system default downloading storing path is traversed, identifies downloading file;Determine the downloading file identified
Address be downloading file address.
6. according to claim 1 to 5 any one the methods, which is characterized in that further include:
Determine the corresponding download tool of the downloading file and file type, and according to the corresponding downloading work of the downloading file
Tool and file type carry out different degree prediction to the downloading file and calculate, and obtain the different degree of each downloading file.
7. method according to claim 6, which is characterized in that further include:
When showing search result, the different degree of each downloading file is shown;Instruction is deleted alternatively, receiving, the deletion instruction pair
There should be different degree rank, according to the different degree rank, delete different degree in each downloading file and be less than or equal to the different degree
The downloading file of rank.
8. a kind of determining device for downloading file address characterized by comprising
Instruction receiving unit, for receiving the instruction of search downloading file;
Information acquisition unit, for described instruction receiving unit receive search downloading file instruction after, from download tool
Middle acquisition download path relevant information, and/or, download path relevant information is obtained from third party software;The third party is soft
Part is the software other than download tool;
Address determination unit, the download path relevant information for obtaining according to the information acquisition unit determine downloading file
Address.
9. device according to claim 8, which is characterized in that
The information acquisition unit, the protection for obtaining downloading defencive function software record file;
The address determination unit, the protection record file for obtaining according to the information acquisition unit determine lower published article
Part address.
10. device according to claim 8, which is characterized in that
The information acquisition unit for obtaining mounted download tool, and obtains the Download History file of download tool;
The address determination unit, the Download History file for being obtained according to the information acquisition unit determine it is described under
The downloading file address of load tool downloading.
11. device according to claim 8, which is characterized in that
The information acquisition unit for obtaining installed download tool, and obtains under download tool setting
Carry storing path;
The address determination unit, for traversing the file in the downloading storing path that the information acquisition unit obtains,
Identify downloading file;The address for determining the downloading file identified is the downloading file address of the download tool.
12. device according to claim 8, which is characterized in that
The information acquisition unit, for obtaining system default downloading storing path;
The address determination unit, for traversing in the system default downloading storing path that the information acquisition unit obtains
File, identify downloading file;Determine the address of the downloading file identified for downloading file address.
13. according to claim 8 to 12 any one described device, which is characterized in that further include:
Different degree determination unit, for determining the corresponding download tool of the downloading file and file type, and according to described
The corresponding download tool of file and file type are downloaded, different degree prediction is carried out to the downloading file and is calculated, under acquisition is each
The different degree of published article part.
14. 3 described device according to claim 1, which is characterized in that further include:
Display unit, for when showing search result, showing the different degree of each downloading file;Alternatively,
Described instruction receiving unit is also used to receive deletion instruction;Described device further include:
Control unit is deleted, deletes instruction for receiving, the deletion instruction is corresponding with different degree rank, according to the different degree
Rank deletes the downloading file that different degree in each downloading file is less than or equal to the different degree rank.
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 CN105260367A (en) | 2016-01-20 |
CN105260367B true 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) |
Families Citing this family (1)
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 (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102880713A (en) * | 2012-09-29 | 2013-01-16 | 北京奇虎科技有限公司 | File deleting method and file deleting device |
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 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8639630B2 (en) * | 2008-02-15 | 2014-01-28 | 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 |
CN103559276B (en) * | 2013-11-05 | 2017-11-07 | 广东欧珀移动通信有限公司 | A kind of method and its device for clearing up garbage files |
-
2014
- 2014-06-11 CN CN201410258337.2A patent/CN105260367B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN103716394A (en) * | 2013-12-26 | 2014-04-09 | 北京奇虎科技有限公司 | Downloaded file management method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105260367A (en) | 2016-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106484562B (en) | A kind of data transmission processing method and terminal device | |
CN104572819B (en) | Clearing method and system for junk data | |
CN104093123B (en) | The information-pushing method of application program, device and system, mobile terminal | |
CN108156508B (en) | Barrage information processing method and device, mobile terminal, server and system | |
CN104967896A (en) | Method for displaying bulletscreen comment information, and apparatus thereof | |
CN105788612A (en) | Method and device for testing tone quality | |
CN104135501A (en) | Page sharing method, device and system | |
CN103475914A (en) | Video playing method, video playing device, terminal equipment and server | |
CN108241703B (en) | Webpage data transmission method and device | |
US10956653B2 (en) | Method and apparatus for displaying page and a computer storage medium | |
CN104618794A (en) | Method and device for playing video | |
CN103313139A (en) | History display method and device and electronic device | |
CN106658354B (en) | A kind of data transmission method and equipment | |
CN104519404A (en) | Graphics interchange format file playing method and device | |
CN103269374A (en) | Method, device and equipment for recording synchronization | |
CN103631625B (en) | A kind of method of data acquisition, user terminal, server and system | |
CN104216915A (en) | Webpage processing method, device and terminal equipment | |
CN106033467A (en) | Image file sharing method and device | |
CN104239332A (en) | Webpage content processing method, webpage content processing device and browser client side | |
CN104104711A (en) | Reading history processing method and device | |
CN104951215A (en) | Processing method and device for page operation | |
CN106231575A (en) | Method for processing short messages and device | |
CN103561155B (en) | Send the method for note, device and terminal | |
CN103383701A (en) | Information retrieving method, device and terminal | |
CN105553718B (en) | Guidance information display methods and device |
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 |