Nothing Special   »   [go: up one dir, main page]

CN103530365B - Obtain the method and system of the download link of resource - Google Patents

Obtain the method and system of the download link of resource Download PDF

Info

Publication number
CN103530365B
CN103530365B CN201310476120.4A CN201310476120A CN103530365B CN 103530365 B CN103530365 B CN 103530365B CN 201310476120 A CN201310476120 A CN 201310476120A CN 103530365 B CN103530365 B CN 103530365B
Authority
CN
China
Prior art keywords
download link
webpage
download
redirected
user
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
CN201310476120.4A
Other languages
Chinese (zh)
Other versions
CN103530365A (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 Sogou Technology Development Co Ltd
Beijing Sogou Information Service Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Beijing Sogou Information Service 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 Sogou Technology Development Co Ltd, Beijing Sogou Information Service Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201310476120.4A priority Critical patent/CN103530365B/en
Publication of CN103530365A publication Critical patent/CN103530365A/en
Application granted granted Critical
Publication of CN103530365B publication Critical patent/CN103530365B/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/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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

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)

Abstract

The invention discloses the method and system of the download link for obtaining resource, wherein, methods described includes:Obtain user by webpage redirect it is final carry out resource downloading redirect behavior;Behavior is redirected according to described, generate access download link redirects path;When the webpage on path is redirected described in user's access, the download link redirected on path is presented to user.By the present invention, can using user by webpage redirect it is final carry out resource downloading redirect behavior, obtain and browse the download link of the related resource of webpage to user and be presented to user, acquired download link is set to agree with the real demand of user, improve the efficiency of the download link for obtaining resource, and then improve user carries out the efficiency of resource downloading.

Description

Obtain the method and system of the download link of resource
Technical field
The present invention relates to technical field of the computer network, and in particular to obtain the method and system of the download link of resource.
Background technology
With the popularization developed rapidly with computer equipment of computer network, increasing user is obtained by internet Various information and various required resources are taken, network downloads one of Main Means as user's acquisition Internet resources.In order to More preferably meet the download demand of user's continuous improvement, the network station largely with resource downloading as main services is occurred in that on internet Point, many comprehensive portal websites can also provide the download service of Internet resources.The a certain class of specially offer having in these websites The download service of resource, such as special website that a certain class download service in document information, audio/video, software classification is provided, What is had then provides comprehensively multi-class comprehensive download service relatively, and being continuously increased for download service and Internet resources, is user Various resources are obtained on the internet to provide convenience.Certainly, also number of site may not be specially to provide download service Website, but once in a while also can some resources it is available for download.For example, certain forum website, its main services is to provide the user friendship Levelling platform, it is also possible to some users upload the files such as some data, can download for other users.
Generally, user downloads required resource, it is necessary to first navigate to target network resource on network, then could basis The network site of target network resource is downloaded.The means for positioning target network resource have various, such as using search engine, Retrieved with the information of the keyword of required resource or target download website, the Search Results provided by search engine are arrived Up to the download page of target resource;Or input address access download website or download the page, and then obtain required resource Download link.But in the download page of these target resources, by the mode such as input validation code or needs login the need for having The resource downloading link that could be obtained;Have then for clicking rate is increased, the download link of resource is designed in current download In subordinate's subpage frame of the page;It is some to download the resource downloading chain comprising falseness in the page even in order to promote the purposes such as product Misleading user is met to click on;These all obtain authentic and valid resource downloading link from the page is downloaded and cause inconvenience to user.
Additionally, in the prior art, can be provided in the page is downloaded has certain degree of correlation with resource needed for user The link of other resources, serves the effect for facilitating user to a certain extent.But these other moneys provided in the page Source, it often compares mechanical with the determination of the degree of correlation of resource needed for user, such as the resource of software class, only from software The most even all of related resource that the angle of function classification is gone to determine provided in the degree of correlation, and the page, often only limits Resource in the website, these related resources can not well meet the real demand of user when causing majority.In addition, existing The resource link provided in technological means is provided, the topology layout with the page of website is relied on, resource link is used as a kind of lattice chain Connect, its correctness is related to the structure of website, once website correcting path changes, resource link also can just occur accordingly Change, this will directly influence the correctness of the resource link for providing a user with.When resource link changes, then need again The resource link of mistake could be excluded or corrected by the structure for analyzing website, and complete the work of this exclusion or amendment resource link Make, it is necessary to many workloads for paying and cost.
To sum up, in the urgent need to the problem that those skilled in the art solve is that how to obtain the download link of resource, make Acquired download link agrees with the real demand of user, improves the efficiency that user downloads resource.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on State the method for the download link of the acquisition resource of problem and the system of the corresponding download link for obtaining resource.
According to one aspect of the present invention, there is provided a kind of method of the download link of acquisition resource, including:
Obtain user by webpage redirect it is final carry out resource downloading redirect behavior;
Behavior is redirected according to described, generate access download link redirects path;
When the webpage on path is redirected described in user's access, the download link redirected on path is presented to use Family.
Alternatively, the acquisition user redirects the final behavior that redirects for carrying out resource downloading by webpage, including:
Obtain user by webpage redirect it is final carry out resource downloading redirect behavior, each web page address for being accessed, And corresponding download link;
Behavior is redirected described in the basis, generation accesses the path that redirects of download link, including:
According to described each web page address that the user for getting accesses, and corresponding download link, generation is accessed downloads What is linked redirects path.
Alternatively, the acquisition user redirects the final behavior that redirects for carrying out resource downloading by webpage, including:
By browser program, obtain user by webpage redirect it is final carry out resource downloading redirect behavior, visited Each web page address asked, and corresponding download link;
Behavior is redirected described in the basis, generation accesses the path that redirects of download link, including:
Described each web page address that the user got according to browser program accesses, and corresponding download link, it is raw Path is redirected into access download link.
Alternatively, the acquisition user redirects the final behavior that redirects for carrying out resource downloading by webpage, including:
User identity information is obtained, and the corresponding user of the user identity information is redirected by webpage and is finally provided During source is downloaded, what is redirected every time redirects the time and redirects mode, each web page address for being accessed, and corresponding downloads Link;It is described redirect mode for identify the target that redirects be another webpage, an or download link;
Behavior is redirected described in the basis, generation accesses the path that redirects of download link, including:
According to the user identity information, time, each web page address for redirecting mode, being accessed are redirected, and accordingly Download link, reduction correspondence user redirects the final process for carrying out resource downloading by webpage, and generation accesses the jump of download link Turn path.
Alternatively, the corresponding user of the acquisition user identity information, and the user identity information is jumped by webpage Turn it is final carry out resource downloading during, what is redirected every time redirects the time and redirects mode, each web page address for being accessed, with And corresponding download link, including:
When redirecting behavior of resource downloading finally is carried out producing to be redirected by webpage, the use is obtained by browser program Family identification information, and the user identity information, and the corresponding user of user identity information are redirected finally to enter by webpage During row resource downloading, what is redirected every time redirects time, each web page address for redirecting mode, being accessed, and accordingly Download link is recorded as redirecting daily record;
Behavior is redirected described in the basis, generation accesses the path that redirects of download link, including:
It is logical according to the user identity information for redirecting and being recorded in daily record, and the corresponding user of user identity information Cross webpage redirect it is final carry out resource downloading during, what is redirected every time redirects time, each webpage for redirecting mode, being accessed Address, and corresponding download link, reduction correspondence user redirect the final process for carrying out resource downloading by webpage, and generation is visited That asks download link redirects path.
Alternatively, the browser program will get the user identity information, redirect the time, redirect mode, institute Each web page address and corresponding download link for accessing are recorded as daily record, and the end that uploads onto the server;
Behavior is redirected described in the basis, generation accesses the path that redirects of download link, including:
By server end according to the daily record for receiving, reduction correspondence user is redirected by webpage and finally carried out under resource The process of load, generate access download link redirects path.
Alternatively, the acquisition user redirects the final behavior that redirects for carrying out resource downloading by webpage, including:
Obtain user from the webpage of preset range be starting, by webpage redirect it is final carry out resource downloading redirect row For;
Behavior is redirected described in the basis, generation accesses the path that redirects of download link, including:
Behavior is redirected according to described, is generated with the jump of the access download link that the webpage of the preset range is starting Turn path.
Alternatively, behavior is redirected described in the basis, generation is the initial access with the webpage of the preset range Download link redirects path, including:
Behavior is redirected according to described, jump with the webpage starting in the preset range by number of times less than preset threshold value Turn the final behavior that redirects for carrying out resource downloading, generation is the initial access download link with the webpage of the preset range Redirect path.
Alternatively, also include:
The download link redirected on path is filtered with preset decision method;
It is described when user access described in redirect the webpage on path when, the download link redirected on path is presented to User, including:
When the webpage on path is redirected described in user's access, according to the result of filtering, the download chain that will be obtained after filtering Connect and be presented to user.
Alternatively, the preset decision method is characterized threshold determination, and the feature for judging is following at least one Kind:
Webpage with the preset range is that starting is redirected on path, by the start page reaches the download link Average path length;
Webpage with the preset range is that starting is redirected on path, by the start page reaches the download link, And the download time being downloaded;
Webpage with the preset range is that starting is redirected on path, by the start page reaches the download link, And the download time being downloaded, and by the start page all download links for reaching and total download time for being downloaded Download time ratio;
Redirected by the webpage of the preset range and carry out the number of times of resource downloading, and by the start page All number of hops ratios for redirecting of purpose are not differentiated between;
Webpage with the preset range is that starting is redirected on path, by the start page reaches the download link, Access whether the download link needs to provide user authentication information;
Webpage with the preset range is that starting is redirected on path, by the start page reaches the download link, Access the file type of the download link respective file;
It is described the download link redirected on path is filtered with preset decision method, including:
Preset corresponding characteristic threshold value is respectively provided with to each feature for judging;When the download link pair for getting When the feature answered meets corresponding characteristic threshold value requirement, the download link that the download link is defined as being obtained after filtering;Wherein, When using described at least two for the feature of judgement, when all features meet corresponding characteristic threshold value simultaneously, by under this Carry the download link that link is defined as being obtained after filtering;
Or,
According at least one feature for judging, the weights of the download link on path are redirected described in calculating, will The download link that the weights reach preset weight threshold is defined as the download link obtained after filtering;Wherein, when using at least Described in two be used for judge feature when, calculate download link corresponding to each feature weights and added up, be somebody's turn to do The weights of download link.
Alternatively, the acquisition user redirects the final behavior that redirects for carrying out resource downloading by webpage, including:
Counting user by webpage redirect it is final carry out the number of times that webpage during resource downloading is redirected, redirected when described Number of times when being less than preset frequency threshold value, obtain user by webpage redirect it is final carry out resource downloading redirect behavior.
Alternatively, also include:
The download link redirected on path is filtered with preset decision method;
It is described when user access described in redirect the webpage on path when, the download link redirected on path is presented to User, including:
When the webpage on path is redirected described in user's access, according to the result of filtering, the download chain that will be obtained after filtering Connect and be presented to user.
Alternatively, the preset decision method is characterized threshold determination, and the feature for judging is following at least one Kind:
When reaching same download link on path by different redirecting by same webpage, the download chain is reached by the webpage The average path length for connecing;
Redirect a webpage on path and reach download link, the download time that the download link is downloaded;
One download link, the download time that the download link is downloaded, with the institute reached by the webpage are reached by a webpage There is the download time ratio of download link and the total download time being downloaded;
Redirected by a webpage and carry out the number of times of resource downloading, all of purpose are not differentiated between with by the webpage The number of hops ratio for redirecting;
Jumped to up to a download link by a webpage, access whether the download link needs to provide user authentication information;
Jumped to up to a download link by webpage, the file type of the download link respective file;
It is described when user access described in redirect the webpage on path when, redirected on path to described with preset decision method Download link filtered, including:
Preset corresponding characteristic threshold value is respectively provided with to each feature for judging;When the download link pair for getting When the feature answered meets corresponding characteristic threshold value requirement, the download link that the download link is defined as being obtained after filtering;Wherein, When using described at least two for the feature of judgement, when all features meet corresponding characteristic threshold value simultaneously, by under this Carry the download link that link is defined as being obtained after filtering;
Or,
According at least one feature for judging, the weights of the download link on path are redirected described in calculating, will The download link that the weights reach preset weight threshold is defined as the download link obtained after filtering;Wherein, when using at least Described in two be used for judge feature when, calculate download link corresponding to each feature weights and added up, be somebody's turn to do The weights of download link.
Alternatively, the preset determination methods also including preset template judge, methods described, including:
Using preset judge templet to the webpage redirected on path, and the corresponding download link URL Degree of correlation judgement is carried out, and produces a judged result, the download link redirected on path is entered according to the judged result Row filtering;Wherein, the preset judge templet includes:Preset judges that user's access webpage is related to the URL of download link The regular expression template of degree.
Alternatively, it is described the download link redirected on path is filtered with preset decision method, including:
Validation checking is carried out to the download link, if detecting that the download link is effectively link, by under this Carry the download link that link is defined as being obtained after filtering.
Alternatively, also include:
The link type of the download link is detected, the link type is used to indicate whether the download link is specific The private link of download tool;
If detecting the download link type for the private link, by the download chain redirected on path Connect while be presented to user, show the link type of the link.
Alternatively, it is described that the download link redirected on path is presented to user, including:
By the download link redirected on path is with operating system pop-up window or browser ejection subwindow or is The mode of the drawer type pop-up in system pallet pop-up window or browser window is presented to user.
According to another aspect of the present invention, there is provided it is a kind of obtain resource download link system, including:
Information acquisition unit, for obtain user by webpage redirect it is final carry out resource downloading redirect behavior;
Coordinates measurement unit, for redirecting behavior according to, generate access download link redirects path;
Link is obtained and display unit, for when the webpage on path is redirected described in user's access, road being redirected by described Download link on footpath is presented to user.
Alternatively, described information acquiring unit, including:
The first information obtains subelement, for obtain user by webpage redirect it is final carry out resource downloading redirect behavior In, each web page address for being accessed, and corresponding download link;
The coordinates measurement unit, including:
First path generates subelement, for the described each web page address accessed according to the user for getting, and accordingly Download link, generation accesses download link and redirects path.
Alternatively, described information acquiring unit, including:
Second acquisition of information subelement, for by browser program, acquisition user to be redirected by webpage and finally provided During what source was downloaded redirects behavior, each web page address for being accessed, and corresponding download link;
The coordinates measurement unit, including:
Second coordinates measurement subelement, for described each webpage that basis is accessed by the user that browser program gets Address, and corresponding download link, generate access download link redirects path.
Alternatively, described information acquiring unit, including:
3rd acquisition of information subelement, for obtaining user identity information, and the corresponding use of the user identity information Family by webpage redirect it is final carry out resource downloading during, what is redirected every time redirects the time and redirects mode, is accessed Each web page address, and corresponding download link;It is described redirect mode for identify the target that redirects be another webpage, or It is a download link;
The coordinates measurement unit, including:
3rd coordinates measurement subelement, for according to the user identity information, redirect the time, redirect mode, accessed Each web page address, and corresponding download link, reduction correspondence user redirects the final mistake for carrying out resource downloading by webpage Journey, generate access download link redirects path.
Alternatively, the 3rd acquisition of information subelement, specifically for:
When redirecting behavior of resource downloading finally is carried out producing to be redirected by webpage, obtains described by browser program User identity information, and the user identity information, and the corresponding user of user identity information are redirected finally by webpage During carrying out resource downloading, what is redirected every time redirects time, each web page address for redirecting mode, being accessed, and accordingly Download link be recorded as redirecting daily record;
The 3rd coordinates measurement subelement, specifically for:
It is logical according to the user identity information for redirecting and being recorded in daily record, and the corresponding user of user identity information Cross webpage redirect it is final carry out resource downloading during, what is redirected every time redirects time, each webpage for redirecting mode, being accessed Address, and corresponding download link, reduction correspondence user redirect the final process for carrying out resource downloading by webpage, and generation is visited That asks download link redirects path.
Alternatively, the user identity information that will get by the browser program, time, the side of redirecting are redirected Formula, each web page address for being accessed and corresponding download link are recorded as daily record, and the 3rd path of the end life that uploads onto the server Into subelement;
The 3rd coordinates measurement subelement is located at server end, specifically for:
In server end according to the daily record for receiving, reduction correspondence user is redirected by webpage and finally carried out under resource The process of load, generate access download link redirects path.
Alternatively, described information acquiring unit, including:
4th acquisition of information subelement, is starting for obtaining user from the webpage of preset range, is redirected most by webpage Carry out resource downloading eventually redirects behavior;
The coordinates measurement unit, including:
4th coordinates measurement subelement, for redirecting behavior according to described, generation with the webpage of the preset range as The access download link for beginning redirects path.
Alternatively, the 4th coordinates measurement subelement, specifically for:
Behavior is redirected according to described, jump with the webpage starting in the preset range by number of times less than preset threshold value Turn the final behavior that redirects for carrying out resource downloading, generation is the initial access download link with the webpage of the preset range Redirect path.
Alternatively, it is characterised in that also include:
Screening unit, is filtered with preset decision method to the download link redirected on path;
The link is obtained and display unit, specifically for:
When the webpage on path is redirected described in user's access, according to the result of filtering, the download chain that will be obtained after filtering Connect and be presented to user.
Alternatively, the preset decision method is characterized threshold determination, and the system also includes:Fisrt feature obtains single Unit, at least one for obtaining the following feature for judging:
Webpage with the preset range is that starting is redirected on path, by the start page reaches the download link Average path length;
Webpage with the preset range is that starting is redirected on path, by the start page reaches the download link, And the download time being downloaded;
Webpage with the preset range is that starting is redirected on path, by the start page reaches the download link, And the download time being downloaded, and by the start page all download links for reaching and total download time for being downloaded Download time ratio;
Redirected by the webpage of the preset range and carry out the number of times of resource downloading, and by the start page All number of hops ratios for redirecting of purpose are not differentiated between;
Webpage with the preset range is that starting is redirected on path, by the start page reaches the download link, Access whether the download link needs to provide user authentication information;
Webpage with the preset range is that starting is redirected on path, by the start page reaches the download link, Access the file type of the download link respective file;
The screening unit, specifically for:
Preset corresponding characteristic threshold value is respectively provided with to each feature for judging;When the download link pair for getting When the feature answered meets corresponding characteristic threshold value requirement, the download link that the download link is defined as being obtained after filtering;Wherein, When using described at least two for the feature of judgement, when all features meet corresponding characteristic threshold value simultaneously, by under this Carry the download link that link is defined as being obtained after filtering;
Or,
According at least one feature for judging, the weights of the download link on path are redirected described in calculating, will The download link that the weights reach preset weight threshold is defined as the download link obtained after filtering;Wherein, when using at least Described in two be used for judge feature when, calculate download link corresponding to each feature weights and added up, be somebody's turn to do The weights of download link.
Alternatively, described information acquiring unit, including:
5th acquisition of information subelement, being redirected by webpage for counting user finally carries out net during resource downloading The number of times that page is redirected, when the number of times for redirecting is less than preset frequency threshold value, is obtained user and is redirected finally to enter by webpage Row resource downloading redirects behavior.
Alternatively, it is characterised in that also include:
Filter element, for being filtered to the download link redirected on path with preset decision method;
The link is obtained and display unit is used for:When the webpage on path is redirected described in user's access, will pass through The download link obtained after filter unit filtering is presented to user.
Alternatively, the preset decision method is characterized threshold determination, and the system also includes:Second feature obtains single Unit, for obtaining following at least one feature:
When reaching same download link on path by different redirecting by same webpage, the download chain is reached by the webpage The average path length for connecing;
Redirect a webpage on path and reach download link, the download time that the download link is downloaded;
One download link, the download time that the download link is downloaded, with the institute reached by the webpage are reached by a webpage There is the download time ratio of download link and the total download time being downloaded;
Redirected by a webpage and carry out the number of times of resource downloading, all of purpose are not differentiated between with by the webpage The number of hops ratio for redirecting;
Jumped to up to a download link by a webpage, access whether the download link needs to provide user authentication information;
Jumped to up to a download link by webpage, the file type of the download link respective file;
The filter element, specifically for:
Preset corresponding characteristic threshold value is respectively provided with to each feature for judging;When the download link pair for getting When the feature answered meets corresponding characteristic threshold value requirement, the download link that the download link is defined as being obtained after filtering;Wherein, When using described at least two for the feature of judgement, when all features meet corresponding characteristic threshold value simultaneously, by under this Carry the download link that link is defined as being obtained after filtering;
Or,
According at least one feature for judging, the weights of the download link on path are redirected described in calculating, will The download link that the weights reach preset weight threshold is defined as the download link obtained after filtering;Wherein, when using at least Described in two be used for judge feature when, calculate download link corresponding to each feature weights and added up, be somebody's turn to do Download link weights.
Alternatively, the preset decision method also judges that the filter element is used for including preset template:
Webpage is accessed to the user using preset judge templet, and the URL of corresponding download link carries out correlation Degree judges, and produces a judged result, and the download link redirected on path is filtered according to the judged result;Its In, the preset judge templet includes:Preset judges that user accesses the canonical table of the URL degrees of correlation of webpage and download link Up to formula template.
Alternatively, the filter element, including:
Validation checking subelement, for carrying out validation checking to the download link, if detecting the download chain Effectively link is connected in, then the download link is defined as the download link obtained after filtering.
Alternatively, also include:
Link type detection unit, the link type for detecting the download link, the link type is used to indicate The download link whether be particular download instrument private link;
The link is obtained and display unit, is used for:
If detecting the download link type for the private link, by the download chain redirected on path Connect while be presented to user, show the link type of the link.
Alternatively, the link is obtained and display unit, is used for:
By the download link redirected on path is with operating system pop-up window or browser ejection subwindow or is The mode of the drawer type pop-up in system pallet pop-up window or browser window is presented to user.
The method of the download link for obtaining resource of the invention can be during user browses webpage, particularly During redirecting access download link by webpage, to be collected into and redirect behavior up to accessing download link, redirect behavior reality On reflect the process that user accesses download link, using the information of these downloading process being collected into, generate download link mistake The access download link of journey redirects path, equivalent to generating chain type path data that Internet resources are reached from the page, with Family is accessed when redirecting the web page address on path, and the download link related to the address of user's access is obtained simultaneously according to path is redirected Present, because the download link related to the web page address that user accesses for obtaining is with the daily download behavior of user and process Basis, resulting related download link more conforms to browse webpage the download demand of person, while resulting download link can With the download link being not limited in website where this webpage or webpage, and by the related authentic and valid download chain of the webpage Connect and be presented to user.And, the related download link of webpage accessed to user of acquisition with the daily download behavior of user and Based on process, rather than the topology layout relied on the page of website, once there is failure link, can easily from obtaining Get user to link daily access in embody, so as to reduce exclude or amendment stale resource link work into This.Solve the problems, such as by the page be downloaded it is less efficient, achieve obtain more conform to user needs download chain Connect, enrich the download selection of user, eliminate the interference of false link, improve the efficiency that is downloaded by the page is had Beneficial effect.
Further, by the method for the download link for obtaining resource of the invention, can be obtained by browser program User identity information, and recording during the corresponding user of user identity information accesses download link, redirect every time when redirecting Between, each web page address for redirecting mode, being accessed, and corresponding download link.And then, according to user identity information, redirect Time, each web page address for redirecting mode, being accessed, and corresponding download link, reduction correspondence user redirected by webpage The process of download link is accessed, and is obtained user and is redirected by webpage and access download link and redirect behavior, so as to according to acquisition Data, user is reduced exactly the process that mode accesses download link is redirected by webpage, according to redirect behavior generation Path is redirected to lay a solid foundation.
Further, the method that the present invention obtains the download link of resource, can also be according to the various features pair for obtaining The download link redirected on path is filtered, and then the download link obtained after filtering is presented into user so that with user The download link that the web page address for browsing has high correlation can be preferentially presented, improve presented chained address with The matching degree of user's request.And,
When being filtered to the download link redirected on path according to the various features for obtaining, it is possible to use characteristic threshold value Decision method, based on the accessed feature for judging, the download link to redirecting on path is filtered, and then will The download link obtained after filtering is presented to user, meanwhile, the decision method of characteristic threshold value can also be with preset judge templet It is used in combination, web page address is accessed to user, and the URL of download link carries out degree of correlation judgement, further increases to phase The validity that download link is filtered is closed, the matching degree of presented chained address and user's request is further increased.
Described above is only the general introduction of technical solution of the present invention, in order to better understand technological means of the invention, And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by specific embodiment of the invention.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment The accompanying drawing for needing to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also obtain according to these accompanying drawings Obtain other accompanying drawings.In the accompanying drawings:
Fig. 1 is the method flow diagram of the download link of acquisition resource according to an embodiment of the invention;
Fig. 2 is the schematic diagram for redirecting path of access download link according to an embodiment of the invention;
Fig. 3 is the system structure diagram of the download link of acquisition resource according to an embodiment of the invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained belongs to present invention protection Scope.
As shown in figure 1, being the method for the download link of acquisition resource according to an embodiment of the invention, the method can be with Comprise the following steps:
S101:Obtain user by webpage redirect it is final carry out resource downloading redirect behavior;
Obtain the Downloadable resource on network, it is necessary first to obtain the network address of resource, i.e. download link, and want The download link of resource is obtained, can be obtained according to the download address for wherein providing by the webpage that browses web sites.Traditional In acquisition modes, user can be by search engine, the keyword of resource, the search knot be given by search engine needed for being input into The webpage of required asset link information is really included to reach;Or can also be according to memory or address collection come access target Download website/the page of Internet resources.In these access modes, in most cases user is required for by many more manipulations, is led to The mode for redirecting crossed between webpage accesses multiple pages, gets to and obtain the download link of resource.
In method provided in an embodiment of the present invention, user can be obtained first redirected by webpage is finally carried out under resource What is carried redirects behavior, specifically during acquisition, can collect logical by the browser program with information function Cross webpage redirect access resource download link during redirect behavior;Can also be inserted by the browser with correlation function Part, or the monitoring programme installed on an operating system is to realize etc., implements and obtains the means of the behavior that redirects and can have Various, the embodiment of the present invention is not restricted to this.
And to be obtained the final behavior that redirects for carrying out resource downloading is redirected by webpage, can believe including both sides Breath:Redirected by webpage and each webpage is accessed during finally carrying out resource downloading, and corresponding download link.Here Accessed webpage can represent that the behavior of redirecting can only include a webpage, it is also possible to including many with corresponding web page address Individual webpage, concrete condition can be determined according to the real process that access download link is redirected by webpage, for example, be used at certain Required target download link is directly contained in the webpage that family is opened and the download link is accessed, then it is acquired Webpage can only include this webpage;And if user is to redirect just have access to certain download chain by a series of webpage Connect, then acquired webpage can include each webpage accessed in whole process.In actual applications, the latter is more frequent The situation of appearance, i.e. user be by repeatedly redirecting and just finally carry out resource downloading between multiple webpages, in this case, can be with Each webpage accessed during obtaining by repeatedly redirecting access download link, and corresponding download link.
Specifically obtain user redirected by webpage it is final carry out resource downloading redirect behavior during, can be first User identity information is obtained, and user identity information correspondence user redirects the final mistake for carrying out resource downloading by webpage every time Cheng Zhong, redirect every time redirect the time and redirect mode, access each webpage address and corresponding download link;Root again Redirect the time and redirect mode according to what user identity information, each webpage were redirected, each web page address, and corresponding download chain Connect, reduction correspondence user redirects the final process for carrying out resource downloading by webpage.Mode is wherein redirected for identifying what is redirected Target is another webpage, or a download link.This process be actually using above-mentioned identification information, redirect when Between, the information such as mode, web page address, download link are redirected, the final mistake for carrying out resource downloading is redirected by webpage to user The process of Cheng Jinhang reduction, the ID of acquisition is used to make a distinction different users when the process is reduced, mark letter Breath can be obtained by client-side program, and such as existing many browser softwares both provide login feature, can be according to will use The user profile of login of the family on browser software is used as user identity information, it is also possible to the hardware letter according to user's machine The hardware of breath, such as hard disk, CPU etc generates unique user identity information, it is not necessary to logged in;And temporal information is redirected, Then reflect user access between order, i.e., first have accessed that webpage, and then which has been jumped to by the webpage again Webpage, the webpage for being accessed is accessed for sequencing, can be embodied by access time, according to above-mentioned identification information, jump Turn the time, redirect mode, user accessed the web page address accessed during access download link is redirected by webpage, downloaded Link is together in series, and just reduces user and redirects the final process for carrying out resource downloading by webpage, leads to so as to obtain user Cross webpage redirect it is final carry out resource downloading redirect behavior.
Specifically obtaining identification information, redirecting the time, redirecting mode, user is being accessed access download chain is redirected by webpage During the information such as the web page address, the download link that are accessed in termination process, finally resource can be carried out producing to be redirected by webpage During the behavior of download, user identity information is obtained by browser program, and by user identity information, and user identity information pair The user for answering is accessed during download link, and what is redirected every time redirects time, each web page address for redirecting mode, being accessed, with And corresponding download link is recorded as redirecting daily record.And then, redirect daily record according to recorded in daily record, user identity information, And during the corresponding user's access download link of user identity information, what is redirected every time redirects the time, redirects mode, visited Each web page address asked, and corresponding download link, reduction correspondence user redirect the process for accessing download link by webpage, And obtain user and redirected by webpage and access download link and redirect behavior.
Acquisition redirects the operation of behavior, in different systems, it is possibility to have different implementations, for example can be by clear Look at device end and server end to coordinate completion, specifically, can be by browser end by user identity information, webpage jump information (including redirect time and redirect mode), the information such as web page address and download link for being accessed is uploaded onto the server end, by Server end is organized and analyzed to these information.When specific browser end is collected and uploads above- mentioned information, can will be above-mentioned The information being collected into saves as journal file, and then will include that the journal file of above- mentioned information is transferred to server end and is divided Analysis.It should be noted that in browser end is collected into information, possible partial information is not required in that, if such as user Certain is opened browser program and is intended merely to browse information, and period is not related to the download to Internet resources, and such as user is carried out Similar to such operation:
Browser program is opened, browsing pages A is redirected and browsing pages B, jumped to again and browsing pages C, and closing is browsed Device program.
Such sequence of operations is more intended merely to browse info web, wherein any download link is not accessed, it is right In the of this sort information that browser program is collected into, can be before browser end uploads data to server end by these and visit Ask that the unrelated information filtering of download link is fallen, retain the information after filtering.Certainly, in actual applications, in order to mitigate browser The pressure at end, it is also possible to which these data unrelated with download in the data uploaded to browser end by server end were carried out Filter.
Additionally, during acquisition redirects behavior, it is also possible to obtain user by number of hops less than preset threshold value Webpage redirects the final behavior that redirects for carrying out resource downloading, can be specifically that counting user is redirected by webpage and finally carries out resource The number of times that webpage is redirected during download, when the number of times for redirecting is less than preset frequency threshold value, just obtains user and passes through net Page redirect it is final carry out resource downloading redirect behavior.Because accessing download link by way of webpage is redirected During, the number of hops for being experienced is more, then contacting between the initial page and the final download link for accessing is more prone to In smaller;Conversely, the number of hops for being experienced is fewer, then the initial page and finally contacting more between the download link of access Tend to tightr;Considerable number of times is experienced if desired redirect and get to a download link, such as 50 times, then may be used To think between the page of starting and the final download link for accessing already close to being not in contact with.So use can be obtained only Family by number of hops less than the webpage of preset threshold value redirect it is final carry out resource downloading redirect behavior, such as once access and download Link have passed through 5 times and redirect:
Webpage 2 is jumped to since webpage 1, webpage 3 is jumped to ... ... and is jumped to webpage 5 always, jumped to by webpage 5 Download link A.If the threshold value of preset number of hops is 3 times, can only obtain in this process last 3 times and redirect institute The web page address of process, the i.e. address of webpage 3, the address of webpage 4, the address of webpage 5 and download link A, are reached down Carry link and other relevant informations.
S102:Behavior is redirected according to described, generate access download link redirects path;
What is got in step S101 redirects the downloading process information that behavior is a kind of user, reflect by once or Multiple webpage redirects the process for accessing download link, can according to redirect behavior generation access download chain redirect path, by this The process for kind redirecting represented in the form of computer data, and the behavior that redirects that will be collected into effectively is organized and utilized. What is generated redirects path and can be stored as the database of specific data structure.Access download link is redirected by one or many Process, can with it is abstract be by a series of by the chained records that web page address and download link are constituted are accessed, each time from One page starts to reach a download link, can serve as a chained record, can be by the data of these chain types with number Stored according to the form tissue in storehouse.In S101, however not excluded that what is got redirects the situation for redirecting behavior that behavior is sole user, Sole user is corresponding to redirect behavior, it is also possible to for reflecting that the user's browses custom, can be used to be pushed away as to the user Recommend the foundation of download link, but in actual applications, it is accessed redirect behavior and be more likely to multiple users constituted User group's redirects behavior, and path is redirected by the resource downloading for redirecting behavior generation of synthetic user colony, more can be anti- Reflect a webpage and redirected reached from this webpage download resource between close relation degree.
As it was previously stated, what is obtained redirects behavior and can at least include both sides information:Redirected finally by webpage The webpage of each webpage, and corresponding download link are accessed during carrying out resource downloading, is then generated according to the behavior that redirects Access download link redirect path during, each web page address that can be accessed according to the user that gets, and accordingly Download link, generation accesses download link and redirects path.And path is being redirected according to redirect behavior generation, at least deposit In two corresponding nodes:Corresponding to the web page joint of accessed webpage;And, corresponding to the download link section of download link Point.During by redirecting and carrying out resource downloading, if the webpage being related to more than twice is redirected, redirect and wrap in behavior Multiple webpages are included, corresponding, what is generated redirects path, can include multiple corresponding web page joints, corresponds respectively to Each webpage accessed in jump procedure.
In resource downloading redirects path, web page joint and download link node, the corresponding webpage of these nodes are included Or download link, be able to can also be made as unique identification information, therefore the network address using its chained address on network To redirect the expression-form of each node in path, wherein, webpage can be represented with its corresponding uniform resource position mark URL, And download link is in URL forms except representing, also some proprietary special shapes, such as proprietary download chain of some download softwares Connect expression-form.Path is redirected to can be expressed as similar to the form in following example:
Webpage URL01-webpage URL02-...-webpage URL (n)-download link.
Further, it is also possible to web page address or download link are converted into other data modes, for example, it is converted into link or ground The corresponding MD5 values in location, and then path is redirected to express using each link or the corresponding MD5 values in address, further increase data Security, it is easy to accomplish retrieval, now, redirect path and can be expressed as similar to the form in following example:
The MD5 of the MD5-URL02 of URL01-... the MD5 of the MD5-download link of-URL (n).
Redirect in actual applications and also often show increasingly complex relation, table between the downloading process that behavior is embodied Redirect when on path now, redirecting the node on path may be same while be also an other node redirected on path Node may correspond to different download link nodes etc. while different positioned at different redirecting when on path, and use tree Shape or network data structure are expressed or store this increasingly complex relation, then more closing to reality application scenarios, while Also it is more conducive to Computer Storage and data is indexed.Carry out below in conjunction with the accompanying drawings clearer for example, so that reader To redirecting this process of path and being more clearly understood according to redirecting behavior generation.
Referring to accompanying drawing 2, wherein PageA represents a page address A, by that analogy;Source_S1 represents download link S1, by that analogy.As seen in Figure 2, carry out redirecting access download link by from same page address A, successively generate 3 redirect path, respectively:
PageA–PageB–PageC–Source_S1;
PageA–PageD–PageE–Source_S2;
PageA–PageB–PageF–PageG–Source_S3。
It can be seen that, can redirect path access at least 3 different download chains by different from same page address A Connect.First node PageB redirected in path wherein, and simultaneously redirect path positioned at two, and with PageB to rise Point again can be formed two other be able to reach resource S1 and S3 redirect path:
PageB–PageC–Source_S1;
PageB–PageF–PageG–Source_S3。
It can be seen that, this increasingly complex relation is expressed or stored to the tree-shaped data structure used in Fig. 2 well.
It should be noted that examples above is to illustrate that resource downloading redirects the expression-form in path, making reader couple Resource downloading redirects path and its generating process apparent understanding, and in actual applications, resource downloading redirects path and may be used also To there is other computer expression forms, above example is understood not to limitation of the present invention.Additionally, as it was previously stated, The behavior of redirecting can be got by browser program, user by webpage redirect it is final carry out resource downloading during, Each web page address for being accessed, and corresponding download link, then according to the behavior that redirects, generation accesses the jump of download link During turning path, it is possible to each web page address and corresponding download that the user got according to browser program accesses Link, generate access download link redirects path.
S103:When the webpage on path is redirected described in user's access, the download link redirected on path is presented To user.
When the webpage on path is redirected described in user's access, the download link redirected on path can be presented to User.Specifically when presenting, can be using operating system pop-up window or browser ejection subwindow or system tray ejection The mode of the drawer type pop-up in window or browser window, it is also possible to open up one piece of list in the content-browsing region of browser Only block is presented download link.
Access redirecting path and can reflecting the page and by redirecting between the download link being able to access that for download link Incidence relation, but in some cases, such as download link will could be accessed by redirecting for more number of times, then may both passes Connection property is not strong, and and for example the same page likely corresponds to multiple download links, and the concerned degree of each download link is simultaneously differed, Therefore, according to the behavior that redirects, generate after redirecting path, can also be in redirecting on path where webpage, with preset judgement Method is filtered to the download link redirected on path, the corresponding download link of download link that will be obtained after filtering, it is determined that For the related download of the webpage is linked.Filter by the download link redirected on path, obtain being accessed with user The of a relatively high download link of the degree of correlation of webpage.
When being filtered to the download link redirected on path with preset decision method, there can be different realization sides Formula, below the implementation different to these be introduced.
First, preset decision method can be that characteristic threshold value judges, when implementing, following being used for can be obtained first At least one in the feature of judgement:
Redirecting on path where user's access webpage, the average path length of download link is reached by the webpage;
Redirecting on path where user's access webpage, download link is reached by the webpage, and the download link is useful by institute The download time that family is downloaded;
Redirecting on path where user's access webpage, download link is reached by the webpage, and the link is by under all users The download time of load, the download time ratio of the total download time being downloaded with all download links reached by the webpage;
Webpage accessible by user starts the number of times for redirecting and accessing download link, and purpose is not differentiated between with by the webpage All number of hops ratios for redirecting;
Redirecting on path where user's access webpage, a download link is reached by the webpage, and accessing the download link is It is no to need to provide user authentication information;
Redirecting on path where user's access webpage, a download link is reached by the webpage, accesses the download link pair Answer the file type of file;
The above-mentioned feature for judgement is described in detail below.
During reaching a download link by a webpage, different users or same user are in different timelines Under part, redirecting path and redirecting the length in path for being passed through is probably different, and the length for redirecting path can reflect Go out the tightness degree contacted between webpage and download link.
The length that path can be redirected in the difference that same download link is reached by counting same webpage is average to obtain Redirect path length.The download time that one download link is downloaded by user, can reflect that the download link is paid close attention to by user Degree, download link is downloaded number of times, the download time of correspondence resource can be obtained by counting user, specifically Can be counted when user downloads, it is also possible to according to the download link it is all redirect path in the number of times that occurs determine. Same webpage to that should have during multiple different download link, can also calculate each download link and be downloaded by all users simultaneously Number of times all download links for accounting for the webpage and can reaching be downloaded the download time ratio of total degree, this ratio can also In reflecting the related download link of the webpage, the concerned degree of each link.
User is redirected by a webpage, can whether the behavior of downloading is divided into download redirects and browse jump according to redirecting Turn, if that the number of times for redirecting is downloaded by a webpage is relatively more for user, the page it is more likely that with download behavior phase Page Guan Du higher, therefore all jumps can be accounted for by counting the number of times that download link is redirected and accessed by a webpage Turn the ratio of number of times to determine the degree of correlation that the webpage is downloaded with user, and then to determine the page with corresponding download link The degree of correlation determines to provide reference.
When being conducted interviews to some download links, it is sometimes desirable to which providing user authentication information can just be allowed access to, and need The download link for wanting user authentication information to access, can undoubtedly increase the download difficulty of user, therefore, if need user to recognize Card information could access download link can also be used as one of feature filtered to download link.Additionally, download link pair Answer the file type of file to be filtered to download link as the feature for judging, software service is provided at one Website in, compare the file type of these software installation files, it may be possible to which suffix name is .exe, the file of .msi etc., than The individual software manual document with .pdf as suffix name more conforms to the demand of user.
After at least one in obtaining the feature for judgement, it is possible to use the feature for judgement for getting, lead to The method for crossing characteristic threshold value judgement is filtered to the download link redirected on path, when implementing, can there is different realities Existing mode, such as:
Preset corresponding characteristic threshold value can be respectively provided with to the feature for being respectively used to judge;When the download link pair for getting When the feature answered meets corresponding characteristic threshold value requirement, the download link that the download link is defined as being obtained after filtering, incited somebody to action The download link obtained after filter is presented to user;Wherein, when using described at least two for the feature of judgement, in all spies Levy while when meeting corresponding characteristic threshold value, the download link that the download link is defined as being obtained after filtering.For example using upper When first three stated is filtered for the feature for judging to download link, can with average path length, download time, redirect time Number ratio is respectively provided with threshold value, in the case of the corresponding threshold value of these three features difference is only met simultaneously, just by the download link It is defined as the download link obtained after filtering.
Or, it is also possible to according at least one feature for judging, calculate described in redirect download link on path Weights, user is presented to by the download link that the weights reach preset weight threshold;Wherein, used when using described at least two In judge feature when, calculate download link corresponding to each feature weights and added up, obtain the download link Weights.After one of which or several features for judging is obtained, can be according to the feature for judgement for getting, meter The weights of the download link on path are redirected described in calculating, if going to calculate weights according to various features for judging, may be used also Think each for judge feature distribute certain weight proportion, and then comprehensive various features for judgement are more accurate Judge the degree of correlation of webpage and download link.The download link of preset weight threshold is will eventually reach, is defined as the phase of the webpage Close download link.
Secondly, when being filtered to the download link redirected on path with preset decision method, preset judgement side Method can also be that preset template judges, this method is to access web page address, Yi Jisuo to user using preset judge templet Stating the URL of download link carries out degree of correlation judgement, and produces a judged result, and path is redirected to described according to the judged result On download link filtered;Wherein, preset judge templet includes:Preset judgement user accesses web page address and download The regular expression template of the URL degrees of correlation of link.
If the affiliated website of webpage and related download link belonging to website if same website, it is generally acknowledged that webpage with The degree of correlation of related download link is higher, and for example generally, user is by under needed for the sites Find for providing download service When carrying resource, the resource in the website typically all can be preferentially downloaded, then can just select to jump to other websites again and be downloaded; Because general webpage and download link can be represented with URL, therefore webpage can be entered with corresponding download link based on URL The judgement of the row degree of correlation, produces a judged result, if a determination be made that webpage belongs to same website with download link, it is determined that should Download link is higher with the web pages relevance of current accessed, otherwise then relatively low.According to this result, can only will in filtering Degree of correlation download link higher is defined as the download link that obtains after filtering, or degree of correlation download link higher compared with Weights high, on the contrary then assign with relatively low weights.When judging whether webpage is located at same website with corresponding download link, can be with profit The degree of correlation is carried out with preset judge templet to the webpage and corresponding download link to judge, wherein, preset judge templet can Being the regular expression template for judging web page address and the correspondence download link degree of correlation.Such as when page address meets canonical “http://www.onlinedown.net/soft/.* ", while download link meets canonical " http://* When .onlinedown.net/down/.* ", then it is assumed that download link is higher with the page degree of correlation.
Furthermore, when the download link redirected on path is filtered with preset decision method, can be combined with making The method that the method and preset template judged with above-mentioned characteristic threshold value judge, the method that can such as first pass through characteristic threshold value judgement The download link set to the filtering of download link is obtained, then download link set is carried out again with the method that threshold value template judges Once filter.
Additionally, there may be some links failed on some webpages, such as be refer under other websites in the page Link is carried, if the link on the reference other websites has been failed, this references also just is failed, therefore can also be to download Link carries out validation checking;And then in redirecting on path where webpage, be detected as on path to being redirected with prerequisite Effective download link is filtered, the effective download link that will be obtained after filtering as the webpage related download resource simultaneously It is presented to user.Certainly, the detection of this validity to download link can be used alone, or foregoing three kinds of combination is under Any one in the method that is filtered of link is carried to use.
Further, after the related download that webpage is determined is linked, when user accesses certain webpage, can be by the webpage Related download link be presented to user.Specifically when presenting, sub- window can be ejected with operating system pop-up window or browser Download link is presented in user's by the mode of the drawer type pop-up in mouth or system tray pop-up window or browser window On display, it is easy to user to check.Additionally, some download links be also possible to be particular download instrument private link type, example Such as a download tool sudden peal of thunder, emule electricity donkey download tools have respective private link type, now can also first detect institute The link type of download link is stated, i.e., it is the private link of particular download instrument that detection peer link is no, if download link is The private link of particular download instrument, then while the related download link of the webpage being presented into user, show the link Link type, user can call the corresponding download tool of private link according to the link type of display, further facilitate use Family is downloaded to linking corresponding resource.
Under another embodiment, obtain user by webpage redirect it is final carry out resource downloading redirect behavior When, a range of target web can be preset, the target web in these preset ranges only is accessed in user, and with this When a little target webs finally carry out resource downloading for starting is redirected by webpage, user is since the webpage of preset range for acquisition, By webpage redirect it is final carry out resource downloading redirect behavior.Because in all webpages of the whole network, existing a part of possible The page of resource downloading behavior is triggered, i.e. the probability by the resource downloading behavior of these web page triggers is higher, such as download website The download page, blog web page, news web page of download behavior etc. may be triggered;There is also simultaneously and triggering money is redirected by webpage The relatively low webpage of possibility that source is downloaded.The possibility webpage higher that therefore, it can to trigger resource downloading behavior is received Collection gets up, and as the target pages of preset range, and then the webpage of these preset ranges is only accessed in user, and with these webpages When starting is redirected by webpage finally carries out resource downloading, to redirect behavior to it and being collected.
Under this implementation, according to redirect behavior generation access download link redirect path during, just Can be according to the behavior that redirects, generate the access download link with the webpage of preset range as starting point redirects path.When user visits When asking the webpage redirected on path, the download link that will be redirected on path is presented to user, can access to redirect road in user During any webpage on footpath, it is also possible to only when user accesses the corresponding webpage of the starting point redirected on path, will redirect on path Download link be presented to user.
Implementation with embodiment before is similar, specifically when the present embodiment is realized, can obtain user by predetermined The webpage of scope for starting point redirect it is final carry out resource downloading redirect behavior, each web page address for being accessed, and Corresponding download link, and then the described each web page address accessed according to the user for getting, and corresponding download link, it is raw Path is redirected into access download link.When implementing, user can be obtained by browser program and be redirected most by webpage Carry out resource downloading eventually redirects behavior, each web page address for being accessed, and corresponding download link.Use can also be obtained Family identification information, and the corresponding user of the user identity information redirects the final process for carrying out resource downloading by webpage In, what is redirected every time redirects the time and redirects mode, each web page address for being accessed, and corresponding download link;According to Family identification information, time, each web page address for redirecting mode, being accessed are redirected, and corresponding download link, reduction is to application Family redirects the final process for carrying out resource downloading by webpage, and generate access download link redirects path.When implementing, These data can be recorded in the way of browser log.
As it was previously stated, during a download link is accessed by way of webpage is redirected, the number of hops for being experienced More, then contacting between the initial page and the final download link for accessing is more likely to smaller;Otherwise the then initial page Contacting between the final download link for accessing is more likely to tightr.During acquisition redirects behavior, can obtain User is initial from the webpage of preset range, and is redirected less than the webpage of preset threshold value by number of hops, finally carries out resource That downloads redirects behavior.Can be redirected since the webpage of preset range with counting user, and finally carry out the mistake of resource downloading The number of times that webpage is redirected in journey, when the number of times for redirecting is less than preset frequency threshold value, is just obtained user and is redirected most by webpage Carry out resource downloading eventually redirects behavior.
Similar, when user accesses redirects the webpage on path, equally can be with certain preset decision method to jumping The download link turned on path is filtered, and when user accesses redirects the webpage on path, according to the result of filtering, will be filtered The download link for obtaining afterwards is presented to user.Wherein, preset determination methods can be that characteristic threshold value judges, at this point it is possible to obtain Take at least one following feature for being used to judge:
Webpage with preset range is the initial average path for redirecting on path, download link being reached by the start page Length;
Webpage with preset range is that starting is redirected on path, by the start page reaches download link, and is carried out down The download time of load;
Webpage with preset range is that starting is redirected on path, by the start page reaches the download link, is gone forward side by side The download time that row is downloaded, and by under the start page all download links for reaching and total download time for being downloaded Carry number of times ratio;
Redirected by the webpage of preset range and carry out the number of times of resource downloading, and by the not area the start page All number of hops ratios for redirecting of subhead;
Webpage with preset range be starting redirect on path, by the start page reach download link, access under this Carry whether link needs to provide user authentication information;
Webpage with preset range be starting redirect on path, by the start page reach download link, access under this Carry the file type of link respective file.
Obtain the above for judge feature one or more after, carried out to redirecting the download link on path During filter, preset corresponding characteristic threshold value can be respectively provided with to the feature for being respectively used to judge;When the download link correspondence for getting Feature when meeting the requirement of corresponding characteristic threshold value, the download link that the download link is defined as being obtained after filtering;Wherein, when During using being used for the feature for judging described at least two, only when all features all meet corresponding characteristic threshold value, just should Download link is defined as the download link obtained after filtering;
Or the weights of the download link on path can also be redirected according at least one feature for judging, calculating, The download link that download links that are weights or all weights and reaching preset weight threshold are defined as being obtained after filtering;Its In, when using at least two be used for judge feature when, calculate download link corresponding to each feature weights and tired out Meter, obtain the download link weights (and).
Additionally, in the present embodiment, when being filtered to the download link redirected on path with preset decision method, equally The method that characteristic threshold value judges and template judges can also be used in combination, and validation checking is carried out to download link, had Body is judged and the method that is detected may be referred to foregoing implementation method.When user access redirect the webpage on path when, The download link on path will be redirected and be presented to user, specific presentation mode equally may be referred to foregoing implementation method, This is just repeated no more.
The related download link of the webpage obtained by above-mentioned steps, being taken to be redirected by webpage is finally carried out under resource The process of load, and path is redirected by means of generation, the corresponding download link of webpage finally given by filtering is more conformed to The download demand of user, makes user in browsing pages, it is not necessary to carry out repeatedly redirect can just obtain to using the page it is related Download link, improves the efficiency that user is downloaded by webpage.Simultaneously as what is obtained is related to the webpage that user accesses Download link based on the daily download behavior of user and process, rather than rely on the structure of the page from website itself Layout is extracted, once there is failure link, easily can be embodied from daily access of the user to link is got Out, link reduction of failing and is reduced automatically and obtains the probability recommended up to being rejected, lost so as to reduce to exclude or correct Imitate the job costs of resource link.
Method with the download link of acquisition resource provided in an embodiment of the present invention is corresponding, and the embodiment of the present invention is also provided A kind of system of the download link for obtaining resource, referring to Fig. 3, the system can specifically include:
Information acquisition unit 301, for obtain user by webpage redirect it is final carry out resource downloading redirect behavior;
Coordinates measurement unit 302, for according to the behavior that redirects, generate access download link to redirect path;
Link is obtained and display unit 303, for when user accesses and redirects the webpage on path, will redirect on path Download link is presented to user.
Wherein, information acquisition unit 301, can include:
The first information obtains subelement, for obtain user by webpage redirect it is final carry out resource downloading redirect behavior In, each web page address for being accessed, and corresponding download link;
Coordinates measurement unit 302 can include under this implementation:
First path generates subelement, for each web page address accessed according to the user that gets, and it is corresponding under Link is carried, generate access download link redirects path.
Redirecting path can be by least one web page joint, and a download link node composition;Wherein, web page joint Can at least include:Directly or indirectly reached by other page jumps, and the corresponding net of webpage comprising download link Page node.
Under another implementation, information acquisition unit 301 can include:
Second acquisition of information subelement, for by browser program, acquisition user to be redirected by webpage and finally provided During what source was downloaded redirects behavior, each web page address for being accessed, and corresponding download link;
Under this implementation, coordinates measurement unit 302 can include:
Second coordinates measurement subelement, for each webpage ground that basis is accessed by the user that browser program gets Location, and corresponding download link, generate access download link redirects path.
Under another implementation, information acquisition unit 301 can include:
3rd acquisition of information subelement, for obtaining user identity information, and the corresponding user of user identity information is led to Cross webpage redirect it is final carry out resource downloading during, what is redirected every time redirects the time and redirects mode, each net for being accessed Page address, and corresponding download link;It is therein redirect mode for identify the target that redirects be another webpage, or One download link;
Under this implementation, coordinates measurement unit 302 can include:
3rd coordinates measurement subelement, for according to user identity information, redirect the time, redirect mode, accessed it is each Web page address, and corresponding download link, reduction correspondence user redirect the final process for carrying out resource downloading by webpage, raw Path is redirected into access download link.
Wherein the 3rd acquisition of information subelement, specifically can be also used for:
When redirecting behavior of resource downloading finally is carried out producing to be redirected by webpage, ID is obtained by browser Information, and user identity information, and the corresponding user of user identity information are redirected by webpage and finally carry out resource downloading During, what is redirected every time redirects time, each web page address for redirecting mode, being accessed, and corresponding download link note Record to redirect daily record;
Now, the 3rd coordinates measurement subelement, specifically can be used for:According to the ID letter for redirecting record in daily record Breath, and the corresponding user of user identity information is redirected during finally carrying out resource downloading by webpage, is redirected every time Time, each web page address for redirecting mode, being accessed, and corresponding download link are redirected, reduction correspondence user passes through webpage The final process for carrying out resource downloading is redirected, generate access download link redirects path.
Under this implementation, the user identity information that be able to will be got by browser program, redirect the time, jump Turn mode, each web page address for being accessed and corresponding download link and be recorded as daily record, and the 3rd tunnel of end that uploads onto the server Footpath generates subelement;
Wherein, the 3rd acquisition of information subelement may be located at server end, specifically can be used for:
In server end according to the daily record for receiving, reduction correspondence user is redirected by webpage and finally carries out resource downloading Process, generate access download link redirects path.
Under another implementation, information acquisition unit 301 can include:
4th acquisition of information subelement, is starting for obtaining user from the webpage of preset range, is redirected most by webpage Carry out resource downloading eventually redirects behavior;
Corresponding, coordinates measurement unit 302 can include:
4th coordinates measurement subelement, for redirecting behavior according to, generation is starting with the webpage of preset range Access download link redirects path.
Under this embodiment, the 4th coordinates measurement subelement, specifically can be used for:
According in the behavior that redirects, redirecting most for preset threshold value is less than by number of times with the webpage starting in the preset range Carry out the behavior that redirects of resource downloading eventually, generation redirects path with access download link that the webpage of preset range is starting.
Under this embodiment, the system can also include:
Screening unit, is filtered with preset decision method to the download link redirected on path;
Now, link is obtained and display unit 303 specifically can be used for:
When user accesses redirects the webpage on path, according to the result of filtering, it is in by the download link obtained after filtering Now give user.
Under this embodiment, preset decision method can be that characteristic threshold value judges, system can also include first Feature acquiring unit, fisrt feature acquiring unit is used to obtain at least one of the following feature for judging:
Webpage with preset range is that starting is redirected on path, by the start page reaches the average of the download link Path length;
Webpage with preset range is that starting is redirected on path, by the start page reaches download link, and is carried out down The download time of load;
Webpage with preset range is that starting is redirected on path, by the start page reaches download link, and is carried out down The download time of load, with the download time by the start page all download links for reaching and the total download time being downloaded Number ratio;
Redirected by the webpage of preset range and carry out the number of times of resource downloading, and by the not area the start page All number of hops ratios for redirecting of subhead;
Webpage with preset range be starting redirect on path, by the start page reach download link, access under this Carry whether link needs to provide user authentication information;
Webpage with preset range be starting redirect on path, by the start page reach download link, access under this Carry the file type of link respective file;
Under this embodiment, screening unit specifically can be used for:
Feature to being respectively used to judge is respectively provided with preset corresponding characteristic threshold value;When the download link for getting is corresponding When feature meets corresponding characteristic threshold value requirement, the download link that the download link is defined as being obtained after filtering;Wherein, when making During with being used for the feature for judging described at least two, when all features meet corresponding characteristic threshold value simultaneously, by the download chain Connect the download link for being defined as being obtained after filtering;
Or,
According at least one above-mentioned feature for judging, calculating redirects the weights of the download link on path, by weights The download link for reaching preset weight threshold is defined as the download link obtained after filtering;Wherein, it is used for when using at least two During the feature of judgement, calculate download link corresponding to each feature weights and added up, obtain the power of the download link Value.
Under another implementation, information acquisition unit 301 can include:
5th acquisition of information subelement, being redirected by webpage for counting user finally carries out net during resource downloading The number of times that page is redirected, and when the number of times for redirecting is less than preset frequency threshold value, acquisition user is redirected by webpage and finally carried out Resource downloading redirects behavior.
Additionally, the system can also include:
Filter element, for being filtered to the download link redirected on path with preset decision method;
Now link obtain and display unit 303 can user access redirect the webpage on path when will by filtering list The download link obtained after unit's filtering is presented to user.
Preset decision method can be that characteristic threshold value judges, now, it is single that the system can also include that second feature is obtained Unit, for obtaining following at least one feature:
When reaching same download link on path by different redirecting by same webpage, the download chain is reached by the webpage The average path length for connecing;
Redirect a webpage on path and reach download link, the download time that the download link is downloaded;
One download link, the download time that the download link is downloaded, with the institute reached by the webpage are reached by a webpage There is the download time ratio of download link and the total download time being downloaded;
Redirected by a webpage and carry out the number of times of resource downloading, all of purpose are not differentiated between with by the webpage The number of hops ratio for redirecting;
Jumped to up to a download link by a webpage, access whether the download link needs to provide user authentication information;
Jumped to up to a download link by webpage, the file type of the download link respective file
Under this implementation, filter element specifically can be used for:
Feature to being respectively used to judge is respectively provided with preset corresponding characteristic threshold value;When the download link for getting is corresponding When feature meets corresponding characteristic threshold value requirement, the download link that the download link is defined as being obtained after filtering;Wherein, when making It is when all features meet corresponding characteristic threshold value simultaneously, the download link is true when being used for the feature for judging with least two It is set to the download link obtained after filtering;
Or,
According at least one feature for judging, calculating redirects the weights of the download link on path, weights is reached The download link of preset weight threshold is defined as the download link obtained after filtering;Wherein, when using at least two be used for judge Feature when, calculate download link corresponding to each feature weights and added up, obtain the download link weights.
Under another implementation, preset decision method can also be that preset template judges, now filter element, tool Body can be used for:Webpage is accessed to user using preset judge templet, and the URL of corresponding download link carries out the degree of correlation Judge, and produce a judged result, the download link redirected on path is filtered according to judged result;Wherein, it is preset Judge templet includes:Preset judges that user accesses the regular expression template of the URL degrees of correlation of webpage and download link.
Here, filter element can also include validity detection sub-unit, for carrying out validation checking to download link, If detection download link is effectively link, the download link that the download link is defined as being obtained after filtering.
Under another implementation, the system of the download link of the acquisition resource can also include:
Link type detection unit, the link type for detecting download link, wherein, link type is used to indicate to download Link whether be particular download instrument private link;Link is obtained and display unit 303 can be used for:If detecting download Link type is private link, then while will redirect the download link on path and be presented to user, show the chain of the link Connect type.
Additionally, link is obtained and display unit 303, can be also used for:
The download link on path will be redirected with operating system pop-up window or browser ejection subwindow or system support The mode of the drawer type pop-up in disk pop-up window or browser window is presented to user.
The related download link of the webpage obtained by the system of the download link of above-mentioned acquisition resource, its data are taken from User is redirected by webpage carries out the process of resource downloading, and path is redirected according to redirecting behavior generation and accessing download link, leads to The corresponding download link of webpage that finally gives of filtering more conforms to the download demand of user, makes user in browsing pages, Need not carry out repeatedly redirecting can just obtain the related download link of the page, improve user and obtain link by webpage and then enter The efficiency that row is downloaded.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can Realized by the mode of software plus required general hardware platform.Based on such understanding, technical scheme essence On the part that is contributed to prior art in other words can be embodied in the form of software product, the computer software product Can store in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are used to so that a computer equipment (can be personal computer, server, or network equipment etc.) performs some of each embodiment of the invention or embodiment Method described in part.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for device or For system embodiment, because it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to method The part explanation of embodiment.Apparatus and system embodiment described above is only schematical, wherein the conduct Separating component explanation unit can be or may not be it is physically separate, the part shown as unit can be or Person may not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be with root Some or all of module therein is factually selected the need for border to realize the purpose of this embodiment scheme.Ordinary skill Personnel are without creative efforts, you can to understand and implement.
Above to the method and system of the download link for obtaining resource provided by the present invention, it is described in detail, this Apply specific case in text to be set forth principle of the invention and implementation method, the explanation of above example is only intended to Help understands the method for the present invention and its core concept;Simultaneously for those of ordinary skill in the art, according to think of of the invention Think, will change in specific embodiments and applications.In sum, this specification content should not be construed as right Limitation of the invention.

