CN105260424A - Processing method and apparatus for webpage browsing historical records and most common accesses of user - Google Patents

Processing method and apparatus for webpage browsing historical records and most common accesses of user Download PDF

Info

Publication number
CN105260424A
CN105260424A CN201510629679.5A CN201510629679A CN105260424A CN 105260424 A CN105260424 A CN 105260424A CN 201510629679 A CN201510629679 A CN 201510629679A CN 105260424 A CN105260424 A CN 105260424A
Authority
CN
China
Prior art keywords
webpage
link
user
default
frequentation
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
CN201510629679.5A
Other languages
Chinese (zh)
Other versions
CN105260424B (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510629679.5A priority Critical patent/CN105260424B/en
Publication of CN105260424A publication Critical patent/CN105260424A/en
Application granted granted Critical
Publication of CN105260424B publication Critical patent/CN105260424B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management

Abstract

The invention discloses a processing method and apparatus for webpage browsing historical records and most common accesses of a user, and relates to the technical field of browsers. The operation frequency of page historical records and most common access data can be reduced, so that the memory occupation of a mobile phone in a page access process is reduced. The method comprises: firstly, determining whether a link generated by webpage browsing by the user is a preset webpage default link; and when determining that the link generated by webpage browsing by the user is not the preset webpage default link, injecting a monitoring event for monitoring whether the loading of a current page DOM tree is completed into a current page, and when monitoring that the loading of the current page DOM tree is completed, outputting a callback instruction for storing webpage links and titles to the historical records and the most common accesses. The processing method and apparatus are mainly used in a process of processing historical data and most common accesses of browsers.

Description

User browses the disposal route and device that web-page histories record and most frequentation ask
Technical field
The present invention relates to browser technology field, particularly relate to a kind of user and browse the disposal route and device that web-page histories record and most frequentation ask.
Background technology
When using browser to carry out website visiting, browser has the function that recording user browses web-page histories record and the most normal accession page, in these historical records and most frequentation are asked, usually have recorded the link and title that produce when user browses webpage, also can the thumbnail of display access website in some historical records.
Usually when user browses webpage, historical record and most frequentation are asked and are mainly contained following two kinds of processing modes: one is in default web page (WebView) client, the link adopting the method upgrading historical record readjustment to produce when user being browsed webpage is saved to during historical record and most frequentation ask, then the title adopting the method for web page title change readjustment to produce when user being browsed webpage is updated to during historical record and most frequentation ask, but the method must carry out the operation that twice pair of historical record and most frequentation are asked when preserving above-mentioned link and title, to database complex operation, increase the weight of user and browse taking mobile phone EMS memory in webpage process, another kind is in default web View client, the link produced when adopting the method for webpage loaded readjustment user to be browsed webpage and title are saved to during historical record and most frequentation ask, and the method client in storing process has the use of Dynamic injection JS scene to the page, JS as Night injects, the readjustment number of times of webpage loaded now can be caused too much, produce unnecessary data, thus too much take mobile phone EMS memory.
Summary of the invention
In view of this, the disposal route that the embodiment of the present invention provides a kind of browser history record and most frequentation to ask and device, decrease the number of operations of historical record to the page and the most normal visit data, reduce taking mobile phone EMS memory in accession page process.
For achieving the above object, the present invention mainly provides following technical scheme:
On the one hand, embodiments provide a kind of user and browse the disposal route that web-page histories record and most frequentation ask, the method comprises:
Determine user browse webpage produce link whether be default webpage default link;
If determine, user browses the link that webpage produces is not default webpage default link, then inject to monitor current page dom tree and load the monitoring event whether completed in current web page;
Complete when listening to the loading of current page dom tree, then export callback instruction to preserve web page interlinkage and title and ask to historical record and most frequentation, described callback instruction is that readjustment is preserved user and browsed the instruction that the link of webpage generation and title ask to historical record and most frequentation.
On the other hand, the treating apparatus that the embodiment of the present invention also provides a kind of user to browse web-page histories record and most frequentation to ask, this device comprises:
Determining unit, for determine user browse webpage produce link whether be default webpage default link;
Monitor injection unit, if be not default webpage default link for determining that user browses the link that webpage produces, then inject in current web page and monitor current page dom tree and load the monitoring event whether completed;
Readjustment output unit, for completing when listening to the loading of current page dom tree, then export callback instruction to preserve web page interlinkage and title and ask to historical record and most frequentation, described callback instruction is that readjustment is preserved user and browsed the instruction that the link of webpage generation and title ask to historical record and most frequentation.
A kind of user that the embodiment of the present invention proposes browses the disposal route and device that web-page histories record and most frequentation ask, first determine user browse webpage produce link whether be default webpage default link, if determine user browse webpage produce link be not default webpage default link, in current web page, then inject monitoring current page dom tree load the monitoring event whether completed, the accuracy of each record result is ensure that by injecting monitoring event cleverly, complete when listening to the loading of current page dom tree, then export callback instruction to preserve web page interlinkage and title and ask to historical record and most frequentation, by monitor readjustment hold instruction ensure that at the same time record web page interlinkage and title when, decrease data processing.Browse web-page histories record with the user of prior art to compare with the most normal access processing method, the present invention injects monitoring event when not being default webpage default link by browsing the link of webpage generation user, now only need receive monitor callback events in carry out the access that a historical record and most frequentation ask, decrease the number of operations of historical record to the page and the most normal visit data, reduce taking mobile phone EMS memory in accession page process.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
A kind of user that Fig. 1 shows the embodiment of the present invention to be provided browses the process flow figure that web-page histories record and most frequentation are asked;
The another kind of user that Fig. 2 shows the embodiment of the present invention to be provided browses the process flow figure that web-page histories record and most frequentation are asked;
A kind of user that Fig. 3 shows the embodiment of the present invention to be provided browses the treating apparatus structural representation that web-page histories record and most frequentation are asked;
The another kind of user that Fig. 4 shows the embodiment of the present invention to be provided browses the treating apparatus structural representation that web-page histories record and most frequentation are asked.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
The disposal route that the embodiment of the present invention provides a kind of user to browse web-page histories record and most frequentation to ask, as shown in Figure 1, described method comprises:
101, determine user browse webpage produce link whether be default webpage default link.
In this step, user, when browsing webpage, can input the network address needing search, or enter desired page according to content clickthrough on webpage in address field, now, browser first determine user browse webpage produce link whether be default webpage default link.
For the embodiment of the present invention, above-mentioned default webpage default link refers to homepage link, can set voluntarily according to demand, each browser has the webpage default link of user or systemic presupposition, namely homepage link is given tacit consent to, user can change the link of acquiescence homepage according to demand voluntarily, for example, when the webpage that user uses IE browser automatically to open, be exactly default web page in fact, the link now produced is webpage default link, and default web page is set by IE attribute arranges, by the network address wanting to be set to homepage being copied in default homepage, setting has been determined in click.
If 102 to determine that user browses the link that webpage produces be not default webpage default link, then inject in current web page and monitor current page dom tree and load the monitoring event whether completed.
In this step, according to step 101 can determine user browse webpage produce link whether be default webpage default link, if the link browsing webpage generation as user is not default webpage default link, now needs the link to producing further to operate, namely injecting monitoring event.
Wherein, the action listener in Java is basis and the key of whole Java Message Transmission.Specifically involve two class objects: event sends out survivor and action listener person, event sends out the origin that survivor is event, and can be such as button or an edit box etc., action listener person be exactly the recipient of event, if want to receive certain event, it must send out survivor's response to this event.This process is equivalent to send out survivor in event and registers, and when event sends out survivor, really event occurs, will send message to all listeners to this event registration.
For example, often can run into the problem of adding event to page elements in the performance history of front end, the js method of adding event also has a lot, has directly to add and adds on page structure by the time, has the method using some js to monitor.And inventive point of the present invention be exactly when determine user browse webpage produce link be not default webpage default link when, add js monitor method.
103, complete when listening to the loading of current page dom tree, then export callback instruction to preserve web page interlinkage and title and ask to historical record and most frequentation, described callback instruction is that readjustment is preserved user and browsed the instruction that the link of webpage generation and title ask to historical record and most frequentation.
Wherein, listen to current page dom tree load complete, now illustrate data except dom tree load all ready, also need in addition to play up, simultaneously, this moment user browses the title that webpage produces and obtains, and can perform follow-up readjustment and hold instruction, and user is browsed link that webpage produces and title and is saved to during historical record and most frequentation ask.
Particularly, time processing method based on readjustment has individual rreturn value, whether this rreturn value can process this event completely for identifying this disposal route, for the embodiment of the present invention, when listening to after page dom tree loaded, export callback instruction, the callback method now processing event returns true, show that this disposal route processes this event completely, namely the required time content monitored is listened to, then carry out callback instruction, described callback instruction is for preserving user and browse link that webpage produces and title being asked to historical record and most frequentation.
The user that the embodiment of the present invention provides browses the disposal route that web-page histories record and most frequentation are asked, first determine user browse webpage produce link whether be default webpage default link, if determine user browse webpage produce link be not default webpage default link, in current web page, then inject monitoring current page dom tree load the monitoring event whether completed, the accuracy of each record result is ensure that by injecting monitoring event cleverly, complete when listening to the loading of current page dom tree, then export callback instruction to preserve web page interlinkage and title and ask to historical record and most frequentation, by monitor readjustment hold instruction ensure that at the same time record web page interlinkage and title when, decrease data processing.Browse web-page histories record with the user of prior art to compare with the most normal access processing method, the present invention injects monitoring event when not being default webpage default link by browsing the link of webpage generation user, now only need receive monitor callback events in carry out the access that a historical record and most frequentation ask, decrease the number of operations of historical record to the page and the most normal visit data, reduce taking mobile phone EMS memory in accession page process.
Further, the disposal route that the embodiment of the present invention provides another kind of user to browse web-page histories record and most frequentation to ask, as shown in Figure 2, described method comprises:
201, link and title that user browses webpage generation is obtained.
Wherein, when user is when using browser to carry out website visiting, can produce link corresponding to accessed web page and title accordingly, the browser that the present embodiment relates to can be the browser of mobile terminal such as mobile phone, panel computer, also can be the browser of PC terminal.
Usually when user's accessed web page, browser can open the webpage of corresponding network address to client according to the request of access of user, such as, active user is accessing store, Jingdone district shopping webpage, now user browses being linked as of webpage generation: http://item.jd.com/1217499.html, and title is: [AppleiPhone6] AppleiPhone6 (A1586) 16GB golden mobile UNICOM telecommunications 4G cell phone [evaluation and test of quotations price]-Jingdone district.
The Webpage that the user that it should be noted that browses be do not have headed, now user is browsed webpage produce connection page title by default.
Particularly, first the example of WebView is created, in WebViewClient, call doupdateVisitedHistory (renewal historical record) event, when the link of user click on WebView, default behavior is the Android application of startup one process URL.Wherein, WebViewClient is mainly used to the events such as the various notice of auxiliary WebView process, request, for example, can be that WebView object specifies a WebViewClient by the setWebViewClient () method of WebView.
Wherein, WebView (network view) the energy loaded and displayed page, can be regarded as a browser.It provides some row web page browsings, user interactions interface for user, and CLIENT PROGRAM is by these interface accessing core codes, and it can be asked url, the page loads, play up, the page carries out powerful process alternately.
It should be noted that, provide a lot of method in WebView and obtain link and the tilt method that user browses webpage generation, such as, getTitle () and getUrl () method can be used to obtain title and the URL path of current web page, the present invention does not limit acquisition methods, specifically can select according to actual conditions.
202, determine user browse webpage produce link whether be default webpage default link.
In this step, user can be got by step 201 and browse the link that webpage produces, whether unanimously described link and default webpage default link be carried out contrast.
Wherein, the webpage default link preset refers to homepage link, can set voluntarily according to demand, each browser has the webpage default link of user or systemic presupposition, namely homepage link is given tacit consent to, user can change the link of acquiescence homepage according to demand voluntarily, for example, when the webpage that user uses IE browser automatically to open, be exactly default web page in fact, the link now produced is webpage default link, and default web page is set by IE attribute arranges, by the network address wanting to be set to homepage being copied in default homepage, setting has been determined in click.
If it is not default webpage default link that 203a determines that user browses the link that webpage produces, then injects in current web page and monitor current page dom tree and load the monitoring event whether completed.
In this step, carry out contrast consistance according to step 202 and the webpage default link preset, if the link that user browses webpage generation is not default webpage default link, now in current webpage, inject monitoring event.
For example, in embodiments of the present invention, the monitoring event injected in current web page is for monitoring DOMContentLoaded event, whether the dom tree being used for monitoring current page loads and completes, and the object now injecting monitoring is preserved user and browse link that webpage produces and title in order to perform when carrying out monitoring readjustment and be saved to historical record and most frequentation is asked.
Wherein, DOMContentLoaded event is distinctive Event under firefox, this event can be triggered after all DOM have resolved, ignore image, JavaScript file, whether CSS file or other resources have been downloaded complete, in addition, this event is extension from the onLoad HTML and comes, when a page completes loading, the method of initializtion script uses load event, but the shortcoming of this class function is only just triggered after all resources load all completely, this causes more serious delay sometimes, developer sets up a kind of customized event subsequently, it is triggered after DOM loads and before resource loading, this event is standardized in HTML5 at present, different from the load time, DOMContentLoaded is supported in the early stage interpolation button.onrelease of page-downloading, this also just means that user can carry out with the page as soon as possible alternately.
Wherein, DOM is DOM Document Object Model (DocumentObjectModel is called for short DOM), is the standard programming interface of the process easily extensible markup language of W3C Organisation recommendations.DOM goes for any programming language, such as can dynamically show or hide element, change their attribute, increase an element etc., DOM be a kind of with browser, the irrelevant interface of platform, language, use DOM can accession page other standards assembly, full page be mapped as a file be made up of Hierarchy nodes by DOM, DOM can be thought the tree represenation of data and structure on the page, it allows developer to navigate in tree and finds customizing messages.
If it is default webpage default link that 203b determines that user browses the link that webpage produces, does not then preserve web page interlinkage and title and ask to historical record and most frequentation.
In this step, contrast consistance is carried out according to step 202 and the webpage default link preset, if it is default webpage default link that user browses the link that webpage produces, does not now need to preserve this web page interlinkage and title and ask to historical record and most frequentation, then do not perform preservation action.
Will be understood that, the link browsing webpage generation as user is default webpage default link, user's possibility just open any browser is then described, or overdue homepage network address of hitting website, the link now produced is not that historical record or most frequentation are asked, the just homepage link of acquiescence, therefore without the need to preserving.
204, callback instruction is inputted in the webpage loaded at current page dom tree.
In this step, in step 203a after current page injects monitoring event, then the instruction needing execution one to adjust back monitoring completes the task of monitoring, and now then demand fulfillment one monitors condition, performs callback instruction further.
Particularly, by the setWebChromeClient () method of WebView, for WebView specifies a WebChormeClient, wherein, WebViewClient is mainly used to auxiliary WebView process Javascript dialog box, website icon, site title and webpage loading progress etc.In WebChormeClient, call onConsoleMessage method, carry out the control desk message monitoring WebView, monitor whether current dom tree has loaded, catch this message, export callback instruction.
It should be noted that, need the rreturn value in WebViewClient and WebChromeClient to be assigned to the monitoring effect of the present invention that WebView could realize, and then realize readjustment and preserve user and browse during link that webpage produces and title to historical record and most frequentation ask.
205, according to described callback instruction, described web page interlinkage and title are saved to historical record and most frequentation is asked.
In this step, what obtain according to step 204 gets back to instruction, performs this instruction, user is browsed link that webpage produces and title is saved to historical record and most frequentation is asked.
For the embodiment of the present invention, concrete application scenarios can be as follows, but be not limited thereto, comprise: when user uses browser to carry out website visiting, obtain connection and title that user browses webpage generation, consistance contrast is carried out in the connection got and the webpage default link preset, if determine user browse webpage produce link be default webpage default link, then do not carry out preservation link and header manipulation, if determine user browse webpage produce connection be not default webpage default link, the monitoring event monitored and judge dom tree whether loaded is then injected at current page, and export readjustment and hold instruction, now user is browsed link that webpage produces and title is saved to historical record and most frequentation is asked.The present embodiment adjusts back client by the mode of monitoring event, in specific implementation process when receiving readjustment and holding instruction, only carry out the access once to historical record and the most normal visit data, the action of namely only once preserving, while ensure that the accuracy of each link and header record, decrease the I/O operation to database, greatly reduce user's access and carrying out taking mobile phone EMS memory in webpage process.
The user that the embodiment of the present invention provides browses the disposal route that web-page histories record and most frequentation are asked, first determines that user browses whether the link that webpage produces is default webpage default link; If determine, user browses the link that webpage produces is not default webpage default link, then inject to monitor current page dom tree and load the monitoring event whether completed in current web page; Complete when listening to the loading of current page dom tree, then export callback instruction to preserve web page interlinkage and title and ask to historical record and most frequentation, described callback instruction is that readjustment is preserved user and browsed the instruction that the link of webpage generation and title ask to historical record and most frequentation.Browse web-page histories record with the user of prior art to compare with the most normal access processing method, the present invention injects monitoring event when not being default webpage default link by browsing the link of webpage generation user, decrease the number of operations of historical record to the page and the most normal visit data, reduce taking mobile phone EMS memory in accession page process.
Further, as the specific implementation of method shown in Fig. 1, the treating apparatus that the embodiment of the present invention provides a kind of user to browse web-page histories record and most frequentation to ask, as shown in Figure 3, described device can comprise: determining unit 31, monitor injection unit 32, readjustment output unit 33.
Described determining unit 31, may be used for determining that user browses whether the link that webpage produces is default webpage default link.
Described monitoring injection unit 32, determining that if may be used for user browses the link that webpage produces is not default webpage default link, then inject to monitor current page dom tree and load the monitoring event whether completed in current web page.
Describedly destroy output unit 33, may be used for completing when listening to the loading of current page dom tree, then export callback instruction to preserve web page interlinkage and title and ask to historical record and most frequentation, described callback instruction is that readjustment is preserved user and browsed the instruction that the link of webpage generation and title ask to historical record and most frequentation.
It should be noted that, a kind of user that the embodiment of the present invention provides browses other corresponding descriptions of each functional unit involved by treating apparatus that web-page histories record and most frequentation ask, the correspondence in method shown in reference diagram 1 can describe, does not repeat them here.
The user that the embodiment of the present invention provides browses the treating apparatus that web-page histories record and most frequentation are asked, first determines that user browses whether the link that webpage produces is default webpage default link; If determine, user browses the link that webpage produces is not default webpage default link, then inject to monitor current page dom tree and load the monitoring event whether completed in current web page; Complete when listening to the loading of current page dom tree, then export callback instruction to preserve web page interlinkage and title and ask to historical record and most frequentation, described callback instruction is that readjustment is preserved user and browsed the instruction that the link of webpage generation and title ask to historical record and most frequentation.Browse web-page histories record with the user of prior art to compare with the most normal access processing method, the present invention injects monitoring event when not being default webpage default link by browsing the link of webpage generation user, decrease the number of operations of historical record to the page and the most normal visit data, reduce taking mobile phone EMS memory in accession page process.
Further, as the specific implementation of method shown in Fig. 2, the treating apparatus that the embodiment of the present invention provides another kind of user to browse web-page histories record and most frequentation to ask, as shown in Figure 4, described device can comprise: determining unit 41, monitor injection unit 42, readjustment output unit 43.
Described determining unit 41, may be used for determining that user browses whether the link that webpage produces is default webpage default link.
Described monitoring injection unit 42, determining that if may be used for user browses the link that webpage produces is not default webpage default link, then inject to monitor current page dom tree and load the monitoring event whether completed in current web page.
Described readjustment output unit 43, may be used for completing when listening to the loading of current page dom tree, then export callback instruction to preserve web page interlinkage and title and ask to historical record and most frequentation, described callback instruction is that readjustment is preserved user and browsed the instruction that the link of webpage generation and title ask to historical record and most frequentation.
Further, described data to be stored if be also less than predetermined threshold value for the data volume sum of the data that store in current cache and described data to be stored, are then stored in described buffer memory by described storage unit 43.
Further, described readjustment output unit 43, specifically also for:
Callback instruction is inputted in the webpage that current dom tree has loaded;
According to described callback instruction, described web page interlinkage and title are saved to historical record and most frequentation is asked.
Further, described determining unit 41, if be also default webpage default link for determining that user browses the link that webpage produces, then do not preserve web page interlinkage and title and asks to historical record and most frequentation.
Further, described device can also comprise: acquiring unit 44;
Described acquiring unit 44, may be used for obtaining link and the title that user browses webpage generation.
It should be noted that, the another kind of user that the embodiment of the present invention provides browses other corresponding descriptions of each functional unit involved by treating apparatus that web-page histories record and most frequentation ask, the correspondence of method shown in reference diagram 2 can describe, does not repeat them here.
The another kind that the embodiment of the present invention provides browses the treating apparatus that web-page histories record and most frequentation are asked, first determines that user browses whether the link that webpage produces is default webpage default link; If determine, user browses the link that webpage produces is not default webpage default link, then inject to monitor current page dom tree and load the monitoring event whether completed in current web page; Complete when listening to the loading of current page dom tree, then export callback instruction to preserve web page interlinkage and title and ask to historical record and most frequentation, described callback instruction is that readjustment is preserved user and browsed the instruction that the link of webpage generation and title ask to historical record and most frequentation.Browse web-page histories record with the user of prior art to compare with the most normal access processing method, the present invention injects monitoring event when not being default webpage default link by browsing the link of webpage generation user, decrease the number of operations of historical record to the page and the most normal visit data, reduce taking mobile phone EMS memory in accession page process.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
Be understandable that, the correlated characteristic in said method and device can reference mutually.In addition, " first ", " second " in above-described embodiment etc. are for distinguishing each embodiment, and do not represent the quality of each embodiment.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions of the some or all parts in the method and device that microprocessor or digital signal processor (DSP) can be used in practice to realize storing according to a kind of data of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.

Claims (8)

1. user browses the disposal route that web-page histories record and most frequentation are asked, it is characterized in that, comprising:
Determine user browse webpage produce link whether be default webpage default link;
If determine, user browses the link that webpage produces is not default webpage default link, then inject to monitor current page dom tree and load the monitoring event whether completed in current web page;
Complete when listening to the loading of current page dom tree, then export callback instruction to preserve web page interlinkage and title and ask to historical record and most frequentation, described callback instruction is that readjustment is preserved user and browsed the instruction that the link of webpage generation and title ask to historical record and most frequentation.
2. method according to claim 1, is characterized in that, described output callback instruction is preserved web page interlinkage and title and asked to historical record and most frequentation, comprising:
Callback instruction is inputted in the webpage that current dom tree has loaded;
According to described callback instruction, described web page interlinkage and title are saved to historical record and most frequentation is asked.
3. method according to claim 1, is characterized in that, described method also comprises:
If determine, user browses the link that webpage produces is default webpage default link, then do not preserve web page interlinkage and title and ask to historical record and most frequentation.
4. method according to claim 1, is characterized in that, browses before whether link that webpage produces be default webpage default link, also comprise the described user of determination:
Obtain link and title that user browses webpage generation.
5. user browses the treating apparatus that web-page histories record and most frequentation are asked, it is characterized in that, comprising:
Determining unit, for determine user browse webpage produce link whether be default webpage default link;
Monitor injection unit, if be not default webpage default link for determining that user browses the link that webpage produces, then inject in current web page and monitor current page dom tree and load the monitoring event whether completed;
Readjustment output unit, for completing when listening to the loading of current page dom tree, then export callback instruction to preserve web page interlinkage and title and ask to historical record and most frequentation, described callback instruction is that readjustment is preserved user and browsed the instruction that the link of webpage generation and title ask to historical record and most frequentation.
6. device according to claim 5, is characterized in that, described readjustment output unit, specifically for:
Callback instruction is inputted in the webpage that current dom tree has loaded;
According to described callback instruction, described web page interlinkage and title are saved to historical record and most frequentation is asked.
7. device according to claim 5, is characterized in that,
Described determining unit, if be also default webpage default link for determining that user browses the link that webpage produces, then do not preserve web page interlinkage and title and asks to historical record and most frequentation.
8. device according to claim 5, is characterized in that, described device also comprises:
Acquiring unit, browses link and the title of webpage generation for obtaining user.
CN201510629679.5A 2015-09-28 2015-09-28 The processing method and processing device that user browses web-page histories record and most frequentation is asked Active CN105260424B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510629679.5A CN105260424B (en) 2015-09-28 2015-09-28 The processing method and processing device that user browses web-page histories record and most frequentation is asked

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510629679.5A CN105260424B (en) 2015-09-28 2015-09-28 The processing method and processing device that user browses web-page histories record and most frequentation is asked

Publications (2)

Publication Number Publication Date
CN105260424A true CN105260424A (en) 2016-01-20
CN105260424B CN105260424B (en) 2019-02-26

Family

ID=55100116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510629679.5A Active CN105260424B (en) 2015-09-28 2015-09-28 The processing method and processing device that user browses web-page histories record and most frequentation is asked

Country Status (1)

Country Link
CN (1) CN105260424B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760284A (en) * 2016-02-01 2016-07-13 广州酷狗计算机科技有限公司 Website performance monitoring method and device
CN107169141A (en) * 2017-06-15 2017-09-15 青岛海信移动通信技术股份有限公司 webpage collection method and device
CN108520179A (en) * 2018-04-09 2018-09-11 福建中金在线信息科技有限公司 A kind for the treatment of method and apparatus of webview loopholes
WO2020024397A1 (en) * 2018-08-02 2020-02-06 平安科技(深圳)有限公司 Page access processing method, apparatus, computer device and storage medium
CN112597417A (en) * 2020-12-18 2021-04-02 北京达佳互联信息技术有限公司 Page updating method and device, electronic equipment and storage medium
CN114157647A (en) * 2021-11-11 2022-03-08 众安信息技术服务有限公司 Method and device for tracking webpage browsed by user, electronic equipment and storage medium
CN115470423A (en) * 2022-11-15 2022-12-13 深圳市乐凡信息科技有限公司 Android system updating method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129428A (en) * 2010-01-20 2011-07-20 腾讯科技(深圳)有限公司 Method and device for subscribing information from webpage
CN103246739A (en) * 2013-05-16 2013-08-14 百度在线网络技术(北京)有限公司 Web browsing control method of multiple Web Views and browser
EP2642412A1 (en) * 2012-03-20 2013-09-25 Samsung Electronics Co., Ltd System and method for managing browsing histories of web browser
CN103577439A (en) * 2012-07-27 2014-02-12 北京搜狗信息服务有限公司 Webpage pre-reading method and webpage pre-reading system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129428A (en) * 2010-01-20 2011-07-20 腾讯科技(深圳)有限公司 Method and device for subscribing information from webpage
EP2642412A1 (en) * 2012-03-20 2013-09-25 Samsung Electronics Co., Ltd System and method for managing browsing histories of web browser
CN103577439A (en) * 2012-07-27 2014-02-12 北京搜狗信息服务有限公司 Webpage pre-reading method and webpage pre-reading system
CN103246739A (en) * 2013-05-16 2013-08-14 百度在线网络技术(北京)有限公司 Web browsing control method of multiple Web Views and browser

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760284A (en) * 2016-02-01 2016-07-13 广州酷狗计算机科技有限公司 Website performance monitoring method and device
CN107169141A (en) * 2017-06-15 2017-09-15 青岛海信移动通信技术股份有限公司 webpage collection method and device
CN107169141B (en) * 2017-06-15 2020-09-01 青岛海信移动通信技术股份有限公司 Webpage collection method and device
CN108520179A (en) * 2018-04-09 2018-09-11 福建中金在线信息科技有限公司 A kind for the treatment of method and apparatus of webview loopholes
CN108520179B (en) * 2018-04-09 2021-01-15 福建中金在线信息科技有限公司 Method and device for processing webview vulnerability
WO2020024397A1 (en) * 2018-08-02 2020-02-06 平安科技(深圳)有限公司 Page access processing method, apparatus, computer device and storage medium
CN112597417A (en) * 2020-12-18 2021-04-02 北京达佳互联信息技术有限公司 Page updating method and device, electronic equipment and storage medium
CN112597417B (en) * 2020-12-18 2024-03-12 北京达佳互联信息技术有限公司 Page updating method and device, electronic equipment and storage medium
CN114157647A (en) * 2021-11-11 2022-03-08 众安信息技术服务有限公司 Method and device for tracking webpage browsed by user, electronic equipment and storage medium
CN115470423A (en) * 2022-11-15 2022-12-13 深圳市乐凡信息科技有限公司 Android system updating method, device, equipment and storage medium
CN115470423B (en) * 2022-11-15 2023-03-24 深圳市乐凡信息科技有限公司 Android system updating method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105260424B (en) 2019-02-26

Similar Documents

Publication Publication Date Title
CN105260424A (en) Processing method and apparatus for webpage browsing historical records and most common accesses of user
US8826298B2 (en) Method and apparatus that enables a web-based client-server application to be used offline
US10291738B1 (en) Speculative prefetch of resources across page loads
CN105027120B (en) multi-page management method and device
CN104572777B (en) Webpage loading method and device based on UIWebView component
CN104462571A (en) Webpage loading method and device and browser client-side
CN103412890A (en) Webpage loading method and device
CN104361071A (en) Page preloading method and device
CN107291449B (en) Page rendering method, device and equipment
US10599754B2 (en) Context editing without interfering with target page
CN104331369A (en) Browser-based webpage detection method and device, and server
CN105354337A (en) Web crawler implementation method and web crawler system
US9703460B2 (en) Intelligent rendering of webpages
CN107688568A (en) Acquisition method and device based on web page access behavior record
CN106126693A (en) The sending method of the related data of a kind of webpage and device
CN104468834A (en) Method and device for processing Cookie data and browser client side
CN109829121B (en) Method and device for reporting click behavior data
CN104239089A (en) Game speed change implementing method and game speed change implementing device
CN106528659A (en) A control method and device for jumping from a browser to an application program
CN103078967A (en) Client, server, system and method for generating commonly used websites
CN104731817B (en) A kind of webpage exhibiting method and device
CN103116609A (en) Server, client-side, system and method of achieving page load of browser
CN105183890A (en) Webpage loading method based on browser and browser device
CN110737853A (en) method for synchronizing data of multi-platform display static pages and B2B system
CN109343908A (en) A kind of method and apparatus of delay loading JS script

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220708

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co., Ltd