CN103460205B - The method and device of Web Pre-Fetching - Google Patents
The method and device of Web Pre-Fetching Download PDFInfo
- Publication number
- CN103460205B CN103460205B CN201180001726.1A CN201180001726A CN103460205B CN 103460205 B CN103460205 B CN 103460205B CN 201180001726 A CN201180001726 A CN 201180001726A CN 103460205 B CN103460205 B CN 103460205B
- Authority
- CN
- China
- Prior art keywords
- network address
- prefetches
- priority
- fetching
- web
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
- H04L67/5681—Pre-fetching or pre-delivering data based on network characteristics
Abstract
The invention discloses the method and device of a kind of Web Pre-Fetching, relate to internet arena, for improving the accuracy rate of Web Pre-Fetching.The method of the Web Pre-Fetching that the present invention provides includes: obtain the characteristic information respectively prefetching network address in Web Pre-Fetching list and described Web Pre-Fetching list;The browse state of monitoring user;Browse state according to described user and described in prefetch the characteristic information of network address, be ranked up described Web Pre-Fetching list respectively prefetches network address, determine that respectively prefetch network address in described Web Pre-Fetching list prefetches order;Respectively prefetch, from the webserver described Web Pre-Fetching list of acquisition, the info web that network address is corresponding according to the described order that prefetches, store described info web and conduct interviews for client.The present invention is applicable to when browsing current web page prefetch other webpages that may access.
Description
Technical field
The present invention relates to internet arena, particularly relate to the method and device of a kind of Web Pre-Fetching.
Background technology
Along with developing rapidly of network technology, the Internet has been increasingly becoming people and has obtained the main path of information.
User is when obtaining info web by the Internet, and needing to send access by browser to Web server please
Asking, Web server searches corresponding web page according to described access request, and is sent to browse by described corresponding web page
Device is to present to user.In recent years, along with more sophisticated and the diversified and Internet user of network application
Being continuously increased of number, under the limited network bandwidth, browser often produces when obtaining info web and prolongs
Time so that user needs to wait for a period of time after input network address and just can see info web.
In order to solve described latency issue, present stage mainly uses caching (caching) and prefetches (prefetch)
Technical scheme: by the client server prediction webpage that may browse of user, generate and prefetch list,
Described prefetch list and include prefetching network address;When network idle, by client server according to described
Prefetch list and prefetch, from described in Web server acquisition, the info web that network address is corresponding, described info web is deposited
It is stored in the buffer area of client server;When user selects to access the webpage being prefetched to, directly
Obtain corresponding info web from the buffer area of client server, thus reduce access time delay.
Owing to client server obtains Web Pre-Fetching list from Web server the most in a fixed order
Respectively prefetch the info web that network address is corresponding, thus when the browse state of user changes, webpage can be caused
The accuracy rate prefetched is relatively low.
Summary of the invention
Embodiments of the invention provide the method and device of a kind of Web Pre-Fetching, it is possible to obtain the pre-of current web page
Take list, and can adjust in real time to prefetch in list described in acquisition according to the current browse state of user and respectively prefetch
Network address prefetch order, improve Web Pre-Fetching accuracy rate.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
On the one hand, a kind of method embodiments providing Web Pre-Fetching, including:
Obtain the characteristic information respectively prefetching network address in Web Pre-Fetching list and described Web Pre-Fetching list, described
Characteristic information prefetches the essential information of webpage corresponding to network address described in characterize;
The browse state of monitoring user;
Browse state according to described user and described in prefetch the characteristic information of network address, to described Web Pre-Fetching
List respectively prefetches network address be ranked up, determine and described Web Pre-Fetching list respectively prefetches prefetching sequentially of network address;
From the webserver described Web Pre-Fetching list of acquisition, network address correspondence is respectively prefetched according to the described order that prefetches
Info web, store described info web and conduct interviews for client.
On the other hand, the embodiment of the present invention additionally provides the device of a kind of Web Pre-Fetching, including:
Acquisition module, respectively prefetches network address for obtaining in Web Pre-Fetching list and described Web Pre-Fetching list
Characteristic information, described characteristic information prefetches the essential information of webpage corresponding to network address described in characterize;
Monitoring modular, for monitoring the browse state of user;
Order module, for according to the browse state of described user and described in prefetch the characteristic information of network address,
It is ranked up described Web Pre-Fetching list respectively prefetches network address, determines in described Web Pre-Fetching list and respectively prefetch
Prefetching sequentially of network address;
Processing module, for obtaining described Web Pre-Fetching list from the webserver according to the described order that prefetches
Respectively prefetch the info web that network address is corresponding, store described info web and conduct interviews for client.
The method and device of the Web Pre-Fetching that the embodiment of the present invention provides, client obtains Web Pre-Fetching list,
Then according to the current browse state of user, the network address that prefetches in described Web Pre-Fetching list is arranged in real time
Sequence, determines and prefetches order;According to described prefetch order from Web server obtain described in prefetch network address corresponding
Info web, is stored for client by described info web and conducts interviews.Compared with prior art,
The method and device that the embodiment of the present invention provides can prefetch described in obtaining according to the current browse state of user
The order of network address adjusts in real time, thus improves the accuracy rate of Web Pre-Fetching.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, required in embodiment being described below
Accompanying drawing to be used is briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention's
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of the method that Fig. 1 provides for one embodiment of the invention;
The schematic flow sheet of the method that Fig. 2 provides for another embodiment of the present invention;
One structured flowchart of the device that Fig. 3 provides for yet another embodiment of the invention;
Another structured flowchart of the device that Fig. 4 provides for yet another embodiment of the invention;
Another structured flowchart of the device that Fig. 5 provides for yet another embodiment of the invention;
Another structured flowchart of the device that Fig. 6 provides for yet another embodiment of the invention.
Detailed description of the invention
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 clearly
Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation
The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
One embodiment of the invention provides a kind of method of Web Pre-Fetching, as it is shown in figure 1, described method includes:
101, client respectively prefetches the feature of network address in obtaining Web Pre-Fetching list and described Web Pre-Fetching list
Information, described characteristic information prefetches the essential information of webpage corresponding to network address described in characterize.
102, the browse state of client monitors user.
103, client according to the browse state of user and described in prefetch the characteristic information of network address, to described net
Page prefetches and respectively prefetches network address in list and be ranked up, and determines in described Web Pre-Fetching list and respectively prefetches the pre-of network address
Take order.
104, client obtains described Web Pre-Fetching list each pre-according to the described order that prefetches from Web server
Take the info web that network address is corresponding, store described info web and conduct interviews for client.
What deserves to be explained is, client can browse webpage by web browser, it is also possible to by being installed on
Application program in described client browses webpage, does not limits;Concrete, described client is permissible
It is PC, mobile terminal (such as mobile phone, palm PC etc.), IPTV (Internet Protocol
Television, IPTV) digital TV terminal, but it is not limited only to this.
The method of the Web Pre-Fetching that the embodiment of the present invention provides, client obtains Web Pre-Fetching list, then root
According to the current browse state of user, the network address that prefetches in described Web Pre-Fetching list is sorted in real time, determine
Prefetch order;Prefetch, from described in Web server acquisition, the info web that network address is corresponding according to the described order that prefetches,
Store described info web to conduct interviews for client.Compared with prior art, the embodiment of the present invention provides
Method can adjust in real time prefetching the order of network address described in obtaining according to the current browse state of user
Whole, improve the accuracy rate of Web Pre-Fetching.
Another embodiment of the present invention provides a kind of method of Web Pre-Fetching, as in figure 2 it is shown, described method bag
Include:
201, client inputs according to user URL information or the web page contents of user's click obtain user's need
Target URL to be accessed (Uniform/Universal Resource Locator, URL,
Also referred to as web page address).
202, whether client detection local caches exists the info web that described target URL is corresponding;If
It is then to perform step 203;If it is not, then perform step 204.
203, client directly obtains the info web corresponding with described target URL from local caches, and
Described info web is presented to user.
204, client sends the access request carrying target URL, described access request to Web server
For obtaining the info web corresponding with described target URL.
205, Web server receives the access request that client sends, and determines corresponding with described target URL
Info web and predict the URL that described client may access, and generate according to the URL of prediction and first prefetch
List.
Concrete, described Web server can be pre-according to the relatedness between key word in title corresponding for URL
Survey the URL that user may click on.Such as, key word association dictionary, wherein " 1 " table provided according to table 1
Show that key word 1 and key word 2 possess relatedness.With key word in the title of the page then accessed as user
Time " Huawei ", then choose with " communication ", " smart mobile phone ", " network equipment ", the URL of " terminal "
Will be as prefetching URL.Described key word association dictionary is safeguarded by server end, automatically updates.
Table 1 key word association dictionary
Key word 1 | Key word 2 | Whether associate |
Huawei | Communication | 1 |
Huawei | Smart mobile phone | 1 |
Huawei | The network equipment | 1 |
Huawei | Terminal | 1 |
Mobile | Communication | 1 |
Mobile | Operator | 1 |
Mobile | Smart mobile phone | 1 |
...... | ...... | ...... |
The explanation of value, Web server can also adopt in other ways prediction user may click on URL,
Do not limit.
206, Web server returns response message to client, carries and target URL in described response message
HTML (Hyper Text Markup Language, the hypertext markup language) code of corresponding webpage,
Described HTML code can include prefetch element, described in prefetch element for characterize described server end generate
First prefetch list.
207, client receives the response message that Web server returns, and resolves described target URL correspondence webpage
HTML code, obtain the webpage page that info web corresponding to described target URL, described target URL are corresponding
In face, each link URL prefetches list in the display position of current page and described first.
208, client may select the URL accessed according to the info web prediction user that target URL is corresponding,
Generating second and prefetch list, described second prefetches list includes the URL of Client Prediction.
Concrete, Client Prediction user may select the method for the URL accessed to be referred to but be not limited to step
In rapid 205, Web server end prefetches the process of URL, and here is omitted.
209, client determines the Web Pre-Fetching list that target URL is corresponding, institute according to Web Pre-Fetching configuration information
Stating Web Pre-Fetching list can be described first to prefetch list, it is also possible to be described second to prefetch list, it is possible to
Being described first to prefetch list and described second and prefetch the set of list.Wherein, described Web Pre-Fetching is arranged
Information is arranged according to user instruction by client, and described Web Pre-Fetching configuration information includes prefetching information source,
For determining described Web Pre-Fetching list for described client.
Preferably, include that described first prefetches list and described second when the list that prefetches of described current web page
When prefetching list, the second of described client generation prefetches and does not include in list that described first prefetches in list
Prefetch URL.
210, client prefetches the HTML code of URL in resolving described Web Pre-Fetching list, obtains described pre-
Take the characteristic information of URL, described characteristic information include described in prefetch the URL display position at the current web page page
Put, described in prefetch web site title corresponding for URL and title keyword, but be not limited only to this.
211, the browse state of client monitors user, described browse state includes currently browsing scope and user
Selection information, described currently browses the Webpage scope that scope includes that client is currently displaying, described user
Selection information includes title corresponding with the network address that user selects for URL and the key word in title that user selects.
What deserves to be explained is, described browse state also includes described Web Pre-Fetching configuration information, and described webpage is pre-
Take configuration information also include priority weight and prefetch the information such as URL ordering rule.Wherein, described priority weight
For determining the priority respectively prefetching URL in described Web Pre-Fetching list;The described URL ordering rule that prefetches is used
In determine priority identical prefetch URL prefetch order.
Preferably, described Web Pre-Fetching configuration information can also include prefetching URL according to what user instruction was arranged
Quantity, the quantity prefetching URL obtained for true Web server.
212, client is according to the browse state of user and the characteristic information that prefetches URL, prefetches row to described
Table respectively prefetches URL be ranked up, determine and described Web Pre-Fetching list respectively prefetches prefetching sequentially of URL.
Such as, client can respectively prefetch URL be ranked up described prefetching in the following way in list:
In order to make it easy to understand, the embodiment of the present invention includes 5 situations prefetching URL with Web Pre-Fetching list
Illustrating, the number prefetching URL in actual application is not limited only to this.
Described 5 prefetch the characteristic information of URL as shown in Table 2:
Table two
Numbering | Keyword | Position at current page |
Prefetch URL1 | Communication | 1st row |
Prefetch URL2 | Digital | 2nd row |
Prefetch URL3 | Smart mobile phone | 4th row |
Prefetch URL4 | Computer | 6th row |
Prefetch URL5 | The network equipment | 9th row |
When the scope that currently browses that the display interface of client shows be the 3rd walk to 7 row time, then on labelling
State prefetching URL3 and prefetching URL4 and possess the first priority in table two;
When the key word monitored in the URL that user clicks on is for " Huawei ", close according to the key word of table one
Connection dictionary, prefetching URL1, prefetch URL3 and prefetch URL5 to possess second preferential in the above-mentioned table of labelling two
Level;
Inquire about the priority weight in described Web Pre-Fetching configuration information, determine the first priority and the second priority
Relative priority degree.Such as:
When the first priority relative importance value higher than described second priority relative importance value (the such as first priority
Relative importance value is 2, and the relative importance value of the second priority is 1) time, then obtain in described Web Pre-Fetching list 5 pre-
The order that prefetches taking URL is followed successively by after arriving first: prefetches URL3, prefetch URL4, prefetch URL1 and prefetch
URL5, prefetch URL2.Wherein, it is identical with the relative importance value prefetching URL5 to prefetch URL1, then according to described net
The URL ordering rule that prefetches that page prefetches in configuration information determines that acquisition prefetches URL1 and prefetches the priority of URL5
Sequentially, to prefetching URL1 and URL5 can be prefetched carry out randomly ordered, it is also possible to according to letter ascending order or fall
Ordered pair prefetches URL1 and prefetches URL5 and be ranked up, and does not limits;
When the first priority relative importance value less than described second priority relative importance value (the such as first priority
Relative importance value is 1, and the relative importance value of the second priority is 2) time, then obtain in described Web Pre-Fetching list 5 pre-
The order that prefetches taking URL is followed successively by after arriving first: prefetches URL3, prefetches URL1 and prefetch URL5, prefetch
URL4, prefetch URL2.Wherein, it is identical with the relative importance value prefetching URL5 to prefetch URL1, then according to described net
The URL ordering rule that prefetches that page prefetches in configuration information determines that acquisition prefetches URL1 and prefetches the priority of URL5
Sequentially, to prefetching URL1 and URL5 can be prefetched carry out randomly ordered, it is also possible to according to letter ascending order or fall
Ordered pair prefetches URL1 and prefetches URL5 and be ranked up, and does not limits.
213, client is according to prefetching whether have in order detection local caches the most successively that to prefetch URL corresponding
Info web;The most then repeat step 213;If it is not, then perform step 214.
214, when the network is in the idle state, client obtains from Web server according to the described order that prefetches
Web Pre-Fetching list respectively prefetches info web corresponding to URL, described info web is stored in local cache
Device conducts interviews for client.
Preferably, when described Web Pre-Fetching configuration information includes prefetching URL quantity, the most described client exists
When network is in idle condition according to described prefetch order from Web server obtain meet described in prefetch URL number
The info web of amount, to save the memory space of local caches, reduces the load of described client simultaneously.
The method of Web Pre-Fetching that the embodiment of the present invention provides, client can currently browse model according to user
Enclose and user selects information to be ranked up the URL that prefetches in Web Pre-Fetching list, determine and prefetch order;
Prefetch info web corresponding to URL from Web server acquisition successively according to prefetching order, described webpage is believed
Breath is stored in local caches and conducts interviews for user.Use the embodiment of the present invention, it is possible to according to user's
The scope that currently browses dynamically adjusts and prefetches order so that prefetching order can effectively reflect that user uses in real time
Situation, thus improve the accuracy rate of Web Pre-Fetching.Additionally, user can also arrange the webpage that client prefetches
The quantity of information, to save the memory space of local caches, it is simple to obtain next webpage prefetches URL,
Reduce the load of described client simultaneously.
Yet another embodiment of the invention provides the device of a kind of Web Pre-Fetching, it is possible to realize said method embodiment,
As it is shown on figure 3, described device includes:
Acquisition module 301, for obtaining in Web Pre-Fetching list and described Web Pre-Fetching list by processor
Respectively prefetching the characteristic information of network address, described characteristic information prefetches the base of webpage corresponding to network address described in characterize
This information;
Monitoring modular 302, for the browse state by described processor monitoring user;
Order module 303, for according to the browse state of described user and described in prefetch the feature letter of network address
Breath, is ranked up respectively prefetching network address in described Web Pre-Fetching list by processor, determines that described webpage is pre-
Take and list respectively prefetches prefetching sequentially of network address;
Processing module 304, for prefetching order according to described, obtains described net by network interface from Web server
Page prefetches and respectively prefetches the info web that network address is corresponding in list, described info web is stored in buffer with
Conduct interviews for client.
Further, as shown in Figure 4, described acquisition module 301 includes the first resolution unit 3011, generates
Unit 3012, first determining unit 3013 and the second resolution unit 3014, described monitoring modular 302 includes
First monitoring means 3021 and the second monitoring means 3022, wherein:
Described first resolution unit 3011 is used for being resolved the HTML code of current web page by described processor,
Obtain what each link URL in the current web page page generated in the display position of current page and Web server
First prefetches list, and described first prefetches list includes that what described Web server predicted prefetches network address;
Described signal generating unit 3012 prefetches list for generating second by described processor, and described second prefetches
List includes that what active client predicted prefetches network address;
Described first determines that unit 3013 is for determining Web Pre-Fetching list, described webpage by described processor
Prefetch list and include that described first prefetches the network address that prefetches in list, or
Described Web Pre-Fetching list includes that described second prefetches the network address that prefetches in list, or
Described Web Pre-Fetching list includes that the described first network address and described second that prefetches prefetching in list prefetches
List prefetches network address;
Described second resolution unit 3014 is prefetched for being resolved in described Web Pre-Fetching list by described processor
The HTML code of network address, prefetches the characteristic information of network address described in acquisition, described characteristic information include described in prefetch
Network address the display position of the current web page page, described in prefetch web site title corresponding to network address and title crucial
Word, but it is not limited only to this.
Described first monitoring means 3021 is for the scope that currently browses by described processor monitoring user, institute
State and currently browse the Webpage scope that scope includes that client is currently displaying;
Described second monitoring means 3022 is for selecting information, described user by described processor monitoring user
Selection information includes network address that user the selects title corresponding with the network address that user selects and key word in title,
But it is not limited only to this.
Further, as it is shown in figure 5, described device also includes arranging module 305, described order module 303
Also include first indexing unit the 3031, second indexing unit 3032, sequencing unit 3033, wherein:
The described module 305 that arranges is for arranging Web Pre-Fetching configuration information and by described webpage according to user instruction
Prefetching configuration information and be stored in memorizer, described Web Pre-Fetching configuration information includes prefetching list sources and prefetching
The information such as network address ordering rule;Wherein, information source is prefetched described in for determining unit 3013 for described first
Determine described Web Pre-Fetching list, described in prefetch network address ordering rule and prefetch network address for identical to priority
It is ranked up;
The most described monitoring modular 302 is additionally operable to arrange what module 305 was arranged by the monitoring of described processor is described
Web Pre-Fetching configuration information.
Described first indexing unit 3031 for when described currently browse scope change time, by described place
Described in reason device real-time mark, Web Pre-Fetching list is positioned at and prefetches network address in the range of currently browsing so that it is possess
First priority;
Described second indexing unit 3032 is used for when there is the network address that user selected in described current web page,
By described processor by the relatedness between key word in title determine in described Web Pre-Fetching list with described use
What the network address that family selected was associated prefetches network address labelling so that it is possess the second priority;
What deserves to be explained is, the described Web Pre-Fetching configuration information arranging module 305 setting also includes priority
Weight, described priority weight is for characterizing described first priority and the relative priority degree of described second priority;
The most described sequencing unit 3033 is for pre-to described webpage according to described priority weight by described processor
The network address that prefetches taken in list is ranked up;
Concrete, described sequencing unit 3033 is for characterizing the excellent of described first priority when described priority weight
When first spending the relative importance value higher than described second priority, determine described Web Pre-Fetching list by described processor
In prefetch the order that prefetches of network address and be followed successively by after arriving first: be provided simultaneously with described first priority and described the
The prefetching network address, possess prefetching network address, possessing described second priority of described first priority of two priority
Prefetch network address, neither possess that described first priority the most do not possesses described second priority prefetch network address;
Or
The relative importance value that described sequencing unit 3033 is additionally operable to characterize described first priority when described priority weight is low
When the relative importance value of described second priority, determined in described Web Pre-Fetching list by described processor and prefetch
The order that prefetches of network address is followed successively by after arriving first: be provided simultaneously with described first priority and described second preferential
The prefetching network address, possess prefetching network address, possessing prefetching of described first priority of described second priority of level
Network address, neither possess that described first priority the most do not possesses described second priority prefetch network address.
What deserves to be explained is, described sequencing unit 3033 is additionally operable to be arranged according to prefetching network address by described processor
The network address that prefetches that priority is identical is carried out randomly ordered by sequence rule;Or
Described sequencing unit 3033 is additionally operable to by described processor according to prefetching network address ordering rule to described excellent
What first level was identical prefetch network address is ranked up according to letter ascending order or descending.
Preferably, the described Web Pre-Fetching configuration information arranging module 305 setting also includes prefetching network address quantity,
The described network address quantity that prefetches is the quantity prefetching network address that client obtains from Web server;
The most described processing module 304 is additionally operable to be taken from described Web by described network interface according to the described order that prefetches
Business device obtains and prefetches, with described, the info web that network address quantity is corresponding.
Further, as shown in Figure 6, described processing module 304 also includes detector unit 3041, obtains list
Unit 3042, memory element 3043, wherein:
Described detector unit 3041 prefetches net described in whether having been stored by described processor detection client
The info web that location is corresponding;
Described acquiring unit 3042 prefetches, described in not storing when client, the info web that network address is corresponding
Time, obtained with described to prefetch network address corresponding from described Web server by network interface according to the described order that prefetches
Info web;
Described memory element 3043 is entered for client for the info web of acquisition is stored in described buffer
Row accesses.
The Web Pre-Fetching device that the embodiment of the present invention provides, by order module 303 by processor according to user
Browse state the network address that respectively prefetches in Web Pre-Fetching list is ranked up, determine prefetch order;By processing
Module 304 prefetches, from Web server acquisition, the info web that network address is corresponding successively according to the described order that prefetches,
Described info web is stored in local caches and conducts interviews for user.Use the embodiment of the present invention, energy
Enough dynamically adjustment according to the change of the scope that currently browses of user prefetches order so that described in prefetch order can
The effective reflection real-time service condition of user, thus improve the accuracy rate of Web Pre-Fetching.Further, it is also possible to it is logical
Cross and module 305 is set the quantity of the info web that client prefetches is set, to save the storage of local caches
Space, reduces the load of described client.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive this
Bright can add the mode of required common hardware by software and realize, naturally it is also possible to by hardware, but a lot
In the case of the former is more preferably embodiment.Based on such understanding, technical scheme substantially or
Person says that the part contributing prior art can embody with the form of software product, and this computer is soft
Part product is stored in the storage medium that can read, such as the floppy disk of computer, and hard disk or CD etc., if including
Dry instruction is with so that a computer equipment (can be personal computer, server, or the network equipment
Deng) perform the method described in each embodiment of the present invention.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to
This, any those familiar with the art, in the technical scope that the invention discloses, can readily occur in
Change or replacement, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should
It is as the criterion with described scope of the claims.
Claims (19)
1. the method for a Web Pre-Fetching, it is characterised in that including:
Obtain the characteristic information respectively prefetching network address in Web Pre-Fetching list and described Web Pre-Fetching list, described
Characteristic information prefetches the essential information of webpage corresponding to network address described in characterize;
The browse state of monitoring user;
Browse state according to described user and described in prefetch the characteristic information of network address, to described Web Pre-Fetching
List respectively prefetches network address be ranked up, determine and described Web Pre-Fetching list respectively prefetches prefetching sequentially of network address;
From the webserver described Web Pre-Fetching list of acquisition, network address correspondence is respectively prefetched according to the described order that prefetches
Info web, store described info web and conduct interviews for client.
Method the most according to claim 1, it is characterised in that described acquisition Web Pre-Fetching list and
The characteristic information respectively prefetching network address in described Web Pre-Fetching list includes:
Resolve hypertext markup language's HTML code of current web page, obtain in the current web page page and respectively link net
Location prefetches list in the first of the display position of current page and webserver generation, and described first prefetches
List includes that what the described webserver predicted prefetches network address;
Generating second and prefetch list, described second prefetches list includes that what active client predicted prefetches network address;
Determine that Web Pre-Fetching list, described Web Pre-Fetching list include that described first prefetches and prefetch net in list
Location, or
Described Web Pre-Fetching list includes that described second prefetches the network address that prefetches in list, or
Described Web Pre-Fetching list includes that the described first network address and described second that prefetches prefetching in list prefetches
List prefetches network address;
Resolve the HTML code prefetching network address in described Web Pre-Fetching list, described in acquisition, prefetch the feature of network address
Information, described characteristic information include described in prefetch network address the display position of the current web page page, described in prefetch
Web site title that network address is corresponding and title keyword.
Method the most according to claim 2, it is characterised in that the browse state bag of described monitoring user
Include:
The scope that currently browses of monitoring user, described currently browses the webpage that scope includes that client is currently displaying
Page Range;
Monitoring user select information, described user to select information to include network address that user selects and user select
Title corresponding to network address and key word in title.
Method the most according to claim 3, it is characterised in that described browse state also include according to
The Web Pre-Fetching configuration information that family instruction is arranged, described Web Pre-Fetching configuration information includes prefetching information source;
Wherein, information source is prefetched described in for determining described Web Pre-Fetching list for described client.
Method the most according to claim 4, it is characterised in that described browse shape according to described user
State and described in prefetch the characteristic information of network address, be ranked up described Web Pre-Fetching list respectively prefetches network address,
Determine that the order that prefetches respectively prefetching network address in described Web Pre-Fetching list includes:
When described currently browse scope change time, Web Pre-Fetching list described in real-time mark is positioned at current
Network address is prefetched so that it is possess the first priority in the range of browsing;
When described current web page exists the network address that user selected, by the association between key word in title
Property determines that what the network address selected with described user in described Web Pre-Fetching list was associated prefetches network address and mark
Note so that it is possess the second priority.
Method the most according to claim 5, it is characterised in that described Web Pre-Fetching configuration information is also wrapped
Including priority weight, described priority weight characterizes described first priority and the relative priority of described second priority
Degree;
The most described browse state according to described user and described in prefetch the characteristic information of network address, to described net
Page prefetches and respectively prefetches network address in list and be ranked up, and determines in described Web Pre-Fetching list and respectively prefetches the pre-of network address
Take order also to include:
According to described priority weight, the network address that prefetches in described Web Pre-Fetching list is ranked up, determines described
Web Pre-Fetching list respectively prefetches network address prefetch order, described in prefetch order include:
When the relative importance value of described priority weight described first priority of sign is higher than the preferential of described second priority
When spending, obtain described Web Pre-Fetching list prefetches network address prefetch order be followed successively by after arriving first: have simultaneously
The prefetching network address, possess the pre-of described first priority of standby described first priority and described second priority
Take network address, possess prefetching network address, neither possessing described first priority and do not possess of described second priority
Described second priority prefetch network address;Or
When the relative importance value of described priority weight described first priority of sign is less than the preferential of described second priority
When spending, obtain described Web Pre-Fetching list prefetches network address prefetch order be followed successively by after arriving first: have simultaneously
The prefetching network address, possess the pre-of described second priority of standby described first priority and described second priority
Take network address, possess prefetching network address, neither possessing described first priority and do not possess of described first priority
Described second priority prefetch network address.
Method the most according to claim 6, it is characterised in that described Web Pre-Fetching configuration information is also wrapped
Include and prefetch network address ordering rule, described in prefetch network address ordering rule and enter for the network address that prefetches identical to priority
Row sequence;Prefetch network address ordering rule described in described basis the network address that prefetches that priority is identical is ranked up,
Determine that the order that prefetches prefetching network address that described Web Pre-Fetching list medium priority is identical includes:
According to the described network address ordering rule that prefetches, the network address that prefetches that described priority is identical is carried out randomly ordered;
Or
According to described prefetch network address ordering rule to described priority identical prefetch network address according to letter ascending order or
Descending is ranked up.
8. according to the method according to any one of claim 4 to 7, it is characterised in that described Web Pre-Fetching
Configuration information also includes prefetching network address quantity, described in prefetch network address quantity to be client obtain from the webserver
The quantity prefetching network address;
From the webserver described Web Pre-Fetching list of acquisition, net is respectively prefetched according to the described order that prefetches described in then
The info web that location is corresponding, is stored for described info web client and conducts interviews and also include:
Prefetch, with described, the webpage that network address quantity is corresponding from the acquisition of the described webserver according to the described order that prefetches
Information.
Method the most according to claim 1, it is characterised in that described according to described prefetch order from net
Network server obtains in described Web Pre-Fetching list and respectively prefetches the info web that network address is corresponding, is believed by described webpage
Breath is stored for client and conducts interviews and include:
Detection client prefetches, described in whether storing, the info web that network address is corresponding;
When prefetching info web corresponding to network address described in client does not store, according to described prefetch order from
The described webserver obtains and prefetches, with described, the info web that network address is corresponding;
The info web that storage obtains conducts interviews for client.
10. the device of a Web Pre-Fetching, it is characterised in that including:
Acquisition module, for obtaining in Web Pre-Fetching list and described Web Pre-Fetching list each by processor
Prefetching the characteristic information of network address, described characteristic information prefetches the basic of webpage corresponding to network address described in characterizing
Information;
Monitoring modular, for the browse state by described processor monitoring user;
Order module, for according to the browse state of described user and described in prefetch the characteristic information of network address,
It is ranked up described Web Pre-Fetching list respectively prefetches network address by processor, determines that described Web Pre-Fetching arranges
Respectively prefetch network address in table prefetches order;
Processing module, for prefetching order according to described, obtains described webpage by network interface from the webserver
Prefetch and list respectively prefetch the info web that network address is corresponding, described info web is stored in buffer for
Client conducts interviews.
11. devices according to claim 10, it is characterised in that described acquisition module includes:
First resolution unit, for resolving the hypertext markup language HTML of current web page by described processor
Code, obtains and respectively links network address in the current web page page at the display position of current page and the webserver
First generated prefetches list, and described first prefetches list includes that what the described webserver predicted prefetches network address;
Signal generating unit, prefetches list for generating second by described processor, and described second prefetches list bag
Include active client prediction prefetches network address;
First determines unit, and for determining Web Pre-Fetching list by described processor, described Web Pre-Fetching arranges
Table includes that described first prefetches the network address that prefetches in list, or
Described Web Pre-Fetching list includes that described second prefetches the network address that prefetches in list, or
Described Web Pre-Fetching list includes that the described first network address and described second that prefetches prefetching in list prefetches
List prefetches network address;
Second resolution unit, prefetches network address for being resolved in described Web Pre-Fetching list by described processor
HTML code, prefetches the characteristic information of network address described in acquisition, described characteristic information include described in prefetch network address and exist
The current web page page display position, described in prefetch web site title corresponding to network address and title keyword.
12. devices according to claim 11, it is characterised in that described monitoring modular includes:
First monitoring means, for by described processor monitoring user the scope that currently browses, described currently
The scope of browsing includes the Webpage scope that client is currently displaying;
Second monitoring means, for selecting information, described user to select letter by described processor monitoring user
Breath includes network address that user the selects title corresponding with the network address that user selects and key word in title.
13. devices according to claim 12, it is characterised in that described device also includes:
Module is set, for arranging Web Pre-Fetching configuration information according to user instruction and being set by described Web Pre-Fetching
Confidence breath is stored in memorizer, and described Web Pre-Fetching configuration information includes prefetching information source;Wherein, described
Prefetch information source for determining that unit determines described Web Pre-Fetching list for described first;
The most described monitoring modular is additionally operable to arrange, by the monitoring of described processor is described, the Web Pre-Fetching that module is arranged
Configuration information.
14. devices according to claim 13, it is characterised in that described order module includes:
First indexing unit, for when described currently browse scope change time, real by described processor
Time labelling described in Web Pre-Fetching list be positioned in the range of currently browsing, prefetch network address so that it is possess first excellent
First level;
, for when there is the network address that user selected in described current web page, by described in the second indexing unit
Processor is determined in described Web Pre-Fetching list by the relatedness between key word in title and selects with described user
What the network address crossed was associated prefetches network address labelling so that it is possess the second priority.
15. devices according to claim 14, it is characterised in that the described webpage that module setting is set
Prefetch configuration information and also include that priority weight, described priority weight are used for characterizing described first priority and described
The relative priority degree of the second priority.
16. devices according to claim 15, it is characterised in that described order module also includes:
Sequencing unit, for by described processor according to described priority weight in described Web Pre-Fetching list
The network address that prefetches be ranked up;Including:
When the relative importance value of described priority weight described first priority of sign is higher than the preferential of described second priority
When spending, determined by described processor described Web Pre-Fetching list prefetches network address prefetch order after arriving first
Be followed successively by: be provided simultaneously with described first priority and described second priority prefetch network address, possess described
The prefetching network address, possess prefetching network address, neither possessing described first of described second priority of first priority
What priority did not the most possess described second priority prefetches network address;Or
Described sequencing unit is additionally operable to when described priority weight characterizes the relative importance value of described first priority less than institute
When stating the relative importance value of the second priority, determined in described Web Pre-Fetching list by described processor and prefetch network address
The order that prefetches be followed successively by after arriving first: be provided simultaneously with described first priority and described second priority
Prefetch network address, possess described second priority prefetch network address, possess described first priority prefetch network address,
Neither possess that described first priority the most do not possesses described second priority prefetches network address.
17. devices according to claim 16, it is characterised in that described Web Pre-Fetching configuration information is also
Including prefetching network address ordering rule, described in prefetch network address ordering rule and prefetch network address for identical to priority
It is ranked up;Described sequencing unit is additionally operable to by described processor according to prefetching network address ordering rule to described
What priority was identical prefetch network address carries out randomly ordered;Or
Described sequencing unit is additionally operable to by described processor according to prefetching network address ordering rule to described priority
The identical network address that prefetches is ranked up according to letter ascending order or descending.
18. according to the device according to any one of claim 13 to 17, it is characterised in that described setting
The Web Pre-Fetching configuration information that module is arranged also includes prefetching network address quantity, described in prefetch network address quantity be client
Hold the quantity prefetching network address obtained from the webserver;
The most described processing module is additionally operable to prefetch order by described network interface from the described webserver according to described
Obtain and prefetch, with described, the info web that network address quantity is corresponding.
19. devices according to claim 10, it is characterised in that described processing module includes:
Detector unit, prefetches network address correspondence described in whether having been stored by described processor detection client
Info web;
Acquiring unit, for when prefetching info web corresponding to network address described in client does not store, according to
The described order that prefetches is believed with described webpage corresponding to network address that prefetch from the acquisition of the described webserver by network interface
Breath;
Memory element, conducts interviews for client for the info web of acquisition is stored in described buffer.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/077879 WO2012159360A1 (en) | 2011-08-01 | 2011-08-01 | Method and apparatus for web page prefetching |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103460205A CN103460205A (en) | 2013-12-18 |
CN103460205B true CN103460205B (en) | 2016-11-02 |
Family
ID=47216585
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201180001726.1A Active CN103460205B (en) | 2011-08-01 | 2011-08-01 | The method and device of Web Pre-Fetching |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103460205B (en) |
WO (1) | WO2012159360A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103246713B (en) * | 2013-04-24 | 2016-05-11 | 优视科技有限公司 | A kind of Web browser method and device |
CN104298780B (en) * | 2014-11-05 | 2018-01-12 | 百纳(武汉)信息技术有限公司 | A kind of pre-acquiring method and system of browsing device net page information |
CN104361067B (en) * | 2014-11-05 | 2018-07-20 | 百纳(武汉)信息技术有限公司 | A kind of intelligent loading method and system of browsing device net page information |
US11734381B2 (en) * | 2021-12-07 | 2023-08-22 | Servicenow, Inc. | Efficient downloading of related documents |
CN115129402B (en) * | 2022-08-31 | 2022-12-09 | 云账户技术(天津)有限公司 | Channel resource calling method and device and computer storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7069262B1 (en) * | 1999-10-04 | 2006-06-27 | Sony Corporation | Information processing apparatus, recording medium, and method for using them |
CN101369280A (en) * | 2008-10-10 | 2009-02-18 | 深圳市茁壮网络技术有限公司 | Method and device for web page browsing in digital television terminal |
CN101777081A (en) * | 2010-03-08 | 2010-07-14 | 中兴通讯股份有限公司 | Method and device for improving webpage access speed |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070165933A1 (en) * | 2005-12-22 | 2007-07-19 | Intellirad Solutions Pty Ltd | Method for pre-fetching digital image data |
-
2011
- 2011-08-01 WO PCT/CN2011/077879 patent/WO2012159360A1/en active Application Filing
- 2011-08-01 CN CN201180001726.1A patent/CN103460205B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7069262B1 (en) * | 1999-10-04 | 2006-06-27 | Sony Corporation | Information processing apparatus, recording medium, and method for using them |
CN101369280A (en) * | 2008-10-10 | 2009-02-18 | 深圳市茁壮网络技术有限公司 | Method and device for web page browsing in digital television terminal |
CN101777081A (en) * | 2010-03-08 | 2010-07-14 | 中兴通讯股份有限公司 | Method and device for improving webpage access speed |
Non-Patent Citations (1)
Title |
---|
基于用户浏览兴趣的网页预取策略;高凯;《上海交通大学学报》;20060328;第40卷(第3期);第136-138,143页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103460205A (en) | 2013-12-18 |
WO2012159360A1 (en) | 2012-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10389826B2 (en) | Webpage pre-reading method, apparatus and smart terminal device | |
AU2002350141B2 (en) | Methods and systems for preemptive and predictive page caching for improved site navigation | |
US9602620B1 (en) | Content-facilitated speculative preparation and rendering | |
US7996397B2 (en) | Using network traffic logs for search enhancement | |
CN102438045B (en) | Method and system for pre-fetching web page, and method for accessing web page | |
KR101708448B1 (en) | Predictive query suggestion caching | |
US8725849B1 (en) | Browser cache pre-population | |
US20080222242A1 (en) | Method and System for Improving User Experience While Browsing | |
CN103460205B (en) | The method and device of Web Pre-Fetching | |
AU2002350141A1 (en) | Methods and systems for preemptive and predictive page caching for improved site navigation | |
JP6328233B2 (en) | Computer program product, system and method for optimizing web page loading | |
JP2001222459A (en) | System and method for caching | |
CN104252348B (en) | A kind of web page access statistical method and device based on browser | |
CN105550338A (en) | HTML5 application cache based mobile Web cache optimization method | |
WO2010017434A1 (en) | Dynamic portal creation based on personal usage | |
KR20020062987A (en) | Method and device for prefetching a referenced resource | |
US20230409398A1 (en) | Resource pre-fetch using age threshold | |
CN106649313A (en) | Method and equipment for processing cache data | |
CN107526748A (en) | A kind of method and apparatus for identifying user and clicking on behavior | |
JP2009009484A (en) | Web server, web display terminal, and web browsing program | |
JP2003323370A (en) | Personal www proxy program, personal information terminal and content prefetch method of personal information terminal | |
US20100174986A1 (en) | Apparatus and method for moving to previous website in web browser | |
Pons | Semantic prefetching objects of slower web site pages | |
Venketesh et al. | Semantic Web Prefetching Scheme using Naïve Bayes Classifier. | |
KR20100079052A (en) | Method, system and computer-readable recording medium for providing web page using cache |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |