CN103699614B - A kind of method and apparatus for determining Default saving path when downloading resource - Google Patents

A kind of method and apparatus for determining Default saving path when downloading resource Download PDF

Info

Publication number
CN103699614B
CN103699614B CN201310693145.XA CN201310693145A CN103699614B CN 103699614 B CN103699614 B CN 103699614B CN 201310693145 A CN201310693145 A CN 201310693145A CN 103699614 B CN103699614 B CN 103699614B
Authority
CN
China
Prior art keywords
resource
information
path
candidate
downloaded
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
Application number
CN201310693145.XA
Other languages
Chinese (zh)
Other versions
CN103699614A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201310693145.XA priority Critical patent/CN103699614B/en
Publication of CN103699614A publication Critical patent/CN103699614A/en
Application granted granted Critical
Publication of CN103699614B publication Critical patent/CN103699614B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

It is an object of the invention to provide a kind of method and apparatus for determining Default saving path when downloading resource, the method according to the invention includes:Obtain at least one resource classification information and the resource saving path for having downloaded resource;According to the described at least one resource classification information for having downloaded resource and the resource saving path, resource stored information is determined, wherein, the resource stored information includes one or more candidate route informations corresponding with each resource classification information difference;When candidate resource is downloaded, according to the resource related information and the resource stored information of the candidate resource, candidate's storing path corresponding with the candidate resource is determined, by candidate's storing path, storing path recommends user by default.According to it is an advantage of the current invention that:Reduce user and preserve the operation that path is selected when downloading resource, improve Consumer's Experience;Resource stored information can be automatically updated, so as to improve the success rate for recommending Default saving path.

Description

