[go: up one dir, main page]

CN102810101A - Webpage pre-reading method and device and browser - Google Patents

Webpage pre-reading method and device and browser Download PDF

Info

Publication number
CN102810101A
CN102810101A CN2011101488432A CN201110148843A CN102810101A CN 102810101 A CN102810101 A CN 102810101A CN 2011101488432 A CN2011101488432 A CN 2011101488432A CN 201110148843 A CN201110148843 A CN 201110148843A CN 102810101 A CN102810101 A CN 102810101A
Authority
CN
China
Prior art keywords
web page
advance
read
page interlinkage
mouse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011101488432A
Other languages
Chinese (zh)
Other versions
CN102810101B (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
Original Assignee
Beijing Sogou Technology Development 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 filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201110148843.2A priority Critical patent/CN102810101B/en
Priority claimed from CN201110148843.2A external-priority patent/CN102810101B/en
Publication of CN102810101A publication Critical patent/CN102810101A/en
Application granted granted Critical
Publication of CN102810101B publication Critical patent/CN102810101B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a webpage pre-reading method and device and a browser, aiming to solve the problem in the prior art that the webpage without the webpage number sequence can not be read to accelerate the webpage display. The webpage pre-reading method comprises the following steps: capturing the current mouse action or screen touch action information of the user, analyzing the pre-read webpage link according to the current mouse action or screen touch action information of the user, pre-reading the webpage data which corresponds to the webpage link from a server end, and saving in the local cache; and when the user determines to browse the pre-read webpage, directly reading the webpage data from the local cache for the user to browse. The webpage pre-reading method and device are suitable for pre-reading the vast majority of webpages.

Description

The method that a kind of webpage reads in advance, device and a kind of browser
Technical field
The present invention relates to browser technology, particularly relate to method, device and a kind of browser that a kind of webpage reads in advance.
Background technology
Use browser to open in the process of webpage the user,, will influence the opening speed of webpage, cause the user to wait for, and the main cause of waiting for is the time of downloading webpage to account for the major part that the browser display webpage is taken time if current network environment is limited.
In order to address the above problem, to propose a kind of webpage and read technology in advance.It is that a kind of the use the user accelerated the web displaying method of velocity in the process of browser browsing page that webpage reads in advance; Its main thought is to browse in the process of current page the user; The webpage that a step or a few step possibly visit below certain means judges, browser just is not loaded into the network address and the resource thereof of these webpages in the buffer memory on the backstage before the user browses these webpages; When user capture wherein directly utilizes the data in the buffer memory to play up during certain webpage, the process of the webpage of having avoided waiting for downloads.
Common a kind of webpage pre-reading method mainly is to following situation at present:
For the convenience of reading, some long content often is split as a plurality of webpages, and uses the hyperlink of " following one page " to link, such as Search Results, article appearing in parts and long forum's model etc.
To this situation, pre existing reads technological " following one page " webpage of when the user browses some webpages of continuous content, looking ahead.Method commonly used is in current page, to search the anchor point that comprises one or more key words, as searches " following one page ", " next page " etc., takes out the link in the anchor point that matches then, gets the web page contents of link on the backstage successively and puts into buffer memory.
By on can know; Existing this webpage pre-reading method can only be applicable to particular webpage recited above; It is effective promptly only long content to be split into a series of a plurality of webpages that get up with the hyperlink chain, and for there not being the page number other webpages in proper order in a large number, like news web page etc.; This method can't read the follow-up webpage that possibly visit of user in advance, therefore can not accelerate the demonstration of browser page.
Summary of the invention
Technical matters to be solved by this invention provides method and the device that a kind of webpage reads in advance, can not read the problem of accelerating page demonstration in advance to the webpage that does not have page number order to solve prior art.
Accordingly, the present invention also provides the browser that comprises said apparatus, can accelerate the demonstration of browser page.
In order to address the above problem, the invention discloses the method that a kind of webpage reads in advance, comprising:
Catch current mouse action or the screen touch action message of user;
Mouse action or the screen touch action message current according to said user analyze the web page interlinkage that will read in advance, read the corresponding web data of said web page interlinkage in advance and are saved in local cache from server end;
When the user confirms to browse the said webpage that reads in advance, from local cache, directly read said web data and supply the user to browse.
Preferably; Saidly from local cache, directly read said web data and supply the user to browse to comprise: finish and be saved in local cache if the corresponding web data of said web page interlinkage has all read from server end in advance, then from said local cache, directly read the corresponding web data of said web page interlinkage and supply the user to browse.
Preferably; If the corresponding web data of said web page interlinkage that from local cache, directly reads is a part of web data; Then also comprise: continue to read the data of remainder from said server end, merge with the partial data that reads from local cache and supply the user to browse.
Preferably, analyze the web page interlinkage that to read in advance in the following manner: with mouse or touch one or more web page interlinkages that the residence time surpasses predetermined threshold value as the web page interlinkage that will read in advance; And/or, with mouse or one or more web page interlinkages of touch amplifying as the web page interlinkage that will read in advance; And/or one or more web page interlinkages that mouse or touch are chosen are as the web page interlinkage that will read in advance; And/or, with mouse or touch moving direction or click one or more web page interlinkages on the direction as the web page interlinkage that will read in advance.
Preferably, analyze the web page interlinkage that will read in advance in the following manner: the web page interlinkage that will satisfy following any two above conditions is as the web page interlinkage that will read in advance: mouse or touch the residence time and surpass predetermined threshold value; Or mouse or touch are amplified; Or mouse or touch are chosen; Or, on mouse or touch moving direction or click direction.
Preferably, the screen touch action message current according to said user analyzes the web page interlinkage that will read in advance, comprising: if single-point touches screen and touch to move and choose certain web page interlinkage, then with this web page interlinkage as the web page interlinkage that will read in advance; And/or, if multiple point touching amplifies certain web page interlinkage, then with this web page interlinkage as the web page interlinkage that will read in advance; And/or, if the time that in certain web page interlinkage, stops at a distance from empty touch screen surpass predetermined threshold value, then with this web page interlinkage as the web page interlinkage that will read in advance; And/or, if at a distance from empty touch screen and touch to move and choose certain web page interlinkage, then with this web page interlinkage as the web page interlinkage that will read in advance; And/or, will touch moving direction or touch the web page interlinkage that the part or all of web page interlinkage conduct on the click direction will be read in advance at a distance from empty.
Preferably, said method also comprises: the white list according to preset judges whether that needs carry out webpage and read in advance, if the object of user's current browsing is included in the said white list, then triggers the execution that webpage reads in advance; And/or, judge whether that according to preset blacklist needs carry out webpage and read in advance, if the object of user's current browsing is not included in the said blacklist, then trigger the execution that webpage reads in advance.
Preferably, said method also comprises: preset each webpage is adopted in said white list mouse action or screen touch action message analytical approach.
Preferably, the said web page interlinkage that will read in advance comprises: the web page interlinkage that comprises in the webpage of user's current browsing; And/or, be pushed to the web page interlinkage that comprises in user's the page refreshment prompting message.
The device that the present invention also provides a kind of webpage to read in advance comprises:
Mouse or touch action capture module are used to catch current mouse action of user or screen touch action message;
The link analysis module of looking ahead is used for analyzing the web page interlinkage that will read in advance according to said user current mouse action or screen touch action message;
The data pre-fetching module is used for reading the corresponding web data of said web page interlinkage in advance and being saved in local cache from server end;
The webpage read module is used for when the user confirms to browse the said webpage that reads in advance, from local cache, directly reading said web data and supplying the user to browse.
Preferably; Finish and be saved in local cache if the corresponding web data of said web page interlinkage has all read from server end in advance, then said webpage read module directly reads the corresponding web data of said web page interlinkage and supplies the user to browse from said local cache.
Preferably; If the corresponding web data of said web page interlinkage that from local cache, directly reads is a part of web data; Then said webpage read module also is used for continuing to read from said server end the data of remainder, merges with the partial data that reads from local cache to supply the user to browse.
Preferably, the said link analysis module of looking ahead comprises:
First analyzes submodule, is used for mouse or touches one or more web page interlinkages that the residence time surpasses predetermined threshold value as the web page interlinkage that will read in advance; And/or,
Second analyzes submodule, is used for mouse or touches one or more web page interlinkages of amplifying as the web page interlinkage that will read in advance; And/or,
The 3rd analyzes submodule, and the one or more web page interlinkages that are used for mouse or touch are chosen are as the web page interlinkage that will read in advance; And/or,
The 4th analyzes submodule, is used for the one or more web page interlinkages on mouse or touch moving direction or the click direction as the web page interlinkage that will read in advance.
Preferably, the said link analysis module of looking ahead comprises: the 5th analyzes submodule, is used for the web page interlinkage of satisfying following any two above conditions as the web page interlinkage that will read in advance: mouse or touch the residence time above predetermined threshold value; Or mouse or touch are amplified; Or mouse or touch are chosen; Or, on mouse or touch moving direction or the click direction.
Preferably, said device also comprises: first reads judge module in advance, is used for judging whether that according to preset white list needs carry out webpage and read in advance, if the object of user's current browsing is included in the said white list, then triggers the execution that webpage reads in advance; And/or second reads judge module in advance, is used for judging whether that according to preset blacklist needs carry out webpage and read in advance, if the object of user's current browsing is not included in the said blacklist, then triggers the execution that webpage reads in advance.
Preferably, said device also comprises: read configuration module in advance, be used for the mouse action or the screen touch action message analytical approach that are adopted at preset each webpage of said white list.
Preferably, the said web page interlinkage that will read in advance comprises: the web page interlinkage that comprises in the webpage of user's current browsing; And/or, be pushed to the web page interlinkage that comprises in user's the page refreshment prompting message.
The present invention also provides a kind of browser, comprises the preparatory reading device of above-mentioned webpage.
Compared with prior art, the present invention includes following advantage:
At first, webpage pre-reading method provided by the invention is to move to judge to read which webpage in advance according to user current mouse action or screen touch, thereby accelerates the demonstration of browser page.Owing to whether comprise page number sequence independence in user's mouse action or screen touch action and the webpage; Therefore the webpage that carries out according to mouse action or screen touch action reads the webpage that is not limited to have page number order in advance, but is applicable to most webpages.
Secondly, prior art is only searched the literal of anchor points such as " following one pages ", for using picture to represent that the webpage of one page link is invalid down; And the present invention carries out webpage according to the current mouse action of user or screen touch action to read in advance; Link with which kind of form with following one page and to represent to have nothing to do; Therefore the present invention can head it off, can the webpage with various forms (no matter being literal or picture) expression link be played a role.
Once more; The present invention not only can read judgement according to computer mouse commonly used in advance; And for screen displaying equipment, can also or touch multiple touch manners such as (promptly finger or felt pen do not contact touch-screen) at a distance from sky according to touch separately, multiple point touching and read judgement in advance.
At last, owing to be not that all webpages all are fit to method that its web page interlinkage that comprises employing is read in advance on the internet, so the present invention also preset white list or blacklist, controls the execution of preparatory read schemes, thereby avoids unnecessary system resource waste.
Description of drawings
Fig. 1 is the process flow diagram of the embodiment of the invention one said a kind of webpage pre-reading method;
Fig. 2 is the structural drawing of the preparatory reading device of the embodiment of the invention five said a kind of webpages.
Embodiment
For make above-mentioned purpose of the present invention, feature and advantage can be more obviously understandable, below in conjunction with accompanying drawing and embodiment the present invention done further detailed explanation.
In order to read the webpage of the overwhelming majority on the internet in advance, have page number order and be not limited to, the present invention proposes method, device and a kind of browser that a kind of webpage reads in advance, can carry out webpage according to mouse action to read in advance; And for screen displaying equipment, also can carry out webpage according to touch action and read in advance.
Be elaborated respectively through embodiment one to embodiment six pair of the method for the invention, device and browser below.
Embodiment one:
With reference to Fig. 1, be the process flow diagram of the embodiment of the invention one said a kind of webpage pre-reading method.
Step 101 is caught current mouse action or the screen touch action message of user;
For general all kinds of computer display apparatus, can catch the current action message of mouse and analyze.Said mouse action information comprises the information such as coordinate of mouse state, mouse, and wherein the mouse state click state of pressing, the button that are included in static or mobile status, left mouse button or right button on the screen pressed the state that continued drags, the state that button lifts, rolling condition of mouse pulley etc.The coordinate of mouse is meant the coordinate position of current mouse on screen, can locate mouse through this coordinate.The information such as coordinate of combined mouse state, mouse just can analyze the action of current mouse, click like certain position at screen, perhaps press and drag some zone that mouse has been chosen screen, or the like.
In concrete implementation procedure, can capture the action message of mouse through several different methods, enumerate two kinds of methods wherein below, as follows:
First method is a timer to be set, like the action of 50 milliseconds of triggering one-time detection; At every turn can be through API (the Application Programming Interface of operating system; API) obtains the position of mouse and the state of each button, be still in certain position of screen, perhaps left mouse button or the right button position of pressing like mouse; The perhaps mousebutton position of lifting, or the like.Position of at every turn obtaining and state are all noted, can be obtained a sequence, can judge information such as mouse moving direction, speed according to the historical series of mouse.
Second method is to confirm mouse action through the mouse information of handling window.Mouse can send corresponding message for current window by the order of action when doing action; Like mobile, button, pulley rolling etc.; Through in these message, writing down the position and the state of mouse in an orderly manner; Can reach the effect identical, promptly obtain a sequence that comprises mouse position and state, can obtain information such as mouse moving direction, speed through analyzing this sequence with first method.
Need to prove; Except the concrete implementation of information such as above-mentioned two kinds of seizure mouse states, coordinate; Also have other implementations; Can not enumerate one by one, how the present invention to specifically catching not restriction of mouse action, all can be applied to the embodiment of the invention as long as can obtain the implementation of the information such as state, coordinate of mouse.
For screen displaying equipment, also can catch current touch action information and analyze.With the mouse action info class seemingly, said touch action information also comprises the information such as coordinate of touch condition, contact, is not described in detail in this.
Step 102, mouse action or the screen touch action message current according to said user analyze the web page interlinkage that will read in advance;
When the user uses browser browsing webpage (can be described as current web page); According to mouse action or screen touch action; And combine webpage to be linked at the position on the screen, just can judge the follow-up one or more webpages browsed possibly of user, and obtain the link of these webpages.
Wherein, said current web page can be the one page in " long content is split into a series of a plurality of webpages that get up with the hyperlink chain ", also can be other webpage that does not have page number order, like news web page, blog, QQ space etc.With the blog is example; If what the user browsed when front opening is the homepage of certain website blog; Demonstrate header list on this homepage; Just can analyze and draw the link that from said header list will in advance read which title according to the mouse action or the touch action of user in these header list zones this moment.
Analytical approach concrete in the above-mentioned steps 102 will be elaborated in embodiment at the back two and embodiment three.
Step 103 reads the corresponding web data of said web page interlinkage in advance and is saved in local cache from server end;
Be about to the said pairing web data of one or more web page interlinkage that reads in advance and pass through network download to local cache from server end.Wherein, said " this locality " is often referred to client.In the embodiment of the invention, the buffer memory that can use client browser is as local cache, and one of every download links corresponding web data, and browser is just deposited this web data in the buffer memory, and in the tabulation of this chained record to one, is called the tabulation of looking ahead.The said tabulation of looking ahead can be used URL (Uniform Resoure Locator; The unified resource positioning system; Just usually said network address) writes down each bar link; Can certainly use other information representations link, like URI (Uniform Resource Identifier, generic resource identifier) etc.
Concrete; Owing to play up a webpage except the needs page code, also need the resource of the page sometimes, like (said page code and page resource all belong to web data) such as picture, audio and video resources; Therefore when downloading except obtaining page code; Also need extract the link of resource in the page, and will link corresponding resource downloading from network server end and get off through page code is analyzed.
Step 104 when the user confirms to browse the said webpage that reads in advance, directly reads said web data and supplies the user to browse from local cache.
When the user has browsed current web page; Confirm next step and will open when browsing some or a plurality of webpage, if the corresponding link of the said webpage that will browse representes that then these webpages that will browse do not read according to above-mentioned steps in advance not in the said tabulation of looking ahead; This moment is according to the normal handling flow process; From network server end required web data is downloaded to this locality, play up demonstration after being loaded into internal memory then, supply the user to browse.But; If corresponding being linked in the said tabulation of looking ahead of the webpage that will browse; Represent that then these webpages that will browse have carried out reading in advance; Need not this moment to download, can directly from local cache, read these and link pairing web data, and play up demonstration after being loaded into internal memory from server end.
Need to prove, in the embodiment of the invention, when the webpage that will browse corresponding be linked in the said tabulation of looking ahead the time, saidly from local cache, directly read the said web data that reads in advance and comprise following two kinds of situation:
A kind of situation is fully preparatory read schemes; Be that user's web data that reads in advance of confirming to browse all reads in advance from server end and finishes and be saved in local cache, can from said local cache, directly read the corresponding whole web datas of web page interlinkage this moment and supply users to browse.
Also having a kind of situation is part read schemes in advance; Owing to reasons such as network download speed; The user confirms that the web data that reads in advance that will browse does not also download to this locality from server end fully, has promptly only read a part of web data in advance and has been saved in local cache.If user's this moment confirm will to this in advance the webpage of reading section browse, two kinds of processing then can be arranged: a kind of processing is that the user confirms that the web data that will browse all downloads to local confession user again from server end and browses; The another kind of processing be, reads a part of data that read in advance from local cache, continues to read the data of remainder simultaneously from server end, then these two parts data merged to offer the user and browse.
To above-mentioned second kind of situation that part reads in advance, be consolidated into example to read picture 1~10 in advance and to adopt, further can also comprise following two kinds:
(1) picture 1~5 has been accomplished in download, and picture 6~10 is not also downloaded, if use the processing mode of above-mentioned second kind of merging in this case, then can read picture 1~5 from local cache, and picture 6~10 then arrives server end and downloads;
(2) picture 1~5 has been accomplished in download, and the data of picture 6 have downloaded 50%, and picture 7~10 is not downloaded fully, can realize the processing mode of above-mentioned second kind of merging in this case through the way of rewriting network driver.Concrete, network driver can obtain incomplete data download and the position of this data in whole file, can't proceed if download this moment, and network driver will write down these information.When browser requires network driver download pictures 6 once more; Whether network driver is searched has partial data to download; If there is partial data; And server only can be supported the download section divided data but not whole file, and then network driver is responsible for downloading the remaining data of this document, and is saved in local data splicing together with downloading.
In practical application; Can above-mentioned first kind of processing of all downloading again from server end in read schemes and the second kind of preparatory read schemes of part fully in advance be overlapped embodiment as one; Also can with above-mentioned first kind fully in advance in read schemes and the second kind of preparatory read schemes of part part from local cache reads, remainder continues download from server end processing as another set of embodiment, the embodiment of the invention does not limit this.
Based on the content of the foregoing description one, specify through embodiment two below and how to carry out webpage and read in advance, and how to specify according to screen touch action through embodiment three and carry out webpage and read in advance according to mouse action.
Embodiment two:
To the display device that has been equipped with mouse, present embodiment can analyze the web page interlinkage that will read in advance according to the current mouse action of user through any one or a few the combination in the following several method:
1, with mouse or touch one or more web page interlinkages that the residence time surpasses predetermined threshold value as the web page interlinkage that will read in advance.If the time that mouse stops in certain web page interlinkage surpasses predetermined threshold value, then with this web page interlinkage as the web page interlinkage that will read in advance.
If the user rests on mouse in certain web page interlinkage for a long time; Explain that probably the user is at the content of conscientiously reading this link (like the caption text or the picture of link); Thereby can infer the user that this is linked pairing web page contents is interested that clickthrough is understood its web page contents in depth probably.Therefore, this mode can analyze the web page interlinkage that will read in advance.
Need to prove that " stop " in the embodiment of the invention is broad sense, both comprised static stop fully, also comprise non-static stop fully.In concrete implementation procedure, the stop of mouse in certain web page interlinkage can draw through the state of mouse and the coordinate analysis of mouse, and two kinds of determination methods that the expression mouse stops are provided below:
A kind of determination methods is that if mouse remains static, and the stop place of mouse on screen thinks then that over against certain web page interlinkage that should be in this position mouse stops in this web page interlinkage.If the time that mouse stops surpasses preset certain threshold value, then this web page interlinkage meets the condition that reads in advance.
The determination methods of another kind of broad sense is; Mouse is not to be in stationary state completely; Maybe be because to run into mouse etc. a little former thereby slightly rock, be accustomed to chaining or it rocks on every side based on the user in other words with mouse, but on the whole; Mouse is that (like zone on every side) stops in the residing certain area coverage of certain web page interlinkage, and also can think that mouse stops this moment in this web page interlinkage.Concrete same, if the time that mouse stops in this manner surpasses preset certain threshold value, then this web page interlinkage meets the condition that reads in advance.
2, one or more web page interlinkages of mouse or touch being chosen are as the web page interlinkage that will read in advance.If choose certain web page interlinkage through mouse, then with this web page interlinkage as the web page interlinkage that will read in advance.
The user has chosen certain or certain several web page interlinkages through pressing and drag mouse or other modes of operation, and it is interested to explain that equally the user links pairing web page contents to this probably.For example, some users custom is chosen and is marked the bright mark that is used as with interested content and carry out emphasis and read in the process of browsing page, if these are selected or mark in the bright content and comprise web page interlinkage, then the user continues to click these links possibly.Therefore, this mode also can analyze the web page interlinkage that will read in advance.
For example; In concrete implementation procedure; If the user chooses web page interlinkage through pressing and drag mouse, then can analyze the state of mouse and the coordinate of mouse, when mouse is in that button is pressed and during the state that continues to drag; Content between the position that can button pressed and lift is as user's content selected, and the web page interlinkage that comprises in these selected contents promptly is the web page interlinkage that will read in advance that draws according to said mouse action analysis.
3, with mouse or touch moving direction or click one or more web page interlinkages on the direction as the web page interlinkage that will read in advance.In other words, with mouse moving direction or click part or all of web page interlinkage on the direction as the web page interlinkage that will read in advance.
Said mouse moving is meant the manual rolling mouse of user, and perhaps, the user moves up or down the page through the roll mouse pulley, and can think that mouse moves to the direction opposite with the page moving direction this moment.Some links are arranged on the extended line of mouse moving direction, and like links such as " following one pages ", these links are clicked probably, therefore can be used as the web page interlinkage that will read in advance.
But if the link on the direction of user's rolling mouse maybe be a lot, therefore not all link all possibly clicked, so can carry out certain filtration to the link on the moving direction in this case, generally is used for part link clocklike, as:
(1) page number link is like the link of expression page number orders such as " page up ", " following one page ", " [1], [2] .. "; If the user is according to the page number order rolling mouse of " [1], [2] .. ", then the user clicks these links possibly;
(2) top of webpage or bottom link commonly used is like " getting back to homepage ", " contacting us ", " help " etc.;
(3) related article of article content page or leaf link is like the related news link of news content page or leaf, the relevant blog article link of blog article content pages, the similar novel link of novel content pages etc.These peer links usually follow the back of article text closely or are positioned at the right side of article content page or leaf, have browsed one piece of article the user, continue the content that rolling mouse is browsed peer link probably, and select own interested link to click.
By on can know; During this web page interlinkage that will read in advance according to the mouse moving direction analysis; Also possibly combine the content (like " page up ") of anchor text, the pattern information such as (like the related article links of article content pages) that is linked at position on the page (like the link commonly used of the bottom of webpage), link that simple filtration is carried out in the link on the mouse moving direction, filter out and to be read in advance again by the link that the user clicks.
Similarly; Also can analyze the web page interlinkage that to read in advance according to the click direction of mouse; Because the click direction of mouse has also been represented the trend or the interest of user's browsing page, so can be with all or part of web page interlinkage on the click direction as the web page interlinkage that will read in advance.As previously mentioned, if the link on the click direction is a lot, be not that the all-links of clicking on the direction all possibly clicked, can filter usually, be used for part link clocklike, as:
(1) page number link is like the link of expression page number orders such as " page up ", " following one page ", " [1], [2] .. "; If the user clicks according to the page number order of " [1], [2] .. " successively, then the user clicks follow-up link possibly;
(2) top of webpage or bottom link commonly used is like " getting back to homepage ", " contacting us ", " help " etc.;
(3) related article of article content page or leaf link is like the related news link of news content page or leaf, the relevant blog article link of blog article content pages, the similar novel link of novel content pages etc.
One or more web page interlinkages of 4, mouse being amplified are as the web page interlinkage that will read in advance.
Pass through mouse action; Amplify certain web page interlinkage as press function keys such as ctrl through roll mouse pulley and cooperation; Perhaps through clicking the mouse right-click menu and select " amplifications " option to amplify certain web page interlinkage, or the like mode, the web page interlinkage amplification that can the user be selected.If certain web page interlinkage is exaggerated, represent that probably the user is interested in this web page interlinkage, the user may continue to click this web page interlinkage.Therefore, this mode also can analyze the web page interlinkage that will read in advance.
Four kinds of analytical approachs in sum in practical application, can be provided with wherein a kind of arbitrarily analytical approach separately in device that uses the said method of present embodiment or equipment, also various analysis can be set simultaneously.Need to prove; When the web page interlinkage of adopting the preceding method acquisition to read in advance; Can carry out certain filtration according to variety of way, even the associative operation that the condition in the preceding method also possibly not read in advance (such as some webpage, play object such as window and be not suitable for carrying out webpage and read in advance) is satisfied in i.e. some web page interlinkage.So still judge whether to satisfy aforementioned preparatory reading conditions earlier to filtering earlier, then not restriction of the embodiment of the invention is because can reach the same purpose.Certainly, under many circumstances, can not filter yet, perhaps only just filter under specific circumstances, as long as and then satisfy aforementioned preparatory reading conditions usually and just carry out webpage and read in advance.Therefore, the web page interlinkage of satisfying aforementioned preparatory reading conditions possibly be all to read in advance, also possibly be to have only part to read in advance, and possibly be that a web page interlinkage is read in advance, also possibly be a plurality of web page interlinkages are read in advance.And; If be provided with above four kinds of analytical approachs in certain device or the equipment simultaneously; So; When the mouse action information of current seizure is analyzed, can select wherein a kind of analytical to go out the web page interlinkage that to read in advance, also can several kinds of analytical approachs be combined and analyze the web page interlinkage that to read in advance jointly.
That is, can analyze the web page interlinkage that to read in advance in the following manner: with mouse or touch one or more web page interlinkages that the residence time surpasses predetermined threshold value as the web page interlinkage that will read in advance; And/or, with mouse or one or more web page interlinkages of touch amplifying as the web page interlinkage that will read in advance; And/or one or more web page interlinkages that mouse or touch are chosen are as the web page interlinkage that will read in advance; And/or, with mouse or touch moving direction or click one or more web page interlinkages on the direction as the web page interlinkage that will read in advance.For example; Be provided with above four kinds of analytical approachs in certain device or the equipment simultaneously; And the current mouse action information that captures is to have chosen certain web page interlinkage and in this web page interlinkage, stopped a period of time, can select above-mentioned mode 1 to analyze according to the mouse residence time when then analyzing separately; Also can select above-mentioned mode 2 to be about to selected web page interlinkage separately as the web page interlinkage that will read in advance.
Can also be with the web page interlinkage of satisfying following any two above conditions as the web page interlinkage that will read in advance: mouse or touch the residence time and surpass predetermined threshold value; Or mouse or touch are amplified; Or mouse or touch are chosen; Or, on mouse or touch moving direction or click direction.In other words, these several conditions can combination in any, satisfies a plurality of conditions in the lump and just can read in advance.
For example, can above-mentioned mode 1 and mode 2 be combined common judgement, when surpassing predetermined threshold value like the time of choosing certain web page interlinkage through mouse and in this web page interlinkage, stopping, just with this web page interlinkage as the web page interlinkage that will read in advance.
Based on the content of the foregoing description two, it will be recognized by those skilled in the art that except that above-mentioned four kinds of mouse actions enumerating to have additive method to analyze the web page interlinkage that will read in advance according to mouse action, enumerate no longer one by one at this.
Embodiment three:
To screen displaying equipment, can go out the web page interlinkage that will read in advance according to the screen touch motion analysis, the analytical approach of its analytical approach and mouse action is similar, includes but not limited to following several kinds:
(1) will touch web page interlinkage that the residence time surpasses predetermined threshold value as the web page interlinkage that will read in advance;
The web page interlinkage that (2) will touch amplification is as the web page interlinkage that will read in advance;
(3) web page interlinkage of touch being chosen is as the web page interlinkage that will read in advance;
(4) will touch the web page interlinkage that the part or all of web page interlinkage conduct on moving direction or the click direction will be read in advance.
In practical application; Touch-screen comprises single-point touches, multiple point touching, separated empty touch the multiple touch manners such as (promptly finger or felt pen do not contact touch-screen); Every kind of touch manner is not all to use above-mentioned several kinds of analytical approachs that provide; Every kind of touch manner all has the preferred separately analytical approach that is suitable for, and will specify respectively below.
1, single-point touches
Said single-point touches is meant through touch apparatus such as finger or felt pens pushes touch-screen with a point, touch-screen is received carry out corresponding operating after single-point is pushed signal.
Touch-screen just can perceive the position of user's touch, the information such as moving direction of touch point when the user touches through touch apparatus such as finger or felt pens; Catch touch action information so adopt following method usually; That is: the operating system of touch-screen also can be sent corresponding message to window when touch-screen has action; Through in window, handling these message and writing down accordingly, analyze, just can obtain the information such as mobile message, touch action of touch point.
In the single-point touches operation, can analyze the web page interlinkage that will read in advance according to following any one touch action:
(1) if single-point touches screen and touch to move and choose certain web page interlinkage, then with this web page interlinkage as the web page interlinkage that will read in advance;
This is a kind of operation more common in the single-point touches, in the present screen displaying equipment this function is provided basically all.Certainly, also can choose certain web page interlinkage through other touch operation.If the user has chosen certain web page interlinkage through touch operation, then touch possibly and click and should link, therefore can read this in advance links pairing web data.
(2) will touch the web page interlinkage that the web page interlinkage conduct on the click direction will be read in advance.
As previously mentioned, single-point touches is clicked trend or the interest that direction has also been represented user's browsing page, so can be with the web page interlinkage on the touch click direction as the web page interlinkage that will read in advance.But, be not that the all-links of clicking on the direction all possibly clicked, be generally used for clocklike below several kinds of links, as:
1. page number link is like the link of expression page number orders such as " page up ", " following one page ", " [1], [2] .. ";
2. the top of webpage or bottom link commonly used is like " getting back to homepage ", " contacting us ", " help " etc.;
3. the related article of article content page or leaf link is like the related news link of news content page or leaf, the relevant blog article link of blog article content pages, the similar novel link of novel content pages etc.
2, multiple point touching
Said multiple point touching is meant through touch apparatus such as finger or felt pens pushes touch-screen with a plurality of points, touch-screen is received carry out corresponding operating after multiple spot is pushed signal.
The method of seizure multiple point touching action message and the method for above-mentioned seizure single-point touches action message are similar, promptly confirm touch action through the touch message of handling window, are not described in detail in this.
Modal multiple point touching is 2 touches, promptly uses two fingers at the enterprising line operate of touch-screen, amplifies webpage like the action that separates gradually with two fingers, and the link between pointing this moment two is likely that the user wants the link of clicking.Therefore, if multiple point touching amplifies certain web page interlinkage, then can be with this web page interlinkage as the web page interlinkage that will read in advance.In the concrete implementation procedure, can set a threshold value N, get near N the link of mid point of two finger positions and read in advance.
3, touch at a distance from empty
The said touch at a distance from sky is meant that adopting special-purpose felt pen not contact touch-screen just can realize touch operation, receives behind empty touch signal touch-screen and carries out corresponding operating.
Similar at a distance from empty touch with single-point touches, but difference is: can also realize the operation that similar mouse moves at a distance from empty touch, and not contact, and single-point touches can't realize this operation usually with touch-screen.
In fact, similar at a distance from empty touch with mouse action, can be referring to the method for catching mouse action information so catch at a distance from the method for empty touch action information.A kind of method is the information such as position and state that the API through touch screen operating obtains special-purpose felt pen, and another kind of method is to confirm touch action through the touch message of handling window, is not described in detail in this.
Therefore, can be according to the method for the web page interlinkage that will read in advance at a distance from empty touch action analysis with reference to analytical approach according to mouse action, specific as follows:
(1) if the time that in certain web page interlinkage, stops at a distance from empty touch screen surpass predetermined threshold value, then with this web page interlinkage as the web page interlinkage that will read in advance;
Can realize stopping similar operation at a distance from empty touch, therefore also can judge whether this connection is read in advance according to the time that in certain web page interlinkage, stops with mouse.
(2) if at a distance from empty touch screen and touch to move and choose certain web page interlinkage, then with this web page interlinkage as the web page interlinkage that will read in advance;
(3) will touch moving direction or touch the web page interlinkage that the part or all of web page interlinkage conduct on the click direction will be read in advance at a distance from empty.
Also can realize moving or operation that click is similar at a distance from empty the touch with mouse.As previously mentioned, be not that moving direction or the all-links clicked on the direction all possibly clicked, be generally used for clocklike below several kinds of links, as:
1. page number link is like the link of expression page number orders such as " page up ", " following one page ", " [1], [2] .. ";
2. the top of webpage or bottom link commonly used is like " getting back to homepage ", " contacting us ", " help " etc.;
3. the related article of article content page or leaf link is like the related news link of news content page or leaf, the relevant blog article link of blog article content pages, the similar novel link of novel content pages etc.
Based on the content of the foregoing description three, it will be recognized by those skilled in the art that except that the above-mentioned several kinds of touch action of enumerating to have additive method to analyze the web page interlinkage that will read in advance according to touch action, enumerate no longer one by one at this.
Need to prove; Except the concrete implementation of above-mentioned several kinds of seizure screen touch action; Also have other implementations; Can not enumerate one by one, the present invention all can be applied to the embodiment of the invention to specifically how catching not restriction of screen touch action as long as can obtain the implementation of screen touch action.
In sum; How the foregoing description one to embodiment three has specified and to have carried out webpage according to mouse action or screen touch action and read in advance; Owing to whether comprise page number sequence independence in user's mouse action or screen touch action and the webpage; Therefore the webpage that carries out according to mouse action or screen touch action reads the webpage that is not limited to have page number order in advance, but is applicable to most webpages.
And prior art is only searched the literal of anchor points such as " following one pages ", for using picture to represent that the webpage of one page link is invalid down; And the present invention carries out webpage according to the current mouse action of user or screen touch action to read in advance; Link with which kind of form with following one page and to represent to have nothing to do; Therefore the present invention can head it off, can the webpage with various forms (no matter being literal or picture) expression link be played a role.
But, need to prove that the content of the foregoing description is suitable for simultaneously but is not limited to following several kinds of situation:
First; When webpage of user's browsing (being the webpage of current browsing) content; If comprised some web page interlinkages in this webpage; And go out needs according to the current mouse action of user or screen touch motion analysis and read some web page interlinkage wherein in advance, can read in advance this moment with being judged to be the pairing web data of the web page interlinkage of reading in advance in the current web page.Hence one can see that, and this scheme that reads in advance is relevant with the webpage of user's current browsing, because the link of reading in advance is included in the current page of browser window.
The second, for the update notifying service of user's subscription, like the RSS subscription information; Perhaps, be the update notifying of some webpages of user's dynamic monitoring, like certain bloger's of pushing its concern for the user up-to-date blog article; Perhaps; The message window that number of site or client-side program push, or the like, these are pushed in user's the information all possibly comprise web page interlinkage; If the user rests on mouse in certain web page interlinkage wherein; The situation of perhaps having chosen preambles such as certain web page interlinkage to describe can read these web page interlinkages in advance, supplies it to browse to make things convenient for the user to click can to represent fast to the user after this link.By on can know that the webpage of this scheme that reads in advance and user's current browsing maybe be relevant, but also possibly have nothing to do.For example the user maybe browsing the page of entertainment news; This moment, the Pop-up message window was pushed to the up-to-date blog article link of user; If the user chains certain blog article that mouse moves in the message bullet window and stop; Show that then the user possibly want to browse this blog article, can read in advance this moment to the corresponding web data of this blog article link.And the link of reading in advance can be included in the browser window and show, also can be included in the non-browser window to show.Said non-browser window is meant a kind of information exhibition instrument that is different from browser window, for example, the information that is pushed to the user can be not through browser window but position beyond browser window show, thereby can not influence current the browsing of user.
In practical application, for above-mentioned first kind of preparatory read schemes situation relevant with the webpage of user's current browsing, the application also provides a kind of embodiment, controls the execution of preparatory read schemes through the mode of white list or blacklist, with conserve system resources.Be elaborated through embodiment four below.
Embodiment four:
Numerous webpages are arranged on the internet; Not all webpage all is fit to the method that reads is in advance adopted in its web page interlinkage that comprises; More for example be exclusively used in the website homepage of search; Its homepage content generally only provides search window and several relevant links, just there is no need to read in advance according to user's mouse action or touch action for these links on the homepage, even because the user chooses or chain at these and to stop; Do not represent that the user hopes to browse the content of these links, the still function of search that the user more pays close attention to yet.Therefore, on these unaccommodated pages, adopt pre-reading method can cause resource waste.
For conserve system resources, can the combine list system improve the hit rate that reads in advance.That is, judge whether that according to preset white list needs carry out webpage and read in advance,, then trigger the execution that webpage reads in advance if the object of user's current browsing is included in the said white list; And/or, judge whether that according to preset blacklist needs carry out webpage and read in advance, if the object of user's current browsing is not included in the said blacklist, then trigger the execution that webpage reads in advance.Wherein, the object of user's current browsing comprises current various contents, such as current webpage, and other perhaps current information bullet windows, message box or the like.Need to prove, need only the content in the current visual range of user, can be regarded as the object of current browsing.
Particularly, the name single system can have following dual mode:
A kind of mode is a white list: list some webpage URL, or represent the information of one type of webpage, on these webpages, can take the scheme that reads in advance to its web page interlinkage that comprises;
Another kind of mode is a blacklist: list some webpage URL, or represent the information of one type of webpage, on these webpages, need not take the scheme that reads in advance to its web page interlinkage that comprises.
A kind of concrete implementation is; If employing white list; Then before embodiment one described step 101, judge whether to adopt preparatory read schemes according to preset white list earlier, if the webpage of user's current browsing is included in the said white list; Then can through catching mouse action or touch action information the web page interlinkage that comprises on this webpage be read in advance according to step 101 to 104; If the webpage of user's current browsing is not included in the said white list, then need not execution in step 101 to 104.Certainly, also can be after step 101, read judgement in advance before the step 102, even after step 102, before the step 103, do also feasiblely in theory, only not preferred plan.
If employing blacklist; Then before embodiment one described step 101; Judge whether to adopt preparatory read schemes according to preset blacklist earlier; If the webpage of user's current browsing is not included in the said blacklist, then can through catching mouse action or touch action information the web page interlinkage that comprises on this webpage be read in advance according to step 101 to 104; If the webpage of user's current browsing is included in the said white list, then need not execution in step 101 to 104.
In the practical application, select a kind of implementation in white list or the blacklist to get final product.
Illustrating below, is example with the white list, and a white list possibly comprise following content:
news.sohu.com
news.sina.com.cn
……×
The meaning of said white list is for when the user browses news.sohu.com or news.sina.com.cn, browser will analysis user the link that the user possibly click of looking ahead of mouse action or touch action on this page.
Further,, can also in said white list, preset mouse action or the screen touch action message analytical approach that each webpage is adopted, promptly specify the applicable analytical approach of certain webpage, make said analysis more targeted according to the difference of webpage.For example, be example with the mouse action, the theing contents are as follows an of white list:
news.sohu.com:1,2
www.programmer.com.cn/6167/:1,2,3
The meaning of said white list is when user capture webpage news.sohu.com, can adopt 1; 2 two kinds of methods analyst mouse actions (1, mouse is in residence time of link; 2, mouse is chosen linked contents), and do not take the 3rd kind of method (3, analyze mouse moving direction).When the user capture webpage, during http://www.programmer.com.cn/6167/, can adopt whole 3 kinds of methods to analyze mouse action.
By on can know, through above-mentioned white list or blacklist, only on the page that needs read in advance, adopt preparatory read schemes, thereby can avoid unnecessary system resource waste.
And, also belong to the current browsing object for the link (like the link in the message window) in above-mentioned second kind of non-browser window, and both can adopt list to control the execution of reading in advance, also can not adopt list to control.
If adopt list to control the execution of reading in advance, then can in list, add window control, as in white list, being provided with:
MSN window: 1,2
With the mouse action is example, and expression can be adopted 1,2 two kind of methods analyst mouse action to the MSN window.
If not adopting list controls; Then when the user moves to mouse in certain web page interlinkage in the message window; The analysis mouse action just reads in advance and or not controlled by list; Need not to judge whether earlier needs to catch the current mouse action information of user, can directly catch mouse action information and analyze the web page interlinkage that will read in advance, and read in advance.
Need to prove; For aforesaid each method embodiment, for simple description, so it all is expressed as a series of combination of actions; But those skilled in the art should know; The present invention does not receive the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
Embodiment five:
With reference to Fig. 2, be the structural drawing of the preparatory reading device of the embodiment of the invention five said a kind of webpages.
The preparatory reading device of said webpage can comprise mouse or touch action capture module 21, the link analysis module 22 of looking ahead, data pre-fetching module 23 and webpage read module 24, wherein:
Mouse or touch action capture module 21 are used to catch current mouse action of user or screen touch action message;
The link analysis module 22 of looking ahead is used for analyzing the web page interlinkage that will read in advance according to said user current mouse action or screen touch action message;
Data pre-fetching module 23 is used for reading the corresponding web data of said web page interlinkage in advance and being saved in local cache from server end;
Webpage read module 24 is used for when the user confirms to browse the said webpage that reads in advance, from local cache, directly reading said web data and supplying the user to browse.
For webpage read module 24; Finish and be saved in local cache if the corresponding web data of said web page interlinkage has all read from server end in advance, then said webpage read module 24 directly reads the corresponding web data of said web page interlinkage and supplies the user to browse from said local cache.
But; If the said corresponding web data of said web page interlinkage that from local cache, directly reads is a part of web data; Then said webpage read module 24 also can be used for continuing to read from said server end the data of remainder, merges with the partial data that reads from local cache to supply the user to browse.Perhaps, said in this case webpage read module 24 also can not use the data in the local cache, supplies the user to browse but read the corresponding web data of said web page interlinkage from server end again.
For the link analysis module 22 of looking ahead, further can comprise:
First analyzes submodule, is used for mouse or touches web page interlinkage that the residence time surpasses predetermined threshold value as the web page interlinkage that will read in advance; And/or,
Second analyzes submodule, is used for mouse or touches the web page interlinkage of amplifying as the web page interlinkage that will read in advance; And/or,
The 3rd analyzes submodule, and the web page interlinkage that is used for mouse or touch are chosen is as the web page interlinkage that will read in advance; And/or,
The 4th analyzes submodule, is used for the part or all of web page interlinkage on mouse or touch moving direction or the click direction as the web page interlinkage that will read in advance.
In practical application, the said link analysis module 22 of looking ahead can be provided with wherein analysis submodule arbitrarily separately, also a plurality of analysis submodules can be set simultaneously.And, analyze submodule if be provided with above-mentioned four simultaneously, so, when the mouse action information of current seizure is analyzed, can select one of them to analyze submodule and analyze the web page interlinkage that will read in advance.For example; Be provided with above-mentioned four in certain device simultaneously and analyze submodule; And the current mouse action information that captures is to have chosen certain web page interlinkage and in this web page interlinkage, stopped a period of time, can carry out analysis and judgement according to the mouse residence time separately when then analyzing; Also can be separately with selected web page interlinkage as the web page interlinkage that will read in advance.
In addition, the said link analysis module 22 of looking ahead can also comprise: the 5th analyzes submodule, is used for the web page interlinkage of satisfying following any two above conditions as the web page interlinkage that will read in advance:
The mouse or the touch residence time surpass predetermined threshold value; Or,
Mouse or touch are amplified; Or,
Mouse or touch are chosen; Or,
On mouse or touch moving direction or the click direction.
For the 5th analysis submodule, can several kinds of analysis conditions be combined and judge the web page interlinkage that to read in advance jointly.For example; Be provided with the 5th in certain device and analyze submodule; And the current mouse action information that captures is to have chosen certain web page interlinkage and in this web page interlinkage, stopped a period of time; Can these two conditions be combined common judgement when then analyzing, when surpassing predetermined threshold value like time of choosing certain web page interlinkage through mouse and in this web page interlinkage, stopping, just with this web page interlinkage as the web page interlinkage that will read in advance.In addition, according to practical situations, can also three or more a plurality of condition be combined and carry out analysis and judgement.In a word, these several conditions can combination in any, satisfies a plurality of conditions in the lump and just can read in advance.
Preferably, for conserve system resources, can also the combine list system improve the hit rate that reads in advance.Therefore, said device can also comprise and read judge module 25 in advance, and particularly, reading judge module 25 in advance can have multiple concrete implementation again, such as, can be first to read judge module in advance, and/or second read judge module, wherein:
First reads judge module in advance, is used for judging whether that according to preset white list needs carry out webpage and read in advance, if the object of user's current browsing is included in the said white list, then triggers the execution that webpage reads in advance;
Second reads judge module in advance, is used for judging whether that according to preset blacklist needs carry out webpage and read in advance, if the object of user's current browsing is not included in the said blacklist, then triggers the execution that webpage reads in advance.
Wherein, the object of user's current browsing comprises current various contents, such as current webpage, and other perhaps current information bullet windows, message box or the like.Need to prove, need only the content in the current visual range of user, can be regarded as the object of current browsing.
And; Carry out webpage when reading in advance at needs; Saidly read judge module 25 in advance to trigger the execution that webpages read in advance can be the execution that triggers mouse or touch action capture module 21, promptly before step 101 shown in Figure 1 is carried out the seizure of mouse or touch action, just read judgement in advance according to white list or blacklist; This is a kind of preferred scheme, can farthest avoid unnecessary system resource waste.Certainly, also can be after step 101 shown in Figure 1, read judgement in advance before the step 102, at this moment saidly read judge module 25 in advance to trigger execution that webpages read in advance just can be the look ahead execution of link analysis module 22 of triggering; In addition, can also be after step 102, read judgement in advance before the step 103, at this moment saidly read judge module 25 in advance to trigger the execution that webpages read in advance can be the execution of trigger data prefetch module 23.
Further preferred, in order to make above-mentioned analysis more targeted, said device can also comprise:
Read configuration module 26 in advance, be used for the mouse action or the screen touch action message analytical approach that are adopted at preset each webpage of said white list.
Preferably, the above-mentioned web page interlinkage that will read in advance comprises:
The web page interlinkage that comprises in the webpage of user's current browsing; And/or,
Be pushed to the web page interlinkage that comprises in user's the page refreshment prompting message.
In sum, the preparatory reading device of above-mentioned webpage can move to judge to read which webpage in advance according to user current mouse action or screen touch, thereby accelerates the demonstration of browser page.Owing to whether comprise page number sequence independence in user's mouse action or screen touch action and the webpage; Therefore the webpage that carries out according to mouse action or screen touch action reads the webpage that is not limited to have page number order in advance, but is applicable to most webpages.
Said apparatus embodiment is because similar basically with method embodiment, so description is fairly simple, relevant part can get final product referring to the explanation of method embodiment shown in the embodiment one to embodiment four, is not described in detail in this.
Embodiment six:
Based on said apparatus embodiment, the present invention also provides a kind of embodiment of browser.Said browser comprises preparatory reading device of above-mentioned webpage and browser rs cache, can accelerate display web page, is applicable to the demonstration of most webpages on the present network.Certainly, the preparatory reading device of aforesaid webpage can also be accomplished function corresponding together with other devices, also is not limited to be contained in the browser.
Said browser can be used in numerous general or special purpose computingasystem environment or the configuration.For example: personal computer, server computer, handheld device or portable set, multicomputer system, network PC, small-size computer, mainframe computer, comprise DCE of above any system or equipment or the like.
The detailed content of this browser embodiment can be not described in detail in this referring to the description of the preparatory reading device of above-mentioned webpage shown in Figure 2.
In sum, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.
At last; Also need to prove; In this article; Relational terms such as first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint relation or the order that has any this reality between these entities or the operation.
And, in the preceding text " and/or " expression this paper both comprised " with " relation, also comprised " or " relation, wherein: if option A and option b be " with " relation, then represent can to comprise option A and option b simultaneously among certain embodiment; If option A and option b be " or " relation, then represent can comprise option A separately among certain embodiment, perhaps comprise option b separately.
More than method, device and a kind of browser that a kind of webpage provided by the present invention is read in advance; Carried out detailed introduction; Used concrete example among this paper principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (18)

1. the method that webpage reads in advance is characterized in that, comprising:
Catch current mouse action or the screen touch action message of user;
Mouse action or the screen touch action message current according to said user analyze the web page interlinkage that will read in advance, read the corresponding web data of said web page interlinkage in advance and are saved in local cache from server end;
When the user confirms to browse the said webpage that reads in advance, from local cache, directly read said web data and supply the user to browse.
2. method according to claim 1 is characterized in that, saidly from local cache, directly reads said web data and supplies the user to browse to comprise:
Finish and be saved in local cache if the corresponding web data of said web page interlinkage has all read from server end in advance, then from said local cache, directly read the corresponding web data of said web page interlinkage and supply the user to browse.
3. method according to claim 2 is characterized in that, if the corresponding web data of said web page interlinkage that from local cache, directly reads is a part of web data, then also comprises:
Continue to read the data of remainder from said server end, merge with the partial data that reads from local cache and supply the user to browse.
4. method according to claim 1 is characterized in that, analyzes the web page interlinkage that will read in advance in the following manner:
With mouse or touch one or more web page interlinkages that the residence time surpasses predetermined threshold value as the web page interlinkage that will read in advance; And/or,
With mouse or one or more web page interlinkages of touch amplifying as the web page interlinkage that will read in advance; And/or,
One or more web page interlinkages that mouse or touch are chosen are as the web page interlinkage that will read in advance; And/or,
With mouse or touch moving direction or click one or more web page interlinkages on the direction as the web page interlinkage that will read in advance.
5. method according to claim 1 is characterized in that, analyzes the web page interlinkage that will read in advance in the following manner:
With the web page interlinkage of satisfying following any two above conditions as the web page interlinkage that will read in advance:
The mouse or the touch residence time surpass predetermined threshold value; Or,
Mouse or touch are amplified; Or,
Mouse or touch are chosen; Or,
On mouse or touch moving direction or click direction.
6. method according to claim 1 is characterized in that, the screen touch action message current according to said user analyzes the web page interlinkage that will read in advance, comprising:
If the single-point touches screen also touches to move and chooses certain web page interlinkage, then with this web page interlinkage as the web page interlinkage that will read in advance; And/or,
If multiple point touching amplifies certain web page interlinkage, then with this web page interlinkage as the web page interlinkage that will read in advance; And/or,
If the time that in certain web page interlinkage, stops at a distance from empty touch screen surpasses predetermined threshold value, then with this web page interlinkage as the web page interlinkage that will read in advance; And/or,
If at a distance from empty touch screen and touch to move and choose certain web page interlinkage, then with this web page interlinkage as the web page interlinkage that will read in advance; And/or,
To touch moving direction or touch the web page interlinkage that the part or all of web page interlinkage conduct on the click direction will be read in advance at a distance from empty.
7. according to the arbitrary described method of claim 1 to 6, it is characterized in that, also comprise:
White list according to preset judges whether that needs carry out webpage and read in advance, if the object of user's current browsing is included in the said white list, then triggers the execution that webpage reads in advance;
And/or,
Blacklist according to preset judges whether that needs carry out webpage and read in advance, if the object of user's current browsing is not included in the said blacklist, then triggers the execution that webpage reads in advance.
8. method according to claim 7 is characterized in that, also comprises:
Preset each webpage is adopted in said white list mouse action or screen touch action message analytical approach.
9. method according to claim 1 is characterized in that, the said web page interlinkage that will read in advance comprises:
The web page interlinkage that comprises in the webpage of user's current browsing; And/or,
Be pushed to the web page interlinkage that comprises in user's the page refreshment prompting message.
10. the device that webpage reads in advance is characterized in that, comprising:
Mouse or touch action capture module are used to catch current mouse action of user or screen touch action message;
The link analysis module of looking ahead is used for analyzing the web page interlinkage that will read in advance according to said user current mouse action or screen touch action message;
The data pre-fetching module is used for reading the corresponding web data of said web page interlinkage in advance and being saved in local cache from server end;
The webpage read module is used for when the user confirms to browse the said webpage that reads in advance, from local cache, directly reading said web data and supplying the user to browse.
11. device according to claim 10 is characterized in that:
Finish and be saved in local cache if the corresponding web data of said web page interlinkage has all read from server end in advance, then said webpage read module directly reads the corresponding web data of said web page interlinkage and supplies the user to browse from said local cache.
12. device according to claim 11 is characterized in that:
If the corresponding web data of said web page interlinkage that from local cache, directly reads is a part of web data; Then said webpage read module also is used for continuing to read from said server end the data of remainder, merges with the partial data that reads from local cache to supply the user to browse.
13. device according to claim 10 is characterized in that, the said link analysis module of looking ahead comprises:
First analyzes submodule, is used for mouse or touches one or more web page interlinkages that the residence time surpasses predetermined threshold value as the web page interlinkage that will read in advance; And/or,
Second analyzes submodule, is used for mouse or touches one or more web page interlinkages of amplifying as the web page interlinkage that will read in advance; And/or,
The 3rd analyzes submodule, and the one or more web page interlinkages that are used for mouse or touch are chosen are as the web page interlinkage that will read in advance; And/or,
The 4th analyzes submodule, is used for the one or more web page interlinkages on mouse or touch moving direction or the click direction as the web page interlinkage that will read in advance.
14. device according to claim 10 is characterized in that, the said link analysis module of looking ahead comprises:
The 5th analyzes submodule, is used for the web page interlinkage of satisfying following any two above conditions as the web page interlinkage that will read in advance:
The mouse or the touch residence time surpass predetermined threshold value; Or,
Mouse or touch are amplified; Or,
Mouse or touch are chosen; Or,
On mouse or touch moving direction or the click direction.
15. according to the arbitrary described device of claim 10 to 14, it is characterized in that, also comprise:
First reads judge module in advance, is used for judging whether that according to preset white list needs carry out webpage and read in advance, if the object of user's current browsing is included in the said white list, then triggers the execution that webpage reads in advance;
And/or,
Second reads judge module in advance, is used for judging whether that according to preset blacklist needs carry out webpage and read in advance, if the object of user's current browsing is not included in the said blacklist, then triggers the execution that webpage reads in advance.
16. device according to claim 15 is characterized in that, also comprises:
Read configuration module in advance, be used for the mouse action or the screen touch action message analytical approach that are adopted at preset each webpage of said white list.
17. device according to claim 10 is characterized in that, the said web page interlinkage that will read in advance comprises:
The web page interlinkage that comprises in the webpage of user's current browsing; And/or,
Be pushed to the web page interlinkage that comprises in user's the page refreshment prompting message.
18. a browser is characterized in that, comprises like the preparatory reading device of the described webpage of the arbitrary claim of claim 10 to 17.
CN201110148843.2A 2011-06-03 A kind of method of webpage pre-read, device and a kind of browser Active CN102810101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110148843.2A CN102810101B (en) 2011-06-03 A kind of method of webpage pre-read, device and a kind of browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110148843.2A CN102810101B (en) 2011-06-03 A kind of method of webpage pre-read, device and a kind of browser

Publications (2)

Publication Number Publication Date
CN102810101A true CN102810101A (en) 2012-12-05
CN102810101B CN102810101B (en) 2016-12-14

Family

ID=

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327267A (en) * 2013-06-26 2013-09-25 Tcl集团股份有限公司 Video playing method, device and television
CN103390050A (en) * 2013-07-24 2013-11-13 北京小米科技有限责任公司 Webpage prefetching method and device, and terminal equipment
CN103678479A (en) * 2013-09-30 2014-03-26 北京搜狗科技发展有限公司 Method, device and browser for accelerating browser pre-reading
CN103870470A (en) * 2012-12-11 2014-06-18 腾讯科技(深圳)有限公司 Method for loading resource files of application and loading device
CN103870191A (en) * 2012-12-18 2014-06-18 腾讯科技(深圳)有限公司 Method and electronic equipment for saving webpage
CN104050170A (en) * 2013-03-12 2014-09-17 腾讯科技(深圳)有限公司 Reminding method and device for website subscription content
CN104113464A (en) * 2013-04-16 2014-10-22 腾讯科技(深圳)有限公司 Interaction method based on instant communication prompt, interaction device based on instant communication prompt, and interaction system based on instant communication prompt
CN104168174A (en) * 2013-05-16 2014-11-26 阿里巴巴集团控股有限公司 Method and apparatus for information transmission
WO2015051694A1 (en) * 2013-10-11 2015-04-16 张维加 Externally-connected computer accelerating device based on novel material
CN104572997A (en) * 2015-01-07 2015-04-29 北京智谷睿拓技术服务有限公司 Content acquiring method and device and user device
CN105095374A (en) * 2015-06-30 2015-11-25 北京奇虎科技有限公司 Method and device for browsing mobile terminal news
CN105302801A (en) * 2014-05-27 2016-02-03 腾讯科技(深圳)有限公司 Resource caching method and apparatus
CN105357192A (en) * 2015-10-29 2016-02-24 小米科技有限责任公司 Method, device and system for pushing webpage
CN105468227A (en) * 2014-09-12 2016-04-06 北京畅游天下网络技术有限公司 Method and apparatus for displaying information in webpage
WO2016150136A1 (en) * 2015-03-26 2016-09-29 中兴通讯股份有限公司 Webpage updating method and system and webpage server
CN106648595A (en) * 2016-09-30 2017-05-10 乐视控股(北京)有限公司 Method and device for message jump
CN107229405A (en) * 2016-03-25 2017-10-03 广州市动景计算机科技有限公司 Method, equipment, browser and electronic equipment for providing web page contents
CN107609184A (en) * 2017-09-30 2018-01-19 北京奇虎科技有限公司 Data load method and device based on web page browsing behavior
JP2018506110A (en) * 2014-12-26 2018-03-01 北京京東尚科信息技術有限公司Beijing Jingdong Shangke Information Technology Co., Ltd. Web page loading method and system
CN107943825A (en) * 2017-10-19 2018-04-20 阿里巴巴集团控股有限公司 Data processing method, device and the electronic equipment of page access
CN108319420A (en) * 2018-01-02 2018-07-24 武汉斗鱼网络科技有限公司 A kind of picture loading method and device
CN108989380A (en) * 2018-05-23 2018-12-11 西安万像电子科技有限公司 Image data transmission method, device and system
CN109684000A (en) * 2018-09-07 2019-04-26 平安科技(深圳)有限公司 APP data display method, device, equipment and computer readable storage medium
CN110264283A (en) * 2019-06-27 2019-09-20 珠海天燕科技有限公司 A kind of popularization resource exhibition method and device
CN117131304A (en) * 2023-08-11 2023-11-28 北京无忧创想信息技术有限公司 A web page resource loading method, system, electronic device and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1841284A (en) * 2005-03-28 2006-10-04 上海桐港信息科技有限公司 Touch screen type mobile apparatus micro-browser webpage displaying and drifting method
EP1800228A1 (en) * 2004-09-27 2007-06-27 Browster, Inc. Method and apparatus for enhanced browsing
CN101075236A (en) * 2006-06-12 2007-11-21 腾讯科技(深圳)有限公司 Apparatus and method for accelerating browser webpage display
CN101082917A (en) * 2006-06-02 2007-12-05 千橡世纪科技发展(北京)有限公司 Method and apparatus for rapid previewing summary of web page content
CN101420490A (en) * 2008-05-30 2009-04-29 北京天腾时空信息科技有限公司 Data reading method and device
CN101800882A (en) * 2010-01-19 2010-08-11 华为技术有限公司 Method, device, equipment and system for optimizing delay

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1800228A1 (en) * 2004-09-27 2007-06-27 Browster, Inc. Method and apparatus for enhanced browsing
CN1841284A (en) * 2005-03-28 2006-10-04 上海桐港信息科技有限公司 Touch screen type mobile apparatus micro-browser webpage displaying and drifting method
CN101082917A (en) * 2006-06-02 2007-12-05 千橡世纪科技发展(北京)有限公司 Method and apparatus for rapid previewing summary of web page content
CN101075236A (en) * 2006-06-12 2007-11-21 腾讯科技(深圳)有限公司 Apparatus and method for accelerating browser webpage display
CN101420490A (en) * 2008-05-30 2009-04-29 北京天腾时空信息科技有限公司 Data reading method and device
CN101800882A (en) * 2010-01-19 2010-08-11 华为技术有限公司 Method, device, equipment and system for optimizing delay

Cited By (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870470A (en) * 2012-12-11 2014-06-18 腾讯科技(深圳)有限公司 Method for loading resource files of application and loading device
CN103870191B (en) * 2012-12-18 2017-12-26 腾讯科技(深圳)有限公司 The method and electronic equipment that webpage preserves
CN103870191A (en) * 2012-12-18 2014-06-18 腾讯科技(深圳)有限公司 Method and electronic equipment for saving webpage
CN104050170A (en) * 2013-03-12 2014-09-17 腾讯科技(深圳)有限公司 Reminding method and device for website subscription content
CN104050170B (en) * 2013-03-12 2019-01-29 腾讯科技(深圳)有限公司 Website subscribed content based reminding method and device
US10200316B2 (en) 2013-04-16 2019-02-05 Tencent Technology (Shenzhen) Company Limited Interactions based on instant messaging
CN104113464B (en) * 2013-04-16 2017-11-10 腾讯科技(深圳)有限公司 Exchange method, device and system based on instant messaging prompting
CN104113464A (en) * 2013-04-16 2014-10-22 腾讯科技(深圳)有限公司 Interaction method based on instant communication prompt, interaction device based on instant communication prompt, and interaction system based on instant communication prompt
CN104168174A (en) * 2013-05-16 2014-11-26 阿里巴巴集团控股有限公司 Method and apparatus for information transmission
CN103327267A (en) * 2013-06-26 2013-09-25 Tcl集团股份有限公司 Video playing method, device and television
CN103390050A (en) * 2013-07-24 2013-11-13 北京小米科技有限责任公司 Webpage prefetching method and device, and terminal equipment
CN103678479A (en) * 2013-09-30 2014-03-26 北京搜狗科技发展有限公司 Method, device and browser for accelerating browser pre-reading
WO2015051694A1 (en) * 2013-10-11 2015-04-16 张维加 Externally-connected computer accelerating device based on novel material
CN105302801A (en) * 2014-05-27 2016-02-03 腾讯科技(深圳)有限公司 Resource caching method and apparatus
CN105468227B (en) * 2014-09-12 2018-11-16 北京畅游天下网络技术有限公司 Information displaying method and device in a kind of webpage
CN105468227A (en) * 2014-09-12 2016-04-06 北京畅游天下网络技术有限公司 Method and apparatus for displaying information in webpage
JP2018506110A (en) * 2014-12-26 2018-03-01 北京京東尚科信息技術有限公司Beijing Jingdong Shangke Information Technology Co., Ltd. Web page loading method and system
WO2016110259A1 (en) * 2015-01-07 2016-07-14 Beijing Zhigu Rui Tuo Tech Co., Ltd. Content acquiring method and apparatus, and user equipment
CN104572997A (en) * 2015-01-07 2015-04-29 北京智谷睿拓技术服务有限公司 Content acquiring method and device and user device
WO2016150136A1 (en) * 2015-03-26 2016-09-29 中兴通讯股份有限公司 Webpage updating method and system and webpage server
US11057384B2 (en) 2015-03-26 2021-07-06 Xi'an Zhongxing New Software Co., Ltd. Webpage updating method and system and webpage server
CN105095374A (en) * 2015-06-30 2015-11-25 北京奇虎科技有限公司 Method and device for browsing mobile terminal news
CN105357192A (en) * 2015-10-29 2016-02-24 小米科技有限责任公司 Method, device and system for pushing webpage
CN107229405A (en) * 2016-03-25 2017-10-03 广州市动景计算机科技有限公司 Method, equipment, browser and electronic equipment for providing web page contents
US10996845B2 (en) 2016-03-25 2021-05-04 Alibaba Group Holding Limited Method, application, browser, and electronic device for providing webpage content
CN106648595A (en) * 2016-09-30 2017-05-10 乐视控股(北京)有限公司 Method and device for message jump
CN107609184A (en) * 2017-09-30 2018-01-19 北京奇虎科技有限公司 Data load method and device based on web page browsing behavior
CN107943825A (en) * 2017-10-19 2018-04-20 阿里巴巴集团控股有限公司 Data processing method, device and the electronic equipment of page access
WO2019076140A1 (en) * 2017-10-19 2019-04-25 阿里巴巴集团控股有限公司 Data processing method and apparatus for page access and electronic device
TWI695261B (en) * 2017-10-19 2020-06-01 香港商阿里巴巴集團服務有限公司 Data processing method, device and electronic equipment for page access
CN108319420B (en) * 2018-01-02 2020-04-10 武汉斗鱼网络科技有限公司 Picture loading method and device
CN108319420A (en) * 2018-01-02 2018-07-24 武汉斗鱼网络科技有限公司 A kind of picture loading method and device
CN108989380A (en) * 2018-05-23 2018-12-11 西安万像电子科技有限公司 Image data transmission method, device and system
CN108989380B (en) * 2018-05-23 2021-06-04 西安万像电子科技有限公司 Image data transmission method, device and system
CN109684000A (en) * 2018-09-07 2019-04-26 平安科技(深圳)有限公司 APP data display method, device, equipment and computer readable storage medium
CN109684000B (en) * 2018-09-07 2023-04-11 平安科技(深圳)有限公司 APP data display method, device, equipment and computer readable storage medium
CN110264283A (en) * 2019-06-27 2019-09-20 珠海天燕科技有限公司 A kind of popularization resource exhibition method and device
CN110264283B (en) * 2019-06-27 2021-06-22 珠海天燕科技有限公司 Popularization resource display method and device
CN117131304A (en) * 2023-08-11 2023-11-28 北京无忧创想信息技术有限公司 A web page resource loading method, system, electronic device and medium

Similar Documents

Publication Publication Date Title
US10534833B2 (en) Facilitating navigation of a webpage on a computer device
CN102830894B (en) A kind of method and apparatus collecting webpage
US9977768B2 (en) System for clipping webpages by traversing a dom, and highlighting a minimum number of words
US20100146012A1 (en) Previewing search results for suggested refinement terms and vertical searches
CN102737037A (en) Webpage pre-reading method, device and browser
JP5992467B2 (en) Scroll control method of terminal, apparatus thereof and computer-readable recording medium
CN104281677A (en) Page displaying method and device
CN102792244A (en) Preview function for increased browsing speed
CN104423991B (en) Webpage, the method and device that web data is provided are loaded in mobile terminal
JP6039613B2 (en) Display program, terminal device, display method, and distribution device
US20130305136A1 (en) Flip Ahead Input for Content Navigation
US20140089787A1 (en) Information processing device, information processing method, information processing program, and recording medium in which information processing program is recorded
CN104145265A (en) Systems and methods involving features of seach and/or search integration
CN102893259A (en) Embedded search bar
CN101252745B (en) Mobile communication terminal and method for accessing the internet using a mobile communication terminal
CN104133905A (en) System and method for carrying out clicking word taking search through searcher
CN105224552B (en) Network information processing method, device and system
JP6844206B2 (en) Programs, information processing methods, and information processing equipment
JP2015022656A (en) Electronic device, method and program
CN103177081A (en) Search result web page displayed through searching browser after left key word selecting mouse is hovered
CN102222087A (en) Method for performing search navigation by activating search navigation window special for display
CN102810101A (en) Webpage pre-reading method and device and browser
CN102279860B (en) Mobile phone network information navigation system and realizing method thereof
CN103020183A (en) Search share operation by selecting string and activating search share bar by left button
CN102810101B (en) A kind of method of webpage pre-read, device and a kind of browser

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