CN107609184A - Data load method and device based on web page browsing behavior - Google Patents

Data load method and device based on web page browsing behavior Download PDF

Info

Publication number
CN107609184A
CN107609184A CN201710914888.3A CN201710914888A CN107609184A CN 107609184 A CN107609184 A CN 107609184A CN 201710914888 A CN201710914888 A CN 201710914888A CN 107609184 A CN107609184 A CN 107609184A
Authority
CN
China
Prior art keywords
page
data
web
browser
web data
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.)
Pending
Application number
CN201710914888.3A
Other languages
Chinese (zh)
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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201710914888.3A priority Critical patent/CN107609184A/en
Publication of CN107609184A publication Critical patent/CN107609184A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a kind of data load method and device based on web page browsing behavior, the above method includes:The next step operation for monitoring user in a browser is when browsing the first navigation patterns of new page, to start timer;If the timing duration of the timer exceedes default value, the first data acquisition request of the web data for obtaining the new page is sent to server;Receive the server and respond the web data that first data acquisition request returns, the web data is stored in and cached.According to the data load method provided by the invention based on web page browsing behavior, the navigation patterns of user can be monitored in a browser, and have loaded the web data of new page automatically in advance, quickly provided when initiating so as to user and browse new page behavior.

Description

Data load method and device based on web page browsing behavior
Technical field
The present invention relates to Internet technical field, more particularly to a kind of data load method based on web page browsing behavior And device.
Background technology
With the continuous popularization of Internet technology, search and reading that browser enters row information can be commonly used in people.So And due in webpage available information content it is huge, and embedded element is more, causes user when browsing, number is shown in webpage According to speed it is slower.
At present, when carrying out browser page progress data display, typically with the page by the way of waterfall stream The data of automatic loading next screen are rolled, and the continuously form of expression is presented in page structure.If user wants to see in form Other columns of lower section, then need continuously to load always, reached setting limit, Consumer's Experience is not high, and consumes larger Internet resources, and be not suitable for the situation of page turning.
The content of the invention
The invention provides a kind of data load method based on web page browsing behavior and device with overcome above mentioned problem or Person solves the above problems at least in part.
According to an aspect of the invention, there is provided a kind of data load method based on web page browsing behavior, including:
The next step operation for monitoring user in a browser is when browsing the first navigation patterns of new page, to start timing Device;
If the timing duration of the timer exceedes default value, the webpage for obtaining the new page is sent to server First data acquisition request of data;
Receive the server and respond the web data that first data acquisition request returns, the web data is deposited Enter caching.
Alternatively, the next step operation for monitoring user in a browser is to browse the first navigation patterns of new page When, start timer, including:
When monitoring that mouse pointer is hovered in the page-turning button in browser current page, start the timer.
Alternatively, the web data for receiving the server and responding the first data acquisition request return, by institute After stating web data deposit caching, in addition to:
If continuation monitors that user's initiation browses the second of new page and browses row in the browser current page For, and judge web data corresponding with second navigation patterns in the caching be present, then obtain and browsed with described second Web data is loaded corresponding to behavior.
Alternatively, if described monitor that the user initiates to browse the second of new page in the browser current page Navigation patterns, and judge web data corresponding with second navigation patterns in the caching be present, then obtain the webpage number According to and loaded, including:
If monitoring, the page-turning button in the browser current page is triggered, and exists in the caching and turned over described The web data of page button corresponding page, then obtain the web data and loaded.
Alternatively, the next step operation for monitoring user in a browser is to browse the first navigation patterns of new page When, start timer, in addition to:
When monitoring that any webpage is opened in the browser, start the timer.
Alternatively, if the timing duration of the timer exceedes default value, sent to server described in obtaining First data acquisition request of the web data of new page, including:
If the timing duration of the timer exceedes default value, and detect the page turning in the browser page by Button then sends the first data acquisition request of the web data for obtaining the new page in current window to server.
Alternatively, the web data for receiving the server and responding the first data acquisition request return, by institute After stating web data deposit caching, in addition to:
The prompt message for having completed caching is shown in the browser current page.
Alternatively, it is described shown in the browser current page completed caching prompt message, including:
Increase floating frame newly in the browser current display page, complete carrying for caching described in display in the floating frame Show information.
Alternatively, the web data for receiving the server and responding the first data acquisition request return, by institute After stating web data deposit caching, in addition to:
If continuation monitors that user's initiation browses the second of new page and browses row in the browser current page For, and judge web data corresponding with second navigation patterns is not present in the caching, then send and obtain to server Second data acquisition request of web data corresponding with second navigation patterns;
The server is received to respond the web data that second data acquisition request returns and loaded.
Alternatively, if the continuation monitors that the user initiates to browse new page in the browser current page Second navigation patterns, and judge web data corresponding with second navigation patterns is not present in the caching, then to service Device sends the second data acquisition request for obtaining web data corresponding with second navigation patterns, including:
If monitoring that the page-turning button is triggered in the browser current page, and judge not deposit in the caching In the web data with the page-turning button corresponding page, then sent to the server and obtain page corresponding with the page-turning button Second data acquisition request of the web data in face.
According to another aspect of the present invention, there is provided a kind of data loading device based on web page browsing behavior, including:
Timing module, it is configured to monitor that the next step operation of user browses to browse the first of new page in a browser During behavior, start timer;
First sending module, it is configured to when the timing duration of the timer exceedes default value, is sent to server Obtain the first data acquisition request of the web data for the new page that the user will browse;
First receiving module, it is configured to receive the webpage number that the server responds the first data acquisition request return According to by web data deposit caching.
Alternatively, the timing module is additionally configured to:
When monitoring that mouse pointer is hovered in the page-turning button in browser current page, start the timer.
Alternatively, said apparatus also includes:
Data load-on module, if being configured to continue to monitor that the user initiates to browse in the browser current page Second navigation patterns of new page, and judge web data corresponding with second navigation patterns in the caching be present, then The web data corresponding with second navigation patterns is obtained to be loaded.
Alternatively, the data load-on module is additionally configured to:
When monitoring that the page-turning button in the browser current page is triggered, and exist in the caching and turned over described The web data of page button corresponding page, then obtain the web data and loaded.
Alternatively, the timing module is additionally configured to:
When monitoring that any webpage is opened in the browser, start the timer.
Alternatively, first sending module is additionally configured to:
If the timing duration of the timer exceedes default value, and detect the page turning in the browser page by Button then sends the first data acquisition request of the web data for obtaining the new page in current window to server.
Alternatively, said apparatus also includes:
Information display module, it is configured to show the prompt message for having completed caching in the browser current page.
Alternatively, described information display module is additionally configured to:
Increase floating frame newly in the browser current display page, complete carrying for caching described in display in the floating frame Show information.
Alternatively, in addition to:
Second sending module, if being configured to continue to monitor that the user initiates to browse in the browser current page Second navigation patterns of new page, and judge web data corresponding with second navigation patterns is not present in the caching, The second data acquisition request for obtaining web data corresponding with second navigation patterns is then sent to server;
Second receiving module, it is configured to receive the webpage number that the server responds the second data acquisition request return According to and loaded.
Alternatively, second sending module is additionally configured to:
If monitoring that the page-turning button is triggered in the browser current page, and judge not deposit in the caching In the web data with the page-turning button corresponding page, then sent to the server and obtain page corresponding with the page-turning button Second data acquisition request of the web data in face.
According to a further aspect of the invention, a kind of computer program, including computer-readable code are additionally provided, works as institute When stating computer-readable code and running on the computing device, cause base of the computing device according to any of the above-described In the data load method of web page browsing behavior.
According to a further aspect of the invention, a kind of computer-readable medium is additionally provided, wherein storing institute as described above The computer program stated.
The invention provides a kind of data load method and device based on web page browsing behavior, based on provided by the invention Method, the data that be able to will be browsed to user by monitoring the navigation patterns of user in a browser preload, and work as monitoring Next step to user is operated to open timer when browsing new page, and the timing duration to timer is set, and is exceeded The request for the web data for obtaining new page can be sent from trend server during default value, and receive browser based on above-mentioned Caching is stored in after the returned data of request., can according to the data load method provided by the invention based on web page browsing behavior The navigation patterns of user are monitored in a browser, and have loaded the web data of new page automatically in advance, so that user's initiation is clear Look at new page behavior when quickly provide.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.
According to the accompanying drawings will be brighter to the detailed description of the specific embodiment of the invention, those skilled in the art Above-mentioned and other purposes, the advantages and features of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 is the data load method schematic flow sheet according to an embodiment of the invention based on web page browsing behavior;
Fig. 2 is the data load method flow signal in accordance with another embodiment of the present invention based on web page browsing behavior Figure;
Fig. 3 is the signal of the data load method flow based on web page browsing behavior in accordance with a preferred embodiment of the present invention Figure;
Fig. 4 is shown according to the data load method flow based on web page browsing behavior of another preferred embodiment of the present invention It is intended to;
Fig. 5 is that the prompting according to embodiments of the present invention that completion has been cached in browser current display page prompting user is shown It is intended to;
Fig. 6 is the data loading device structural representation according to embodiments of the present invention based on web page browsing behavior;
Fig. 7 data loading device structural representations according to the preferred embodiment of the invention based on web page browsing behavior;
Fig. 8 is the loading of the data based on web page browsing behavior for being used to perform according to the present invention according to embodiments of the present invention The block diagram representation of the computing device of method;
Fig. 9 is according to embodiments of the present invention for keeping or carrying realization according to the present invention based on web page browsing row For data load method program code memory cell schematic diagram.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
User generally in browsing pages, by the way of waterfall stream, loads next screen automatically when carrying out web page browsing Data.The implementation method of waterfall stream is according to user during browsing pages, by judging the page in current window Content and the distance of page bottom, when distance is less than a threshold value, then initiate to ask request of data, will after request of data success The data supplementing asked is to behind original content.The above method is the data for loading next screen automatically by scroll through pages, And the continuous continual form of expression is presented in page structure.If user wants to see other columns below the content, need always Load request, the limit until reaching setting, and the situation of inapplicable page turning.
Fig. 1 is the data load method schematic flow sheet according to an embodiment of the invention based on web page browsing behavior, As shown in figure 1, the data load method according to an embodiment of the invention based on web page browsing behavior includes:
Step S102, the next step operation for monitoring user in a browser is to browse the first navigation patterns of new page When, start timer;
Step S104, if the timing duration of timer exceedes default value, the net for obtaining new page is sent to server First data acquisition request of page data;
Step S106, the reception server respond the web data that the first data acquisition request returns, web data are stored in Caching.
The embodiments of the invention provide a kind of data load method based on web page browsing behavior, can be existed by monitoring user Navigation patterns in browser, when the next step for monitoring user is operated to open timer when browsing new page, and to timing The timing duration of device is set, and can send the web data that obtains new page during more than default value from trend server Request, and it is stored in caching after receiving the data that browser is returned based on above-mentioned request.The base provided according to embodiments of the present invention In the data load method of web page browsing behavior, the navigation patterns of user can be monitored in a browser, and are loaded automatically in advance The web data of new page, quickly provided when initiating so as to user and browse new page behavior.
Fig. 2 is the data load method schematic flow sheet according to another embodiment of the present invention based on web page browsing behavior, As shown in Fig. 2 the data load method according to another embodiment of the present invention based on web page browsing behavior, in above-mentioned steps S106 Afterwards, can further include:
Step S108, if continuing to monitor that user's initiation browses the second of new page and browses row in browser current page For, and judge web data corresponding with the second navigation patterns be present in caching, then obtain net corresponding with the second navigation patterns Page data is loaded.
In the preferred embodiment, by the monitoring with user browsing behavior, obtaining user from trend server i.e. will be clear The web data for the new page look at, when user initiates to browse the navigation patterns of new page, it is possible to which first judgement is in the buffer No web data corresponding with current navigation patterns to be present, can is directly obtained and loaded if existing, in the page Corresponding content is quickly presented, greatly reduces the stand-by period of network request, and then lift Consumer's Experience.
Preferably, above-mentioned steps S102 can include:Monitor that mouse pointer hovers over turning in browser current page When on page button, start the timer.Position judgment user i.e. by monitoring the hovering of mouse pointer in a browser Navigation patterns, if mouse pointer is hovered in the page-turning button in browser current page, prediction user may be clear Look at new page, now can start timing to start timer.Timer in the present embodiment can be the meter built in browser When the device or timer being provided with the mobile terminal of browser or other timers.And timer Clocking method, can start from scratch, incrementally carry out timing, triggering operation in next step when reaching default value. Can also pre-set certain time, carry out countdown, when timing time is reduced to zero, i.e. triggering operates in next step. It can be configured in practical application according to different situations, the present invention does not limit.
Further, above-mentioned steps S108 can also include, if monitoring the page-turning button quilt in browser current page Triggering, and the web data with page-turning button corresponding page in caching be present, then obtain above-mentioned web data and loaded.Turn over Page button is triggered, that is, means that user can browse the data of new page, due to before user triggers page-turning button it is pre- The web data of new page after first loading, therefore, while user triggers page-turning button, it is possible to directly obtained from caching Corresponding web data is simultaneously loaded, and corresponding web page contents quickly are presented for user.Preferably, send to the number of server Can be ajax or jsonp requests according to request is obtained.
, can be using user when carrying out page turn over operation, from mouse based on data recordation method provided in an embodiment of the present invention Mark pointer was moved in page-turning button to the time difference for clicking on page-turning button, is carried out the preloading of lower page of data, is shortened use Open that the speed of new page is very fast, and Consumer's Experience is more from page turning is clicked on to the time seen lower page of data content and presented in family It is good.Above-described embodiment is described in detail below by a preferred embodiment.
Fig. 3 shows the data load method based on user browsing behavior in accordance with a preferred embodiment of the present invention, bag Include:
Step S302, it is that page-turning button binds onmouseover events and/or onmouseenter events in browser; As page turning DOM binds onmouseover events and/or onmouseenter events, when mouse pointer hovers over page-turning button When upper, you can triggering onmouseover events, and when mouse pointer click page-turning button, then it can trigger onmouseenter things Part;
Step S304, setTimeout is set to be timed, such as 300ms;
After step S306,300ms, Asynchronous Request ajax or jsonp are performed;Such as:
https://www.so.com/sQ=123&pn=2&src=srp_paging&fr=none
Step S308, receive the data (data of html code snippets or json forms) of server return, such as:
<Ul class=" result "><Li class=" res-list "><H3class=" res-title "><a Href=" http://www.so.com/linkUrl=... " target=" _ blank ">Title</h3><p>Content ...</ p></li><Li class=" res-list "><H3class=" res-title "><A href=" http:// www.so.com/linkUrl=... " target=" _ blank ">Title</h3><p>Content ...</p></li></ul>;
Step S310, above-mentioned data are cached;Such as:
Cache [url]=ajaxHtml;(wherein ajaxHtml is the data that server returns above);
Step S312, when user clicks on page-turning button, judge data corresponding with page-turning button be present in caching, load After directly display.
In an alternative embodiment of the invention, the next step operation of user is monitored in a browser to browse the of new page During one navigation patterns, starting timer can also include:When monitoring that any webpage is opened in browser, start the timing Device.The first navigation patterns of new page are browsed not only as the monitoring mouse pointer described in above-mentioned embodiment hovers over page turning Button, it can also be that browsing any webpage therein is opened, at this time it is also possible to which starting timer carries out timing.Now, meter is worked as When device timing duration when exceeding default value, be detected simultaneously by the page-turning button in browser page in current window, then Send the web data for obtaining new page to server first obtains request.The data load method that the present embodiment provides can be pre- The current page of setting browses the approximate time of end, loads down the content of one page in advance, and lower one page is checked when user clicks on When, waited without user, the content of lower one page can be presented immediately, so that user is browsed.The method that the present embodiment is provided Be particularly suitable for use in the more page of the word contents such as news, novel.Face is carried out by a preferred embodiment to above-described embodiment Describe in detail.
Fig. 4 shows the data load method based on user browsing behavior according to another preferred embodiment of the present invention, bag Include:
Step S402, monitor that any page of browser is opened;
Step S404, setTimeout is set to be timed, such as 5 minutes;
Step S406, after 5 minutes, if the dom of page turning in current window, performs Asynchronous Request (ajax/ jsonp);Such as:
https://www.so.com/sQ=123&pn=2&src=srp_paging&fr=none
Step S408, receive the data (data of html code snippets or json forms) of server return, such as:
<Ul class=" result "><Li class=" res-list "><H3class=" res-title "><a Href=" http://www.so.com/linkUrl=... " target=" _ blank ">Title</h3><p>Content ...</ p></li><Li class=" res-list "><H3class=" res-title "><A href=" http:// www.so.com/linkUrl=... " target=" _ blank ">Title</h3><p>Content ...</p></li></ul>;
Step S410, above-mentioned data are cached;Such as:
Cache [url]=ajaxHtml;(wherein ajaxHtml is the data that server returns above);
Step S412, when user clicks on page-turning button, judge data corresponding with page-turning button be present in caching, load After directly display.
The method that this preferred embodiment provides browses the approximate time of end by the current page pre-seted, when page turning is pressed When button appears in current window, you can load down the content of one page in advance, when user, which clicks on, checks lower one page, can be quickly Corresponding content is presented in user.
It is mentioned above, the web data for the new page that be able to will be browsed according to the pre-loaded user of navigation patterns of user, Preferably, the above-mentioned data of above-mentioned steps S410 are carried out after caching successfully, can also be shown and completed in current page is browsed The prompt message of caching.As shown in figure 5, floating frame can be increased newly in browser current display page, shown in this floats frame similar The prompt message for having completed caching of " content of lower one page has loaded ".Content shown by floating inframe can be according to difference Scene is set, and the display location of floating frame can be in the side of page-turning button or other positions, and the present invention does not limit.
In addition, the web data that new page will be browsed with user may also can be not present in caching, therefore, taken receiving Business device responds the web data that first data acquisition request returns, and will can also include after web data deposit caching: If continuing to monitor that user initiates to browse the second navigation patterns of new page in browser current page, and judge in caching not In the presence of web data corresponding with the second navigation patterns, then sent to server and obtain webpage number corresponding with the second navigation patterns According to the second data acquisition request;The reception server responds the web data that the second data acquisition request returns and loaded. Preferably, can monitor that the page-turning button is triggered in browser current page, and judge caching in be not present with The web data of page-turning button corresponding page, then the obtained with the web data of page-turning button corresponding page is sent to server Two data acquisition requests.Situation recited herein is certain particular case, it is generally the case that based on institute of the embodiment of the present invention The web data that the data load method of offer be able to will browse to user preloads.If due to network problem or its His uncertain factor leads to not preload browser new page data, then can trigger the same of page-turning button in user When to server send data acquisition request, that is, send ajax or jsonp, obtain the web data of corresponding with page-turning button webpage After loaded.
It should be noted that in practical application, above-mentioned all optional embodiments can be any group by the way of combining Close, form the alternative embodiment of the present invention, this is no longer going to repeat them.
Based on the data load method based on web page browsing behavior that each embodiment provides above, based on same invention structure Think, the embodiment of the present invention additionally provides a kind of data loading device based on web page browsing behavior, and Fig. 6 is real according to the present invention one The data loading device structural representation based on web page browsing behavior of example is applied, as shown in fig. 6, base provided in an embodiment of the present invention It can include in the data loading device of web page browsing behavior:
Timing module 610, the next step operation for being configured to monitor user in a browser is to browse the first of new page During navigation patterns, start timer;
First sending module 620, it is configured to when the timing duration of the timer exceedes default value, is sent out to server Send the first data acquisition request of the web data for obtaining the new page that the user will browse;
First receiving module 630, it is configured to receive the net that the server responds the first data acquisition request return Page data, the web data is stored in and cached.
In a preferred embodiment of the invention, timing module 610 is also configured as:
When monitoring that mouse pointer is hovered in the page-turning button in browser current page, start the timer.
In a preferred embodiment of the invention, as shown in fig. 7, said apparatus can also include:
Data load-on module 640, if being configured to continue to monitor that the user initiates in the browser current page The second navigation patterns of new page are browsed, and judge webpage number corresponding with second navigation patterns in the caching be present According to then the acquisition web data corresponding with second navigation patterns is loaded.
In a preferred embodiment of the invention, data load-on module 640 is also configured as:
When monitoring that the page-turning button in the browser current page is triggered, and exist in the caching and turned over described The web data of page button corresponding page, then obtain the web data and loaded.
In a preferred embodiment of the invention, timing module 610 is also configured as:
When monitoring that any webpage is opened in the browser, start the timer.
In a preferred embodiment of the invention, the first sending module 620 is also configured as:
If the timing duration of the timer exceedes default value, and detect the page turning in the browser page by Button then sends the first data acquisition request of the web data for obtaining the new page in current window to server.
In a preferred embodiment of the invention, as shown in fig. 7, said apparatus can also include:
Information display module 650, it is configured to show the prompt message for having completed caching in the browser current page.
In a preferred embodiment of the invention, information display module 650 is also configured as:
Increase floating frame newly in the browser current display page, complete carrying for caching described in display in the floating frame Show information.
In a preferred embodiment of the invention, as shown in fig. 7, said apparatus can also include:
Second sending module 660, if being configured to continue to monitor that the user initiates in the browser current page The second navigation patterns of new page are browsed, and judge webpage number corresponding with second navigation patterns is not present in the caching According to then to the second data acquisition request of server transmission acquisition web data corresponding with second navigation patterns;
Second receiving module 670, it is configured to receive the net that the server responds the second data acquisition request return Page data is simultaneously loaded.
In a preferred embodiment of the invention, the second sending module 660 is also configured as:
If monitoring that the page-turning button is triggered in the browser current page, and judge not deposit in the caching In the web data with the page-turning button corresponding page, then sent to the server and obtain page corresponding with the page-turning button Second data acquisition request of the web data in face.
The embodiments of the invention provide a kind of data load method and device based on web page browsing behavior, based on the present invention The data load method based on web page browsing behavior that embodiment provides, the data that will be browsed to user preload, when The next step operation of user is monitored to open timer when browsing new page, and the timing duration to timer is set, The request for the web data for obtaining new page can be sent from trend server during more than default value, and receive browser and be based on Caching is stored in after the data that above-mentioned request is returned.When continuing to monitor that user initiates page turning navigation patterns, can is directly fast Fast ground obtains related data from caching, is shown after loading.It is moved to using from mouse pointer in page-turning button to click The time difference of page-turning button, the preloading of lower page of data is carried out, shorten user from page turning is clicked on to seeing lower page of data The time that content is presented, open that the speed of new page is very fast, and Consumer's Experience is more preferably.
The embodiment of the present invention can also provide a kind of computer program, including computer-readable code, when computer-readable When code is run on the computing device, cause computing device according to any of the above-described number based on web page browsing behavior According to loading method.
The embodiment of the present invention can also provide a kind of computer-readable medium, wherein storing above computer program.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Mode it can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice Microprocessor or digital signal processor (DSP) realize the data according to embodiments of the present invention based on web page browsing behavior The some or all functions of some or all parts of loading device.The present invention is also implemented as being used to perform institute here The some or all equipment or program of device of the method for description are (for example, computer program and computer program production Product).Such program for realizing the present invention can store on a computer-readable medium, or can have one or more The form of signal.Such signal can be downloaded from internet website and obtained, and either be provided or on carrier signal to appoint What other forms provides.
For example, Fig. 8 shows the meter that can realize the data load method based on web page browsing behavior according to the present invention Calculate the block diagram of equipment.The computing device conventionally comprise processor 810 and computer program product in the form of memory 820 or Person's computer-readable medium.Memory 820 can be such as flash memory, EEPROM (Electrically Erasable Read Only Memory), EPROM, hard disk or ROM etc electronic memory.There is memory 820 storage to be used to perform any side in the above method The memory space 830 of the program code 831 of method step.For example, the memory space 830 of store program codes can be stored and used respectively In each program code 831 for realizing the various steps in above method.These program codes can be from one or more Read or be written in computer program product in this one or more computer program product.These computer programs produce Product include the program code carrier of such as hard disk, compact-disc (CD), storage card or floppy disk etc.Such computer program production Product are usually portable or static memory cell as shown in Figure 9.The memory cell can have with Fig. 8 computing device The memory paragraph of the similar arrangement of memory 820, memory space etc..Program code for example can be compressed in a suitable form.It is logical Often, memory cell includes being stored with the computer readable program code 831 ' for performing steps of a method in accordance with the invention, i.e., The program code that can be read by such as 810 etc processor, when these program codes are run by computing device, causes this Each step in computing device method described above.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.
So far, although those skilled in the art will appreciate that detailed herein have shown and described multiple showing for the present invention Example property embodiment, still, still can be direct according to present disclosure without departing from the spirit and scope of the present invention It is determined that or derive many other variations or modifications for meeting the principle of the invention.Therefore, the scope of the present invention is understood that and recognized It is set to and covers other all these variations or modifications.