A kind of method and apparatus for determining Default saving path when downloading resource
Technical field
A kind of the present invention relates to field of computer technology, more particularly to side for determining Default saving path when downloading resource Method and device.
Background technology
In prior art, it is which recommends the mode of Default saving path mainly to recommend browser when user preserves resource The path of setting or user preserve the path selected during resource the last time.However, user may get used to point multiple catalogues protecting Its resource that downloads is deposited, according to the method for prior art, user needs to select in dialog box is preserved when resource is downloaded every time Storing path, increased the operation of user.Also, according to the method for prior art, it is impossible to when downloading resource every time according to user Operation automatically the preservation of user custom is arranged, so as to more accurately recommend Default saving path for user.
Content of the invention
It is an object of the invention to provide a kind of method and apparatus for determining Default saving path when downloading resource.
According to an aspect of the invention, there is provided a kind of side for determining Default saving path when downloading resource Method, wherein, the method comprising the steps of:
A obtains at least one resource classification information and the resource saving path for having downloaded resource;
B is determined according to the described at least one resource classification information for having downloaded resource and the resource saving path Resource stored information, wherein, the resource stored information includes corresponding one or more with each resource classification information difference Candidate route information;
Wherein, methods described is further comprising the steps of:
X when download candidate resource when, according to the resource related information and the resource stored information of the candidate resource, Determine candidate's storing path corresponding with the candidate resource, storing path is recommended by default by candidate's storing path User.
According to an aspect of the present invention, a kind of road for determining Default saving path when downloading resource is additionally provided Footpath determining device, wherein, the path determining device includes:
First acquisition device, for obtaining at least one resource classification information and the resource saving path for having downloaded resource;
First determining device, for having downloaded the resource classification information and the money of resource according to described at least one Source storing path, determines resource stored information, and wherein, it is right respectively with each resource classification information that the resource stored information includes The one or more candidate route informations that answers;
Second determining device, for when candidate resource is downloaded, according to the resource related information of the candidate resource and The resource stored information, determines corresponding with candidate resource candidate's storing path, using candidate's storing path as Default saving path recommends user.
Compared with prior art, the present invention has advantages below:1)By obtaining the resource related information for having downloaded resource And storing path, obtain for instruction user preserve custom resource stored information, so as to according to resource stored information be user Recommend Default saving path, reduce user and preserve the lower operation that storing path is selected when downloading resource, improve Consumer's Experience; 2)Preservation operation when downloading resource every time according to user is automatically updated resource stored information, recommends acquiescence to protect so as to improve Deposit the success rate in path.
Description of the drawings
By reading the detailed description made by non-limiting example that is made with reference to the following drawings, other of the invention Feature, objects and advantages will become more apparent upon:
Fig. 1 illustrates a kind of method flow for determining Default saving path when downloading resource according to the present invention Figure;
Fig. 2 is illustrated and is determined according to a kind of path for determining Default saving path when downloading resource of the present invention The structural representation of device;
In accompanying drawing, same or analogous reference represents same or analogous part.
Specific embodiment
Below in conjunction with the accompanying drawings the present invention is described in further detail.
Fig. 1 illustrates a kind of method for determining Default saving path when downloading resource according to the present invention.Root Include step S1, step S2 and step S3 according to the method for the present invention.
Wherein, the method according to the invention is realized by the path determining device that is contained in computer equipment.Described Computer equipment includes a kind of to carry out automatically numerical computations and/or information processing according to the instruction being previously set or store Electronic equipment, its hardware include but is not limited to microprocessor, special IC (ASIC), programmable gate array(FPGA)、 Digital processing unit(DSP), embedded device etc..The computer equipment includes the network equipment and/or user equipment.Wherein, institute State the network equipment and include but is not limited to single network server, the server group of multiple webservers composition or based on cloud computing (Cloud Computing)The cloud being made up of a large amount of main frames or the webserver, wherein, cloud computing is the one of Distributed Calculation Kind, a super virtual computer being made up of the loosely-coupled computer collection of a group.The user equipment is included but is not limited to Any one can carry out the electricity of man-machine interaction with user by modes such as keyboard, mouse, remote control, touch pad or voice-operated devices Sub- product, for example, personal computer, panel computer, smart mobile phone, PDA, game machine or IPTV etc..Wherein, the user sets Network residing for the standby and network equipment includes but is not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN, VPN etc..
It should be noted that the user equipment, the network equipment and network are only for example, other are existing or from now on may be used The user equipment that can occur, the network equipment and network are such as applicable to the present invention, should also be included in the scope of the present invention with Interior, and be incorporated herein by reference.
With reference to Fig. 1, in step sl, the path determining device obtains at least one resource classification letter for having downloaded resource Breath and resource saving path.
Wherein, the resource classification information includes the classification information that resource is classified based on resource related information.
For example, resource-based file type includes picture, audio frequency the resource classification information that determines each resource and regards The classifications such as frequency;Again for example, the resource classification information for the name of the source web belonging to resource being referred to as the resource.
Wherein, the including but not limited to following at least any one of the resource related information:
i)The corresponding network address information of resource, for example, URL etc.;
ii)The file formats such as the corresponding file type information of resource, such as mp3 and jpg, it is preferable that this document type is believed Breath can be obtained from the corresponding network address information of the resource;
iii)The corresponding source web of resource, it is preferable that the title of source web can be from the corresponding network of the resource Obtain in address information.
Wherein, those skilled in the art can also select suitable mode classification, with root according to its actual conditions and demand Its resource classification information is determined according to the resource related information of resource, be not limited solely to the mode classification that mentions in this specification.
Wherein, the path determining device obtains at least one resource classification information for having downloaded resource and includes but is not limited to Below any one:
1)Path determining device obtains the resource classification information that at least one of pre-stored has downloaded resource;
2)Path determining device obtains described at least one resource related information for having downloaded resource respectively, and according to each The resource related information of resource is downloaded, has determined that described each has downloaded the resource classification information of resource.
Wherein, path determining device is according to the respective resource related information of the resource of download for obtaining, and is all to download Resource arranges classification, and is defined as downloading the respective resource classification information of resource by category information.For example, determine resource phase Pass information is respectively " audio frequency " and " picture " for the resource classification information for downloading resource of " mp3 " and " jpg ".
According to first example of the present invention, as shown in table 1, path determining device gets 6 and has downloaded resource(Resource Res_1 is to resource Res_6)Respective file type information is used as resource related information.Then, path determining device is according to Res_ The resource related information of 1 to Res_6 and the classification information for arranging, are that Res_1 to Res_6 determines respective resource classification information.
Table 1
Resource has been downloaded File type Resource classification information
Res_1 mp3 Audio frequency
Res_2 jpg Picture
Res_3 mp3 Audio frequency
Res_4 wma Audio frequency
Res_5 rmvb Video
Res_6 rmvb Video
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that any obtain the resource classification information reality for having downloaded resource according to resource related information Existing mode, should be included in the scope of the present invention.
Wherein, the path determining device obtain at least one resource saving path for having downloaded resource mode include but Be not limited to following any one:
1)Path determining device obtains the resource saving path that at least one of pre-stored has downloaded resource;
2)User operation when path determining device has downloaded resource according to downloading, has determined described at least one Download the resource saving path of resource.
Wherein, the user operation any one operation including but not limited to following:
i)Path selection is operated;
ii)New folder is operated.
Wherein, user operation when path determining device has downloaded resource according to downloading, determines described at least one The mode of the individual resource saving path for having downloaded resource including but not limited to following any one:
i)When user operation include Path selection operate when, the path that user is selected by path determining device as this under Carry the resource saving path of resource.
For example, path determining device using user when resource Res_1 is preserved selected path Route_1 as Res_1 Resource saving path, as shown in table 2.
ii)When user operation is included for downloading operation that resource sets up new folder, under path determining device statistics When carrying described at least one and downloading resource, it is operation that part therein has downloaded that resource sets up new folder respectively.When having When multiple new folders for having downloaded resource are located under identical file folder, this document is pressed from both sides corresponding path work by path determining device For the plurality of resource saving path for having downloaded resource.
Preferably, path determining device is to being counted based on the storing path belonging to each new folder respectively, when one When having two or more new folder under individual file, path determining device this document is pressed from both sides corresponding path as with this two with The corresponding resource saving path for having downloaded resource of upper new folder.
Preferably, when only having a new folder under a file, using corresponding for new folder path as this The corresponding resource saving path for having downloaded resource of new folder.
It is highly preferred that setting a threshold value, when the new folder quantity under a file exceedes the threshold value, path is true Determine device and this document is pressed from both sides corresponding path as the resource saving path for having downloaded resource corresponding with the new folder.
Continue to illustrate foregoing First example, path determining device is according to difference when downloading resource Res_2 to Res_6 The operation of the new folder of foundation, is that the resource saving path that Res_2 to Res_6 determines respectively is as shown in table 2 below.
Table 2
Resource has been downloaded Resource saving path
Res_1 Route_1
Res_2 Route_2
Res_3 Route_2
Res_4 Route_1
Res_5 Route_3
Res_6 Route_3
It should be noted that the path determining device obtains the described at least one resource classification information for having downloaded resource The step of and path determining device determine described at least one downloaded resource resource saving path the step of between not first Afterwards sequentially.Also, the example above is only that technical scheme, rather than limitation of the present invention, this area is better described It is to be understood by the skilled artisans that any according to download described downloaded resource when user operation, determine the resource of download resource The implementation of storing path, should be included in the scope of the present invention.
Then, in step s 2, path determining device is according at least one resource classification information and money for having downloaded resource Source storing path, determines resource stored information.
Wherein, the resource stored information includes one or more candidate roads corresponding with each resource classification information difference Footpath information.
Wherein, path determining device is according at least one resource classification information for having downloaded resource and resource saving path, Come determine the mode of resource stored information include following any one:
1)Path determining device statistics belongs to one or more resources for having downloaded resource of each resource classification information and protects Deposit path, then, path determining device according to statistics, in corresponding at least one resource conservation of each resource classification information At least one is selected in path as candidate's storing path corresponding with the resource classification information, with according to selected with described The corresponding one or more candidate route informations of each resource classification information are determining resource stored information.
Continue to illustrate foregoing First example, Res_1 of the path determining device according to table 1 is to resource Res_6 Resource classification information and table 2 shown in resource saving path information, count each corresponding resource conservation of resource classification information Path, statistics are as shown in table 3.
Table 3
Resource classification information Resource saving path
Audio frequency Route_1, Route_2
Picture Route_2
Video Route_3
Statistics of the path determining device according to table 3, is that each resource classification information randomly chooses a resource conservation Path, to obtain resource stored information as shown in table 4.
Table 4
Resource classification information Path candidate
Audio frequency Route_1
Picture Route_2
Video Route_3
2)When resource stored information also includes one or more path candidates corresponding with each resource classification information difference During the weight information of information and each candidate route information, determining device statistics in path belongs to the one of each resource classification information Individual or multiple resource saving paths for having downloaded resource.Then, path determining device determines each money according to the statistics The weight information of each resource saving path in corresponding at least one resource saving path of source classification information.Then, path Weight information of the determining device according to each resource saving path, selects one or more resource saving paths as time Routing information is selected, to determine resource stored information.
Wherein, the weight information is used for indicating what each resource saving path was used under each resource classification information Possibility.Preferably, the weight information is used for indicating that each resource saving path is used under each resource classification information Number of times.
According to second example of the present invention, the access times of resource saving path are believed as the weight of resource saving path Cease, then the weight information of the resource classification information of the Res_1 shown in table 3 to resource Res_6 each resource saving path corresponding As shown in table 5.
Table 5
Then, statistics of the path determining device according to table 5, is that each resource classification information selects the power corresponding to which The maximum resource saving path of weight as candidate route information, to determine resource stored information, as shown in table 6.
Table 6
Resource classification information Path candidate Weight information
Audio frequency Route_1 2
Picture Route_2 1
Video Route_3 2
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that any basis has downloaded the resource classification information of resource and resource saving path, comes really Determine the implementation of resource stored information, should be included in the scope of the present invention.
Then, when user downloads candidate resource, execution step S3.
In step s3, resource related information and resource storage letter of the path determining device according to candidate resource Breath, determines candidate's storing path corresponding with the candidate resource, and by candidate's storing path, storing path is pushed away by default Recommend to user.
Specifically, resource related information of the path determining device according to the candidate resource, determines related to the resource The corresponding resource classification information of information.Then, determining device resource classification information according to determined by path is deposited in the resource Inquired about in storage information, to obtain at least one candidate route information corresponding with the resource classification information of the candidate resource. Then, by selection one at least one candidate route information, storing path recommends use to path determining device by default Family
Preferably, when the weight information comprising each candidate route information in the resource stored information, path determines Weight information of the device according to each candidate route information, maximum by selection weight at least one candidate route information Storing path recommends user to path candidate by default.
Preferably, path determining device obtains its resource correlation according to the corresponding network address information of the candidate resource Information.
Continue to illustrate foregoing second example, when user downloads candidate resource Res_7, in user to resource Res_7 Before being preserved, path determining device gets the network address information " http of Res_7://www.midori-luv.com/ Resource related informations of the songs/redbean.mp3 " as Res_7.Path determining device is determined according to the network address information The file type of Res_7 be mp3, and determine Res_7 resource classification information be " audio frequency ".Then, path determining device is in table " audio frequency " is inquired about in resource stored information shown in 13, and the path candidate Route_ that weight is 2 is obtained under " audio frequency " classification 1.Then, Route_1 is recommended user as the Default saving path in the preservation dialog box of Res_7 by path determining device.
Wherein, step S3 only user download resource when execute, for example, step S3 can be performed a plurality of times step S1 and After step S2, user is executed when downloading resource.
In accordance with a preferred embodiment of the present invention, the method according to the invention also includes step S4(Not shown).
In step s 4, path determining device is after user preserves the candidate resource, using the candidate resource as Download resource.
Specifically, after user preserves candidate resource, path determining device is using the candidate resource as downloading resource, and root Resource stored information is correspondingly updated according to the resource classification information and resource saving path of the candidate resource for getting.
Continue to illustrate foregoing second example, above-mentioned resource Res_7 is saved in path determining device and is recommended by user Default saving path Route_1 after, path determining device is using Res_7 as downloading resource.Path determining device according to The resource classification information " audio frequency " of Res_7 and the resource saving path " Route_1 " of Res_7, correspondingly update the money shown in table 6 Source storage information, used as the resource stored information of Res_1 to resource Res_7.Resource stored information after the renewal such as 7 institute of table Show.
Table 7
Resource classification information Path candidate Weight information
Audio frequency Route_1 3
Picture Route_2 1
Video Route_3 2
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that any using the candidate resource as download resource and according to the candidate resource more The implementation of new resources storage information, should be included in the scope of the present invention.
The method according to the invention, has downloaded the resource related information and storing path of resource by obtaining, obtain for Instruction user preserves the resource stored information of custom, so as to be that user recommends Default saving path according to resource stored information, subtracts User has been lacked and has preserved the operation that storing path is selected when downloading resource, improved Consumer's Experience;Also, downloaded according to user every time Operation during resource is automatically updated resource stored information, so as to improve the success rate for recommending Default saving path.
Fig. 2 is illustrated and is determined according to a kind of path for determining Default saving path when downloading resource of the present invention The structural representation of device.Path determining device according to the present invention includes the first acquisition device 1, the first determining device 2 and the Two determining devices 3.
With reference to Fig. 2, the first acquisition device 1 obtains at least one resource classification information for having downloaded resource and resource conservation road Footpath.
Wherein, the resource classification information includes the classification information that resource is classified based on resource related information.
For example, resource-based file type includes picture, audio frequency the resource classification information that determines each resource and regards The classifications such as frequency;Again for example, the resource classification information for the name of the source web belonging to resource being referred to as the resource.
Wherein, the including but not limited to following at least any one of the resource related information:
i)The corresponding network address information of resource, for example, URL etc.;
ii)The file formats such as the corresponding file type information of resource, such as mp3 and jpg, it is preferable that this document type is believed Breath can be obtained from the corresponding network address information of the resource;
iii)The corresponding source web of resource, it is preferable that the title of source web can be from the corresponding network of the resource Obtain in address information.
Wherein, those skilled in the art can also select suitable mode classification, with root according to its actual conditions and demand Its resource classification information is determined according to the resource related information of resource, be not limited solely to the mode classification that mentions in this specification.
Wherein, first acquisition device 1 obtains at least one resource classification information for having downloaded resource and includes but do not limit In following any one:
1)First acquisition device 1 obtains the resource classification information that at least one of pre-stored has downloaded resource;
2) the second acquisition device is also included according to first acquisition device 1 of the present invention(Not shown)With the 6th determining device (Not shown).Second acquisition device obtains described at least one resource related information for having downloaded resource respectively, and then, the 6th is true Determine device and the resource related information of resource has been downloaded according to each, determine that described each has downloaded the resource classification information of resource.
Wherein, the 6th determining device is according to the respective resource related information of the resource of download for obtaining, and is all to download Resource arranges classification, and is defined as downloading the respective resource classification information of resource by category information.For example, determine resource phase Pass information is respectively " audio frequency " and " picture " for the resource classification information for downloading resource of " mp3 " and " jpg ".
According to the 3rd example of the present invention, as shown in table 8, the second acquisition device gets 6 and has downloaded resource(Resource Res_1 is to resource Res_6)Respective file type information is used as resource related information.Then, the 6th determining device is according to Res_ The resource related information of 1 to Res_6 and the classification information for arranging, are that Res_1 to Res_6 determines respective resource classification information.
Table 8
Resource has been downloaded File type Resource classification information
Res_1 mp3 Audio frequency
Res_2 jpg Picture
Res_3 mp3 Audio frequency
Res_4 wma Audio frequency
Res_5 rmvb Video
Res_6 rmvb Video
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that any obtain the resource classification information reality for having downloaded resource according to resource related information Existing mode, should be included in the scope of the present invention.
Wherein, the mode of the resource saving path that resource has been downloaded in the acquisition of the first acquisition device 1 at least one includes But be not limited to following any one:
1)First acquisition device 1 obtains the resource saving path that at least one of pre-stored has downloaded resource;
2)User operation when first acquisition device 1 has downloaded resource according to downloading, determines described at least one The resource saving path of resource has been downloaded.
Wherein, the user operation any one operation including but not limited to following:
i)Path selection is operated;
ii)New folder is operated.
Wherein, user operation when the first acquisition device 1 has downloaded resource according to downloading, determines described at least one The mode of the individual resource saving path for having downloaded resource including but not limited to following any one:
i)When user operation include Path selection operate when, the path that user is selected by the first acquisition device 1 as this Download the resource saving path of resource.
For example, the first acquisition device 1 using user when resource Res_1 is preserved selected path Route_1 as Res_1 Resource saving path, as shown in table 9.
ii)When user operation is included for downloading operation that resource sets up new folder, first according to the present invention is obtained Take device 1 and further include the second statistic device(Not shown)With the 4th sub- determining device(Not shown).
When second statistic device statistics download described at least one downloads resource, it is that part therein has downloaded money The operation of new folder is set up respectively in source.When there is multiple new folders for having downloaded resource to be located under identical file folder, described This document is pressed from both sides corresponding path as the plurality of resource saving path for having downloaded resource for 4th sub- determining device.
Preferably, the second statistic device is to being counted based on the storing path belonging to each new folder respectively, when one When having two or more new folder under individual file, the 4th sub- determining device this document is pressed from both sides corresponding path as with this two The corresponding resource saving path for having downloaded resource of above new folder.
Preferably, when only having a new folder under a file, the 4th sub- determining device is by the new folder pair The path that answers is used as the corresponding resource saving path for having downloaded resource of the new folder.
It is highly preferred that a threshold value is set, and when the new folder quantity under a file exceedes the threshold value, the 4th son This document is pressed from both sides corresponding path as the resource saving path for having downloaded resource corresponding with the new folder for determining device.
Continue to illustrate aforementioned 3rd example, the 4th sub- determining device is according to download resource Res_2 to the Res_6 time-divisions The operation of the new folder that does not set up, is that the resource saving path that Res_2 to Res_6 determines respectively is as shown in table 9 below.
Table 9
Resource has been downloaded Resource saving path
Res_1 Route_1
Res_2 Route_2
Res_3 Route_2
Res_4 Route_1
Res_5 Route_3
Res_6 Route_3
It should be noted that the first acquisition device 1 obtains the described at least one resource classification information for having downloaded resource Operation and the first acquisition device 1 are determined between the operation of described at least one resource saving path for having downloaded resource not successively Sequentially.Also, the example above is only that technical scheme, rather than limitation of the present invention, this area skill is better described Art personnel it should be understood that any according to download described downloaded resource when user operation, determine the resource guarantor for downloading resource The implementation in path is deposited, be should be included in the scope of the present invention.
Then, the first determining device 2 is according at least one resource classification information for having downloaded resource and resource saving path, To determine resource stored information.
Wherein, the resource stored information includes one or more candidate roads corresponding with each resource classification information difference Footpath information.
Wherein, the first determining device 2 further includes the first statistic device(Not shown)With the first sub- determining device(Figure is not Show).
Wherein, the first determining device 2 is according at least one resource classification information for having downloaded resource and resource saving path, Come determine the mode of resource stored information include following any one:
1)First statistic device statistics belongs to one or more resources for having downloaded resource of each resource classification information and protects Path is deposited, then, the first sub- determining device is protected in corresponding at least one resource of each resource classification information according to statistics Deposit, with according to selected and institute State the corresponding one or more candidate route informations of each resource classification information to determine resource stored information.
Continue to illustrate aforementioned 3rd example, the money of Res_1 to Res_6 of first statistic device according to table 8 Resource saving path information shown in source classification information and table 9, counts each corresponding resource saving path of resource classification information, Statistics is as shown in table 10.
Table 10
Resource classification information Resource saving path
Audio frequency Route_1, Route_2
Picture Route_2
Video Route_3
Statistics of the first sub- determining device according to table 10, is that each resource classification information randomly chooses a resource guarantor Path is deposited, to obtain resource stored information as shown in table 11.
Table 11
Resource classification information Path candidate
Audio frequency Route_1
Picture Route_2
Video Route_3
2)When resource stored information also includes one or more path candidates corresponding with each resource classification information difference During the weight information of information and each candidate route information, the first sub- determining device according to the present invention also includes the second son really Determine device(Not shown)With the 3rd sub- determining device(Not shown).
First statistic device statistics belongs to one or more resource conservations for having downloaded resource of each resource classification information Path.Then, the second sub- determining device determines corresponding at least one money of each resource classification information according to the statistics The weight information of each resource saving path in the storing path of source.Then, the 3rd sub- determining device is according to each resource described The weight information of storing path, selects one or more resource saving paths as candidate route information, to determine that resource is deposited Storage information.
Wherein, the weight information is used for indicating what each resource saving path was used under each resource classification information Possibility.Preferably, the weight information is used for indicating that each resource saving path is used under each resource classification information Number of times.
According to the 4th example of the present invention, the access times of resource saving path are believed as the weight of resource saving path Breath, then the second sub- determining device is that resource classification information that the Res_1 to Res_6 shown in table 10 determines each resource corresponding is protected The weight information for depositing path is as shown in table 12.
Table 12
Then, statistics of the 3rd sub- determining device according to table 12, is that each resource classification information is selected corresponding to which The maximum resource saving path of weight as candidate route information, to determine resource stored information, as shown in table 13.
Table 13
Resource classification information Path candidate Weight information
Audio frequency Route_1 2
Picture Route_2 1
Video Route_3 2
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that any basis has downloaded the resource classification information of resource and resource saving path, comes really Determine the implementation of resource stored information, should be included in the scope of the present invention.
Then, when user downloads candidate resource, the second determining device 3 according to the resource related information of candidate resource and The resource stored information, determines corresponding with candidate resource candidate's storing path, using candidate's storing path as Default saving path recommends user.
Wherein, the second determining device 3 further includes the 5th sub- determining device, inquiry unit and recommendation apparatus.
Specifically, resource related information of the 5th sub- determining device according to the candidate resource, determines and the resource phase The corresponding resource classification information of pass information.Then, inquiry unit resource classification information according to determined by is stored in the resource Inquired about in information, to obtain at least one candidate route information corresponding with the resource classification information of the candidate resource.So Afterwards, it is recommended that by selection one at least one candidate route information, storing path recommends user to device by default
Preferably, when the weight information comprising each candidate route information in the resource stored information, it is recommended that device According to the weight information of each candidate route information, by the candidate for selecting weight maximum at least one candidate route information Storing path recommends user by default in path.
Preferably, the 5th sub- determining device determines its resource phase according to the corresponding network address information of the candidate resource Pass information.
Continue to illustrate aforementioned 4th example, when user downloads candidate resource Res_7, in user to resource Res_7 Before being preserved, the second acquisition device gets the network address information " http of Res_7://www.midori-luv.com/ Resource related informations of the songs/redbean.mp3 " as Res_7.5th sub- determining device according to the network address information, really Determine Res_7 file type be mp3, and determine Res_7 resource classification information be " audio frequency ".Then, inquiry unit is in table 13 " audio frequency " is inquired about in shown resource stored information, and the path candidate Route_1 that weight is 2 is obtained under " audio frequency " classification. Then, it is recommended that Route_1 is recommended user as the Default saving path in the preservation dialog box of Res_7 by device.
Wherein, the second determining device 3 determines the operation of candidate's storing path corresponding with the candidate resource only in user Execute when downloading resource, for example, the resource classification information of downloading resource can be obtained the first acquisition device 1 is performed a plurality of times Operation and the first determining device 2 with resource saving path is determined after the operation of resource stored information, when user downloads resource Execute.
In accordance with a preferred embodiment of the present invention, resource updates device is also included according to the path determining device of the present invention (Not shown).
The resource updates device after user preserves the candidate resource, using the candidate resource as downloading money Source.
Specifically, after user preserves candidate resource, resource updates device is using the candidate resource as downloading resource, and root Resource stored information is correspondingly updated according to the resource classification information and resource saving path of the candidate resource for getting.
Continue to illustrate aforementioned 4th example, above-mentioned resource Res_7 is saved in the silent of recommendation apparatus recommendation by user After recognizing storing path Route_1, Res_7 as downloading resource, and is believed by resource updates device according to the resource classification of Res_7 Breath " audio frequency " and the resource saving path " Route_1 " of Res_7, correspondingly update the resource stored information shown in table 13, as The resource stored information of Res_1 to resource Res_7.Resource stored information after the renewal is as shown in table 14.
Table 14
Resource classification information Path candidate Weight information
Audio frequency Route_1 3
Picture Route_2 1
Video Route_3 2
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention System, it should be appreciated by those skilled in the art that any using the candidate resource as download resource and according to the candidate resource more The implementation of new resources storage information, should be included in the scope of the present invention.
According to the solution of the present invention, by obtaining the resource related information and storing path of having downloaded resource, obtain for Instruction user preserves the resource stored information of custom, so as to be that user recommends Default saving path according to resource stored information, subtracts User has been lacked and has preserved the operation that storing path is selected when downloading resource, improved Consumer's Experience;Also, downloaded according to user every time Operation during resource is automatically updated resource stored information, so as to improve the success rate for recommending Default saving path.
The software program of the present invention can pass through computing device to realize steps described above or function.Similarly, originally The software program of invention(Including related data structure)Can be stored in computer readable recording medium storing program for performing, for example, RAM is deposited Reservoir, magnetically or optically driver or floppy disc and similar devices.In addition, some steps or function of the present invention can employ hardware to reality Existing, for example, as coordinating so as to executing the circuit of each function or step with processor.
In addition, the part of the present invention can be applied to computer program, such as computer program instructions, when its quilt When computer is executed, by the operation of the computer, the method according to the invention and/or technical scheme can be called or provide. And the programmed instruction of the method for the present invention is called, it is possibly stored in fixed or moveable recording medium, and/or passes through Data flow in broadcast or other signal bearing medias and be transmitted, and/or be stored according to described program instruction operation In the working storage of computer equipment.Here, including that a device, the device include using according to one embodiment of present invention Processor in the memory of storage computer program instructions and for execute program instructions, wherein, when the computer program refers to When order is by the computing device, method and/or skill of the plant running based on aforementioned multiple embodiments according to the present invention is triggered Art scheme.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of spirit or essential attributes without departing substantially from the present invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit is required rather than described above is limited, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as and limit involved claim.This Outward, it is clear that " including ", a word was not excluded for other units or step, and odd number is not excluded for plural number.In system claims, statement is multiple Unit or device can also be realized by software or hardware by a unit or device.The first, the second grade word is used for table Show title, and be not offered as any specific order.