Claims (32)

1. it is a kind of obtain resource download link method, it is characterised in that including:
Obtain user and the final behavior that redirects for carrying out resource downloading is redirected by webpage, including:Obtain user from preset range Webpage is starting, by webpage redirect it is final carry out resource downloading redirect behavior;
Behavior is redirected according to described, generation accesses the path that redirects of download link, including:Redirect behavior according to described, generation with The webpage of the preset range is that the access download link of starting redirects path;
When the webpage on path is redirected described in user's access, the download link redirected on path is presented to user.
2. method according to claim 1, it is characterised in that the acquisition user is redirected by webpage and finally carries out resource That downloads redirects behavior, including:
Obtain user by webpage redirect it is final carry out resource downloading redirect behavior, each web page address for being accessed, and Corresponding download link;
Behavior is redirected described in the basis, generation accesses the path that redirects of download link, including:
According to described each web page address that the user for getting accesses, and corresponding download link, generation accesses download link Redirect path.
3. method according to claim 2, it is characterised in that the acquisition user is redirected by webpage and finally carries out resource That downloads redirects behavior, including:
By browser program, obtain user by webpage redirect it is final carry out resource downloading redirect behavior, accessed Each web page address, and corresponding download link;
Behavior is redirected described in the basis, generation accesses the path that redirects of download link, including:
Described each web page address that the user got according to browser program accesses, and corresponding download link, generation are visited That asks download link redirects path.
4. method according to claim 1, it is characterised in that the acquisition user is redirected by webpage and finally carries out resource That downloads redirects behavior, including:
User identity information is obtained, and the corresponding user of the user identity information is redirected by webpage and finally carried out under resource During load, what is redirected every time redirects the time and redirects mode, each web page address for being accessed, and downloads chain accordingly Connect;It is described redirect mode for identify the target that redirects be another webpage, an or download link;
Behavior is redirected described in the basis, generation accesses the path that redirects of download link, including:
According to the user identity information, time, each web page address for redirecting mode, being accessed are redirected, and corresponding download Link, reduction correspondence user redirects the final process for carrying out resource downloading by webpage, generate access download link redirects road Footpath.
5. method according to claim 4, it is characterised in that the acquisition user identity information, and user mark The corresponding user of knowledge information by webpage redirect it is final carry out resource downloading during, what is redirected every time redirects the time and redirects Mode, each web page address for being accessed, and corresponding download link, including:
When redirecting behavior of resource downloading finally is carried out producing to be redirected by webpage, obtaining the user by browser program marks Knowledge information, and the user identity information, and the corresponding user of user identity information are redirected by webpage and finally provided During source is downloaded, what is redirected every time redirects time, each web page address for redirecting mode, being accessed, and corresponding download Chained record is to redirect daily record;
Behavior is redirected described in the basis, generation accesses the path that redirects of download link, including:
Net is passed through according to the user identity information for redirecting and being recorded in daily record, and the corresponding user of user identity information Page redirects the final each webpage for redirecting the time, redirecting mode, the accessed ground for during carrying out resource downloading, redirecting every time Location, and corresponding download link, reduction correspondence user redirect the final process for carrying out resource downloading by webpage, and generation is accessed Download link redirects path.
6. method according to claim 5, it is characterised in that the ID that the browser program will get Information, the time is redirected, mode, each web page address for being accessed and corresponding download link is redirected and is recorded as daily record, and uploaded To server end;
Behavior is redirected described in the basis, generation accesses the path that redirects of download link, including:
By server end according to the daily record for receiving, reduction correspondence user is redirected by webpage and finally carries out resource downloading Process, generate access download link redirects path.
7. method according to claim 1, it is characterised in that behavior is redirected described in the basis, generation is with described predetermined The webpage of scope is the path that redirects of the access download link of starting, including:
Redirect behavior according to described, with webpage starting in the preset range by number of times redirecting most less than preset threshold value The behavior that redirects of resource downloading is carried out eventually, is generated with the jump of the access download link that the webpage of the preset range is starting Turn path.
8. method according to claim 7, it is characterised in that also include:
The download link redirected on path is filtered with preset decision method;
It is described when user access described in redirect the webpage on path when, the download link redirected on path is presented to use Family, including:
When the webpage on path is redirected described in user's access, according to the result of filtering, it is in by the download link obtained after filtering Now give user.
9. method according to claim 8, it is characterised in that the preset decision method is characterized threshold determination, uses In the feature for judging be following at least one:
Webpage with the preset range is that starting is redirected on path, by the start page reaches the average of the download link Path length;
Webpage with the preset range is that starting is redirected on path, by the start page reaches the download link, is gone forward side by side The download time that row is downloaded;
Webpage with the preset range is that starting is redirected on path, by the start page reaches the download link, is gone forward side by side The download time that row is downloaded, and by under the start page all download links for reaching and total download time for being downloaded Carry number of times ratio;
Redirected by the webpage of the preset range and carry out the number of times of resource downloading, and by the not area the start page All number of hops ratios for redirecting of subhead;
Webpage with the preset range is that starting is redirected on path, and the download link is reached by the start page, is accessed Whether the download link needs to provide user authentication information;
Webpage with the preset range is that starting is redirected on path, and the download link is reached by the start page, is accessed The file type of the download link respective file;
It is described the download link redirected on path is filtered with preset decision method, including:
Preset corresponding characteristic threshold value is respectively provided with to each feature for judging;When the download link for getting is corresponding When feature meets corresponding characteristic threshold value requirement, the download link that the download link is defined as being obtained after filtering;Wherein, when making During with being used for the feature for judging described at least two, when all features meet corresponding characteristic threshold value simultaneously, by the download chain Connect the download link for being defined as being obtained after filtering;
Or,
According at least one feature for judging, the weights of the download link on path are redirected described in calculating, will be described The download link that weights reach preset weight threshold is defined as the download link obtained after filtering;Wherein, when using at least two It is described for judge feature when, calculate download link corresponding to each feature weights and added up, obtain the download The weights of link.
10. the method according to claim any one of 1-6, it is characterised in that the acquisition user is redirected most by webpage The behavior that redirects of resource downloading is carried out eventually, including:
Counting user by webpage redirect it is final carry out the number of times that webpage during resource downloading is redirected, when it is described redirect time When number is less than preset frequency threshold value, obtain user by webpage redirect it is final carry out resource downloading redirect behavior.
11. method according to claim any one of 1-6, it is characterised in that also include:
The download link redirected on path is filtered with preset decision method;
It is described when user access described in redirect the webpage on path when, the download link redirected on path is presented to use Family, including:
When the webpage on path is redirected described in user's access, according to the result of filtering, it is in by the download link obtained after filtering Now give user.
12. methods according to claim 11, it is characterised in that the preset decision method is characterized threshold determination, Feature for judging is following at least one:
When reaching same download link on path by different redirecting by same webpage, the download link is reached by the webpage Average path length;
Redirect a webpage on path and reach download link, the download time that the download link is downloaded;
By a webpage reach a download link, the download time that the download link is downloaded, with by the webpage reach it is all under The download time ratio of total download time that load is linked and is downloaded;
Redirected by a webpage and carry out the number of times of resource downloading, redirected with by all of purpose that do not differentiate between the webpage Number of hops ratio;
Jumped to up to a download link by a webpage, access whether the download link needs to provide user authentication information;
Jumped to up to a download link by webpage, the file type of the download link respective file;
It is described when user access described in redirect the webpage on path when, with preset decision method under described redirecting on path Link is carried to be filtered, including:
Preset corresponding characteristic threshold value is respectively provided with to each feature for judging;When the download link for getting is corresponding When feature meets corresponding characteristic threshold value requirement, the download link that the download link is defined as being obtained after filtering;Wherein, when making During with being used for the feature for judging described at least two, when all features meet corresponding characteristic threshold value simultaneously, by the download chain Connect the download link for being defined as being obtained after filtering;
Or,
According at least one feature for judging, the weights of the download link on path are redirected described in calculating, will be described The download link that weights reach preset weight threshold is defined as the download link obtained after filtering;Wherein, when using at least two It is described for judge feature when, calculate download link corresponding to each feature weights and added up, obtain the download The weights of link.
13. methods according to claim 12, it is characterised in that the preset determination methods are also sentenced including preset template It is fixed, methods described, including:
The webpage redirected on path, and the URL of the corresponding download link are carried out using preset judge templet The degree of correlation judges, and produces a judged result, and the download link redirected on path was carried out according to the judged result Filter;Wherein, the preset judge templet includes:Preset judges that user accesses the URL degrees of correlation of webpage and download link Regular expression template.
14. methods according to claim 11, it is characterised in that described that path is redirected to described with preset decision method On download link filtered, including:
Validation checking is carried out to the download link, if detecting that the download link is effectively link, by the download chain Connect the download link for being defined as being obtained after filtering.
15. method according to claim any one of 1-7, it is characterised in that also include:
The link type of the download link is detected, the link type is used to indicate whether the download link is particular download The private link of instrument;
If detecting the download link type for the private link, it is being in by the download link redirected on path While now giving user, the link type of the link is shown.
16. method according to claim any one of 1-7, it is characterised in that described by the download redirected on path Link is presented to user, including:
By the download link redirected on path with operating system pop-up window or browser ejection subwindow or system support The mode of the drawer type pop-up in disk pop-up window or browser window is presented to user.
A kind of 17. systems of the download link for obtaining resource, it is characterised in that including:
Information acquisition unit, the final behavior that redirects for carrying out resource downloading, described information are redirected for obtaining user by webpage Acquiring unit includes:4th acquisition of information subelement, is starting for obtaining user from the webpage of preset range, is jumped by webpage Turn it is final carry out resource downloading redirect behavior;
Coordinates measurement unit, for redirecting behavior according to, generate access download link redirects path, the coordinates measurement Unit includes:4th coordinates measurement subelement, for redirecting behavior according to described, generation with the webpage of the preset range as The access download link for beginning redirects path;
Link is obtained and display unit, for when the webpage on path is redirected described in user's access, being redirected described on path Download link be presented to user.
18. systems according to claim 17, it is characterised in that described information acquiring unit, including:
The first information obtains subelement, for obtain user by webpage redirect it is final carry out resource downloading redirect behavior, Each web page address for being accessed, and corresponding download link;
The coordinates measurement unit, including:
First path generates subelement, for the described each web page address accessed according to the user that gets, and it is corresponding under Link is carried, generate access download link redirects path.
19. systems according to claim 18, it is characterised in that described information acquiring unit, including:
Second acquisition of information subelement, for by browser program, acquisition user to be redirected by webpage and finally carried out under resource What is carried redirects behavior, each web page address for being accessed, and corresponding download link;
The coordinates measurement unit, including:
Second coordinates measurement subelement, for described each webpage ground that basis is accessed by the user that browser program gets Location, and corresponding download link, generate access download link redirects path.
20. systems according to claim 17, it is characterised in that described information acquiring unit, including:
3rd acquisition of information subelement, for obtaining user identity information, and the corresponding user of the user identity information is led to Cross webpage redirect it is final carry out resource downloading during, what is redirected every time redirects the time and redirects mode, each net for being accessed Page address, and corresponding download link;It is described redirect mode for identify the target that redirects be another webpage, or one Individual download link;
The coordinates measurement unit, including:
3rd coordinates measurement subelement, for according to the user identity information, redirect the time, redirect mode, accessed it is each Web page address, and corresponding download link, reduction correspondence user redirect the final process for carrying out resource downloading by webpage, raw Path is redirected into access download link.
21. systems according to claim 20, it is characterised in that the 3rd acquisition of information subelement, specifically for:
When redirecting behavior of resource downloading finally is carried out producing to be redirected by webpage, the user is obtained by browser program Identification information, and the user identity information, and the corresponding user of user identity information are redirected by webpage and finally carried out During resource downloading, what is redirected every time redirects time, each web page address for redirecting mode, being accessed, and it is corresponding under Chained record is carried to redirect daily record;
The 3rd coordinates measurement subelement, specifically for:
Net is passed through according to the user identity information for redirecting and being recorded in daily record, and the corresponding user of user identity information Page redirects the final each webpage for redirecting the time, redirecting mode, the accessed ground for during carrying out resource downloading, redirecting every time Location, and corresponding download link, reduction correspondence user redirect the final process for carrying out resource downloading by webpage, and generation is accessed Download link redirects path.
22. systems according to claim 21, it is characterised in that the use that will be got by the browser program Family identification information, the time is redirected, mode, each web page address for being accessed and corresponding download link is redirected and is recorded as daily record, And the 3rd coordinates measurement subelement of end that uploads onto the server;
The 3rd coordinates measurement subelement is located at server end, specifically for:
In server end according to the daily record for receiving, reduction correspondence user is redirected by webpage and finally carries out resource downloading Process, generate access download link redirects path.
23. systems according to claim 22, it is characterised in that the 4th coordinates measurement subelement, specifically for:
Redirect behavior according to described, with webpage starting in the preset range by number of times redirecting most less than preset threshold value The behavior that redirects of resource downloading is carried out eventually, is generated with the jump of the access download link that the webpage of the preset range is starting Turn path.
24. systems according to claim 23, it is characterised in that also include:
Screening unit, is filtered with preset decision method to the download link redirected on path;
The link is obtained and display unit, specifically for:
When the webpage on path is redirected described in user's access, according to the result of filtering, it is in by the download link obtained after filtering Now give user.
25. systems according to claim 24, it is characterised in that the preset decision method is characterized threshold determination, The system also includes:Fisrt feature acquiring unit, at least one for obtaining the following feature for judging:
Webpage with the preset range is that starting is redirected on path, by the start page reaches the average of the download link Path length;
Webpage with the preset range is that starting is redirected on path, by the start page reaches the download link, is gone forward side by side The download time that row is downloaded;
Webpage with the preset range is that starting is redirected on path, by the start page reaches the download link, is gone forward side by side The download time that row is downloaded, and by under the start page all download links for reaching and total download time for being downloaded Carry number of times ratio;
Redirected by the webpage of the preset range and carry out the number of times of resource downloading, and by the not area the start page All number of hops ratios for redirecting of subhead;
Webpage with the preset range is that starting is redirected on path, and the download link is reached by the start page, is accessed Whether the download link needs to provide user authentication information;
Webpage with the preset range is that starting is redirected on path, and the download link is reached by the start page, is accessed The file type of the download link respective file;
The screening unit, specifically for:
Preset corresponding characteristic threshold value is respectively provided with to each feature for judging;When the download link for getting is corresponding When feature meets corresponding characteristic threshold value requirement, the download link that the download link is defined as being obtained after filtering;Wherein, when making During with being used for the feature for judging described at least two, when all features meet corresponding characteristic threshold value simultaneously, by the download chain Connect the download link for being defined as being obtained after filtering;
Or,
According at least one feature for judging, the weights of the download link on path are redirected described in calculating, will be described The download link that weights reach preset weight threshold is defined as the download link obtained after filtering;Wherein, when using at least two It is described for judge feature when, calculate download link corresponding to each feature weights and added up, obtain the download The weights of link.
26. system according to claim any one of 17-22, it is characterised in that described information acquiring unit, including:
5th acquisition of information subelement, is redirected webpage during finally carrying out resource downloading by webpage for counting user and jumped The number of times for turning, when the number of times for redirecting is less than preset frequency threshold value, acquisition user is redirected by webpage and is finally provided What source was downloaded redirects behavior.
27. system according to claim any one of 17-22, it is characterised in that also include:
Filter element, for being filtered to the download link redirected on path with preset decision method;
The link is obtained and display unit is used for:When the webpage on path is redirected described in user's access, will be single by filtering The download link obtained after unit's filtering is presented to user.
28. systems according to claim 27, it is characterised in that the preset decision method is characterized threshold determination, The system also includes:Second feature acquiring unit, for obtaining following at least one feature:
When reaching same download link on path by different redirecting by same webpage, the download link is reached by the webpage Average path length;
Redirect a webpage on path and reach download link, the download time that the download link is downloaded;
By a webpage reach a download link, the download time that the download link is downloaded, with by the webpage reach it is all under The download time ratio of total download time that load is linked and is downloaded;
Redirected by a webpage and carry out the number of times of resource downloading, redirected with by all of purpose that do not differentiate between the webpage Number of hops ratio;
Jumped to up to a download link by a webpage, access whether the download link needs to provide user authentication information;
Jumped to up to a download link by webpage, the file type of the download link respective file;
The filter element, specifically for:
Preset corresponding characteristic threshold value is respectively provided with to each feature for judging;When the download link for getting is corresponding When feature meets corresponding characteristic threshold value requirement, the download link that the download link is defined as being obtained after filtering;Wherein, when making During with being used for the feature for judging described at least two, when all features meet corresponding characteristic threshold value simultaneously, by the download chain Connect the download link for being defined as being obtained after filtering;
Or,
According at least one feature for judging, the weights of the download link on path are redirected described in calculating, will be described The download link that weights reach preset weight threshold is defined as the download link obtained after filtering;Wherein, when using at least two It is described for judge feature when, calculate download link corresponding to each feature weights and added up, obtain the download Link weights.
29. systems according to claim 28, it is characterised in that the preset decision method is also sentenced including preset template Fixed, the filter element is used for:
Webpage is accessed the user using preset judge templet, and the URL of corresponding download link carries out the degree of correlation and sentences It is disconnected, and a judged result is produced, the download link redirected on path is filtered according to the judged result;Wherein, The preset judge templet includes:Preset judges that user accesses the regular expressions of the URL degrees of correlation of webpage and download link Formula template.
30. systems according to claim 27, it is characterised in that the filter element, including:
Validation checking subelement, for carrying out validation checking to the download link, if detecting that the download link is Effectively link, then the download link is defined as the download link obtained after filtering.
31. system according to claim any one of 17-22, it is characterised in that also include:
Link type detection unit, the link type for detecting the download link, the link type is described for indicating Download link whether be particular download instrument private link;
The link is obtained and display unit, is used for:
If detecting the download link type for the private link, it is being in by the download link redirected on path While now giving user, the link type of the link is shown.
32. system according to claim any one of 17-22, it is characterised in that the link acquisition and display unit, uses In:
By the download link redirected on path with operating system pop-up window or browser ejection subwindow or system support The mode of the drawer type pop-up in disk pop-up window or browser window is presented to user.
CN201310476120.4A 2013-10-12 2013-10-12 Obtain the method and system of the download link of resource Active CN103530365B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310476120.4A CN103530365B (en) 2013-10-12 2013-10-12 Obtain the method and system of the download link of resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310476120.4A CN103530365B (en) 2013-10-12 2013-10-12 Obtain the method and system of the download link of resource

