CN104572914A - Method and device for intercepting advertisements of double-core browser - Google Patents

Method and device for intercepting advertisements of double-core browser Download PDF

Info

Publication number
CN104572914A
CN104572914A CN201410832195.6A CN201410832195A CN104572914A CN 104572914 A CN104572914 A CN 104572914A CN 201410832195 A CN201410832195 A CN 201410832195A CN 104572914 A CN104572914 A CN 104572914A
Authority
CN
China
Prior art keywords
access requests
webpage subprocess
web access
kernel webpage
web
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410832195.6A
Other languages
Chinese (zh)
Other versions
CN104572914B (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 CN201410832195.6A priority Critical patent/CN104572914B/en
Publication of CN104572914A publication Critical patent/CN104572914A/en
Application granted granted Critical
Publication of CN104572914B publication Critical patent/CN104572914B/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/9558Details of hyperlinks; Management of linked annotations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Abstract

The invention provides a method and a device for intercepting advertisements of a double-core browser. The method comprises the following steps of detecting an IE (internet explorer) core webpage child process and/or a Webkit core child process of the double-core browser, and loading the webpage information according to a webpage accessing request; intercepting and hanging the webpage accessing request, wherein the webpage accessing request comprises webpage address information URL (uniform resource locator); enabling the IE core webpage child process and/or the Webkit core child process to call an independent plug-in through a browser main process to perform the advertisement resource verification on the webpage accessing request; when the advertisement resource verification is not qualified, giving up the webpage accessing request in the IE core webpage child process and/or the Webkit core child process. The method has the advantages that the opening of the advertisement webpage is foundationally prevented, the clean webpage content is provided for the user, and the network resource is saved.

Description

The method and apparatus of Ad blocking is carried out in double-core browser
Technical field
The present invention relates to Internet technical field, particularly relate to the method and a kind of double-core browser device of in a kind of double-core browser, carrying out Ad blocking.
Background technology
Browser refers to can HTML (HyperTextMark-up Language, the standard generalized markup language) file content of display web page server or file system, and allows a kind of software of user and these file interactions.Browser mainly through http protocol and web page server alternately and obtain webpage, specified by URL, and file layout is generally HTML, and indicated in http protocol by MIME by these webpages.
Along with the development of network technology, there is different typesetting formats in webpage, and the browser of the different kernels therefore also produced is resolved it and shows.Browse various webpage for the ease of user to meet the tendency and formed double-core browser, carry out to adopt different kernel for different web pages resolving and showing.
Summary of the invention
In view of the above problems, propose the present invention in case provide a kind of overcome in the problems referred to above or a kind of double-core browser of solving the problem at least in part carry out the method for Ad blocking and corresponding double-core browser device.
According to one aspect of the present invention, provide a kind of method of carrying out Ad blocking in double-core browser, comprising: detect that IE kernel webpage subprocess in double-core browser and/or Webkit kernel webpage subprocess are according to web access requests Web page loading information; Intercept and capture and hang up described web access requests, wherein said web access requests comprises web page address information URL; Described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess by browser host process call one independently plug-in unit process advertising resource checking is carried out to described web access requests; When described advertising resource checking is obstructed out-of-date, abandon the described web access requests in described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess.
According to a further aspect in the invention, provide a kind of double-core browser device, comprise: request monitoring module, for detecting that IE kernel webpage subprocess in double-core browser and/or Webkit kernel webpage subprocess are according to web access requests Web page loading information; Request blocking module, for intercepting and capturing and hanging up described web access requests, wherein said web access requests comprises web page address information URL; Resource authenticates module, for described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess by browser host process call one independently plug-in unit process advertising resource checking is carried out to described web access requests; Blocking module, obstructed out-of-date for verifying when described advertising resource, abandon the described web access requests in described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess.
Double-core browser is when adopting IE kernel webpage subprocess and/or Webkit kernel webpage subprocess to send web access requests loading corresponding web page information, intercept and capture and hang up described web access requests, thus preventing webpage subprocess from directly loading the info web returned based on web access requests.Then browser host process is passed through as agency, independently third-party plug-in unit process of calling carries out advertising resource checking to web access requests, the info web of the web access requests be verified could load, and the different web access requests crossed of checking directly abandons, not return info web to the webpage subprocess of request, fundamentally prevent from opening advertisement webpage, for user provides clean web page contents, and save Internet resources.
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:
Fig. 1 shows the flow chart of steps of carrying out the embodiment of the method for Ad blocking in double-core browser according to an embodiment of the invention;
Fig. 2 shows Webkit kernel webpage subprocess in double-core browser according to an embodiment of the invention and carries out the flow chart of steps of the embodiment of the method for Ad blocking;
Fig. 3 shows IE kernel webpage subprocess in double-core browser according to an embodiment of the invention and carries out the flow chart of steps of the embodiment of the method for Ad blocking;
Fig. 4 shows a kind of according to an embodiment of the invention structured flowchart of double-core browser device embodiment;
Fig. 5 shows the preferred structure block diagram of double-core browser device embodiment according to an embodiment of the invention;
Fig. 6 shows the structured flowchart of resource authenticates module in double-core browser device embodiment according to an embodiment of the invention; And
Fig. 7 shows the structured flowchart of content verification module in double-core browser device embodiment according to an embodiment of the invention.
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.
Embodiment one
With reference to Fig. 1, show the flow chart of steps of carrying out the embodiment of the method for Ad blocking in double-core browser according to an embodiment of the invention, specifically can comprise the steps:
Step 102, detects the IE kernel webpage subprocess in double-core browser, and/or Webkit kernel webpage subprocess is according to web access requests Web page loading information.
Kernel refers to the render engine (Rendering Engine) of browser, in the present embodiment, double-core browser comprises IE (Internet Explorer) kernel and Webkit kernel, wherein, IE kernel in fact with the webcontrol control of microsoft operation system for kernel, as IE kernel can adopt Trident engine, WebKit is a browser engine of increasing income.
Double-core browser can start different kernel webpage subprocesss based on the difference of webpage layout form when opening webpage and open corresponding webpage.Because Most current webpage is all with advertisement pushing, user opens webpage will see advertisement, is not easy to browse web page contents.Therefore the present embodiment is tackled the webpage opened in double-core browser, therefore in double-core browser, IE kernel webpage subprocess and Webkit kernel webpage subprocess are monitored, can detect that IE kernel webpage subprocess is according to web access requests Web page loading information, and/or Webkit kernel webpage subprocess is according to web access requests Web page loading information.
Step 104, intercepts and captures and hangs up described web access requests.
In double-core browser no matter IE kernel webpage subprocess or Webkit kernel webpage subprocess when according to web access requests Web page loading information, all to intercept and capture and hang up described web access requests, namely this web access requests is tackled, wherein said web access requests comprises web page address information URL (Uniform Resource Locator, URL(uniform resource locator)).
Step 106, described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess by browser host process call one independently plug-in unit process advertising resource checking is carried out to described web access requests.
In the present embodiment, in order to tackle the advertisement in request of loading webpage, stop webpage subprocess by web access requests come direct Web page loading information, but by this web access requests by browser host process call one independently plug-in unit process carry out advertising resource checking.Namely adopt browser host process as agency, carry out advertising resource checking by third-party plug-in unit process to web access requests, the web access requests verified by advertising resource can normally be returned info web and load.
Step 108, when described advertising resource checking is obstructed out-of-date, abandons described IE kernel webpage subprocess, and/or, the described web access requests in Webkit kernel webpage subprocess.
When advertising resource checking is obstructed out-of-date, characterizing current web access requests is request for advertisement webpage, now to abandon this web access requests, not return info web and load to the IE kernel webpage subprocess of request and/or Webkit kernel webpage subprocess.
In sum, double-core browser is when adopting IE kernel webpage subprocess and/or Webkit kernel webpage subprocess to send web access requests loading corresponding web page information, intercept and capture and hang up described web access requests, thus preventing webpage subprocess from directly loading the info web returned based on web access requests.Then browser host process is passed through as agency, independently third-party plug-in unit process of calling carries out advertising resource checking to web access requests, the info web of the web access requests be verified could load, and the different web access requests crossed of checking directly abandons, not return info web to the webpage subprocess of request, fundamentally prevent from opening advertisement webpage, for user provides clean web page contents, and save Internet resources.
In the embodiment of the present invention, double-core browser comprises IE kernel and Webkit kernel, and the interception of webpage subprocess to advertisement of different kernel exists certain difference.
Embodiment two
On the basis of above-described embodiment, the present embodiment discuss in detail in double-core browser Webkit kernel webpage subprocess to webpage in the step of advertising message interception.
With reference to Fig. 2, show Webkit kernel webpage subprocess in double-core browser according to an embodiment of the invention and carry out the flow chart of steps of the embodiment of the method for Ad blocking, specifically can comprise the steps:
Step 202, detects that Webkit kernel webpage subprocess is according to web access requests Web page loading information.
Step 204, intercepts and captures and hangs up described web access requests.
Step 206, described web access requests is sent to browser host process by Webkit kernel webpage subprocess.
When double-core browser adopts Webkit kernel webpage subprocess to send web access requests with Web page loading information, intercept and capture and hang up described web access requests, being transferred to the browser host process as agency.In the present embodiment, browser host process can based on IE kernel, also can be sing on web kit kernel, for Webkit kernel host process, web access requests directly can not be sent to network by this Webkit kernel webpage subprocess, but this web access requests is sent to the Webkit kernel host process as agency, the info web allowing the loading of Webkit kernel webpage subprocess based on this web access requests is determined whether by this Webkit kernel host process.
Step 208, described web access requests is sent to the independently plug-in unit process called by described browser host process.
In the present embodiment, using the agency of browser host process as interception advertising message, then browser host process can call an independently plug-in unit process, this plug-in unit process can for comprising the plug-in unit process of Ad blocking rule parsing engine, thus plug-in unit process carries out Ad blocking by built-in Ad blocking rule parsing engine to web access requests.Therefore web access requests can be sent to the independently plug-in unit process called by browser host process.
Step 210, described plug-in unit process carries out the inspection of the overall situation and/or designated domain name respectively to the URL in web access requests, source address information and request header type information.
Step 212, determines whether advertising resource checking is passed through.
In the present embodiment, described web access requests comprises: URL information, source address information and request header type information.Wherein, URL information is the web page address of requested webpage.Source address information and refer; also can be described as HTTP Referer; it is a part of the request header header of http; for characterizing the address of a upper page; when browser sends request to web server, Referer usually can be brought to come from which page link with during this request of notification server.Request header type information, namely accept-type is the type of receipt carried in the request header header of http.
When plug-in unit process detects web access requests, can detect URL, source address information and request header type information successively, wherein for the detected rule of Ad blocking, comprise the rule of global rule and designated domain name.
Wherein, global rule refers to and all carries out match check according to this rule to all URL, source address information and request header type information, and to mate if detect with this with this global rule, then what characterize its request is advertising resource information, and advertising resource checking is not passed through.
The rule of designated domain name is the advertising matches rule to the web access requests of designated domain name, the domain name of its correspondence can be parsed by the URL in web access requests, then the matched rule obtaining this domain name all carries out coupling inspection to this URL, source address information and request header type information successively, if the rule match with this designated domain name detected with this, what then characterize its request is advertising resource information, and advertising resource checking is not passed through.
If the URL in web access requests, source address information and request header type information, all do not mate with the rule of global rule and designated domain name, then advertising resource is verified.
In the present invention's embodiment, described plug-in unit process carries out the inspection of designated domain name respectively to the URL in web access requests, source address information and request header type information, determine that advertising resource verifies the step whether passed through, comprising: described plug-in unit process obtains described URL, source address information and request header type information successively from described web access requests; Determine the website belonging to described URL, obtain the filtrator of described website; The filtrator of described website is adopted to carry out filtration treatment to described URL, source address information and request header type information respectively; Whether pass through according to the checking of filter result determination advertising resource.
For the detection of the rule of formulation domain name, can detect by the pre-configured filtrator corresponding with rule in the present embodiment.Wherein generate the step of filtrator: described plug-in unit process obtains the interception rule file of each website successively from the interception rule base of network side; Resolve the interception rule file of described each website respectively, generate the filtrator of each website.
The interception rule base having the advertising matches rule of each website is safeguarded in network, therefore plug-in unit process regularly can obtain the interception rule file that interception rule base obtains each website from network, for each interception rule file, by resolving the filtrator tackled advertisement generating its corresponding website.Thus adopt its interception rule file to realize mating based on the interception of domain name to each website.
After generation filtrator, plug-in unit process obtains described URL from browser host process, source address information and request header type information, then the domain name of its affiliated web site can be determined according to URL, and determine to mate corresponding filtrator to domain name, then adopt this filtrator successively to URL, source address information and request header type information carry out filtration treatment, determine that whether it is identical with the interception rule configured in interception rule file, if identical, advertising resource checking is not passed through, if all different from the interception rule configured in interception rule file, then advertising resource is verified.
Step 214, browser host process obtains the corresponding info web of this web access requests and feeds back to Webkit kernel webpage subprocess and loads.
After advertising resource is verified; this URL is not the request to advertisement page; therefore browser host process normally obtains the corresponding info web of this web access requests; then this info web is fed back to Webkit kernel webpage subprocess, Webkit kernel webpage subprocess carries out the corresponding webpage of loaded and displayed to this info web.
Step 216, abandons the described web access requests in described Webkit kernel webpage subprocess.
When advertising resource checking is obstructed out-of-date, this URL is to the request of advertisement page, browser host process is abandoned adopting this web access requests web page resources, it can not feed back any information to Webkit kernel webpage subprocess, or the message that feedback webpage cannot be opened is to Webkit kernel webpage subprocess.
To sum up, adopt browser host process as agency, by third party independently the web access requests of plug-in unit process to the request of webpage subprocess detect, global detection can be adopted, also domain name can be adopted to detect, thus accurately detect the request to advertisement webpage, and be abandoned.
Secondly, can the interception rule file of each website in network interception rule base, generate the filtrator at each station, thus when detecting based on domain name, domain name based on URL determines that the filtrator selected carries out filtration treatment to URL, source address information and request header type information, completes advertising resource checking.
Embodiment three
When user opens webpage in a browser, this webpage carries independently advertisement page sometimes, thus can tackle the independence advertisement page of request by the way, forbids that it shows.But some advertisement is embedded in webpage normal content, if directly its URL of interception can cause whole webpage cannot show, this is obviously unreasonable also worthless.
Therefore the present embodiment additionally provides the step of tackling the advertisement be embedded in webpage normal content, and the present embodiment is discussed for IE kernel webpage subprocess.
With reference to Fig. 3, show IE kernel webpage subprocess in double-core browser according to an embodiment of the invention and carry out the flow chart of steps of the embodiment of the method for Ad blocking, specifically can comprise the steps:
Step 302, when starting IE kernel webpage subprocess in described double-core browser, arranges process hook in described IE kernel webpage subprocess.
Step 304, adopts described process hook to monitor described IE kernel webpage subprocess.
In the present embodiment, browser host process adopts WebKit kernel host process, because IE kernel webpage subprocess can not directly communicate with WebKit kernel host process, and mutual both therefore will being realized by hook.
When starting IE kernel webpage subprocess in described double-core browser, process hook HOOK can be set in IE kernel webpage subprocess.Hook Mechanism allows application program to intercept and capture process window message or particular event.This process hook can be monitored the various message of described IE kernel webpage subprocess.
Step 306, process hook detects that IE kernel webpage subprocess is according to web access requests Web page loading information.
Step 308, process hook is intercepted and captured and is hung up described web access requests.
Process hook, when detecting that IE kernel webpage subprocess transmission web access requests carrys out request of loading info web, tackle, and this web access requests of temporary suspension does not send to network to this web access requests.
Step 310, described web access requests is sent to Webkit kernel host process by hook interface by process hook.
Step 312, described web access requests is sent to the independently plug-in unit process called by described browser host process.
Web access requests is sent to the Webkit kernel host process acted on behalf of as Ad blocking by process hook by hook interface.Host process can start an independently plug-in unit process to tackle advertisement, is configured with Ad blocking rule parsing engine, thus detects the web access requests of advertisement page in this plug-in unit process.
In the present embodiment, Ad blocking rule parsing engine comprises: Adblock or Adblock Plus.Wherein, Adblock allows user to tackle advertisement at interior various page elements, and makes these contents not be downloaded and show.Adblock Plus is the branch of Adblock, can stop the object on particular web site and webpage, such as picture, Flash etc.Asterisk wildcard or regular expression can be used in the filter to stop all advertisements, and Adblock Plus gives tacit consent to all annoying advertisements on meeting filtering web page, comprise YouTube, the video ads on Facebook, twinkling banner, pop-up window, recessive pop-up window and more advertisement.
Thus can be detected the web access requests of IE kernel webpage subprocess by plug-in unit process, wherein, web access requests comprises URL, source address information and request header type information, realizes stoping the object to the request of advertisement page.
Step 314, plug-in unit process carries out the inspection of the overall situation and/or designated domain name respectively to the URL in web access requests, source address information and request header type information.
Step 316, determines whether advertising resource checking is passed through.
When plug-in unit process detects web access requests, can detect URL, source address information and request header type information successively, wherein for the detected rule of Ad blocking, comprise the rule of global rule and designated domain name.
Wherein, global rule refers to and all carries out match check according to this rule to all URL, source address information and request header type information, and to mate if detect with this with this global rule, then what characterize its request is advertising resource information, and advertising resource checking is not passed through.
The rule of designated domain name is the advertising matches rule to the web access requests of designated domain name, the domain name of its correspondence can be parsed by the URL in web access requests, then the matched rule obtaining this domain name all carries out coupling inspection to this URL, source address information and request header type information successively, if the rule match with this designated domain name detected with this, what then characterize its request is advertising resource information, and advertising resource checking is not passed through.
If the URL in web access requests, source address information and request header type information, all do not mate with the rule of global rule and designated domain name, then advertising resource is verified.
In the present invention's embodiment, described plug-in unit process carries out the inspection of designated domain name respectively to the URL in web access requests, source address information and request header type information, determine that advertising resource verifies the step whether passed through, comprising: described plug-in unit process obtains described URL, source address information and request header type information successively from described web access requests; Determine the website belonging to described URL, obtain the filtrator of described website; The filtrator of described website is adopted to carry out filtration treatment to described URL, source address information and request header type information respectively; Whether pass through according to the checking of filter result determination advertising resource.
For the detection of the rule of formulation domain name, can detect by the pre-configured filtrator corresponding with rule in the present embodiment.Wherein generate the step of filtrator: described plug-in unit process obtains the interception rule file of each website successively from the interception rule base of network side; Resolve the interception rule file of described each website respectively, generate the filtrator of each website.
The interception rule base having the advertising matches rule of each website is safeguarded in network, therefore plug-in unit process regularly can obtain the interception rule file that interception rule base obtains each website from network, for each interception rule file, by resolving the filtrator tackled advertisement generating its corresponding website.Thus adopt its interception rule file to realize mating based on the interception of domain name to each website.
After generation filtrator, plug-in unit process obtains described URL, source address information and request header type information from browser host process, then the domain name of its affiliated web site can be determined according to URL, and give main officer of Tibet device domain name and mate corresponding filtrator, then this filtrator is adopted to carry out filtration treatment to URL, source address information and request header type information successively, determine that whether it is identical with the interception rule configured in interception rule file, if identical, advertising resource checking is not passed through, if all different from the interception rule configured in interception rule file, then advertising resource is verified.
Step 318, abandons the described web access requests in described IE kernel webpage subprocess.
When advertising resource checking is obstructed out-of-date, this URL is to the request of advertisement page, browser host process is abandoned adopting this web access requests web page resources, and it can not feed back any information to IE kernel webpage subprocess, or the message that feedback webpage cannot be opened is to IE kernel webpage subprocess.
Step 320, returns to described IE kernel webpage subprocess by info web corresponding for described web access requests.
Step 322, described IE kernel webpage subprocess carries out ad content checking by control interface interchange ad content blocker to described info web.
After advertising resource is verified, this web access requests is not the request for advertisement webpage, but in order to improve the accuracy to advertisement filter, some advertisement may be hidden in normal web page contents, user can be made cannot to browse normal web page contents wherein if directly abandon this series advertisements.
Therefore, web access requests is verified for advertising resource, the pending operation to this web access requests can be terminated, to the info web of its correspondence of network request, then the info web got is returned to IE kernel webpage subprocess.
IE kernel webpage subprocess is in order to tackle the advertisement be hidden in webpage, ad content blocker can be adopted to tackle, this ad content blocker comprises Cascading Style Sheet (CascadingStyle Sheets, CSS) selector switch, CSS selector switch can realize the control to the element in html page, comprise and the element in html page is realized one to one, one-to-many or many-to-one control.
IE kernel webpage subprocess, by control interface interchange ad content blocker, adopts this ad content blocker to carry out ad content checking to this info web.
In a preferred embodiment of the invention, described IE kernel webpage subprocess carries out ad content checking by control interface interchange ad content blocker to described info web, comprise: described IE kernel webpage subprocess, by control interface interchange ad content blocker, obtains advertisement and hides rule list; Described IE kernel webpage subprocess is checked the web page element of specifying in described info web whether to meet described advertisement to hide advertisement hidden conditional in rule list; When described web page element of specifying meets the advertisement hidden conditional that described advertisement hides in rule list, determine that the checking of described ad content is not passed through.
IE kernel webpage subprocess calls ad content blocker by control interface (as WebBrowser interface), obtain advertisement by this ad content blocker and hide rule list, whether the web page element then in IE kernel webpage subprocess detection webpage hides rule list with advertisement mates, namely adopt the web page element of specifying in info web, hide corresponding advertisement hidden conditional in rule list with advertisement and mate.When described web page element of specifying meets the advertisement hidden conditional that described advertisement hides in rule list, determine that the checking of described ad content is not passed through.Otherwise, when described web page element of specifying do not meet described advertisement hide corresponding advertisement hidden conditional in rule list time, determine that described ad content is verified.
Optionally, described IE kernel webpage subprocess, by control interface interchange ad content blocker, obtains advertisement and hides rule list, comprising: described IE kernel webpage subprocess adopts control interface interchange ad content blocker; Ad content blocker obtains the domain name of described web page address information URL, and adopts domain name match advertisements to hide rule list; Described IE kernel webpage subprocess hides rule list by the advertisement of ad content blocker feedback described in described control interface.
IE kernel webpage subprocess adopts control interface interchange ad content blocker, ad content blocker obtains the URL of IE kernel webpage subprocess transmission, analyze the domain name of this URL, then advertisement corresponding to domain name coupling is adopted to hide rule list, again this advertisement is hidden rule list and send to IE kernel webpage subprocess by described control structure, hide based on this advertisement the detection that rule list carries out web page element in info web to make IE kernel webpage subprocess.
Step 324, whether ad content checking is passed through.
If so, namely ad content is verified, and performs step 328; If not, namely ad content checking is not passed through, and performs step 328.
Step 326, described IE kernel webpage subprocess shields the web page element of specifying in loaded info web.
When described web page element of specifying meets the advertisement hidden conditional that described advertisement hides in rule list, determine that the checking of described ad content is not passed through, the web page element corresponding content meeting advertisement hidden conditional is advertising message, then E kernel webpage subprocess is shielded the web page element of specifying in loaded info web, in the page, do not load this web page element of specifying.
Step 328, the info web of web access requests described in described IE kernel webpage subprocess normal load.
When described web page element of specifying do not meet described advertisement hide corresponding advertisement hidden conditional in rule list time, determine that the ad content of this web page element of specifying is verified, can in webpage this web page element of specifying of normal load, thus the info web verified by ad content is carried out loading and showing.
Above provide the embodiment of the web page element of the advertisement be hidden in info web being tackled, shields in IE kernel webpage subprocess, in concrete enforcement, also can the web page element of the advertisement be hidden in info web be tackled, be shielded in Webkit kernel webpage subprocess, itself and said process are substantially similar, therefore repeat no more.
To sum up, advertising resource is verified that the web access requests do not passed through can directly abandon, therefore it is not suitable for the interception of the advertisement be hidden in normal web page contents, therefore for the web access requests that advertising resource is verified, also ad content checking will be carried out, prevent it to be hidden in normal web page contents and cannot tackle URL, improve the accuracy of Ad blocking.
Secondly, in ad content checking, obtain advertisement by ad content blocker and hide rule list, thus Ad blocking in the webpage based on domain name can be realized, ensure the accuracy of interception.
For embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action might not be that the embodiment of the present invention is necessary.
Embodiment four
On the basis of above-described embodiment, the present embodiment additionally provides a kind of double-core browser device, and this double-core browser device comprises IE (Internet Explorer) kernel and Webkit kernel.
With reference to Fig. 4, show the structured flowchart of double-core browser device embodiment according to an embodiment of the invention, specifically can comprise as lower module:
Request monitoring module 402, for detecting that IE kernel webpage subprocess in double-core browser and/or Webkit kernel webpage subprocess are according to web access requests Web page loading information.
Request blocking module 404, for intercepting and capturing and hanging up described web access requests, wherein said web access requests comprises web page address information URL.
Resource authenticates module 406, for described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess by browser host process call one independently plug-in unit process advertising resource checking is carried out to described web access requests.
Blocking module 408, obstructed out-of-date for verifying when described advertising resource, abandon the described web access requests in described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess.
In sum, double-core browser is when adopting IE kernel webpage subprocess and/or Webkit kernel webpage subprocess to send web access requests loading corresponding web page information, intercept and capture and hang up described web access requests, thus preventing webpage subprocess from directly loading the info web returned based on web access requests.Then browser host process is passed through as agency, independently third-party plug-in unit process of calling carries out advertising resource checking to web access requests, the info web of the web access requests be verified could load, and the different web access requests crossed of checking directly abandons, not return info web to the webpage subprocess of request, fundamentally prevent from opening advertisement webpage, for user provides clean web page contents, and save Internet resources.
With reference to Fig. 5, show the preferred structure block diagram of double-core browser device embodiment according to an embodiment of the invention.
With reference to Fig. 6, show the structured flowchart of resource authenticates module in double-core browser device embodiment according to an embodiment of the invention.
With reference to Fig. 7, show the structured flowchart of content verification module in double-core browser device embodiment according to an embodiment of the invention.
In the present invention's embodiment, described resource authenticates module 406, comprising: send submodule 40602, for described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess, described web access requests is sent to browser host process; Agent sub-module 40604, sends to the independently plug-in unit process called by described web access requests for described browser host process; Plug-in unit checking submodule 40606, carries out advertising resource checking for described plug-in unit process to described web access requests.
Described web access requests also comprises: source address information and request header type information; Described plug-in unit checking submodule 40606, carries out the inspection of the overall situation and/or designated domain name respectively to the URL in web access requests, source address information and request header type information for described plug-in unit process, determine whether advertising resource checking is passed through.
In the present invention's embodiment, described plug-in unit checking submodule 40606, comprising: resource acquisition unit 406062, obtains described URL, source address information and request header type information successively for described plug-in unit process from described web access requests; Determining unit 406064, for determining the website belonging to described URL, obtains the filtrator of described website; Filter element 406066, carries out filtration treatment to described URL, source address information and request header type information respectively for adopting the filtrator of described website; And whether pass through according to the checking of filter result determination advertising resource.
Also comprise: filtrator generation module 410, from the interception rule base of network side, obtain the interception rule file of each website for described plug-in unit process successively; Resolve the interception rule file of described each website respectively, generate the filtrator of each website.
Return module 412, for when described advertising resource is verified, info web corresponding for described web access requests is returned to described IE kernel webpage subprocess.
Content verification module 414, carries out ad content checking by control interface interchange ad content blocker to described info web for described IE kernel webpage subprocess.
Shroud module 416, determine that the checking of described ad content is obstructed out-of-date for working as, described IE kernel webpage subprocess shields the web page element of specifying in loaded info web.
In the present invention's embodiment, described content verification module 414, comprising: call and obtain submodule 41402, for described IE kernel webpage subprocess by control interface interchange ad content blocker, obtains advertisement and hides rule list; Syndrome module 41404, checks the web page element of specifying in described info web whether to meet described advertisement for described IE kernel webpage subprocess and hides advertisement hidden conditional in rule list; When described web page element of specifying meets the advertisement hidden conditional that described advertisement hides in rule list, determine that the checking of described ad content is not passed through.
In the present invention's embodiment, described in call and obtain submodule 41402, comprising: call unit 414022, adopt control interface interchange ad content blocker for described IE kernel webpage subprocess; Domain name matching unit 414024, obtains the domain name of described web page address information URL for ad content blocker, and adopts domain name match advertisements to hide rule list; Acquiring unit 414026, rule list is hidden in the advertisement obtaining described ad content blocker feedback by described control interface for described IE kernel webpage subprocess.
Wherein, described ad content blocker comprises: Cascading Style Sheet CSS selector switch.Described plug-in unit process comprises: the plug-in unit process comprising Ad blocking rule parsing engine, and described Ad blocking rule parsing engine comprises: Adblock or Adblock Plus.
In the present invention's embodiment, described browser host process comprises: WebKit kernel host process, described device also comprises: hook module 418, during for starting IE kernel webpage subprocess in described double-core browser, in described IE kernel webpage subprocess, arranges process hook; Described request monitoring module 408, for adopting described process hook to monitor described IE kernel webpage subprocess, to detect the web access requests of described IE kernel webpage subprocess.
Described transmission submodule 40602, sends to Webkit kernel host process by hook interface by described web access requests for described process hook.
To sum up, adopt browser host process as agency, by third party independently the web access requests of plug-in unit process to the request of webpage subprocess detect, global detection can be adopted, also domain name can be adopted to detect, thus accurately detect the request to advertisement webpage, and be abandoned.
Secondly, can the interception rule file of each website in network interception rule base, generate the filtrator at each station, thus when detecting based on domain name, domain name based on URL determines that the filtrator selected carries out filtration treatment to URL, source address information and request header type information, completes advertising resource checking.
Again, advertising resource is verified that the web access requests do not passed through can directly abandon, therefore it is not suitable for the interception of the advertisement be hidden in normal web page contents, therefore for the web access requests that advertising resource is verified, also ad content checking will be carried out, prevent it to be hidden in normal web page contents and cannot tackle URL, improve the accuracy of Ad blocking.
Again, in ad content checking, obtain advertisement by ad content blocker and hide rule list, thus Ad blocking in the webpage based on domain name can be realized, ensure the accuracy of interception.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
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 carrying out the some or all parts in the method and apparatus equipment of Ad blocking in a kind of double-core browser that microprocessor or digital signal processor (DSP) can be used in practice to realize according to 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.
The invention discloses a kind of method of carrying out Ad blocking in A1, double-core browser, comprising: detect that IE kernel webpage subprocess in double-core browser and/or Webkit kernel webpage subprocess are according to web access requests Web page loading information; Intercept and capture and hang up described web access requests, wherein said web access requests comprises web page address information URL; Described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess by browser host process call one independently plug-in unit process advertising resource checking is carried out to described web access requests; When described advertising resource checking is obstructed out-of-date, abandon the described web access requests in described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess.
A2, method as described in A1, described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess by browser host process call one independently plug-in unit process advertising resource checking is carried out to described web access requests, comprising: described web access requests is sent to browser host process by described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess; Described web access requests is sent to the independently plug-in unit process called by described browser host process; Described plug-in unit process carries out advertising resource checking to described web access requests.
A3, method as described in A2, described web access requests also comprises: source address information and request header type information, described plug-in unit process carries out advertising resource checking to described web access requests, comprise: described plug-in unit process carries out the inspection of the overall situation and/or designated domain name respectively to the URL in web access requests, source address information and request header type information, determine whether advertising resource checking is passed through.
A4, method as described in A3, described plug-in unit process carries out the inspection of designated domain name respectively to the URL in web access requests, source address information and request header type information, determine that advertising resource verifies the step whether passed through, comprising: described plug-in unit process obtains described URL, source address information and request header type information successively from described web access requests; Determine the website belonging to described URL, obtain the filtrator of described website; The filtrator of described website is adopted to carry out filtration treatment to described URL, source address information and request header type information respectively; Whether pass through according to the checking of filter result determination advertising resource.
5A, method as described in A3 or A4, also comprise the step generating filtrator: described plug-in unit process obtains the interception rule file of each website successively from the interception rule base of network side; Resolve the interception rule file of described each website respectively, generate the filtrator of each website.
A6, method as described in A1, described method also comprises: when described advertising resource is verified, and info web corresponding for described web access requests is returned to described IE kernel webpage subprocess; Described IE kernel webpage subprocess carries out ad content checking by control interface interchange ad content blocker to described info web; When determining that the checking of described ad content is obstructed out-of-date, described IE kernel webpage subprocess shields the web page element of specifying in loaded info web.
A7, method as described in A6, described IE kernel webpage subprocess carries out ad content checking by control interface interchange ad content blocker to described info web, comprise: described IE kernel webpage subprocess, by control interface interchange ad content blocker, obtains advertisement and hides rule list; Described IE kernel webpage subprocess is checked the web page element of specifying in described info web whether to meet described advertisement to hide advertisement hidden conditional in rule list; When described web page element of specifying meets the advertisement hidden conditional that described advertisement hides in rule list, determine that the checking of described ad content is not passed through.
A8, method as described in A7, described IE kernel webpage subprocess, by control interface interchange ad content blocker, obtains advertisement and hides rule list, comprising: described IE kernel webpage subprocess adopts control interface interchange ad content blocker; Ad content blocker obtains the domain name of described web page address information URL, and adopts domain name match advertisements to hide rule list; Rule list is hidden in the advertisement that described IE kernel webpage subprocess obtains described ad content blocker feedback by described control interface.
A9, method as described in A6 or A7 or A8, described ad content blocker comprises: Cascading Style Sheet CSS selector switch.
A10, method as described in A1, described plug-in unit process comprises: the plug-in unit process comprising Ad blocking rule parsing engine, and described Ad blocking rule parsing engine comprises: Adblock or AdblockPlus.
A11, method as described in A2, described browser host process comprises: WebKit kernel host process, and described method also comprises: when starting IE kernel webpage subprocess in described double-core browser, in described IE kernel webpage subprocess, arrange process hook; Described process hook is adopted to monitor described IE kernel webpage subprocess, to detect the web access requests of described IE kernel webpage subprocess.
A12, method as described in A11, described web access requests is sent to the step of host process by described IE kernel webpage subprocess, comprising: described web access requests is sent to Webkit kernel host process by hook interface by described process hook.
B13, a kind of double-core browser device, comprising: request monitoring module, for detecting that IE kernel webpage subprocess in double-core browser and/or Webkit kernel webpage subprocess are according to web access requests Web page loading information; Request blocking module, for intercepting and capturing and hanging up described web access requests, wherein said web access requests comprises web page address information URL; Resource authenticates module, for described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess by browser host process call one independently plug-in unit process advertising resource checking is carried out to described web access requests; Blocking module, obstructed out-of-date for verifying when described advertising resource, abandon the described web access requests in described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess.
B14, device as described in B13, described resource authenticates module, comprising: send submodule, for described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess, described web access requests is sent to browser host process; Agent sub-module, sends to the independently plug-in unit process called by described web access requests for described browser host process; Plug-in unit checking submodule, carries out advertising resource checking for described plug-in unit process to described web access requests.
B15, device as described in B14, described web access requests also comprises: source address information and request header type information; Described plug-in unit checking submodule, carries out the inspection of the overall situation and/or designated domain name respectively to the URL in web access requests, source address information and request header type information for described plug-in unit process, determine whether advertising resource checking is passed through.
B16, device as described in B15, described plug-in unit checking submodule, comprising: resource acquisition unit, obtains described URL, source address information and request header type information successively for described plug-in unit process from described web access requests; Determining unit, for determining the website belonging to described URL, obtains the filtrator of described website; Filter element, carries out filtration treatment to described URL, source address information and request header type information respectively for adopting the filtrator of described website; And whether pass through according to the checking of filter result determination advertising resource.
B17, device as described in B15 or B16, also comprise: filtrator generation module, obtain the interception rule file of each website for described plug-in unit process from the interception rule base of network side successively; Resolve the interception rule file of described each website respectively, generate the filtrator of each website.
B18, device as described in B13, also comprise: return module, for when described advertising resource is verified, info web corresponding for described web access requests returned to described IE kernel webpage subprocess; Content verification module, carries out ad content checking by control interface interchange ad content blocker to described info web for described IE kernel webpage subprocess; Shroud module, determine that the checking of described ad content is obstructed out-of-date for working as, described IE kernel webpage subprocess shields the web page element of specifying in loaded info web.
B19, device as described in B18, described content verification module, comprising: call and obtain submodule, for described IE kernel webpage subprocess by control interface interchange ad content blocker, obtains advertisement and hides rule list; Syndrome module, checks the web page element of specifying in described info web whether to meet described advertisement for described IE kernel webpage subprocess and hides advertisement hidden conditional in rule list; When described web page element of specifying meets the advertisement hidden conditional that described advertisement hides in rule list, determine that the checking of described ad content is not passed through.
B20, device as described in B19, described in call and obtain submodule, comprising: call unit, adopt control interface interchange ad content blocker for described IE kernel webpage subprocess; Domain name matching unit, obtains the domain name of described web page address information URL for ad content blocker, and adopts domain name match advertisements to hide rule list; Acquiring unit, rule list is hidden in the advertisement obtaining described ad content blocker feedback by described control interface for described IE kernel webpage subprocess.
B21, device as described in B18 or B19 or B20, described ad content blocker comprises: Cascading Style Sheet CSS selector switch.
B22, device as described in B13, described plug-in unit process comprises: the plug-in unit process comprising Ad blocking rule parsing engine, and described Ad blocking rule parsing engine comprises: Adblock or AdblockPlus.
B23, device as described in B14, described browser host process comprises: WebKit kernel host process, described device also comprises: hook module, during for starting IE kernel webpage subprocess in described double-core browser, in described IE kernel webpage subprocess, arranges process hook; Request monitoring module, for adopting described process hook to monitor described IE kernel webpage subprocess, to detect the web access requests of described IE kernel webpage subprocess.
B24, device as described in B23, described transmission submodule, sends to Webkit kernel host process by hook interface by described web access requests for described process hook.

Claims (10)

1. carry out a method for Ad blocking in double-core browser, comprising:
Detect that IE kernel webpage subprocess in double-core browser and/or Webkit kernel webpage subprocess are according to web access requests Web page loading information;
Intercept and capture and hang up described web access requests, wherein said web access requests comprises web page address information URL;
Described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess by browser host process call one independently plug-in unit process advertising resource checking is carried out to described web access requests;
When described advertising resource checking is obstructed out-of-date, abandon the described web access requests in described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess.
2. the method for claim 1, is characterized in that, described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess by browser host process call one independently plug-in unit process advertising resource checking is carried out to described web access requests, comprising:
Described web access requests is sent to browser host process by described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess;
Described web access requests is sent to the independently plug-in unit process called by described browser host process;
Described plug-in unit process carries out advertising resource checking to described web access requests.
3. method as claimed in claim 2, it is characterized in that, described web access requests also comprises: source address information and request header type information, and described plug-in unit process carries out advertising resource checking to described web access requests, comprising:
Described plug-in unit process carries out the inspection of the overall situation and/or designated domain name respectively to the URL in web access requests, source address information and request header type information, determine whether advertising resource checking is passed through.
4. method as claimed in claim 3, it is characterized in that, described plug-in unit process carries out the inspection of designated domain name respectively to the URL in web access requests, source address information and request header type information, determines that advertising resource verifies the step whether passed through, comprising:
Described plug-in unit process obtains described URL, source address information and request header type information successively from described web access requests;
Determine the website belonging to described URL, obtain the filtrator of described website;
The filtrator of described website is adopted to carry out filtration treatment to described URL, source address information and request header type information respectively;
Whether pass through according to the checking of filter result determination advertising resource.
5. the method as described in claim 3 or 4, is characterized in that, also comprises the step generating filtrator:
Described plug-in unit process obtains the interception rule file of each website successively from the interception rule base of network side;
Resolve the interception rule file of described each website respectively, generate the filtrator of each website.
6. the method for claim 1, is characterized in that, described method also comprises:
When described advertising resource is verified, info web corresponding for described web access requests is returned to described IE kernel webpage subprocess;
Described IE kernel webpage subprocess carries out ad content checking by control interface interchange ad content blocker to described info web;
When determining that the checking of described ad content is obstructed out-of-date, described IE kernel webpage subprocess shields the web page element of specifying in loaded info web.
7. method as claimed in claim 6, it is characterized in that, described IE kernel webpage subprocess carries out ad content checking by control interface interchange ad content blocker to described info web, comprising:
Described IE kernel webpage subprocess, by control interface interchange ad content blocker, obtains advertisement and hides rule list;
Described IE kernel webpage subprocess is checked the web page element of specifying in described info web whether to meet described advertisement to hide advertisement hidden conditional in rule list;
When described web page element of specifying meets the advertisement hidden conditional that described advertisement hides in rule list, determine that the checking of described ad content is not passed through.
8. method as claimed in claim 7, is characterized in that, described IE kernel webpage subprocess, by control interface interchange ad content blocker, obtains advertisement and hides rule list, comprising:
Described IE kernel webpage subprocess adopts control interface interchange ad content blocker;
Ad content blocker obtains the domain name of described web page address information URL, and adopts domain name match advertisements to hide rule list;
Rule list is hidden in the advertisement that described IE kernel webpage subprocess obtains described ad content blocker feedback by described control interface.
9. the method as described in claim 6 or 7 or 8, is characterized in that, described ad content blocker comprises: Cascading Style Sheet CSS selector switch.
10. a double-core browser device, comprising:
Request monitoring module, for detecting that IE kernel webpage subprocess in double-core browser and/or Webkit kernel webpage subprocess are according to web access requests Web page loading information;
Request blocking module, for intercepting and capturing and hanging up described web access requests, wherein said web access requests comprises web page address information URL;
Resource authenticates module, for described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess by browser host process call one independently plug-in unit process advertising resource checking is carried out to described web access requests;
Blocking module, obstructed out-of-date for verifying when described advertising resource, abandon the described web access requests in described IE kernel webpage subprocess and/or Webkit kernel webpage subprocess.
CN201410832195.6A 2014-12-27 2014-12-27 The method and apparatus that Ad blocking is carried out in double-core browser Active CN104572914B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410832195.6A CN104572914B (en) 2014-12-27 2014-12-27 The method and apparatus that Ad blocking is carried out in double-core browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410832195.6A CN104572914B (en) 2014-12-27 2014-12-27 The method and apparatus that Ad blocking is carried out in double-core browser

Publications (2)

Publication Number Publication Date
CN104572914A true CN104572914A (en) 2015-04-29
CN104572914B CN104572914B (en) 2018-09-04

Family

ID=53088976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410832195.6A Active CN104572914B (en) 2014-12-27 2014-12-27 The method and apparatus that Ad blocking is carried out in double-core browser

Country Status (1)

Country Link
CN (1) CN104572914B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016101764A1 (en) * 2014-12-27 2016-06-30 北京奇虎科技有限公司 Method for advertisement blocking in dual-core browser, and browser device
CN107634976A (en) * 2016-07-18 2018-01-26 阿里巴巴集团控股有限公司 Information push, acquisition, advertisement pushing, acquisition methods and device
CN108322436A (en) * 2017-12-28 2018-07-24 瑞庭网络技术(上海)有限公司 Verification method, device, computer equipment and the readable storage medium storing program for executing of network request
CN108733764A (en) * 2018-04-16 2018-11-02 优视科技有限公司 Advertisement filter rule generating method based on machine learning and advertisement filtering system
CN113709154A (en) * 2021-08-25 2021-11-26 平安国际智慧城市科技股份有限公司 Browser security processing method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930211A (en) * 2012-11-07 2013-02-13 北京奇虎科技有限公司 Method for intercepting malicious URLs in multi-kernel browser and multi-kernel browser
US20130311874A1 (en) * 2012-05-15 2013-11-21 Liveperson, Inc. Campaign Media Continuity
CN103605688A (en) * 2013-11-01 2014-02-26 北京奇虎科技有限公司 Intercept method and intercept device for homepage advertisements and browser

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130311874A1 (en) * 2012-05-15 2013-11-21 Liveperson, Inc. Campaign Media Continuity
CN102930211A (en) * 2012-11-07 2013-02-13 北京奇虎科技有限公司 Method for intercepting malicious URLs in multi-kernel browser and multi-kernel browser
CN103605688A (en) * 2013-11-01 2014-02-26 北京奇虎科技有限公司 Intercept method and intercept device for homepage advertisements and browser

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
PASTWAY: "Adblock Plus过滤规则语法", 《HTTP://BLOG.CSDN.NET/PASTWAY/ARTICLE/DETAILS/5315042》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016101764A1 (en) * 2014-12-27 2016-06-30 北京奇虎科技有限公司 Method for advertisement blocking in dual-core browser, and browser device
CN107634976A (en) * 2016-07-18 2018-01-26 阿里巴巴集团控股有限公司 Information push, acquisition, advertisement pushing, acquisition methods and device
CN107634976B (en) * 2016-07-18 2020-10-16 阿里巴巴集团控股有限公司 Information pushing method, information obtaining method, advertisement pushing method, advertisement obtaining method and device
CN108322436A (en) * 2017-12-28 2018-07-24 瑞庭网络技术(上海)有限公司 Verification method, device, computer equipment and the readable storage medium storing program for executing of network request
CN108322436B (en) * 2017-12-28 2022-05-31 瑞庭网络技术(上海)有限公司 Network request verification method and device, computer equipment and readable storage medium
CN108733764A (en) * 2018-04-16 2018-11-02 优视科技有限公司 Advertisement filter rule generating method based on machine learning and advertisement filtering system
CN108733764B (en) * 2018-04-16 2021-09-10 阿里巴巴(中国)有限公司 Advertisement filtering rule generation method based on machine learning and advertisement filtering system
CN113709154A (en) * 2021-08-25 2021-11-26 平安国际智慧城市科技股份有限公司 Browser security processing method and device, computer equipment and storage medium
CN113709154B (en) * 2021-08-25 2023-08-15 平安国际智慧城市科技股份有限公司 Browser security processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN104572914B (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN104572923A (en) Method and device for advertisement blocking in dual-core browser
CN101877696B (en) Equipment and method for reconfiguring false response messages under network application environment
US8407321B2 (en) Capturing web-based scenarios
US9747441B2 (en) Preventing phishing attacks
US9680911B2 (en) Method and apparatus of short uniform resource locator lookup and feedback
EP3349137A1 (en) Client-side attack detection in web applications
CN104572914A (en) Method and device for intercepting advertisements of double-core browser
CN104036030B (en) Pop-up Ad blocking method, system and related browser based on browser
CN106528657A (en) Control method and device for browser skipping to application program
US10031971B2 (en) System and methods for optimizing the response to a request for dynamic web content
CN104750471A (en) WEB page performance detection and analysis plug-in and method based on browser
CN110263070B (en) Event reporting method and device
CN103986731A (en) Method and device for detecting phishing web pages through picture matching
CN108959619A (en) Content screen method, user equipment, storage medium and device
CN103559222A (en) Method and device for displaying page loading time in browsers
CN108156121A (en) The alarm method and device that the monitoring method and device of flow abduction, flow are kidnapped
CN107547524A (en) A kind of page detection method, device and equipment
CN110442815A (en) Page generation method, system, device and computer readable storage medium
CN103973635A (en) Page access control method, and related device and system
CN103607454B (en) The method that android system browser arranges privately owned proxy server
CN106126197A (en) Make the method and device of the mobile terminal application page and PC end application page synchronization
CN105260421A (en) Webpage loading method and apparatus
US20140052851A1 (en) Systems and methods for discovering sources of online content
CN105373533B (en) A kind of detection method, client and the device of page link address
CN103544271B (en) Load Image in a kind of browser the method and apparatus for processing window

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: 20220727

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.