Claims (18)

1. a kind of method for determining Default saving path when downloading resource, wherein, the method comprising the steps of:
A obtains at least one resource classification information and the resource saving path for having downloaded resource;
B determines resource according to the described at least one resource classification information for having downloaded resource and the resource saving path Storage information, wherein, the resource stored information includes one or more candidates corresponding with each resource classification information difference Routing information;
Wherein, methods described is further comprising the steps of:
X, is determined according to the resource related information and the resource stored information of the candidate resource when candidate resource is downloaded Candidate's storing path corresponding with the candidate resource, by candidate's storing path, storing path recommends use by default Family;
Wherein, step b is comprised the following steps:
- statistics belongs to one or more resource saving paths for having downloaded resource of each resource classification information;
- according to statistics, at least one is selected in corresponding at least one resource saving path of each resource classification information As candidate's storing path corresponding with the resource classification information.
2. method according to claim 1, wherein, the resource stored information also includes that each resource classification information is corresponding Each candidate route information weight information;Wherein, step b is comprised the following steps:
- statistics belongs to one or more resource saving paths for having downloaded resource of each resource classification information;
- according to the statistics, determine in corresponding at least one resource saving path of each resource classification information each The weight information of resource saving path;
- according to the weight information of each resource saving path, one or more resource saving paths are selected as candidate Routing information, with according to selected one or more candidate route informations corresponding with each resource classification information described and The weight information of each candidate route information is determining resource stored information.
3. the method according to claim 1 or 2 any one, wherein, described obtains at least one resource for having downloaded resource The method of storing path includes:
A1 has downloaded user operation during resource according to download described at least one, obtains the resource corresponding with the user operation Storing path.
4. method according to claim 3, wherein, the user operation include following any one:
The operation of-selection storing path;
- it is to download the operation that resource sets up new folder.
5. method according to claim 3, when the user operation is included for downloading resource and setting up new folder, institute Stating step a1 includes:
- statistics downloads described at least one when downloading resource, is that part therein has been downloaded resource and sets up new folder respectively Operation;
- when have multiple new folders for having downloaded resource be located at identical file folder under when, this document is pressed from both sides corresponding path as The plurality of resource saving path for having downloaded resource.
6. method according to claim 1, wherein, step x is comprised the following steps:
- according to the resource related information of the candidate resource, determine resource classification information corresponding with the resource related information;
- resource classification information according to determined by is inquired about in the resource stored information, to obtain at least one and be somebody's turn to do The corresponding candidate route information of the resource classification information of candidate resource;
- by selection one at least one candidate route information, storing path recommends user by default.
7. method according to claim 1, wherein, step a is comprised the following steps:
- obtain described at least one resource related information for having downloaded resource respectively;
- resource related information of resource has been downloaded according to each, determine that described each has downloaded the resource classification information of resource.
8. method according to claim 1, wherein, the resource related information includes following at least any one information:
The corresponding network address information of-resource;
The corresponding file type information of-resource;
The corresponding source web of-resource.
9. method according to claim 1, wherein, methods described is further comprising the steps of:
- preserve the candidate resource after, using the candidate resource as downloading resource.
10. a kind of determine download resource when Default saving path path determining device, wherein, the path determining device bag Include:
First acquisition device, for obtaining at least one resource classification information and the resource saving path for having downloaded resource;
First determining device, is protected with the resource for having downloaded the resource classification information of resource according to described at least one Path is deposited, resource stored information is determined, wherein, the resource stored information includes corresponding with each resource classification information difference One or more candidate route informations;
Second determining device, for when candidate resource is downloaded, according to the resource related information of the candidate resource and described Resource stored information, determines candidate's storing path corresponding with the candidate resource, by candidate's storing path by default Storing path recommends user;
Wherein, first determining device includes:
First statistic device, for one or more resource conservations for having downloaded resource that statistics belongs to each resource classification information Path;
First sub- determining device, for according to statistics, in corresponding at least one resource conservation of each resource classification information At least one is selected in path as candidate's storing path corresponding with the resource classification information.
11. path determining devices according to claim 10, wherein, the resource stored information also includes each resource point The weight information of category information each candidate route information corresponding;Wherein, the described first sub- determining device includes:
Second sub- determining device, for according to the statistics, determining corresponding at least one money of each resource classification information The weight information of each resource saving path in the storing path of source;
3rd sub- determining device, for the weight information according to each resource saving path, selects one or more moneys Source storing path as candidate route information, with according to selected corresponding with each resource classification information described one or many The weight information of individual candidate route information and each candidate route information is determining resource stored information.
The 12. path determining devices according to claim 10 or 11, wherein, first acquisition device is used for:
- according to download described at least one downloaded resource when user operation, obtain the resource corresponding with the user operation Storing path.
13. path determining devices according to claim 11, wherein, the user operation include following any one:
The operation of-selection storing path;
- it is to download the operation that resource sets up new folder.
14. path determining devices according to claim 12, when the user operation includes setting up newly for downloading resource During the operation of file, first acquisition device includes:
Second statistic device, when downloading resource for counting download described at least one, is that part therein has downloaded resource The operation of new folder is set up respectively;
4th sub- determining device, for when there is multiple new folders for having downloaded resource to be located under identical file folder, by this article Part presss from both sides corresponding path as the plurality of resource saving path for having downloaded resource.
15. path determining devices according to claim 10, wherein, second determining device includes:
5th sub- determining device, for the resource related information according to the candidate resource, determines and the resource related information Corresponding resource classification information;
Inquiry unit, is inquired about in the resource stored information for resource classification information determined by basis, to obtain At least one candidate route information corresponding with the resource classification information of the candidate resource;
Recommendation apparatus, for by selection one at least one candidate route information, storing path recommends use by default Family.
16. path determining devices according to claim 10, wherein, first acquisition device includes:
Second acquisition device, for obtaining described at least one resource related information for having downloaded resource respectively;
6th determining device, for having downloaded the resource related information of resource according to each, determines that described each has downloaded resource Resource classification information.
17. path determining devices according to claim 10, wherein, the resource related information includes following at least arbitrary Item information:
The corresponding network address information of-resource;
The corresponding file type information of-resource;
The corresponding source web of-resource.
18. path determining devices according to claim 10, wherein, the path determining device also includes:
Resource updates device, for after the candidate resource is preserved, using the candidate resource as downloading resource.
CN201310693145.XA 2013-12-17 2013-12-17 A kind of method and apparatus for determining Default saving path when downloading resource Active CN103699614B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310693145.XA CN103699614B (en) 2013-12-17 2013-12-17 A kind of method and apparatus for determining Default saving path when downloading resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310693145.XA CN103699614B (en) 2013-12-17 2013-12-17 A kind of method and apparatus for determining Default saving path when downloading resource