Publications (2)

Publication Number Publication Date
CN103530365A CN103530365A (en) 2014-01-22
CN103530365B true CN103530365B (en) 2017-07-04

Family

ID=49932374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310476120.4A Active CN103530365B (en) 2013-10-12 2013-10-12 Obtain the method and system of the download link of resource

Country Status (1)

Country Link
CN (1) CN103530365B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100291B (en) * 2014-04-22 2018-10-09 深圳市志友企业发展促进中心 A kind of generation method of resource address, apparatus and system
CN105338124A (en) * 2014-06-09 2016-02-17 深圳市志友企业发展促进中心 Resource propagating tracking method and apparatus, and resource propagating system
CN105791227A (en) * 2014-12-22 2016-07-20 深圳市志友企业发展促进中心 Resource propagating method and system
CN105991722B (en) * 2015-02-12 2020-03-10 Oppo广东移动通信有限公司 Downloader recommendation method, application server, terminal and system
CN106161542A (en) * 2015-04-10 2016-11-23 广州市动景计算机科技有限公司 A kind of data download method and device
CN106326261A (en) * 2015-06-26 2017-01-11 广州市动景计算机科技有限公司 Pre-reading method and device for webpage and intelligent terminal device
CN106339398B (en) * 2015-07-09 2019-10-18 广州市动景计算机科技有限公司 A kind of pre-reading method of Webpage, device and intelligent terminal
CN106375976B (en) * 2015-07-22 2020-06-30 中国移动通信集团公司 Web application charging method and device
CN106919582A (en) * 2015-12-24 2017-07-04 阿里巴巴集团控股有限公司 The association of network articles and related information statistical method and device
CN107783993B (en) * 2016-08-25 2021-11-30 阿里巴巴集团控股有限公司 Data storage method and device
CN106528659B (en) * 2016-10-19 2019-12-31 Oppo广东移动通信有限公司 Control method and device for browser to jump to application program
CN108391009A (en) * 2018-02-13 2018-08-10 广东欧珀移动通信有限公司 Display methods, device, storage medium and the electronic equipment of five application page
CN109189588B (en) * 2018-08-07 2020-12-15 武汉斗鱼网络科技有限公司 Browser function implementation method, device, terminal and storage medium
CN113515423B (en) * 2021-04-21 2023-05-23 香港理工大学深圳研究院 Android application behavior characterization construction method based on execution track information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102054004A (en) * 2009-11-04 2011-05-11 清华大学 Webpage recommendation method and device adopting same
CN102117291A (en) * 2009-12-30 2011-07-06 北京搜狗科技发展有限公司 Method and system for displaying network resources
CN102760162A (en) * 2012-06-11 2012-10-31 北京搜狗信息服务有限公司 Method and device for revealing and acquiring download link
CN103218366A (en) * 2012-01-20 2013-07-24 腾讯科技(深圳)有限公司 Method and system for recommending download resources

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8195640B2 (en) * 2006-06-16 2012-06-05 Microsoft Corporation Online service for program lookup
CN103034643A (en) * 2011-09-29 2013-04-10 富泰华工业(深圳)有限公司 Method and device for file downloading

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102054004A (en) * 2009-11-04 2011-05-11 清华大学 Webpage recommendation method and device adopting same
CN102117291A (en) * 2009-12-30 2011-07-06 北京搜狗科技发展有限公司 Method and system for displaying network resources
CN103218366A (en) * 2012-01-20 2013-07-24 腾讯科技(深圳)有限公司 Method and system for recommending download resources
CN102760162A (en) * 2012-06-11 2012-10-31 北京搜狗信息服务有限公司 Method and device for revealing and acquiring download link

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"面向可下载资源的WEB搜索引擎的设计与实现";刘宇波;《中国优秀硕士学位论文全文数据库 信息科技辑》;20051115;全文 *