Claims (10)

1. a kind of data load method based on web page browsing behavior, including:
The next step operation for monitoring user in a browser is when browsing the first navigation patterns of new page, to start timer;
If the timing duration of the timer exceedes default value, the web data for obtaining the new page is sent to server The first data acquisition request;
Receive the server and respond the web data that first data acquisition request returns, the web data is stored in slow Deposit.
2. according to the method for claim 1, wherein, the next step operation for monitoring user in a browser is to browse During the first navigation patterns of new page, start timer, including:
When monitoring that mouse pointer is hovered in the page-turning button in browser current page, start the timer.
3. method according to claim 1 or 2, wherein, it is described to receive the server response first data acquisition The web data returned is asked, after web data deposit caching, in addition to:
If continue to monitor that the user initiates to browse the second navigation patterns of new page in the browser current page, and Judge web data corresponding with second navigation patterns in the caching be present, then obtain and second navigation patterns pair The web data answered is loaded.
4. according to the method described in claim any one of 1-3, wherein, if described monitor in the browser current page The user initiates to browse the second navigation patterns of new page, and judges exist and second navigation patterns pair in the caching The web data answered, then obtain the web data and loaded, including:
If monitoring, the page-turning button in the browser current page is triggered, and exists in the caching and pressed with the page turning The web data of button corresponding page, then obtain the web data and loaded.
5. according to the method described in claim any one of 1-4, wherein, the next step behaviour for monitoring user in a browser During as the first navigation patterns for browsing new page, start timer, in addition to:
When monitoring that any webpage is opened in the browser, start the timer.
6. according to the method described in claim any one of 1-5, wherein, preset if the timing duration of the timer exceedes Numerical value, then the first data acquisition request of the web data for obtaining the new page is sent to server, including:
If the timing duration of the timer exceedes default value, and detects that the page-turning button in the browser page exists In current window, then the first data acquisition request of the web data for obtaining the new page is sent to server.
7. according to the method described in claim any one of 1-6, wherein, it is described to receive the server response first data The web data that request returns is obtained, after web data deposit caching, in addition to:
The prompt message for having completed caching is shown in the browser current page.
8. a kind of data loading device based on web page browsing behavior, including:
Timing module, the next step operation for being configured to monitor user in a browser is to browse the first navigation patterns of new page When, start timer;
First sending module, it is configured to when the timing duration of the timer exceedes default value, sends and obtain to server First data acquisition request of the web data for the new page that the user will browse;
First receiving module, it is configured to receive the web data that the server responds the first data acquisition request return, The web data is stored in and cached.
9. a kind of computer program, including computer-readable code, when the computer-readable code is run on the computing device When, cause data based on web page browsing behavior loading of the computing device according to any one of claim 1 to 7 Method.
A kind of 10. computer-readable medium, wherein storing computer program as claimed in claim 9.
CN201710914888.3A 2017-09-30 2017-09-30 Data load method and device based on web page browsing behavior Pending CN107609184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710914888.3A CN107609184A (en) 2017-09-30 2017-09-30 Data load method and device based on web page browsing behavior

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710914888.3A CN107609184A (en) 2017-09-30 2017-09-30 Data load method and device based on web page browsing behavior