Publications (2)

Publication Number Publication Date
CN103699614A CN103699614A (en) 2014-04-02
CN103699614B true CN103699614B (en) 2017-03-15

Family

ID=50361142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310693145.XA Active CN103699614B (en) 2013-12-17 2013-12-17 A kind of method and apparatus for determining Default saving path when downloading resource

Country Status (1)

Country Link
CN (1) CN103699614B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717452A (en) * 2014-08-27 2018-10-30 乌鲁木齐九品芝麻信息科技有限公司 To the method and device for downloading file identification, preserving and quickly searching
CN105701195A (en) * 2016-01-12 2016-06-22 深圳市创维电器科技有限公司 Method and system for implementing automatic sorted storing according to file types
WO2018027639A1 (en) * 2016-08-10 2018-02-15 董访问 Patent information pushing method during file receive path matching, and receiving system
WO2018027638A1 (en) * 2016-08-10 2018-02-15 董访问 Friend group-based file receive path matching method, and receiving system
WO2018027637A1 (en) * 2016-08-10 2018-02-15 董访问 Method for feeding back technical data during group-based receive path matching, and receiving system
CN106897062A (en) * 2017-02-21 2017-06-27 中国联合网络通信集团有限公司 The method and network communicating system of a kind of application class

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387422A (en) * 2010-08-31 2012-03-21 青岛海信电器股份有限公司 Digital media player, file searching method thereof and television
CN102760070A (en) * 2012-06-08 2012-10-31 华为终端有限公司 Method for storing downloaded file and mobile terminal
CN103200247A (en) * 2013-03-26 2013-07-10 深圳市网信联动技术有限公司 Data downloading method and personal computer (PC) downloading client side

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387422A (en) * 2010-08-31 2012-03-21 青岛海信电器股份有限公司 Digital media player, file searching method thereof and television
CN102760070A (en) * 2012-06-08 2012-10-31 华为终端有限公司 Method for storing downloaded file and mobile terminal
CN103200247A (en) * 2013-03-26 2013-07-10 深圳市网信联动技术有限公司 Data downloading method and personal computer (PC) downloading client side

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"轻松打理网际快车文件管理的技巧";听松涛;《计算机与网络》;20081031;第2008年卷(第10期);论文第1页 *