Also Published As

Publication number Publication date
CN103530365A (en) 2014-01-22

Similar Documents

Publication Publication Date Title
CN103530365B (en) Obtain the method and system of the download link of resource
CN102955798B (en) A kind of searching method and search server based on search engine
CN103631828B (en) Method and device for determining access path and method and system for determining page churn rate
CN103885987B (en) A kind of music recommends method and system
JP2020503629A (en) Page display method, apparatus, server, and storage medium
CN107888616A (en) The detection method of construction method and Webshell the attack website of disaggregated model based on URI
CN103617213B (en) Method and system for identifying newspage attributive characters
JP2010534370A (en) Information recommendation method and apparatus using composite algorithm
CN104615760A (en) Phishing website recognizing method and phishing website recognizing system
CN104202291A (en) Anti-phishing method based on multi-factor comprehensive assessment method
CN108664480A (en) A kind of multi-data source user information integration method and device
JP2014502753A (en) Web page information detection method and system
CN106033579A (en) Data processing method and apparatus thereof
CN108334758A (en) A kind of detection method, device and the equipment of user's ultra vires act
CN107508809A (en) Identify the method and device of website type
CN106779946A (en) A kind of film recommends method and device
KR100987330B1 (en) A system and method generating multi-concept networks based on user's web usage data
KR20110122719A (en) Systems and methods for a search engine results page research assistant
WO2012129102A2 (en) Detection and analysis of backlink activity
CN101268465A (en) Method for sorting a set of electronic documents
KR101508190B1 (en) Apparatus for colleting of harmful sites and method thereof
CN110427971A (en) Recognition methods, device, server and the storage medium of user and IP
CN103618761B (en) Method and browser for processing cookie information
CN103605735B (en) website data analysis method and device
CN117294873A (en) Abnormal media resource detection method and device, storage medium and electronic equipment

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