Publications (1)

Publication Number Publication Date
CN107609184A true CN107609184A (en) 2018-01-19

Family

ID=61067849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710914888.3A Pending CN107609184A (en) 2017-09-30 2017-09-30 Data load method and device based on web page browsing behavior

Country Status (1)

Country Link
CN (1) CN107609184A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108933823A (en) * 2018-06-28 2018-12-04 北京京东尚科信息技术有限公司 User's touching reaches method and apparatus
CN109284321A (en) * 2018-08-22 2019-01-29 中国平安人寿保险股份有限公司 Data load method, calculates equipment and computer readable storage medium at device
CN109376318A (en) * 2018-09-03 2019-02-22 中国平安人寿保险股份有限公司 A kind of page loading method, computer readable storage medium and terminal device
CN109800372A (en) * 2019-01-03 2019-05-24 北京字节跳动网络技术有限公司 Promote the method, apparatus and electronic equipment of third party's webpage opening speed
CN109948090A (en) * 2019-03-08 2019-06-28 腾讯科技(深圳)有限公司 Webpage loading method and device
WO2019153479A1 (en) * 2018-02-06 2019-08-15 武汉斗鱼网络科技有限公司 Browser page monitoring method and apparatus, and computer device
CN111125575A (en) * 2018-10-31 2020-05-08 北京国双科技有限公司 Webpage data processing method and device
CN112069386A (en) * 2020-09-07 2020-12-11 北京奇艺世纪科技有限公司 Request processing method, device, system, terminal and server
CN112256342A (en) * 2020-09-22 2021-01-22 北京达佳互联信息技术有限公司 Page loading method and device and server
US11627201B2 (en) * 2018-04-30 2023-04-11 Google Llc Optimizing network utilization

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102810101A (en) * 2011-06-03 2012-12-05 北京搜狗科技发展有限公司 Webpage pre-reading method and device and browser
CN104007990A (en) * 2014-05-30 2014-08-27 北京金山网络科技有限公司 Webpage loading method and browser
CN104572912A (en) * 2014-12-26 2015-04-29 北京京东尚科信息技术有限公司 Method and system for loading web pages

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102810101A (en) * 2011-06-03 2012-12-05 北京搜狗科技发展有限公司 Webpage pre-reading method and device and browser
CN104007990A (en) * 2014-05-30 2014-08-27 北京金山网络科技有限公司 Webpage loading method and browser
CN104572912A (en) * 2014-12-26 2015-04-29 北京京东尚科信息技术有限公司 Method and system for loading web pages

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019153479A1 (en) * 2018-02-06 2019-08-15 武汉斗鱼网络科技有限公司 Browser page monitoring method and apparatus, and computer device
US11627201B2 (en) * 2018-04-30 2023-04-11 Google Llc Optimizing network utilization
CN108933823A (en) * 2018-06-28 2018-12-04 北京京东尚科信息技术有限公司 User's touching reaches method and apparatus
CN109284321A (en) * 2018-08-22 2019-01-29 中国平安人寿保险股份有限公司 Data load method, calculates equipment and computer readable storage medium at device
CN109284321B (en) * 2018-08-22 2024-02-02 中国平安人寿保险股份有限公司 Data loading method, device, computing equipment and computer readable storage medium
CN109376318A (en) * 2018-09-03 2019-02-22 中国平安人寿保险股份有限公司 A kind of page loading method, computer readable storage medium and terminal device
CN109376318B (en) * 2018-09-03 2023-07-21 中国平安人寿保险股份有限公司 Page loading method, computer readable storage medium and terminal equipment
CN111125575A (en) * 2018-10-31 2020-05-08 北京国双科技有限公司 Webpage data processing method and device
CN109800372A (en) * 2019-01-03 2019-05-24 北京字节跳动网络技术有限公司 Promote the method, apparatus and electronic equipment of third party's webpage opening speed
CN109948090A (en) * 2019-03-08 2019-06-28 腾讯科技(深圳)有限公司 Webpage loading method and device
CN112069386A (en) * 2020-09-07 2020-12-11 北京奇艺世纪科技有限公司 Request processing method, device, system, terminal and server
CN112069386B (en) * 2020-09-07 2023-09-05 北京奇艺世纪科技有限公司 Request processing method, device, system, terminal and server
CN112256342A (en) * 2020-09-22 2021-01-22 北京达佳互联信息技术有限公司 Page loading method and device and server

Similar Documents

Publication Publication Date Title
CN107609184A (en) Data load method and device based on web page browsing behavior
CN104216921B (en) A kind of addition reminding method, apparatus and system for realizing quick links in browser
CN106503134A (en) Browser jumps to the method for data synchronization and device of application program
CN105550356A (en) Preloading method of browsed contents, and terminal
CN106095804A (en) The processing method of a kind of video segment, localization method and terminal
CN102932206B (en) The method and system of monitoring website access information
CN105117474A (en) Method and device for loading recommendation information in webpage reading mode
CN106469094A (en) A kind of Word message sharing method and mobile terminal
CN104252348B (en) A kind of web page access statistical method and device based on browser
CN104866534A (en) Page demonstration method and device
CN106293705A (en) A kind of collecting method and mobile terminal
CN106528603A (en) Application program searching method and mobile terminal
CN106534200A (en) Identity authentication method and mobile terminal
CN104267882A (en) Page suspension frame display method and device
WO2015003664A1 (en) Method, device, server, and client device for download processing
CN106599246A (en) Display content interception method, mobile terminal and control server
CN106528889A (en) Information search method and terminal
CN103729439A (en) Method and device for preloading webpage
CN104965831A (en) Method, server, terminal and system for correcting website addresses
WO2009136959A2 (en) Interactive search result system, and method therefor
CN106936727A (en) A kind of Webpage display process and device
CN108008929A (en) A kind of method for building up and system of split screen PC web browsers
CN107423365A (en) Web access method, terminal and computer-readable recording medium
CN104753979A (en) Method, server, terminal and system for displaying website information
CN103353837A (en) Method and equipment for display page in mobile equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180119

RJ01 Rejection of invention patent application after publication