Also Published As

Publication number Publication date
CN103699614A (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN103699614B (en) A kind of method and apparatus for determining Default saving path when downloading resource
CN105320766B (en) Information-pushing method and device
CN107169052B (en) Recommended method and device
CN102880688B (en) A kind of method for webpage is estimated, device and equipment
CN107885796A (en) Information recommendation method and device, equipment
CN109087177A (en) To the method, apparatus and computer readable storage medium of target user's Recommendations
CN106415650A (en) Soliciting and creating collaborative content items
CN103500213B (en) Page hot-spot resource updating method and device based on pre-reading
CN107292463A (en) A kind of method and system that the project evaluation is carried out to application program
US8682720B1 (en) Selection and display of online advertisements
CN106779825A (en) A kind of item recommendation method, device and electronic equipment
CN103646341B (en) A kind of website provides the recommendation method and apparatus of object
CN107895213A (en) Forecasting Methodology, device and the electronic equipment of spending limit
CN104978368A (en) Method and device used for providing recommendation information
CN103713894B (en) A kind of method and apparatus for determining the requirements for access information of user
CN103810184A (en) Method for determining web page address velocity, optimization method and device of methods
CN105589917B (en) Method and device for analyzing log information of browser
CN103544313B (en) Data processing method and device for webpage recommending
CN106407239A (en) Methods and apparatuses used for recommending information and assisting in recommending information
CN103365842B (en) A kind of page browsing recommends method and device
CN110162292A (en) Voice broadcast method and device
CN105138535A (en) Search result display method and apparatus
CN104615631A (en) Information recommendation method and device
CN103870541A (en) Social network user interest mining method and system
CN106919588A (en) A kind of application program search system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant